From c3b49676fecfda1090524855fa16f0fbc76aa0a0 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 10 Nov 2011 14:15:27 +0100 Subject: [PATCH] initramfs-tools: do not set ROOTDIR in kernel hooks. --- srcpkgs/initramfs-tools/files/kernel.d/initramfs-tools.postinst | 2 -- srcpkgs/initramfs-tools/files/kernel.d/initramfs-tools.postrm | 1 - srcpkgs/initramfs-tools/template | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/srcpkgs/initramfs-tools/files/kernel.d/initramfs-tools.postinst b/srcpkgs/initramfs-tools/files/kernel.d/initramfs-tools.postinst index 164e1ad1ad..1dc5ab7574 100644 --- a/srcpkgs/initramfs-tools/files/kernel.d/initramfs-tools.postinst +++ b/srcpkgs/initramfs-tools/files/kernel.d/initramfs-tools.postinst @@ -11,7 +11,5 @@ if [ ! -x /usr/sbin/update-initramfs ]; then exit 0 fi -export ROOTDIR="." update-initramfs -c -t -k ${VERSION} - exit $? diff --git a/srcpkgs/initramfs-tools/files/kernel.d/initramfs-tools.postrm b/srcpkgs/initramfs-tools/files/kernel.d/initramfs-tools.postrm index 7fc48d930b..5c11dee138 100644 --- a/srcpkgs/initramfs-tools/files/kernel.d/initramfs-tools.postrm +++ b/srcpkgs/initramfs-tools/files/kernel.d/initramfs-tools.postrm @@ -11,6 +11,5 @@ if [ ! -x /usr/sbin/update-initramfs ]; then exit 0 fi -export ROOTDIR="." update-initramfs -d -t -k ${VERSION} exit $? diff --git a/srcpkgs/initramfs-tools/template b/srcpkgs/initramfs-tools/template index 954d630676..d216cdcba8 100644 --- a/srcpkgs/initramfs-tools/template +++ b/srcpkgs/initramfs-tools/template @@ -1,6 +1,6 @@ # Template file for 'initramfs-tools' pkgname=initramfs-tools -_localver=108 # This is the XBPS version +_localver=109 # This is the XBPS version _distver=0.99 # This should match debian version version=${_distver}.${_localver} short_desc="Tools for generating an initramfs"