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

38 lines
817 B
Text
Raw Normal View History

2009-11-13 01:35:46 +00:00
post_install() {
2010-02-05 03:46:17 +00:00
chmod 755 /usr/share/plugapps/kernel/README-*
2010-02-05 03:58:56 +00:00
cat << 'EOF'
2010-02-05 03:46:17 +00:00
If running from internal NAND, run:
/usr/share/plugapps/kernel/README-2.6.32.5 --nandkernel
If running from SD/MMC, run:
/usr/share/plugapps/kernel/README-2.6.32.5 --rootkernel
and then copy the kernel to /boot/uImage.
Also, check the U-Boot environment variables and reboot.
2010-02-05 03:58:56 +00:00
EOF
2009-11-13 01:35:46 +00:00
}
post_upgrade() {
2010-02-05 03:46:17 +00:00
chmod 755 /usr/share/plugapps/kernel/README-*
2010-02-05 03:58:56 +00:00
cat << 'EOF'
2010-02-05 03:46:17 +00:00
If running from internal NAND, run:
/usr/share/plugapps/kernel/README-2.6.32.5 --nandkernel
If running from SD/MMC, run:
/usr/share/plugapps/kernel/README-2.6.32.5 --rootkernel
and then copy the kernel to /boot/uImage.
Also, check the U-Boot environment variables and reboot.
2010-02-05 03:58:56 +00:00
EOF
2009-11-13 01:35:46 +00:00
}
post_remove() {
KERNEL_VERSION=.*
}
op=$1
shift
$op $*