Skip to content

Commit 99ef635

Browse files
committed
Drop test references to /dev and /var/lib/containers mounts
Keep the bind mounts in the docs though for now because many people will be using the current docs with older bootc. Signed-off-by: Colin Walters <[email protected]>
1 parent e0bae1f commit 99ef635

File tree

5 files changed

+2
-10
lines changed

5 files changed

+2
-10
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 /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
14+
sudo podman run --pid=host --network=host --privileged --security-opt label=type:unconfined_t -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

ostree-ext/.github/workflows/bootc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- name: Integration tests
6060
run: |
6161
set -xeuo pipefail
62-
sudo podman run --rm -ti --privileged -v /:/target -v /var/lib/containers:/var/lib/containers -v ./usr/bin/bootc:/usr/bin/bootc --pid=host --security-opt label=disable \
62+
sudo podman run --rm -ti --privileged -v /:/target -v ./usr/bin/bootc:/usr/bin/bootc --pid=host --security-opt label=disable \
6363
quay.io/centos-bootc/centos-bootc-dev:stream9 bootc install to-filesystem \
6464
--karg=foo=bar --disable-selinux --replace=alongside /target
6565

tests-integration/src/install.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ pub(crate) const BASE_ARGS: &[&str] = &[
1616
"run",
1717
"--rm",
1818
"--privileged",
19-
"-v",
20-
"/dev:/dev",
21-
"-v",
22-
"/var/lib/containers:/var/lib/containers",
2319
"--pid=host",
2420
"--security-opt",
2521
"label=disable",

tests/e2e/bootc-install.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,6 @@ case "$TEST_CASE" in
234234
--privileged \
235235
--pid=host \
236236
--security-opt label=type:unconfined_t \
237-
-v /var/lib/containers:/var/lib/containers \
238-
-v /dev:/dev \
239237
-v .:/output \
240238
"$TEST_IMAGE_URL" \
241239
bootc install to-disk --filesystem "$ROOTFS" --generic-image --via-loopback /output/disk.raw

tests/e2e/playbooks/install.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@
5454
--privileged \
5555
--tls-verify=false \
5656
--pid=host \
57-
-v /dev:/dev \
5857
-v /:/target \
59-
-v /var/lib/containers:/var/lib/containers \
6058
--security-opt label=type:unconfined_t \
6159
{{ test_image_url }} \
6260
bootc install to-existing-root"

0 commit comments

Comments
 (0)