summaryrefslogtreecommitdiff
path: root/bin/debvm-create
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2023-02-23 17:10:04 +0100
committerHelmut Grohne <helmut@subdivi.de>2023-02-23 17:10:04 +0100
commit6c0f131ce725ddf9a250dbeb607fa38cb3e633bc (patch)
tree4418b441d1175814dbc4b97beebf23f7fa05722f /bin/debvm-create
parentdeb6f69095495efc775569c0c8f0846af3512508 (diff)
downloaddebvm-6c0f131ce725ddf9a250dbeb607fa38cb3e633bc.tar.gz
debvm-create: do not fsck
Asking for a fsck pass in fstab is not what we want. Requiring fsck makes sysvinit fail when fsck.ext4 is missing. Without that pass, it happily boots without e2fsprogs. Link: https://bugs.debian.org/1028267 Thanks: Thorsten Glaster <t.glaser@tarent.de>
Diffstat (limited to 'bin/debvm-create')
-rwxr-xr-xbin/debvm-create4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/debvm-create b/bin/debvm-create
index 10794c7..75f153b 100755
--- a/bin/debvm-create
+++ b/bin/debvm-create
@@ -280,7 +280,7 @@ set -- \
--variant=apt \
"--format=$MMFORMAT" \
"--architecture=$ARCHITECTURE" \
- '--customize-hook=echo "LABEL=debvm / ext4 defaults 0 1" >"$1/etc/fstab"' \
+ '--customize-hook=echo "LABEL=debvm / ext4 defaults 0 0" >"$1/etc/fstab"' \
"$@"
case "$INITSYSTEM" in
@@ -289,7 +289,7 @@ case "$INITSYSTEM" in
;;
sysv)
set -- \
- --include=sysvinit-core,e2fsprogs \
+ --include=sysvinit-core \
'--include=?not(?virtual)?exact-name(orphan-sysvinit-scripts)' \
"$@"
;;