Commit 62830d95 authored by Natanael Copa's avatar Natanael Copa

setup-disk: fix initfs_features

We want have fewer features in the initfs and only add those that are
needed and detected.

This is a revert of 25c4933f
parent cb4de9c3
......@@ -338,10 +338,7 @@ install_mounted_root() {
local mnt="$1"
shift 1
local disks="${@}" mnt_boot= boot_fs= root_fs=
local initfs_features=$(. /etc/mkinitfs/mkinitfs.conf >/dev/null 2>&1 && echo "$features")
if [ -z "$initfs_features" ]; then
initfs_features="ata base cdrom ext2 ext3 ext4 keymap kms mmc raid scsi usb virtio nvme"
fi
local initfs_features="ata base ide scsi usb virtio"
local pvs= dev= rootdev= bootdev= extlinux_raidopt= root= modules=
local kernel_opts="quiet"
......
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