summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-01-31 13:52:25 -0300
committerDavid P <megver83@parabola.nu>2018-01-31 13:52:34 -0300
commitf171507017aac9d8752e18f481a1686bfe5d0f5a (patch)
tree5f452a85b631446837c9f84d1cea807e30345f13
parent78f949ae26fc19f7fb7bf763d0cda17bcf1b3bea (diff)
downloadabslibre-f171507017aac9d8752e18f481a1686bfe5d0f5a.tar.gz
abslibre-f171507017aac9d8752e18f481a1686bfe5d0f5a.tar.bz2
abslibre-f171507017aac9d8752e18f481a1686bfe5d0f5a.zip
Add some Arch changes to linux-libres PKGBUILDs
-rw-r--r--kernels/linux-libre-xtreme/PKGBUILD3
-rw-r--r--libre/linux-libre-hardened/PKGBUILD3
2 files changed, 6 insertions, 0 deletions
diff --git a/kernels/linux-libre-xtreme/PKGBUILD b/kernels/linux-libre-xtreme/PKGBUILD
index 58634d150..b0f3f2236 100644
--- a/kernels/linux-libre-xtreme/PKGBUILD
+++ b/kernels/linux-libre-xtreme/PKGBUILD
@@ -345,6 +345,9 @@ _package-headers() {
# remove files already in linux-docs package
rm -r "${_builddir}/Documentation"
+ # remove now broken symlinks
+ find -L "${_builddir}" -type l -printf 'Removing %P\n' -delete
+
# parabola changes
#
# since we don't want to diverge too much from arch's pkgbuild, we'll
diff --git a/libre/linux-libre-hardened/PKGBUILD b/libre/linux-libre-hardened/PKGBUILD
index 30c211350..abc9aaa99 100644
--- a/libre/linux-libre-hardened/PKGBUILD
+++ b/libre/linux-libre-hardened/PKGBUILD
@@ -348,6 +348,9 @@ _package-headers() {
# remove files already in linux-docs package
rm -r "${_builddir}/Documentation"
+ # remove now broken symlinks
+ find -L "${_builddir}" -type l -printf 'Removing %P\n' -delete
+
# parabola changes
#
# since we don't want to diverge too much from arch's pkgbuild, we'll