grub-xenhost installs to root instead of /usr/lib/grub-xen
Package Information
- Package name: grub-xenhost
- Package version: 2.12-r4
- Alpine version: 3.20.0_rc1
- Alpine architecture: x86_64
Summary
The grub-xenhost
package (generated from the grub package) contains two files:
$ apk info -L grub-xenhost
grub-xenhost-2.12-r4 contains:
grub-i386-xen_pvh.bin
grub-x86_64-xen.bin
These usually installed to /usr/lib/grub-xen/
so in PVH Xen DomU configuration one would specify:
type = "pvh"
kernel = "/usr/lib/grub-xen/grub-i386-xen_pvh.bin"
However, with grub-xenhost-2.12-r4
that changed and both files are now being installed in /
(the root directory). This may have been deliberate (but I hope it's not: I don't like files cluttering up /
), but w/o prior announcement (and no symlink in /usr/lib/grub-xen/
, which is gone now) this came as a surprise and all my Xen configuration files needed an update. I don't have the binary package of 2.12-r3
anymore, but older versions really installed these files in /usr/lib/grub-xen/
:
$ tar -tzf grub-xenhost-2.06-r17.apk
.SIGN.RSA.alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
.PKGINFO
usr/
usr/lib/
usr/lib/grub-xen/
usr/lib/grub-xen/grub-i386-xen_pvh.bin
usr/lib/grub-xen/grub-x86_64-xen.bin
$ tar -tzf grub-xenhost-2.12-r4.apk
.SIGN.RSA.alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
.PKGINFO
grub-i386-xen_pvh.bin
grub-x86_64-xen.bin
Looking through the commit history, this may have been caused by main/grub: use amove that was commited 2 days ago.
Steps to reproduce
Update from grub-xenhost-2.12-r3
to grub-xenhost-2.12-r4