1 |
For hppa, cdtar is a bad idea because the iplboot version in the tar file |
2 |
might not match palo's version. |
3 |
|
4 |
--- |
5 |
targets/support/bootloader-setup.sh | 5 +++++ |
6 |
1 file changed, 5 insertions(+) |
7 |
|
8 |
diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh |
9 |
index c56cc90..1a8157b 100755 |
10 |
--- a/targets/support/bootloader-setup.sh |
11 |
+++ b/targets/support/bootloader-setup.sh |
12 |
@@ -41,6 +41,8 @@ case ${clst_hostarch} in |
13 |
;; |
14 |
hppa) |
15 |
# NO SOFTLEVEL SUPPORT YET |
16 |
+ mkdir -p $1/boot |
17 |
+ |
18 |
icfg=$1/boot/palo.conf |
19 |
kmsg=$1/boot/kernels.msg |
20 |
hmsg=$1/boot/help.msg |
21 |
@@ -54,6 +56,9 @@ case ${clst_hostarch} in |
22 |
my_kopts="${my_kopts} ${kopts}" |
23 |
done |
24 |
|
25 |
+ # copy the bootloader for the final image |
26 |
+ cp /usr/share/palo/iplboot $1/boot/ |
27 |
+ |
28 |
echo "--commandline=0/${boot_kernel_common_name} initrd=${first}.igz ${default_append_line} ${my_kopts}" >> ${icfg} |
29 |
echo "--bootloader=boot/iplboot" >> ${icfg} |
30 |
echo "--ramdisk=boot/${first}.igz" >> ${icfg} |
31 |
-- |
32 |
1.8.3.2 |