base: Embed config in image
The idea here is this can be reused by later builds. Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
parent
468b413481
commit
9415176fdb
|
|
@ -25,7 +25,9 @@ for x in etc/dnf etc/yum.repos.d etc/pki/rpm-gpg; do
|
|||
done
|
||||
# And copy to the workdir; TODO fix this in rpm-ostree
|
||||
cp /etc/yum.repos.d/*.repo base
|
||||
env RUST_LOG=debug rpm-ostree experimental compose rootfs --source-root=/repos base/manifest.yaml /target-rootfs
|
||||
rpm-ostree experimental compose rootfs --source-root=/repos base/manifest.yaml /target-rootfs
|
||||
# Embed the configuration in the image itself, so that it can be used by later builds as well
|
||||
cp -a base /target-rootfs/usr/lib/sysimage/base-image-manifests
|
||||
EORUN
|
||||
|
||||
# This pulls in the rootfs generated in the previous step
|
||||
|
|
|
|||
Loading…
Reference in New Issue