Fix call to blkid of util-linux

cleanup-cruft
Sebastian Pipping 13 years ago
parent 5dd0774651
commit 0fa71ef46c

@ -5,6 +5,10 @@
# Distributed under the GPL v2 # Distributed under the GPL v2
# $Id$ # $Id$
17 May 2012; Sebastian Pipping <sping@gentoo.org> defaults/linuxrc:
Fix call to blkid as "blkid -l -t UUID=foo" (without -o device) does not seem
to work well with blkid of util-linux
17 May 2012; Sebastian Pipping <sping@gentoo.org> genkernel: 17 May 2012; Sebastian Pipping <sping@gentoo.org> genkernel:
Bump version to 3.4.33 Bump version to 3.4.33

@ -801,7 +801,7 @@ openLUKS() {
fi fi
if [ "${retval}" -ne 0 ]; then if [ "${retval}" -ne 0 ]; then
REAL_LUKS=`blkid -l -t "${LUKS_DEVICE}" | cut -d ":" -f 1 2>/dev/null` REAL_LUKS=`blkid -o device -l -t "${LUKS_DEVICE}"`
retval=$? retval=$?
fi fi

@ -372,7 +372,7 @@ then
fi fi
if [ ${retval} -ne 0 ]; then if [ ${retval} -ne 0 ]; then
RESUME_DEV=$(blkid -l -t "${REAL_RESUME}" | cut -d ":" -f 1 2>/dev/null) RESUME_DEV=$(blkid -o device -l -t "${REAL_RESUME}")
retval=$? retval=$?
fi fi
@ -480,7 +480,7 @@ do
fi fi
if [ ${retval} -ne 0 ]; then if [ ${retval} -ne 0 ]; then
ROOT_DEV=$(blkid -l -t "${REAL_ROOT}" | cut -d ":" -f 1 2>/dev/null) ROOT_DEV=$(blkid -o device -l -t "${REAL_ROOT}")
retval=$? retval=$?
fi fi

Loading…
Cancel
Save