Verified Commit 3a6de9dd authored by tslil clingman's avatar tslil clingman Committed by Matt Devillier
Browse files

Tweak syslinux parsing code to be compatible with new Arch isos

parent 15ffb849
......@@ -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"
}
......
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