All pastes #384876 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-03-07 12:18 UTC
rendered paste body
#!/bin/bash
if ! [ -f /usr/src/linux/.config ]; then
	cp /boot/config-gentoo /usr/src/linux/.config
        cd /usr/src/linux && make silentoldconfig
fi
if ! [ -f /boot/config-gentoo-old ]; then 
	cp /boot/config-gentoo /boot/config-gentoo-old
	cp /boot/bzImage-gentoo /boot/bzImage-gentoo-old
fi
cd /usr/src/linux && make menuconfig
cd /usr/src/linux && make
cd /usr/src/linux && make modules_install
cp /usr/src/linux/arch/powerpc/boot/zImage /boot/bzImage-gentoo
cp /usr/src/linux/.config /boot/config-gentoo