From 6b843adf319abb7cf31647cd2e029a1c9261c194 Mon Sep 17 00:00:00 2001 From: Carsten Munk Date: Thu, 25 Apr 2024 11:44:03 +0000 Subject: [PATCH] correct init= Signed-off-by: Carsten Munk --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bb1f34c..d76fbf1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -130,7 +130,7 @@ RUN cartesi-machine --ram-image=./artifacts/linux.bin --skip-root-hash-check --a COPY --from=aptget-setup /tool-image2.img /tool-image2.img RUN truncate -s 800M /clean-image.ext2 && cartesi-machine --skip-root-hash-check --append-bootargs="loglevel=8 init=/sbin/install-from-mtdblock1" --flash-drive=label:root,filename:/image.ext2 --flash-drive=label:out,filename:/tool-image2.img --flash-drive=label:clean,filename:/clean-image.ext2,shared --ram-length=2Gi && rm -rf /tool-image.img && rm -rf /tool-image2.img && rm -rf /image.ext2 -RUN cartesi-machine --skip-root-hash-check --append-bootargs="no4lvl loglevel=8 init=/usr/sbin/cartesi-preinit systemd.unified_cgroup_hierarchy=0 rootfstype=ext4 ro CARTESI_TMPFS_SIZE=1G systemd.journald.forward_to_console=1" \ +RUN cartesi-machine --skip-root-hash-check --append-bootargs="no4lvl loglevel=8 init=/usr/sbin/lambada-preinit systemd.unified_cgroup_hierarchy=0 rootfstype=ext4 ro CARTESI_TMPFS_SIZE=1G systemd.journald.forward_to_console=1" \ --ram-image=./artifacts/linux.bin --flash-drive="label:root,filename:/clean-image.ext2" --flash-drive="label:app,length:10Mi" --ram-length=2Gi --store=/lambada-base-machine-presparse \ --max-mcycle=0 && \ cp -v --sparse=always -r /lambada-base-machine-presparse /lambada-base-machine && rm -rf /lambada-base-machine-presparse && \