aboutsummaryrefslogtreecommitdiffstats
path: root/stage2
diff options
context:
space:
mode:
Diffstat (limited to 'stage2')
-rwxr-xr-xstage2/01-sys-tweaks/files/resize2fs_once5
-rw-r--r--stage2/01-sys-tweaks/files/resize2fs_once.service4
2 files changed, 5 insertions, 4 deletions
diff --git a/stage2/01-sys-tweaks/files/resize2fs_once b/stage2/01-sys-tweaks/files/resize2fs_once
index f8e45a6..d4d5e39 100755
--- a/stage2/01-sys-tweaks/files/resize2fs_once
+++ b/stage2/01-sys-tweaks/files/resize2fs_once
@@ -37,8 +37,9 @@ case "$1" in
else
echo "ROOT_DEV ${ROOT_DEV} not a substring of ROOT_PART ${ROOT_PART}."
fi
- update-rc.d resize2fs_once remove
- rm -f /etc/init.d/resize2fs_once
+ systemctl disable resize2fs_once
+ systemctl mask resize2fs_once
+ mv /etc/init.d/resize2fs_once /etc/init.d/resize2fs_once.disabled
log_end_msg $?
;;
*)
diff --git a/stage2/01-sys-tweaks/files/resize2fs_once.service b/stage2/01-sys-tweaks/files/resize2fs_once.service
index 0c755a8..c3f9307 100644
--- a/stage2/01-sys-tweaks/files/resize2fs_once.service
+++ b/stage2/01-sys-tweaks/files/resize2fs_once.service
@@ -1,8 +1,8 @@
[Unit]
Description=Resize the root filesystem to fill partition
DefaultDependencies=no
-After=systemd-udevd.service
-Before=systemd-remount-fs.service systemd-random-seed.service systemd-journald.service local-fs-pre.target sysinit.target
+After=
+Before=systemd-remount-fs.service local-fs-pre.target sysinit.target
[Service]
Type=oneshot