diff options
author | Anatol Pomozov | 2019-04-27 21:01:13 -0700 |
---|---|---|
committer | Anatol Pomozov | 2019-04-27 21:01:13 -0700 |
commit | d7c54ac7240bafab05a588673727320d415cbeeb (patch) | |
tree | 99b5aa485d2c7665813d1315fe0b4087a938c176 | |
parent | 4a643cc4c7c1ecb3ad5c672a7cd4b950c0dedf89 (diff) | |
download | aur-d7c54ac7240bafab05a588673727320d415cbeeb.tar.gz |
Remove invalid submodule if it exists
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 5 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = coreboot-utils-git pkgdesc = Tools and utilities to work with coreboot firmware - pkgver = 4.9.r1437.g74f9fe6e58f + pkgver = 4.9.r1447.ge54c15aa729 pkgrel = 1 url = https://www.coreboot.org/ arch = i686 @@ -2,7 +2,7 @@ # Maintainer: Iru Cai <mytbk920423@gmail.com> pkgname=coreboot-utils-git -pkgver=4.9.r1437.g74f9fe6e58f +pkgver=4.9.r1447.ge54c15aa729 pkgrel=1 pkgdesc='Tools and utilities to work with coreboot firmware' url='https://www.coreboot.org/' @@ -49,8 +49,9 @@ pkgver() { prepare() { cd coreboot - # coreboot repo seems screwed https://stackoverflow.com/questions/4185365/no-submodule-mapping-found-in-gitmodule-for-a-path-thats-not-a-submodule - git rm -rf coreboot + # for some reason 'git submodule ...' fails with 'No url found for submodule path 'coreboot' in .gitmodules' + # here is workaround that seems fixes the issue + git rm -rf coreboot || true git config -f .gitmodules 'submodule.3rdparty/blobs.url' "$srcdir/blobs" git config -f .gitmodules 'submodule.util/nvidia-cbootimage.url' "$srcdir/nvidia-cbootimage" |