grub: move x86_64-efi files to grub-x86_64-efi subpkg.
This commit is contained in:
parent
9d1c343da4
commit
4fa810ad41
3 changed files with 14 additions and 2 deletions
1
srcpkgs/grub-x86_64-efi
Symbolic link
1
srcpkgs/grub-x86_64-efi
Symbolic link
|
@ -0,0 +1 @@
|
|||
grub
|
11
srcpkgs/grub/grub-x86_64-efi.template
Normal file
11
srcpkgs/grub/grub-x86_64-efi.template
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Template file for 'grub-x86_64-efi'.
|
||||
#
|
||||
depends="grub>=$version dosfstools efibootmgr"
|
||||
short_desc="${short_desc} -- x86_64 EFI support"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains supports for x86_64 EFI booting."
|
||||
|
||||
do_install() {
|
||||
vmove usr/lib/grub/x86_64-efi usr/lib/grub
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'grub'
|
||||
pkgname=grub
|
||||
version="2.00"
|
||||
revision=4
|
||||
revision=5
|
||||
makedepends="flex libusb-compat-devel ncurses-devel freetype-devel
|
||||
liblzma-devel device-mapper-devel font-unifont-bdf fuse-devel"
|
||||
fulldepends="os-prober"
|
||||
|
@ -18,7 +18,7 @@ long_desc="
|
|||
robust, more powerful, and more portable."
|
||||
|
||||
if [ "$XBPS_MACHINE" = "x86_64" ]; then
|
||||
makedepends="$makedepends dosfstools efibootmgr"
|
||||
subpackages="grub-x86_64-efi"
|
||||
fi
|
||||
|
||||
do_configure() {
|
||||
|
|
Loading…
Reference in a new issue