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:
@@ -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/*
|
||||
|
||||
1
hack/test-kargs/10-test.toml
Normal file
1
hack/test-kargs/10-test.toml
Normal file
@@ -0,0 +1 @@
|
||||
kargs = ["kargsd-test=1", "kargsd-othertest=2"]
|
||||
1
hack/test-kargs/20-test2.toml
Normal file
1
hack/test-kargs/20-test2.toml
Normal file
@@ -0,0 +1 @@
|
||||
kargs = ["testing-kargsd=3"]
|
||||
Reference in New Issue
Block a user