Add hppa support for netboot 2 target
authorGuy Martin <gmsoft@gentoo.org>
Tue, 5 Feb 2013 08:29:19 +0000 (00:29 -0800)
committerMatt Turner <mattst88@gmail.com>
Tue, 5 Feb 2013 08:34:02 +0000 (00:34 -0800)
Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=455018
Reviewed-by: Matt Turner <mattst88@gentoo.org>
targets/support/netboot2-final.sh

index 0a2aa784bba0ba5bcc931791492bb34445049a92..2ee207e703d5d93d6a1a649056a2f70f89ed6bc5 100644 (file)
@@ -29,7 +29,19 @@ case ${clst_hostarch} in
                sleep 0
                ;;
        hppa)
-               sleep 0
+               # Only one kernel should be there
+               kname=${clst_boot_kernel[0]}
+               rm -f ${clst_target_path}/${kname}-hppa.lif
+
+               palo \
+                       -k ${clst_target_path}/kernels/${kname} \
+                       -r ${clst_target_path}/kernels/misc/${kname}.igz \
+                       -s ${clst_target_path}/${kname}-hppa.lif \
+                       -f /dev/null \
+                       -b /usr/share/palo/iplboot \
+                       -c "0/vmlinux initrd=0/ramdisk root=/dev/ram0" \
+                       || exit 1
+
                ;;
        sparc*)
                if [ "${clst_subarch}" == "sparc" ]; then