1
0
mirror of https://github.com/containers/bootc.git synced 2026-02-05 15:45:53 +01:00

install: Pick up kargs.d kernel arguments too

This was a rather important miss; we need to pick
up the kargs.d files when doing a `bootc install` too.

Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
Colin Walters
2024-06-27 20:40:18 -04:00
parent 0bd1956333
commit 3c7a620bc7
6 changed files with 23 additions and 1 deletions

View File

@@ -23,6 +23,8 @@ COPY hack/provision-derived.sh /tmp
RUN /tmp/provision-derived.sh "$variant" && rm -f /tmp/*.sh
# Also copy in some default install configs we use for testing
COPY hack/install-test-configs/* /usr/lib/bootc/install/
# And some test kargs
COPY hack/test-kargs /usr/lib/bootc/kargs.d/
# Inject our built code
COPY --from=build /out/bootc.tar.zst /tmp
RUN tar -C / --zstd -xvf /tmp/bootc.tar.zst && rm -vrf /tmp/*

View File

@@ -0,0 +1 @@
kargs = ["kargsd-test=1", "kargsd-othertest=2"]

View File

@@ -0,0 +1 @@
kargs = ["testing-kargsd=3"]