From 02ad152b238969c713c6febb8954a7aea1787cb5 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 4 Feb 2018 18:13:11 +0100 Subject: cleanup stage 1 in README --- i486-stage1/attr/DESCR | 2 +- i486-stage1/uinit/DESCR | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'i486-stage1') 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 + -- cgit v1.2.3-54-g00ecf