grub: remove the strip(1) wrapper before building.
... otherwise the modules won't be stripped.
This commit is contained in:
parent
ca802bb399
commit
685216d8eb
1 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'grub'
|
# Template file for 'grub'
|
||||||
pkgname=grub
|
pkgname=grub
|
||||||
version=2.00
|
version=2.00
|
||||||
revision=19
|
revision=20
|
||||||
hostmakedepends="flex"
|
hostmakedepends="flex"
|
||||||
makedepends="libusb-compat-devel ncurses-devel freetype-devel
|
makedepends="libusb-compat-devel ncurses-devel freetype-devel
|
||||||
liblzma-devel device-mapper-devel font-unifont-bdf fuse-devel"
|
liblzma-devel device-mapper-devel font-unifont-bdf fuse-devel"
|
||||||
|
@ -48,6 +48,9 @@ do_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
# XXX remove the strip wrapper
|
||||||
|
rm ${XBPS_WRAPPERDIR}/strip
|
||||||
|
|
||||||
msg_normal "Building BIOS grub...\n"
|
msg_normal "Building BIOS grub...\n"
|
||||||
cd $wrksrc/bios_build
|
cd $wrksrc/bios_build
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
|
@ -60,9 +63,6 @@ do_build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
# xxx remove the strip wrapper
|
|
||||||
rm ${XBPS_WRAPPERDIR}/strip
|
|
||||||
|
|
||||||
if [ -n "${_GRUBX64}" ]; then
|
if [ -n "${_GRUBX64}" ]; then
|
||||||
cd $wrksrc/efi_build
|
cd $wrksrc/efi_build
|
||||||
make DESTDIR=$DESTDIR/efi install
|
make DESTDIR=$DESTDIR/efi install
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue