Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/i486-stage2/pacman
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-23 21:08:05 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-23 21:08:05 +0100
commit22a9db79089c54823ae36ee2e20615ac70ab7f40 (patch)
tree471cd831b98310f17d1b745ed8296fc75e0dc05a /i486-stage2/pacman
parent02a07b1846dd61be1df300f345143e5462caa7ae (diff)
building up to linux
Diffstat (limited to 'i486-stage2/pacman')
-rw-r--r--i486-stage2/pacman/DESCR20
1 files changed, 20 insertions, 0 deletions
diff --git a/i486-stage2/pacman/DESCR b/i486-stage2/pacman/DESCR
new file mode 100644
index 0000000..bef9d0d
--- /dev/null
+++ b/i486-stage2/pacman/DESCR
@@ -0,0 +1,20 @@
+# minimal dependencies, we don't sign anything yet, gpgme and gnupg have
+# far too many dependencies which cannot be easily cross-compiled
+sed -i "1!N;/depends=/s/'gpgme'//" PKGBUILD
+sed -i 's@./configure@./configure --without-gpgme@' PKGBUILD
+
+# asciidoc is a makedepend, we can use the one on the host (this means
+# also we can pacman only rebuild on i486 itself after python has been
+# installed)
+sed -i "/makedepends=/s/'asciidoc'//" PKGBUILD
+
+# craft a temporary i486 pacman.conf (no gpg and hard-coded architecture)
+cp pacman.conf.i686 pacman.conf.i486
+sed -i 's@^\(SigLevel\)@#\1@' pacman.conf.i486
+sed -i 's@^\(LocalFileSigLevel\)@#\1@' pacman.conf.i486
+
+# use the 486 config and not 686 one
+sed -i 's@pacman.conf.i686@pacman.conf.i486@' PKGBUILD
+
+# some more architecture patching
+sed -i 's@i686@i486@g' PKGBUILD