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}'."
|
echo "update-initramfs: please run 'grub-install ${dev}'."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -x "$(which grub-mkconfig 2>/dev/null)" ]; then
|
if [ -x /usr/sbin/grub-mkconfig ]; then
|
||||||
echo "Updating GRUB2 configuration file..."
|
/usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
grub-mkconfig -o /boot/grub/grub.cfg
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'initramfs-tools'
|
# Template file for 'initramfs-tools'
|
||||||
pkgname=initramfs-tools
|
pkgname=initramfs-tools
|
||||||
version=0.98
|
version=0.98.1
|
||||||
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>"
|
||||||
|
@ -17,8 +17,10 @@ noextract=yes
|
||||||
noarch=yes
|
noarch=yes
|
||||||
keep_empty_dirs=yes
|
keep_empty_dirs=yes
|
||||||
triggers="initramfs-tools"
|
triggers="initramfs-tools"
|
||||||
conf_files="/etc/$pkgname/initramfs.conf /etc/$pkgname/update-initramfs.conf
|
conf_files="
|
||||||
/etc/$pkgname/modules"
|
/etc/$pkgname/initramfs.conf
|
||||||
|
/etc/$pkgname/update-initramfs.conf
|
||||||
|
/etc/$pkgname/modules"
|
||||||
|
|
||||||
Add_dependency full glibc
|
Add_dependency full glibc
|
||||||
Add_dependency full cpio
|
Add_dependency full cpio
|
||||||
|
|
Loading…
Reference in a new issue