Skip to content

Commit cee9315

Browse files
jeckersbcgwalters
authored andcommitted
examples: use "system" bootc binaries
Since we're running this under tmt, the "system" bootc binaries were built from source and injected into the integration disk image. No need to rebuild these inside of the test job itself. Signed-off-by: John Eckersberg <[email protected]>
1 parent db8d7bb commit cee9315

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

tmt/tests/examples/bootc-bls/build

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ set -eux
44

55
cd "${0%/*}"
66

7-
cargo build --release --bin bootc --bin bootc-initramfs-setup
8-
9-
cp ../../target/release/bootc .
10-
cp ../../target/release/bootc-initramfs-setup extra/usr/lib/dracut/modules.d/37bootc/
7+
cp /usr/bin/bootc .
8+
cp /usr/lib/bootc/initramfs-setup extra/usr/lib/dracut/modules.d/37bootc/bootc-initramfs-setup
119

1210
mkdir -p tmp
1311

tmt/tests/examples/bootc-uki/build.base

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ set -eux
44

55
cd "${0%/*}"
66

7-
cargo build --release --bin bootc --bin bootc-initramfs-setup
8-
9-
cp ../../target/release/bootc .
10-
cp ../../target/release/bootc-initramfs-setup extra/usr/lib/dracut/modules.d/37bootc/
7+
cp /usr/bin/bootc .
8+
cp /usr/lib/bootc/initramfs-setup extra/usr/lib/dracut/modules.d/37bootc/bootc-initramfs-setup
119

1210
mkdir -p tmp
1311

tmt/tests/examples/bootc-uki/build.final

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ set -eux
44

55
cd "${0%/*}"
66

7-
cargo build --release --bin bootc
8-
9-
cp ../../target/release/bootc .
7+
cp /usr/bin/bootc .
108

119
rm -rf tmp/sysroot
1210
mkdir -p tmp/sysroot/composefs

0 commit comments

Comments
 (0)