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
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'xbps-base-files'
|
||||
pkgname=xbps-base-files
|
||||
version=0.26
|
||||
version=0.27
|
||||
build_style=custom-install
|
||||
short_desc="xbps base system files"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
|
|
@ -31,14 +31,14 @@ run)
|
|||
fi
|
||||
if [ ! -f var/lib/initramfs-tools/${VERSION} ]; then
|
||||
# Create new initramfs
|
||||
initramfs_args="-c -k ${VERSION}"
|
||||
initramfs_args="-c -t -k ${VERSION}"
|
||||
else
|
||||
# Update existing initramfs
|
||||
initramfs_args="-u -k ${VERSION}"
|
||||
initramfs_args="-u -t -k ${VERSION}"
|
||||
fi
|
||||
else
|
||||
# Update initramfs for all kernels
|
||||
initramfs_args="-u -k all"
|
||||
initramfs_args="-u -t -k all"
|
||||
fi
|
||||
|
||||
if [ ! -e /proc/filesystems ]; then
|
||||
|
|
Loading…
Reference in a new issue