summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-06-20 16:58:35 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2014-06-20 16:58:35 +0200
commit5ceeeef29b5aef9773782564c94e643296acfeae (patch)
tree2c8bb43581d1813813e04585d41ea7cc40233fb4
parentbf0bdfc96040016ca576cf4f7af18e008a7343e0 (diff)
downloadalpine-conf-5ceeeef29b5aef9773782564c94e643296acfeae.zip
setup-disk: fix location for mkinitfs features
-rw-r--r--setup-disk.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup-disk.in b/setup-disk.in
index fd3f660..011b55f 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -263,11 +263,11 @@ install_mounted_root() {
fi
# generate mkinitfs.conf
- mkdir -p "$mnt"/etc/mkinitfs/files.d
+ mkdir -p "$mnt"/etc/mkinitfs/features.d
echo "features=\"$initfs_features\"" > "$mnt"/etc/mkinitfs/mkinitfs.conf
if [ -n "$raidmod" ]; then
- echo "/sbin/mdadm" > "$mnt"/etc/mkinitfs/files.d/raid
- echo "/etc/mdadm.conf" >> "$mnt"/etc/mkinitfs/files.d/raid
+ echo "/sbin/mdadm" > "$mnt"/etc/mkinitfs/features.d/raid.files
+ echo "/etc/mdadm.conf" >> "$mnt"/etc/mkinitfs/features.d/raid.files
fi
# generate update-extlinux.conf