Added fix for bug #103717.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@316 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Chris Gianelloni 19 years ago
parent 872dcb04a3
commit e94135c447

@ -234,7 +234,12 @@ gen_die() {
} }
has_loop() { has_loop() {
dmesg | egrep -q '^loop:' if [ -e /var/log/dmesg ]
then
cat /var/log/dmesg | egrep -q '^loop:'
else
dmesg | egrep -q '^loop:'
fi
if [ -e '/dev/loop0' -o -e '/dev/loop/0' -a ${PIPESTATUS[1]} ] if [ -e '/dev/loop0' -o -e '/dev/loop/0' -a ${PIPESTATUS[1]} ]
then then
# We found devfs or standard dev loop device, assume # We found devfs or standard dev loop device, assume

Loading…
Cancel
Save