mirror of
https://github.com/apple/container.git
synced 2026-10-16 19:19:15 +00:00
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:
1 parent
3ef9976d38
commit
5fef4e0e10
1 file changed
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user