initramfs-tools: update to 0.98.1.
Simply check if /usr/sbin/grub-mkconfig exists and run it if -B not set.
This commit is contained in:
parent
481e74178e
commit
304cf3c9c2
2 changed files with 7 additions and 6 deletions
|
@ -180,9 +180,8 @@ run_bootloader()
|
|||
echo "update-initramfs: please run 'grub-install ${dev}'."
|
||||
fi
|
||||
|
||||
if [ -x "$(which grub-mkconfig 2>/dev/null)" ]; then
|
||||
echo "Updating GRUB2 configuration file..."
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
if [ -x /usr/sbin/grub-mkconfig ]; then
|
||||
/usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'initramfs-tools'
|
||||
pkgname=initramfs-tools
|
||||
version=0.98
|
||||
version=0.98.1
|
||||
build_style=custom-install
|
||||
short_desc="Tools for generating an initramfs"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -17,7 +17,9 @@ noextract=yes
|
|||
noarch=yes
|
||||
keep_empty_dirs=yes
|
||||
triggers="initramfs-tools"
|
||||
conf_files="/etc/$pkgname/initramfs.conf /etc/$pkgname/update-initramfs.conf
|
||||
conf_files="
|
||||
/etc/$pkgname/initramfs.conf
|
||||
/etc/$pkgname/update-initramfs.conf
|
||||
/etc/$pkgname/modules"
|
||||
|
||||
Add_dependency full glibc
|
||||
|
|
Loading…
Reference in a new issue