1 |
commit: dc712f84a63947636c97cd90fa55799da74767ef |
2 |
Author: Guy Martin <gmsoft <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 5 10:40:05 2014 +0000 |
4 |
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Mar 24 16:07:08 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=dc712f84 |
7 |
|
8 |
Use the system's iplboot to be sure it matches palo's version. |
9 |
|
10 |
For hppa, cdtar is a bad idea because the iplboot version in the tar file |
11 |
might not match palo's version. |
12 |
|
13 |
--- |
14 |
targets/support/bootloader-setup.sh | 5 +++++ |
15 |
1 file changed, 5 insertions(+) |
16 |
|
17 |
diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh |
18 |
index a9c9e53..f3e0e62 100644 |
19 |
--- a/targets/support/bootloader-setup.sh |
20 |
+++ b/targets/support/bootloader-setup.sh |
21 |
@@ -41,6 +41,8 @@ case ${clst_hostarch} in |
22 |
;; |
23 |
hppa) |
24 |
# NO SOFTLEVEL SUPPORT YET |
25 |
+ mkdir -p $1/boot |
26 |
+ |
27 |
icfg=$1/boot/palo.conf |
28 |
kmsg=$1/boot/kernels.msg |
29 |
hmsg=$1/boot/help.msg |
30 |
@@ -54,6 +56,9 @@ case ${clst_hostarch} in |
31 |
my_kopts="${my_kopts} ${kopts}" |
32 |
done |
33 |
|
34 |
+ # copy the bootloader for the final image |
35 |
+ cp /usr/share/palo/iplboot $1/boot/ |
36 |
+ |
37 |
echo "--commandline=0/${boot_kernel_common_name} initrd=${first}.igz ${default_append_line} ${my_kopts}" >> ${icfg} |
38 |
echo "--bootloader=boot/iplboot" >> ${icfg} |
39 |
echo "--ramdisk=boot/${first}.igz" >> ${icfg} |