Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

packages readme: fix next steps section #1520

Merged
merged 1 commit into from
Apr 25, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 6 additions & 16 deletions packages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.