xbps-base-files: a fix for the initramfs-tools trigger.
- Make update-initramfs(8) use -t, so that it works in creation and updating. Bump revision. --HG-- extra : convert_revision : 8ecb7c46f5a5018b5ab2a6144c959ed10d66163e
This commit is contained in:
parent
7e91eb4db8
commit
6f399d2b1c
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'xbps-base-files'
|
# Template file for 'xbps-base-files'
|
||||||
pkgname=xbps-base-files
|
pkgname=xbps-base-files
|
||||||
version=0.26
|
version=0.27
|
||||||
build_style=custom-install
|
build_style=custom-install
|
||||||
short_desc="xbps base system files"
|
short_desc="xbps base system files"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
|
|
@ -31,14 +31,14 @@ run)
|
||||||
fi
|
fi
|
||||||
if [ ! -f var/lib/initramfs-tools/${VERSION} ]; then
|
if [ ! -f var/lib/initramfs-tools/${VERSION} ]; then
|
||||||
# Create new initramfs
|
# Create new initramfs
|
||||||
initramfs_args="-c -k ${VERSION}"
|
initramfs_args="-c -t -k ${VERSION}"
|
||||||
else
|
else
|
||||||
# Update existing initramfs
|
# Update existing initramfs
|
||||||
initramfs_args="-u -k ${VERSION}"
|
initramfs_args="-u -t -k ${VERSION}"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# Update initramfs for all kernels
|
# Update initramfs for all kernels
|
||||||
initramfs_args="-u -k all"
|
initramfs_args="-u -t -k all"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -e /proc/filesystems ]; then
|
if [ ! -e /proc/filesystems ]; then
|
||||||
|
|
Loading…
Reference in New Issue