]>
git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - debian/templates/image.preinst.in
4 version
=@abiname@@localversion@
5 image_path
=/boot
/@image-stem@
-$version
7 if [ "$1" = abort-upgrade
]; then
11 if [ "$1" = install ]; then
12 # Create a flag file for postinst
13 mkdir
-p /lib
/modules
/$version
14 touch /lib
/modules
/$version/.fresh-install
17 if [ -d /etc
/kernel
/preinst.d
]; then
18 DEB_MAINT_PARAMS
="$*" run-parts
--report --exit-on-error --arg=$version \
19 --arg=$image_path /etc
/kernel
/preinst.d