PKGBUILDs/core/linux-odroid-xu3/linux-odroid-xu3.install

21 lines
455 B
Text

# arg 1: the new package version
# arg 2: the old package version
KERNEL_NAME=-odroid-xu3
KERNEL_VERSION=4.14.180-3-ARCH
post_install () {
# updating module dependencies
echo ">>> Updating module dependencies. Please wait ..."
depmod ${KERNEL_VERSION}
}
post_upgrade() {
# updating module dependencies
echo ">>> Updating module dependencies. Please wait ..."
depmod ${KERNEL_VERSION}
}
post_remove() {
rm -f boot/initramfs-linux.img
}