Skip to content

Commit 5271519

Browse files
committed
tree: Add missing -v /dev:/dev in a few places
We're really going to need to switch over to having the container do dynamic mounts; cc #380 (comment) Just noticed this missing in one place, and found others with a grep. Right now we do operate without, but it can be racier. Signed-off-by: Colin Walters <[email protected]>
1 parent 163c1e5 commit 5271519

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

hack/lldb/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sudo podman build --build-arg "sshpubkey=$(cat ~/.ssh/id_rsa.pub)" -f Containerf
1111
mkdir -p ~/.cache/bootc-dev/disks
1212
rm -f ~/.cache/bootc-dev/disks/lldb.raw
1313
truncate -s 10G ~/.cache/bootc-dev/disks/lldb.raw
14-
sudo podman run --pid=host --network=host --privileged --security-opt label=type:unconfined_t -v /var/lib/containers:/var/lib/containers -v ~/.cache/bootc-dev/disks:/output -v /dev:/dev localhost/bootc-lldb bootc install to-disk --via-loopback --generic-image --skip-fetch-check /output/lldb.raw
14+
sudo podman run --pid=host --network=host --privileged --security-opt label=type:unconfined_t -v /dev:/dev -v /var/lib/containers:/var/lib/containers -v ~/.cache/bootc-dev/disks:/output -v /dev:/dev localhost/bootc-lldb bootc install to-disk --via-loopback --generic-image --skip-fetch-check /output/lldb.raw
1515

1616
# create a new VM in libvirt
1717
set +e

tests/integration/image-install-upgrade.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ case "$IMAGE_TYPE" in
150150
--privileged \
151151
--pid=host \
152152
--security-opt label=type:unconfined_t \
153+
-v /dev:/dev \
153154
-v /var/lib/containers:/var/lib/containers \
154155
-v /dev:/dev \
155156
-v .:/output \

tests/integration/playbooks/install.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
--rm \
8484
--privileged \
8585
--pid=host \
86+
-v /dev:/dev \
8687
-v /:/target \
8788
-v /var/lib/containers:/var/lib/containers \
8889
--security-opt label=type:unconfined_t \

0 commit comments

Comments
 (0)