This repository was archived by the owner on Mar 19, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11image_name := env (" BUILD_IMAGE_NAME" , " arch-bootc" )
2+ image_tag := env (" BUILD_IMAGE_TAG" , " latest" )
23base_dir := env (" BUILD_BASE_DIR" , " ." )
4+ filesystem := env (" BUILD_FILESYSTEM" , " ext4" )
35
46build-containerfile $ image_name = image_name:
57 sudo podman build -t " ${image_name}:latest" .
@@ -12,14 +14,13 @@ bootc *ARGS:
1214 - v / etc/ containers:/ etc/ containers:Z \
1315 - v / var/ lib/ containers:/ var/ lib/ containers \
1416 - v / dev:/ dev \
15- - v " {{ base_dir}} " :/ data \
17+ - v " {{ base_dir}} :/data" \
1618 - -security-opt label=type:unconfined_t \
1719 " {{ image_name}} :latest" bootc {{ ARGS}}
1820
19- generate-bootable-image $ base_dir = base_dir:
21+ generate-bootable-image $ base_dir = base_dir $ filesystem = filesystem :
2022 #!/usr/bin/env bash
2123 if [ ! -e " ${base_dir}/bootable.img" ] ; then
2224 fallocate -l 20 G " ${base_dir}/bootable.img"
2325 fi
24- just bootc install to-disk --composefs-native --via-loopback / data/ bootable.img --filesystem ext4 --wipe
25-
26+ just bootc install to-disk --composefs-native --via-loopback / data/ bootable.img --filesystem " ${filesystem}" --wipe
You can’t perform that action at this time.
0 commit comments