File: linux-image-6.12.38%2Bdeb13-amd64.postinst

package info (click to toggle)
linux-signed-amd64 6.12.38%2B1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 5,852 kB
  • sloc: sh: 177; makefile: 16
file content (22 lines) | stat: -rw-r--r-- 402 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh -e

version=6.12.38+deb13-amd64
image_path=/boot/vmlinuz-$version

if [ "$1" != configure ]; then
    exit 0
fi

depmod $version

if [ -f /lib/modules/$version/.fresh-install ]; then
    change=install
else
    change=upgrade
fi
linux-update-symlinks $change $version $image_path
rm -f /lib/modules/$version/.fresh-install

linux-run-hooks image postinst $version $image_path -- "$@"

exit 0