summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/initramfs-tools.install1
-rwxr-xr-xdebian/rules2
-rwxr-xr-xkernel/postinst.d/update-initramfs7
-rwxr-xr-xkernel/postrm.d/update-initramfs7
4 files changed, 1 insertions, 16 deletions
diff --git a/debian/initramfs-tools.install b/debian/initramfs-tools.install
index 71670ef..fb1c088 100644
--- a/debian/initramfs-tools.install
+++ b/debian/initramfs-tools.install
@@ -10,4 +10,3 @@ conf/modules usr/share/initramfs-tools
update-initramfs usr/sbin
debian/script usr/share/bug/initramfs-tools
debian/lintian/initramfs-tools usr/share/lintian/overrides
-kernel etc
diff --git a/debian/rules b/debian/rules
index 1376aa9..2a5ae55 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,6 @@ include /usr/share/cdbs/1/rules/debhelper.mk
pre-build::
chmod +x init mkinitramfs
chmod +x hooks/*
- for x in `find scripts/ kernel/ -maxdepth 1 -type d | tail -n+2`; do \
+ for x in `find scripts/ -maxdepth 1 -type d | tail -n+2`; do \
chmod -R +x $$x; \
done
diff --git a/kernel/postinst.d/update-initramfs b/kernel/postinst.d/update-initramfs
deleted file mode 100755
index 2d3b391..0000000
--- a/kernel/postinst.d/update-initramfs
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-#
-
-[ -z "$1" ] && exit 0
-
-# create initramfs - update runs do_bootloader
-update-initramfs -t -u -k "$1"
diff --git a/kernel/postrm.d/update-initramfs b/kernel/postrm.d/update-initramfs
deleted file mode 100755
index 432d672..0000000
--- a/kernel/postrm.d/update-initramfs
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-#
-
-[ -z "$1" ] && exit 0
-
-# delete initramfs
-update-initramfs -d -k "$1"