summaryrefslogtreecommitdiff
path: root/mkinitramfs
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-02-27 09:39:30 +0100
committermaximilian attems <maks@debian.org>2006-02-27 09:39:30 +0100
commit236d8183a72e0de357a743bc909ea25e8bd1995e (patch)
treed668e91fb383107b1f883abae7e96a6057e96311 /mkinitramfs
parent833ebf13b59f2cc2e9af15f2df3727f4e09bec41 (diff)
downloadinitramfs-tools-236d8183a72e0de357a743bc909ea25e8bd1995e.tar.gz
initramfs-tools-236d8183a72e0de357a743bc909ea25e8bd1995e.zip
hardcoded root support
Diffstat (limited to 'mkinitramfs')
-rwxr-xr-xmkinitramfs3
1 files changed, 2 insertions, 1 deletions
diff --git a/mkinitramfs b/mkinitramfs
index 06e892d..a72865b 100755
--- a/mkinitramfs
+++ b/mkinitramfs
@@ -37,7 +37,7 @@ while true; do
shift
;;
-r)
- # ignore (FIXME: manpage says differently?!?)
+ ROOT="$2"
shift 2
;;
--supported-host-version)
@@ -188,6 +188,7 @@ copy_exec "${CONFDIR}/initramfs.conf" /conf
for i in ${EXTRA_CONF}; do
copy_exec ${CONFDIR}/conf.d/${i} /conf/conf.d
done
+echo "ROOT=${ROOT}" > ${DESTDIR}/conf/conf.d/root
# Busybox
rm -f ${DESTDIR}/bin/sh