initramfs-tools: some fixes for scripts/local, bump to 0.99.1.

This commit is contained in:
Juan RP 2010-05-17 18:39:55 +02:00
parent cb5b38f7f7
commit ddb51715a4
3 changed files with 5 additions and 3 deletions

View file

@ -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

View file

@ -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)

View file

@ -1,6 +1,6 @@
# Template file for 'initramfs-tools'
pkgname=initramfs-tools
version=0.99.debian0.94.4
version=0.99.1.debian0.94.4
build_style=custom-install
short_desc="Tools for generating an initramfs"
maintainer="Juan RP <xtraeme@gmail.com>"