git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@482
67a159dc-881f-0410-a524-
ba9dfbe2cb84
# Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 12 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org> generic/linuxrc:
+ Fix REAL_INIT for bug #160635.
+
12 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org> gen_cmdline.sh,
gen_compile.sh, genkernel:
Added patch from Fabio Erculiani <lxnay@lxnaydesign.net> to fix unionfs
umount /proc || echo '*: Failed to unmount the initrd /proc!'
echo -n '.'
- exec switch_root -c "/dev/console" "${CHROOT}" /sbin/init ${REAL_INIT}
+ exec switch_root -c "/dev/console" "${CHROOT}" ${REAL_INIT:-/sbin/init} ${INIT_OPTS}
fi
splash 'verbose'