actually, I hadn't read the rest carefully enough: + eval "sed -i'.bak' -e's,%KERNELVERSION%,$kvers,g' $tmp.boot.script" + eval "sed -i'.bak' -e's,%ROOTPARTITION%,$rootfs,g' $tmp.boot.script"
it's not clear to me which piece of code will write the boot.script, nor why eval is needed.
actually, I hadn't read the rest carefully enough: SION%,$ kvers,g' $tmp.boot.script" TION%,$ rootfs, g' $tmp.boot.script"
+ eval "sed -i'.bak' -e's,%KERNELVER
+ eval "sed -i'.bak' -e's,%ROOTPARTI
it's not clear to me which piece of code will write the boot.script, nor why eval is needed.