mirror of
https://abf.rosa.ru/djam/kernel-6.1.git
synced 2025-02-24 15:52:54 +00:00
Do not update GRUB configs explicitly
File triggers from grub2 package already handle this.
This commit is contained in:
parent
b0fd2a9614
commit
b23ab7b0a0
1 changed files with 4 additions and 2 deletions
|
@ -1500,7 +1500,8 @@ cat > $kernel_files-post <<EOF
|
|||
INITRD=/boot/initrd-$KernelVer.img
|
||||
/sbin/dracut -f \${INITRD} $KernelVer
|
||||
|
||||
/usr/sbin/update-grub2
|
||||
# File triggers from grub packages will handle this.
|
||||
#/usr/sbin/update-grub2
|
||||
|
||||
pushd /boot > /dev/null
|
||||
if [ -L vmlinuz-$kernel_flavour ]; then
|
||||
|
@ -1526,7 +1527,8 @@ if [ -L initrd-$kernel_flavour.img ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
/usr/sbin/update-grub2
|
||||
# File triggers from grub packages will handle this.
|
||||
#/usr/sbin/update-grub2
|
||||
|
||||
popd > /dev/null
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Reference in a new issue