We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2b80b1 commit f56a1b3Copy full SHA for f56a1b3
oscfg/ubuntu.sh
@@ -269,8 +269,5 @@ ExecStart=
269
ExecStart=-/sbin/agetty --noissue --autologin root --noclear %I
270
Type=idle
271
EOF
272
-
273
- # build squashfs image
274
- mksquashfs "$WORK" "$1-$DATE.squashfs" -comp xz -noappend -progress
275
fi
276
}
scripts/base.sh
@@ -117,6 +117,11 @@ EOF
117
118
umount "$WORK/proc" "$WORK/sys" "$WORK/dev" || umount -l "$WORK/proc" "$WORK/sys" "$WORK/dev" || true
119
120
+ # build squashfs image if requested NOW
121
+ if [ x"$MKSQUASHFS" != x ]; then
122
+ mksquashfs "$WORK" "$1-$DATE.squashfs" -comp xz -noappend -progress
123
+ fi
124
+
125
echo "Syncing..."
126
umount "$WORK"
127
"$QEMUNBD" -d "$NBD"
0 commit comments