initramfs-tools: some fixes for scripts/local, bump to 0.99.1.
This commit is contained in:
@@ -280,8 +280,7 @@ get_fstype ()
|
||||
|
||||
# vol_id has a more complete list of file systems,
|
||||
# but fstype is more robust
|
||||
eval $(fstype "${FS}" 2> /dev/null)
|
||||
if [ "$FSTYPE" = "unknown" ] && command -v blkid >/dev/null 2>&1 ; then
|
||||
if command -v blkid >/dev/null 2>&1 ; then
|
||||
FSTYPE=$(blkid -o value -s TYPE "${FS}")
|
||||
elif [ "$FSTYPE" = "unknown" ] && [ -x /lib/udev/vol_id ]; then
|
||||
FSTYPE=$(/lib/udev/vol_id -t "${FS}" 2> /dev/null)
|
||||
|
||||
Reference in New Issue
Block a user