fixed .install

This commit is contained in:
Jonny Gerold 2010-02-04 19:46:17 -08:00
parent ee712a4946
commit 06647d9f61

View file

@ -1,25 +1,31 @@
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.5 --nandkernel'
echo ''
echo 'If running from SD/MMC, run:
echo '/usr/share/plugapps/kernel/README-2.6.32.5 --rootkernel'
echo 'and then copy the kernel to /boot/uImage.'
echo ''
echo 'Also, check the U-Boot environment variables and reboot.'
chmod 755 /usr/share/plugapps/kernel/README-*
cat << 'INSTALL'
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.
INSTALL
}
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.5 --nandkernel'
echo ''
echo 'If running from SD/MMC, run:
echo '/usr/share/plugapps/kernel/README-2.6.32.5 --rootkernel'
echo 'and then copy the kernel to /boot/uImage.'
echo ''
echo 'Also, check the U-Boot environment variables and reboot.'
chmod 755 /usr/share/plugapps/kernel/README-*
cat << 'UPGRADE'
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.
UPGRADE
}
post_remove() {