From 4b3729b55c8e6f0b6075eca14969e074e80ba298 Mon Sep 17 00:00:00 2001 From: Matt Briggs Date: Fri, 23 Apr 2021 10:49:33 -0700 Subject: [PATCH] packages readme: fix next steps section --- packages/README.md | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/packages/README.md b/packages/README.md index ab84fddc8bf..d30c800f9bd 100644 --- a/packages/README.md +++ b/packages/README.md @@ -227,23 +227,13 @@ $ rpmspec \ ### Next Steps -After the above files are in place, the package must be added to the `packages` workspace. - -Open `packages/Cargo.toml` in your editor and update the `members` list. -``` -[workspace] -members = [ - ... - "libwoof", - ... -] -``` - -Next, run `cargo generate-lockfile` to refresh `Cargo.lock`. +The variants workspace's `Cargo.lock` may be affected by adding a package. +`cd` into the `variants` directory at the root of the repository and run `cargo generate-lockfile` to refresh `Cargo.lock`. To build your package, run the following command in the top-level Bottlerocket directory. -``` -cargo make + +```sh +cargo make build-package -e PACKAGE=libwoof ``` -This will build all packages, including your new one. +This will build your package and its dependencies.