summaryrefslogtreecommitdiff
path: root/i486-stage1
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-04 18:13:11 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-04 18:13:11 +0100
commit02ad152b238969c713c6febb8954a7aea1787cb5 (patch)
tree27912c5b6515340c7ae7f43326a0b042b408af13 /i486-stage1
parentc489a11b6e7b12f080c4157c60af8a404ba8ef4c (diff)
downloadbootstrap32-02ad152b238969c713c6febb8954a7aea1787cb5.tar.xz
cleanup stage 1 in README
Diffstat (limited to 'i486-stage1')
-rw-r--r--i486-stage1/attr/DESCR2
-rw-r--r--i486-stage1/uinit/DESCR7
2 files changed, 8 insertions, 1 deletions
diff --git a/i486-stage1/attr/DESCR b/i486-stage1/attr/DESCR
index dfe2f65..98ab985 100644
--- a/i486-stage1/attr/DESCR
+++ b/i486-stage1/attr/DESCR
@@ -4,5 +4,5 @@ SYSROOT_INSTALL=1
# prepare configure for cross-compilation
sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD
-# no gettext
+# circular reference in getext (needed by attr, which needs also gettext)
sed -i 's@^makedepends\(.*\)@#makedepends\1@g' PKGBUILD
diff --git a/i486-stage1/uinit/DESCR b/i486-stage1/uinit/DESCR
index 34a987d..50ccc45 100644
--- a/i486-stage1/uinit/DESCR
+++ b/i486-stage1/uinit/DESCR
@@ -1,2 +1,9 @@
# uinit as temporary systemd replacement for PID 1, lives in the AUR
NEEDS_YAOURT=1
+
+# prepare configure for cross-compilation
+sed -i "s/make /make CC=$TARGET_ARCH-gcc /g" PKGBUILD
+
+# remove git dependency
+sed -i "/makedepends=/s/'git'//" PKGBUILD
+