Fix mke2fs arguments in mkrootfs (#62)
authorIntegral <integral@member.fsf.org>
Mon, 2 Jun 2025 16:30:49 +0000 (00:30 +0800)
committerGitHub <noreply@github.com>
Mon, 2 Jun 2025 16:30:49 +0000 (17:30 +0100)
lunaix-os/scripts/mkrootfs

index 52e56edb77a3bc1a0acfe72b3c9ea75e75693391..682f426a044bf7aa6934475b81d03b0c060f109e 100755 (executable)
@@ -51,7 +51,7 @@ function cleanup() {
 dd if=/dev/zero of="${rootfs}" count=${size_mb} bs=1M \
     || cleanup tmpmnt
 
-${prefix} mkfs.${fs} -L lunaix-rootfs -0 "${rootfs}" \
+${prefix} mkfs.${fs} -L lunaix-rootfs -E revision=0 "${rootfs}" \
     || cleanup tmpmnt img
 
 ${prefix} mount -o loop "${rootfs}" "${tmp_mnt}" \
@@ -86,4 +86,4 @@ else
     echo "done"
 fi
 
-exit 0
\ No newline at end of file
+exit 0