summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2005-09-20 15:09:16 +0200
committermaximilian attems <maks@debian.org>2005-09-20 15:09:16 +0200
commit14739b596ae27800ae6ce071745cf2da382d73b4 (patch)
tree9310a7ad0b9bb4536433b4ca17f9147f596d0e0d
parent2c2d674d922cc0dbc762e96948f741f319fa88fb (diff)
downloadinitramfs-tools-14739b596ae27800ae6ce071745cf2da382d73b4.tar.gz
initramfs-tools-14739b596ae27800ae6ce071745cf2da382d73b4.zip
use BUSYBOXDIR variable
-rw-r--r--debian/changelog2
-rw-r--r--mkinitramfs6
2 files changed, 5 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index 30d3c79..4591d65 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,7 +17,7 @@ initramfs-tools (0.27) unstable; urgency=low
* update-initramfs.8 New file install it.
* The debian busybox-cvs-static installs into /bin/busybox:
- fix pathes vis-à-vis ubuntu version.
+ fix pathes vis-à-vis ubuntu version. make that a variable on top.
-- maximilian attems <maks@sternwelten.at> Tue, 20 Sep 2005 13:52:00 +0200
diff --git a/mkinitramfs b/mkinitramfs
index b8a591a..3866a76 100644
--- a/mkinitramfs
+++ b/mkinitramfs
@@ -7,6 +7,8 @@ keep="n"
CONFDIR="/etc/mkinitramfs"
verbose="n"
errors_to="2>/dev/null"
+# BUSYBOXDIR="/usr/lib/initramfs-tools/bin/"
+BUSYBOXDIR="/bin"
while getopts "d:ko:r:" flag; do
case $flag in
@@ -134,9 +136,9 @@ copy_exec /sbin/udevstart /sbin
# Busybox
rm ${DESTDIR}/bin/sh
-ln -s /bin/busybox ${DESTDIR}/bin/sh
+ln -s ${BUSYBOXDIR}/busybox ${DESTDIR}/bin/sh
# This is ugly, but needed atm to make the builtins work =(
-ln -s /bin/busybox ${DESTDIR}/bin/busybox
+ln -s ${BUSYBOXDIR}/busybox ${DESTDIR}/bin/busybox
# Modutils
copy_exec /sbin/modprobe /sbin