2011-01-28 05:50:11 +00:00
|
|
|
KERNEL_NAME=
|
2011-04-18 02:45:45 +00:00
|
|
|
KERNEL_VERSION=2.6.38
|
2011-01-28 05:50:11 +00:00
|
|
|
|
2009-11-13 01:35:46 +00:00
|
|
|
post_install() {
|
2011-01-28 05:50:11 +00:00
|
|
|
# ARM doesn't use mkinitcpio or anything like that
|
|
|
|
# so we skip it here
|
2010-08-03 06:02:21 +00:00
|
|
|
echo -e "\033[1mNotice\033[0m"
|
2010-08-03 23:56:04 +00:00
|
|
|
echo "If you have a SheevaPlug, you will have to copy"
|
2011-01-28 05:50:11 +00:00
|
|
|
echo "/boot/uImage to the proper location, e.g. /dev/mmcblk0p1"
|
|
|
|
echo "after removing the old one."
|
|
|
|
echo ""
|
2011-02-02 22:45:21 +00:00
|
|
|
echo "If you boot from USB, you do not need to do anything."
|
2010-07-06 12:27:46 +00:00
|
|
|
echo ""
|
2011-01-28 05:50:11 +00:00
|
|
|
echo "This package is for all plugs, including the Dockstar."
|
2011-01-11 08:24:09 +00:00
|
|
|
echo ""
|
|
|
|
echo "Installing now..."
|
2011-02-04 17:19:58 +00:00
|
|
|
# Just making sure kernel modules still work after we moved to .gz
|
2011-04-18 02:45:45 +00:00
|
|
|
/sbin/depmod ${KERNEL_VERSION}
|
2009-11-13 01:35:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
post_upgrade() {
|
2010-02-05 17:45:00 +00:00
|
|
|
post_install
|
2009-11-13 01:35:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
post_remove() {
|
2011-04-18 02:45:45 +00:00
|
|
|
KERNEL_VERSION=2.6.38
|
2009-11-13 01:35:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
op=$1
|
|
|
|
shift
|
|
|
|
$op $*
|