gummiboot: fix removal of loader entries
Stop using $PKGNAME (linux3.XX) in post-install since post-remove gets $PKGNAME as linux through vkpurge.
This commit is contained in:
parent
b4368f256e
commit
e83df02215
3 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@ VERSION="$2"
|
|||
|
||||
boot=$ROOTDIR/boot
|
||||
entries=$boot/loader/entries
|
||||
name=void-$PKGNAME-$VERSION
|
||||
name=void-$VERSION
|
||||
entry=$entries/$name.conf
|
||||
options=$boot/loader/void-options.conf
|
||||
loader=$boot/loader/loader.conf
|
||||
|
@ -19,7 +19,7 @@ loader=$boot/loader/loader.conf
|
|||
mkdir -p $entries
|
||||
|
||||
cat <<-EOF > $entry
|
||||
title Void $PKGNAME
|
||||
title Void Linux
|
||||
version $VERSION
|
||||
linux /vmlinuz-$VERSION
|
||||
initrd /initramfs-$VERSION.img
|
||||
|
|
|
@ -9,7 +9,7 @@ VERSION="$2"
|
|||
|
||||
boot=$ROOTDIR/boot
|
||||
entries=$boot/loader/entries
|
||||
name=void-$PKGNAME-$VERSION
|
||||
name=void-$VERSION
|
||||
entry=$entries/$name.conf
|
||||
loader=$boot/loader/loader.conf
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'gummiboot'
|
||||
pkgname=gummiboot
|
||||
version=45
|
||||
revision=5
|
||||
revision=6
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake pkg-config libxslt docbook-xsl"
|
||||
makedepends="gnu-efi-libs liblzma-devel libblkid-devel"
|
||||
|
|
Loading…
Add table
Reference in a new issue