mirror of
https://github.com/containers/bootc.git
synced 2026-02-05 06:45:13 +01:00
test: Fix bib test failure and add required package in bib test
error: cannot build manifest: no default fs set: mount "/boot" requires a filesystem but none set Signed-off-by: Xiaofeng Wang <henrywangxf@me.com>
This commit is contained in:
committed by
Colin Walters
parent
b901498d44
commit
fece2e0b58
@@ -8,3 +8,5 @@ parted
|
||||
lvm2
|
||||
dosfstools
|
||||
e2fsprogs
|
||||
# Required by bib-build test
|
||||
qemu-img
|
||||
|
||||
@@ -95,7 +95,7 @@ DISKEOF
|
||||
let bib_image = $BIB_IMAGE
|
||||
# Note: we disable SELinux labeling since we're running in a test VM
|
||||
# and use unconfined_t to avoid permission issues
|
||||
podman run --rm --privileged -v /var/lib/containers/storage:/var/lib/containers/storage --security-opt label=type:unconfined_t -v ./output:/output $bib_image --type qcow2 --local localhost/bootc-bib-test
|
||||
podman run --rm --privileged -v /var/lib/containers/storage:/var/lib/containers/storage --security-opt label=type:unconfined_t -v ./output:/output $bib_image --type qcow2 --rootfs xfs localhost/bootc-bib-test
|
||||
|
||||
# Verify output was created
|
||||
print "=== Verifying output ==="
|
||||
|
||||
Reference in New Issue
Block a user