PKGBUILDs/core/kernel26-withlinux/kernel26-withlinux.install
2010-01-23 14:42:26 -06:00

31 lines
899 B
Text

post_install() {
chmod 755 /usr/share/plugapps/kernel/README-*
echo 'If running from internal NAND, run:'
echo '/usr/share/plugapps/kernel/README-2.6.32.4 --nandkernel'
echo ''
echo 'If running from SD/MMC, run:
echo '/usr/share/plugapps/kernel/README-2.6.32.4 --rootkernel'
echo 'and then copy the kernel to /boot/uImage.'
echo ''
echo 'Also, check the U-Boot environment variables and reboot.'
}
post_upgrade() {
chmod 755 /usr/share/plugapps/kernel/README-*
echo 'If running from internal NAND, run:'
echo '/usr/share/plugapps/kernel/README-2.6.32.4 --nandkernel'
echo ''
echo 'If running from SD/MMC, run:
echo '/usr/share/plugapps/kernel/README-2.6.32.4 --rootkernel'
echo 'and then copy the kernel to /boot/uImage.'
echo ''
echo 'Also, check the U-Boot environment variables and reboot.'
}
post_remove() {
KERNEL_VERSION=.*
}
op=$1
shift
$op $*