Skip to content

Commit

Permalink
README: Add note on overriding RPMs locally
Browse files Browse the repository at this point in the history
Adds note regarding changes in coreos#145 - personally found this helpful
when testing Ignition changes in FCOS.
  • Loading branch information
Robert Fairley committed Feb 25, 2019
1 parent 02cb565 commit 27bcad2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,3 +279,19 @@ $ cosa init https://github.com/coreos/fedora-coreos-config.git
$ cosa fetch && cosa build
```
See this [Stack Overflow question](https://stackoverflow.com/questions/26028971/docker-container-ssl-certificates) for additional discussion.

#### Overriding RPMs: Using new, different, or locally-built RPMs

To override the RPM packages requested in `src/config/manifest.yaml`,
drop local RPM packages into a directory `overrides/rpm`. This will
generate a `coreos-assembler-local-overrides` repository during the
next build where the overriding packages will be pulled from. Then, run
`cosa build` to rebuild with the local overrides.

As an example, from your assembler directory:

```
$ mkdir -p overrides/rpm
$ cp /path/to/my/name-version-release.rpm ./overrides/rpm
$ cosa build
```

0 comments on commit 27bcad2

Please sign in to comment.