Make the yaboot parser more tolerant about the syntax of "append"
options (thanks, Hedayat Vatankhah; closes: #674561).
* Fix detection of /usr/ partition as a GNU/Linux root partition when
/lib* directories are moved to /usr/ completely (thanks, Hedayat
Vatankhah; closes: #698733).
+ * Make the yaboot parser more tolerant about the syntax of "append"
+ options (thanks, Hedayat Vatankhah; closes: #674561).
-- Colin Watson <cjwatson@debian.org> Sat, 31 Dec 2016 17:11:49 +0000
kernel="$(dequote "$2")"
;;
append)
- shift 1
- parameters="$(dequote "${line#append=}")"
+ cleanappend=`printf %s "$line" | sed 's/append\([[:space:]]\)*=\([[:space:]]\)*//'`
+ parameters="$(dequote "$cleanappend")"
;;
initrd)
initrd="$(dequote "$2")"