summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeshav Amburay2015-10-17 20:44:46 -0400
committerKeshav Amburay2015-10-17 20:44:46 -0400
commita957d8029b2a39b8ab5ec29282d322052276a9cb (patch)
tree1d79ffc3a90fd2ada786bf59b0382a7d7d6dd971
parent1c947f40f4c72f8254815c262fdb2cf6f147209e (diff)
downloadaur-a957d8029b2a39b8ab5ec29282d322052276a9cb.tar.gz
Build all FS drivers and Build netboot support
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD60
2 files changed, 24 insertions, 42 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8e5e3f8122c..e235f651831 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = refind-efi-git
pkgdesc = Rod Smith's fork of rEFIt UEFI Boot Manager - GIT Version - Built with GNU-EFI libs
- pkgver = 0.9.0.383.baa6e09
+ pkgver = 0.9.2.392.e366a10
pkgrel = 1
url = http://www.rodsbooks.com/refind/index.html
install = refind-efi.install
@@ -14,8 +14,8 @@ pkgbase = refind-efi-git
depends = efibootmgr
optdepends = mactel-boot: For bless command in Apple Mac systems
optdepends = imagemagick: For refind-mkfont script
- provides = refind=0.9.0.383.baa6e09
- provides = refind-efi=0.9.0.383.baa6e09
+ provides = refind=0.9.2.392.e366a10
+ provides = refind-efi=0.9.2.392.e366a10
conflicts = refind-efi
options = !strip
options = docs
diff --git a/PKGBUILD b/PKGBUILD
index e9fb5def37d..14c1c12857f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ __pkgname="refind"
_pkgname="${__pkgname}-efi"
pkgname="${_pkgname}-git"
-pkgver=0.9.0.383.baa6e09
+pkgver=0.9.2.392.e366a10
pkgrel=1
pkgdesc="Rod Smith's fork of rEFIt UEFI Boot Manager - GIT Version"
url="http://www.rodsbooks.com/refind/index.html"
@@ -266,8 +266,6 @@ build() {
echo
fi
- cd "${srcdir}/${__pkgname}_build/filesystems/"
-
msg "Unset all compiler FLAGS"
unset CFLAGS
unset CPPFLAGS
@@ -277,47 +275,26 @@ build() {
msg "Compile UEFI FS drivers"
if [[ "${_USE_GNU_EFI}" == "1" ]]; then
- make btrfs_gnuefi
- echo
-
- make ext4_gnuefi
- echo
-
- make ext2_gnuefi
- echo
-
- make hfs_gnuefi
+ make fs_gnuefi
echo
-
- make iso9660_gnuefi
- echo
-
- make reiserfs_gnuefi
- echo
-
- # make xfs_gnuefi
- # echo
else
- make btrfs
- echo
-
- make ext4
- echo
-
- make ext2
- echo
-
- make hfs
- echo
-
- make iso9660
+ make fs
echo
+ fi
+
+ if [[ "${CARCH}" == "x86_64" ]];then
+ cd "${srcdir}/${__pkgname}_build/net"
- make reiserfs
- echo
+ msg "Unset all compiler FLAGS"
+ unset CFLAGS
+ unset CPPFLAGS
+ unset CXXFLAGS
+ unset LDFLAGS
+ unset MAKEFLAGS
- # make xfs
- # echo
+ msg "Compile Network support"
+ make source
+ make netboot
fi
}
@@ -336,6 +313,11 @@ package() {
install -d "${pkgdir}/usr/share/refind/tools_${_TIANO_S_ARCH}"
install -D -m0644 "${srcdir}/${__pkgname}_build/gptsync/gptsync_${_TIANO_S_ARCH}.efi" "${pkgdir}/usr/share/refind/tools_${_TIANO_S_ARCH}/gptsync_${_TIANO_S_ARCH}.efi"
+ if [[ "${CARCH}" == "x86_64" ]]; then
+ install -D -m0644 "${srcdir}/${__pkgname}_build/net/bin/ipxe.efi" "${pkgdir}/usr/share/refind/tools_${_TIANO_S_ARCH}/ipxe_${_TIANO_S_ARCH}.efi"
+ install -D -m0644 "${srcdir}/${__pkgname}_build/net/bin/ipxe_discovery.efi" "${pkgdir}/usr/share/refind/tools_${_TIANO_S_ARCH}/ipxe_discovery_${_TIANO_S_ARCH}.efi"
+ fi
+
msg "Install rEFInd helper scripts"
install -d "${pkgdir}/usr/bin/"
install -D -m0755 "${srcdir}/${__pkgname}_build/install.sh" "${pkgdir}/usr/bin/refind-install"