summaryrefslogtreecommitdiff
path: root/setup-disk.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-12-15 09:51:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-12-15 09:51:54 +0000
commit3ab959f20785f662ab9780bd38651698a27d08e7 (patch)
tree359d0aded1ff469d36839e48568ab631bbfa8ee1 /setup-disk.in
parent90f78c09ce8eff90ce1ebb85a5f2f56499a49416 (diff)
downloadalpine-conf-3ab959f20785f662ab9780bd38651698a27d08e7.zip
setup-disk: don't start modloop service
We should not start modloop when system root is on disk.
Diffstat (limited to 'setup-disk.in')
-rw-r--r--setup-disk.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup-disk.in b/setup-disk.in
index 489cce5..3ef9e1a 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -273,6 +273,9 @@ install_mounted_root() {
unpack_apkovl "$APKOVL" "$mnt" || return 1
fi
+ # we should not try start modloop on sys install
+ rm -f "$mnt"/etc/runlevels/*/modloop
+
# generate mkinitfs.conf
mkdir -p "$mnt"/etc/mkinitfs/features.d
echo "features=\"$initfs_features\"" > "$mnt"/etc/mkinitfs/mkinitfs.conf