Commit 3ab959f2 authored by Natanael Copa's avatar Natanael Copa

setup-disk: don't start modloop service

We should not start modloop when system root is on disk.
parent 90f78c09
...@@ -273,6 +273,9 @@ install_mounted_root() { ...@@ -273,6 +273,9 @@ install_mounted_root() {
unpack_apkovl "$APKOVL" "$mnt" || return 1 unpack_apkovl "$APKOVL" "$mnt" || return 1
fi fi
# we should not try start modloop on sys install
rm -f "$mnt"/etc/runlevels/*/modloop
# generate mkinitfs.conf # generate mkinitfs.conf
mkdir -p "$mnt"/etc/mkinitfs/features.d mkdir -p "$mnt"/etc/mkinitfs/features.d
echo "features=\"$initfs_features\"" > "$mnt"/etc/mkinitfs/mkinitfs.conf echo "features=\"$initfs_features\"" > "$mnt"/etc/mkinitfs/mkinitfs.conf
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment