initrd-bootchain: split added modules by line in initrd.mk
This commit is contained in:
parent
95879da29b
commit
42b5fce789
@ -29,8 +29,9 @@ PUT_UDEV_RULES += *-net-setup-link.rules *-net-description.rules
|
||||
PUT_FILES += /lib/systemd/network/99-default.link
|
||||
EOF
|
||||
|
||||
echo "MODULES_TRY_ADD += $(grep -v ^# /.in/modules |
|
||||
sort -u | tr -s '\n' ' ')" >> /etc/initrd.mk
|
||||
for module in $(grep -v ^# /.in/modules | sort -u | tr -s '\n' ' '); do
|
||||
echo "MODULES_TRY_ADD += $module" >> /etc/initrd.mk
|
||||
done
|
||||
|
||||
dialog --create-rc /etc/dialogrc.tmp
|
||||
cat /etc/dialogrc.tmp |sed -E \
|
||||
|
Loading…
x
Reference in New Issue
Block a user