PKGBUILDs/core/kernel26/kernel26.install

32 lines
679 B
Text
Raw Normal View History

2011-01-28 05:50:11 +00:00
KERNEL_NAME=
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"
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."
echo ""
2011-01-28 05:50:11 +00:00
echo "This package is for all plugs, including the Dockstar."
echo ""
echo "Installing now..."
# Just making sure kernel modules still work after we moved to .gz
/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() {
KERNEL_VERSION=2.6.38
2009-11-13 01:35:46 +00:00
}
op=$1
shift
$op $*