produce initfs.ext4 for package creation (#706)

This does not break and prevent any other asset from being produced.

Signed-off-by: michael_crosby <michael_crosby@apple.com>
This commit is contained in:
Michael Crosby authored and GitHub committed 2026-04-28 09:54:41 -07:00
1 parent 3ef9976d38
commit 5fef4e0e10
1 file changed
+2 -1
+2 -1
View File
@@ -123,10 +123,11 @@ endif
.PHONY: init
init: containerization vminitd
@echo Creating init.ext4...
@rm -f bin/init.rootfs.tar.gz bin/init.block
@rm -f bin/init.rootfs.tar.gz bin/init.block bin/initfs.ext4
@./bin/cctl rootfs create \
--vminitd vminitd/bin/vminitd \
--vmexec vminitd/bin/vmexec \
--ext4 ./bin/initfs.ext4 \
--label org.opencontainers.image.source=https://github.com/apple/containerization \
--image vminit:latest \
bin/init.rootfs.tar.gz