Skip to content

Commit

Permalink
Merge pull request #1520 from webern/pkg-readme-fix
Browse files Browse the repository at this point in the history
packages readme: fix next steps section
  • Loading branch information
webern authored Apr 25, 2021
2 parents 010745f + 4b3729b commit dd26e35
Showing 1 changed file with 6 additions and 16 deletions.
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.

0 comments on commit dd26e35

Please sign in to comment.