mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
31 lines
1,018 B
Text
31 lines
1,018 B
Text
post_install() {
|
|
echo 'Are you sure you want to upgrade the kernel?'
|
|
echo 'Press ENTER to continue or CTRL+C to cancel.'
|
|
read enter
|
|
chmod 755 /usr/share/plugapps/kernel/README-2.6.31.6
|
|
/usr/share/plugapps/kernel/README-2.6.31.6 --nandkernel
|
|
echo 'Check the U-Boot environment variables! The kernel image is'
|
|
echo 'located at /boot/uImage just in case you need to flash'
|
|
echo 'it manually. However, it should have been flashed, so
|
|
echo 'reboot your plug now.'
|
|
}
|
|
|
|
post_upgrade() {
|
|
echo 'Are you sure you want to upgrade the kernel?'
|
|
echo 'Press ENTER to continue or CTRL+C to cancel.'
|
|
read enter
|
|
chmod 755 /usr/share/plugapps/kernel/README-2.6.31.6 --nandkernel
|
|
/usr/share/plugapps/kernel/README-2.6.31.6
|
|
echo 'Check the U-Boot environment variables! The kernel image is'
|
|
echo 'located at /boot/uImage just in case you need to flash'
|
|
echo 'it manually. However, it should have been flashed, so
|
|
echo 'reboot your plug now.'
|
|
}
|
|
|
|
post_remove() {
|
|
KERNEL_VERSION=.*
|
|
}
|
|
|
|
op=$1
|
|
shift
|
|
$op $*
|