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#./}" cache_run_scripts "${DESTDIR}" "/scripts/${b#./}"
done done
# Copy in tsort(1).
copy_exec /bin/tsort /bin
# generate module deps # generate module deps
depmod -a -b "${DESTDIR}" ${version} depmod -a -b "${DESTDIR}" ${version}
rm -f "${DESTDIR}/lib/modules/${version}"/modules.*map 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, # vol_id has a more complete list of file systems,
# but fstype is more robust # but fstype is more robust
eval $(fstype "${FS}" 2> /dev/null) if command -v blkid >/dev/null 2>&1 ; then
if [ "$FSTYPE" = "unknown" ] && command -v blkid >/dev/null 2>&1 ; then
FSTYPE=$(blkid -o value -s TYPE "${FS}") FSTYPE=$(blkid -o value -s TYPE "${FS}")
elif [ "$FSTYPE" = "unknown" ] && [ -x /lib/udev/vol_id ]; then elif [ "$FSTYPE" = "unknown" ] && [ -x /lib/udev/vol_id ]; then
FSTYPE=$(/lib/udev/vol_id -t "${FS}" 2> /dev/null) FSTYPE=$(/lib/udev/vol_id -t "${FS}" 2> /dev/null)

View File

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