#!/bin/sh
-BLKID_RCSID='$Revision$ $Date:: $'
-
# geninitrd mod: blkid
USE_BLKID=${USE_BLKID:-yes}
fi
verbose "Adding BLKID support to initrd"
- inst_exec $blkid /bin/blkid
+ inst_exec $blkid /sbin/blkid
initrd_gen_devices
add_linuxrc <<-'EOF'
# if built with blkid change ROOT=LABEL=something into ROOT=/dev/device parsed by blkid
if [ "${ROOT##LABEL=}" != "${ROOT}" -o "${ROOT##UUID=}" != "${ROOT}" ]; then
- blkid="$(/bin/blkid -t $ROOT -o device -l)"
+ blkid="$(/sbin/blkid -t $ROOT -o device -l)"
if [ -n "$blkid" ]; then
ROOT=$blkid
fi