# ChangeLog for catalyst
-# Copyright 1999-2009 Gentoo Foundation; 2008-2009 Various authors (see AUTHORS)
+# Copyright 1999-2010 Gentoo Foundation; 2008-2009 Various authors (see AUTHORS)
# Distributed under the GPL v2
# $Id$
+ 04 Sep 2010; Raúl Porcel <armin76@gentoo.org>
+ targets/support/bootloader-setup.sh, targets/support/create-iso.sh,
+ targets/support/pre-kmerge.sh:
+ Apply patch from Guy Martin <gmsoft@gentoo.org> to fix installcd for hppa,
+ gentoo bug #317423
+
29 Dec 2009; Andrew Gaffney <agaffney@gentoo.org>
targets/support/chroot-functions.sh:
Only run depclean for stage3/system
icfg=$1/boot/palo.conf
kmsg=$1/boot/kernels.msg
hmsg=$1/boot/help.msg
- echo "--commandline=0/${first} initrd=${first}.igz root=/dev/ram0 init=/linuxrc ${cmdline_opts}" >> ${icfg}
+ # Make sure we strip the extension to the kernel to allow palo to choose
+ boot_kernel_common_name=${first/%32/}
+ boot_kernel_common_name=${boot_kernel_common_name/%64/}
+ echo "--commandline=0/${boot_kernel_common_name} initrd=${first}.igz root=/dev/ram0 init=/linuxrc cdroot ${cmdline_opts}" >> ${icfg}
echo "--bootloader=boot/iplboot" >> ${icfg}
echo "--ramdisk=boot/${first}.igz" >> ${icfg}
+ for x in ${clst_boot_kernel}
+ do
+ echo "--recoverykernel=boot/${x}" >> ${icfg}
+ done
;;
ppc*|powerpc*)
# NO SOFTLEVEL SUPPORT YET
echo ">> Running mkisofs to create iso image...."
echo ">> mkisofs -R -l -J ${mkisofs_zisofs_opts} -V \"${clst_iso_volume_id}\" -o ${1} ${clst_target_path}"
mkisofs -R -l -J ${mkisofs_zisofs_opts} -V "${clst_iso_volume_id}" -o ${1} ${clst_target_path} || die "Cannot make ISO image"
+ pushd ${clst_target_path}
palo -f boot/palo.conf -C ${1}
+ popd
;;
ia64)
if [ ! -e ${clst_target_path}/gentoo.efimg ]
source /tmp/chroot-functions.sh
+case ${clst_hostarch} in
+ hppa)
+ got_32=0
+ got_64=0
+ for i in ${clst_boot_kernel}
+ do
+ if [ "${i: -2}" == "32" ]
+ then
+ if [ $got_32 -eq 1 ]
+ then
+ die "Only one 32 bit kernel can be configured"
+ fi
+ got_32=1
+ elif [ "${i: -2}" == "64" ]
+ then
+ if [ $got_64 -eq 1 ]
+ then
+ die "Only one 64 bit kernel can be configured"
+ fi
+ got_64=1
+ else
+ die "Kernel names must end by either 32 or 64"
+ fi
+ done
+ ;;
+esac
+
run_merge --oneshot genkernel
install -d /tmp/kerncache