Tweak syslinux parsing code to be compatible with new Arch isos

This commit is contained in:
tslil clingman 2020-06-26 17:23:43 -04:00 committed by tlaurion
parent 70b93be782
commit 19a8f9c242

View File

@ -35,8 +35,10 @@ echo_entry() {
fix_path $kernel
entry="$name|$kexectype|kernel $path"
if [ -n "$initrd" ]; then
fix_path $initrd
entry="$entry|initrd $path"
for init in $(echo $initrd | tr ',' ' '); do
fix_path $init
entry="$entry|initrd $path"
done
fi
if [ -n "$append" ]; then
entry="$entry|append $append"
@ -118,6 +120,7 @@ syslinux_end() {
append="${newappend##' '}"
fi
appenddir="$(echo $appenddir | cut -d\/ -f -2)"
echo_entry
state="search"
}