Commit 42b5fce7 authored by Anton Midyukov's avatar Anton Midyukov

initrd-bootchain: split added modules by line in initrd.mk

parent 95879da2
......@@ -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 \
......
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