Fix cosmetics and PPC without --genzimage.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@295 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Tim Yamin 20 years ago
parent e3344146cc
commit 98d2144285

@ -423,6 +423,8 @@ parse_cmdline() {
print_info 2 "CMD_LINUXRC: $CMD_LINUXRC"
;;
--genzimage)
KERNEL_MAKE_DIRECTIVE_2='zImage.initrd'
KERNEL_BINARY_2='arch/ppc/boot/images/zImage.initrd.chrp'
GENERATE_Z_IMAGE=1
print_info 2 "GENERATE_Z_IMAGE: $GENERATE_Z_IMAGE"
;;

@ -265,11 +265,11 @@ start_dev_mgr(){
if [ "${USE_UDEV_NORMAL}" -eq '1' ]
then
cd /sys
[ "${DO_bladecenter}" -eq '1' ] && sleep 10
[ "${DO_bladecenter}" ] && sleep 10
kill_devfsd
good_msg 'Activating udev'
runUdev
[ "${DO_bladecenter}" -eq '1' ] && sleep 20
[ "${DO_bladecenter}" ] && sleep 20
cd /
else
if [ ! -e /dev/.devfsd ]

@ -539,7 +539,7 @@ then
fi
done
[ "${DO_bladecenter}" -eq '1' ] && sleep 10
[ "${DO_bladecenter}" ] && sleep 10
mkdir initrd proc tmp sys 2>/dev/null
chmod 1777 tmp
fi
@ -554,7 +554,7 @@ then
# Let Init scripts know that we booted from CD
export CDBOOT
CDBOOT=1
[ "${DO_bladecenter}" -eq '1' ] && sleep 10
[ "${DO_bladecenter}" ] && sleep 10
else
mkdir -p ${NEW_ROOT}/tmp/.initrd
fi
@ -578,7 +578,7 @@ then
cd ${CHROOT}
mkdir ${CHROOT}/proc ${CHROOT}/sys 2>/dev/null
pivot_root . tmp/.initrd
[ "${DO_bladecenter}" -eq '1' ] && sleep 10
[ "${DO_bladecenter}" ] && sleep 10
echo -n '.'
if /tmp/.initrd/bin/[ "${USE_DEVFS_NORMAL}" -eq '1' -a "${CDROOT}" -eq '0' ]

@ -2,7 +2,7 @@
# Genkernel v3
PATH="/bin:/usr/bin:/sbin:/usr/sbin"
GK_V='3.3.4'
GK_V='3.3.5'
TMPDIR='/var/tmp/genkernel'
TODEBUGCACHE=1 # Until an error occurs or DEBUGFILE is fully qualified.

@ -2,9 +2,7 @@
# ppc/config.sh
KERNEL_MAKE_DIRECTIVE="vmlinux"
KERNEL_MAKE_DIRECTIVE_2="zImage.initrd"
KERNEL_BINARY="vmlinux"
KERNEL_BINARY_2="arch/ppc/boot/images/zImage.initrd.chrp"
# The dietlibc portion of busybox is commented out right now
# other stuff seems to compile fine though

Loading…
Cancel
Save