diff options
-rw-r--r-- | libre/linux-libre-dtb/PKGBUILD | 3 | ||||
-rw-r--r-- | libre/linux-libre/PKGBUILD | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/libre/linux-libre-dtb/PKGBUILD b/libre/linux-libre-dtb/PKGBUILD index d7af00bb6..8f5711d30 100644 --- a/libre/linux-libre-dtb/PKGBUILD +++ b/libre/linux-libre-dtb/PKGBUILD @@ -12,6 +12,7 @@ pkgdesc='dtb files for Linux-libre' arch=('armv7h') url=('http://linux-libre.fsfla.org/') license=('GPL2') +makedepends=('git') source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/linux-libre-${_pkgbasever}.tar.xz" "http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/linux-libre-${_pkgbasever}.tar.xz.sign" "http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgver}/patch-${_pkgbasever}-${_pkgver}.xz" @@ -54,7 +55,7 @@ prepare() { fi # RCN patch (CM3 firmware deblobbed) - patch -p1 -i "${srcdir}/rcn-libre-${_pkgver%-*}-${rcnrel}.patch" + git apply -v "${srcdir}/rcn-libre-${_pkgver%-*}-${rcnrel}.patch" # ALARM patches patch -p1 -i "${srcdir}/0001-ARM-atags-add-support-for-Marvell-s-u-boot.patch" diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD index b2a07b444..ebf83de26 100644 --- a/libre/linux-libre/PKGBUILD +++ b/libre/linux-libre/PKGBUILD @@ -27,7 +27,7 @@ url="http://linux-libre.fsfla.org/" license=('GPL2') makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc') if [ "$CARCH" = "armv7h" ]; then - makedepends+=('uboot-tools') + makedepends+=('git' 'uboot-tools') fi options=('!strip') source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/linux-libre-${_pkgbasever}.tar.xz" @@ -110,7 +110,7 @@ prepare() { if [ "${CARCH}" = "armv7h" ]; then # RCN patch (CM3 firmware deblobbed) - patch -p1 -i "${srcdir}/rcn-libre-${_pkgver%-*}-${rcnrel}.patch" + git apply -v "${srcdir}/rcn-libre-${_pkgver%-*}-${rcnrel}.patch" # ALARM patches patch -p1 -i "${srcdir}/0001-ARM-atags-add-support-for-Marvell-s-u-boot.patch" |