PKGBUILDs/core/kernel26-withlinux/kernel26-withlinux.install

32 lines
899 B
Text
Raw Normal View History

2009-11-13 01:35:46 +00:00
post_install() {
2009-12-07 20:25:36 +00:00
chmod 755 /usr/share/plugapps/kernel/README-*
echo 'If running from internal NAND, run:'
2010-01-23 20:42:26 +00:00
echo '/usr/share/plugapps/kernel/README-2.6.32.4 --nandkernel'
2009-12-07 20:25:36 +00:00
echo ''
echo 'If running from SD/MMC, run:
2010-01-23 20:42:26 +00:00
echo '/usr/share/plugapps/kernel/README-2.6.32.4 --rootkernel'
echo 'and then copy the kernel to /boot/uImage.'
2009-12-07 20:25:36 +00:00
echo ''
echo 'Also, check the U-Boot environment variables and reboot.'
2009-11-13 01:35:46 +00:00
}
post_upgrade() {
2009-12-07 20:25:36 +00:00
chmod 755 /usr/share/plugapps/kernel/README-*
echo 'If running from internal NAND, run:'
2010-01-23 20:42:26 +00:00
echo '/usr/share/plugapps/kernel/README-2.6.32.4 --nandkernel'
2009-12-07 20:25:36 +00:00
echo ''
echo 'If running from SD/MMC, run:
2010-01-23 20:42:26 +00:00
echo '/usr/share/plugapps/kernel/README-2.6.32.4 --rootkernel'
echo 'and then copy the kernel to /boot/uImage.'
2009-12-07 20:25:36 +00:00
echo ''
echo 'Also, check the U-Boot environment variables and reboot.'
2009-11-13 01:35:46 +00:00
}
post_remove() {
KERNEL_VERSION=.*
}
op=$1
shift
$op $*