summaryrefslogtreecommitdiff
path: root/libre/linux-libre-armv7/linux-libre-armv7.install
blob: 91fc84c15b8b37b7ffbdcfc117008d3349175515 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# arg 1:  the new package version
# arg 2:  the old package version

KERNEL_NAME=-armv7
KERNEL_VERSION=4.15.2-gnu-1-PARABOLA

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
}