mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-10-29 22:43:48 +00:00
23 lines
510 B
Text
23 lines
510 B
Text
# arg 1: the new package version
|
|
# arg 2: the old package version
|
|
|
|
KERNEL_NAME=-armv7
|
|
KERNEL_VERSION=4.10.0-1-ARCH
|
|
|
|
post_install () {
|
|
# updating module dependencies
|
|
echo ">>> Updating module dependencies. Please wait ..."
|
|
depmod ${KERNEL_VERSION}
|
|
|
|
echo "NOTE: Using this kernel requires an updated U-Boot!"
|
|
}
|
|
|
|
post_upgrade() {
|
|
# updating module dependencies
|
|
echo ">>> Updating module dependencies. Please wait ..."
|
|
depmod ${KERNEL_VERSION}
|
|
}
|
|
|
|
post_remove() {
|
|
rm -f boot/initramfs-linux.img
|
|
}
|