initramfs-tools: some fixes for scripts/local, bump to 0.99.1.
This commit is contained in:
@@ -262,6 +262,9 @@ for b in $(cd "${DESTDIR}/scripts" && find . -mindepth 1 -type d); do
|
||||
cache_run_scripts "${DESTDIR}" "/scripts/${b#./}"
|
||||
done
|
||||
|
||||
# Copy in tsort(1).
|
||||
copy_exec /bin/tsort /bin
|
||||
|
||||
# generate module deps
|
||||
depmod -a -b "${DESTDIR}" ${version}
|
||||
rm -f "${DESTDIR}/lib/modules/${version}"/modules.*map
|
||||
|
||||
@@ -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