From f1529e0650df35900ace9054932ff0c0f713aa95 Mon Sep 17 00:00:00 2001 From: Guy Martin Date: Tue, 5 Feb 2013 00:29:19 -0800 Subject: [PATCH] Add hppa support for netboot 2 target Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=455018 Reviewed-by: Matt Turner --- targets/support/netboot2-final.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/targets/support/netboot2-final.sh b/targets/support/netboot2-final.sh index 0a2aa784..2ee207e7 100644 --- a/targets/support/netboot2-final.sh +++ b/targets/support/netboot2-final.sh @@ -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 -- 2.26.2