aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/package/builddeb5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 4876ff3154a1..5eecbbe58114 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -1,6 +1,6 @@
1#!/bin/sh 1#!/bin/sh
2# 2#
3# builddeb 1.2 3# builddeb 1.3
4# Copyright 2003 Wichert Akkerman <wichert@wiggy.net> 4# Copyright 2003 Wichert Akkerman <wichert@wiggy.net>
5# 5#
6# Simple script to generate a deb package for a Linux kernel. All the 6# Simple script to generate a deb package for a Linux kernel. All the
@@ -75,6 +75,9 @@ for script in postinst postrm preinst prerm ; do
75 75
76set -e 76set -e
77 77
78# Pass maintainer script parameters to hook scripts
79export DEB_MAINT_PARAMS="\$@"
80
78test -d /etc/kernel/$script.d && run-parts --arg="$version" /etc/kernel/$script.d 81test -d /etc/kernel/$script.d && run-parts --arg="$version" /etc/kernel/$script.d
79exit 0 82exit 0
80EOF 83EOF