summaryrefslogtreecommitdiff
path: root/packages-i486-stage1
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-01-28 21:39:15 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-01-28 21:39:15 +0100
commiteeefbe0d6b4f602b6e70d093b287aed8b5e9501f (patch)
tree1eb850e38e4c53da4f161275085c52fd60c40145 /packages-i486-stage1
parent7478bb7a8eaefdd53e26372810d8580b8509b0c7 (diff)
downloadbootstrap32-eeefbe0d6b4f602b6e70d093b287aed8b5e9501f.tar.xz
some more packages, readline fails, no clue
Diffstat (limited to 'packages-i486-stage1')
-rw-r--r--packages-i486-stage1/linux-api-headers4
-rw-r--r--packages-i486-stage1/ncurses4
-rw-r--r--packages-i486-stage1/readline6
-rw-r--r--packages-i486-stage1/uinit1
4 files changed, 15 insertions, 0 deletions
diff --git a/packages-i486-stage1/linux-api-headers b/packages-i486-stage1/linux-api-headers
new file mode 100644
index 0000000..2b9a2e2
--- /dev/null
+++ b/packages-i486-stage1/linux-api-headers
@@ -0,0 +1,4 @@
+# the Linux kernel has it's own way for cross compilations, we need
+# only the header files for glibc later, but it's better to make sure
+# to pick the correct target archicture right away
+sed -i "s@make@make ARCH=$KERNEL_ARCH CROSS_COMPILE=$XTOOLS_ARCH_PREFIX@g" PKGBUILD
diff --git a/packages-i486-stage1/ncurses b/packages-i486-stage1/ncurses
new file mode 100644
index 0000000..e0508d6
--- /dev/null
+++ b/packages-i486-stage1/ncurses
@@ -0,0 +1,4 @@
+# ncurses is needed by bash
+SYSROOT_INSTALL=1
+
+sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD
diff --git a/packages-i486-stage1/readline b/packages-i486-stage1/readline
new file mode 100644
index 0000000..0edad31
--- /dev/null
+++ b/packages-i486-stage1/readline
@@ -0,0 +1,6 @@
+# libreadline is needed by bash
+SYSROOT_INSTALL=1
+
+NOPARALLEL_BUILD=1
+
+sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD
diff --git a/packages-i486-stage1/uinit b/packages-i486-stage1/uinit
index 6818abe..34a987d 100644
--- a/packages-i486-stage1/uinit
+++ b/packages-i486-stage1/uinit
@@ -1 +1,2 @@
+# uinit as temporary systemd replacement for PID 1, lives in the AUR
NEEDS_YAOURT=1