Inverted check on CDROOT_DEV, as it should be -z not -n. Thanks to Jakub Moc <jakub@gentoo.org> for coming up with the quick fix in bug #153554. I lied before. This one is really 3.4.5.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@462 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Chris Gianelloni 18 years ago
parent 3cbe67babf
commit 22769ddd35

@ -2,6 +2,12 @@
# Copyright 2006-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
13 Nov 2006; Chris Gianelloni <wolf31o2@gentoo.org>
generic/initrd.scripts:
Inverted check on CDROOT_DEV, as it should be -z not -n. Thanks to Jakub Moc
<jakub@gentoo.org> for coming up with the quick fix in bug #153554. I lied
before. This one is really 3.4.5.
13 Nov 2006; Chris Gianelloni <wolf31o2@gentoo.org> generic/linuxrc,
genkernel:
Added typo fix from Jason Pepas <j.pepas@mail.utexas.edu> in bug #153516.

@ -72,7 +72,7 @@ findcdmount() {
if [ -b "${x}" ]
then
good_msg "Attempting to mount media:- ${x}"
if [ -n "${CDROOT_DEV}" ]
if [ -z "${CDROOT_DEV}" ]
then
mount -r -t auto ${x} ${NEW_ROOT}/mnt/cdrom \
> /dev/null 2>&1

Loading…
Cancel
Save