summaryrefslogtreecommitdiff
path: root/setup-bootable.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup-bootable.in')
-rw-r--r--setup-bootable.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-bootable.in b/setup-bootable.in
index b9a9f3d..0a5abe9 100644
--- a/setup-bootable.in
+++ b/setup-bootable.in
@@ -144,7 +144,7 @@ check_syslinux() {
done
#initramfs
- initrds=$(awk 'tolower($1) == "initrd" {print $2}' \
+ initrds=$(awk 'tolower($1) == "initrd" {sub(",", " "); for (i=2; i<=NF; i++) print $i}' \
"$destdir"/$syslinux_cfg)
for i in $(awk 'tolower($1) == "append" {print $0}' \
"$destdir"/$syslinux_cfg); do