diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 10:10:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 10:12:40 +0000 |
commit | fbc787c3fed74f9a310515aed1d2d274e2a5e14e (patch) | |
tree | 02199b213dd11f90381f5cca4a0ace4b3cb45e39 /debian/linux-headers-6.1.0-19-rpi.postinst | |
parent | Merging upstream version 6.1.82. (diff) | |
download | linux-fbc787c3fed74f9a310515aed1d2d274e2a5e14e.tar.xz linux-fbc787c3fed74f9a310515aed1d2d274e2a5e14e.zip |
Merging debian version 6.1.82-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/linux-headers-6.1.0-19-rpi.postinst')
-rwxr-xr-x | debian/linux-headers-6.1.0-19-rpi.postinst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/linux-headers-6.1.0-19-rpi.postinst b/debian/linux-headers-6.1.0-19-rpi.postinst new file mode 100755 index 000000000..7f68ace39 --- /dev/null +++ b/debian/linux-headers-6.1.0-19-rpi.postinst @@ -0,0 +1,18 @@ +#!/usr/bin/perl +# Author: Michael Gilbert <michael.s.gilbert@gmail.com> +# Origin: Stripped down version of the linux-headers postinst from Ubuntu's +# 2.6.32-14-generic kernel, which was itself derived from a +# Debian linux-image postinst script. + +$|=1; +my $version = "6.1.0-19-rpi"; + +if (-d "/etc/kernel/header_postinst.d") { + system ("run-parts --report --exit-on-error --arg=$version " . + "/etc/kernel/header_postinst.d") && + die "Failed to process /etc/kernel/header_postinst.d"; +} + +exit 0; + +__END__ |