index : bootstrap32 | |
Archlinux32 bootstrap scripts | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-02-02 15:13:46 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-02-02 15:13:46 +0100 |
commit | 4300e81ff831f88e78e1a9b4a9f0b9c7c3cd461d (patch) | |
tree | c5ce417d4310977ae946bc8149320faf0ada4de6 /packages-i486-stage1 | |
parent | d717823cde98d4c534ccbb52329ff98f8719ab36 (diff) |
-rw-r--r-- | packages-i486-stage1/elfutils | 8 | ||||
-rw-r--r-- | packages-i486-stage1/libmnl | 5 | ||||
-rw-r--r-- | packages-i486-stage1/libnfnetlink | 5 | ||||
-rw-r--r-- | packages-i486-stage1/net-tools | 6 |
diff --git a/packages-i486-stage1/elfutils b/packages-i486-stage1/elfutils new file mode 100644 index 0000000..e747c06 --- /dev/null +++ b/packages-i486-stage1/elfutils @@ -0,0 +1,8 @@ +# libelf is needed by iproute2 +SYSROOT_INSTALL=1 + +# we actually need the libelf subpackage to link to +ADDITIONAL_INSTALL_PACKAGE=libelf + +# prepare configure for cross-compilation +sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD diff --git a/packages-i486-stage1/libmnl b/packages-i486-stage1/libmnl new file mode 100644 index 0000000..e613146 --- /dev/null +++ b/packages-i486-stage1/libmnl @@ -0,0 +1,5 @@ +# libmnl is needed by iproute2 +SYSROOT_INSTALL=1 + +# prepare configure for cross-compilation +sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD diff --git a/packages-i486-stage1/libnfnetlink b/packages-i486-stage1/libnfnetlink new file mode 100644 index 0000000..8aa6d2d --- /dev/null +++ b/packages-i486-stage1/libnfnetlink @@ -0,0 +1,5 @@ +# libnfnetlink is needed by iproute2 +SYSROOT_INSTALL=1 + +# prepare configure for cross-compilation +sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD diff --git a/packages-i486-stage1/net-tools b/packages-i486-stage1/net-tools index 821bb63..e0227f8 100644 --- a/packages-i486-stage1/net-tools +++ b/packages-i486-stage1/net-tools @@ -1,5 +1,5 @@ # prepare configure for cross-compilation -sed -i "s@make @make CC=$TARGET_ARCH-cc LD=$TARGET_ARCH-ld@g" PKGBUILD +sed -i "s@make @make CC=$TARGET_ARCH-cc LD=$TARGET_ARCH-ld @g" PKGBUILD sed -i "s@make\$@make CC=$TARGET_ARCH-cc LD=$TARGET_ARCH-ld @g" PKGBUILD # git for release checkouts, using the one from host @@ -9,7 +9,3 @@ sed -i "/makedepends/s/git//g" PKGBUILD sed -i 's@source=(@source=(net-tools-1.60-if_tunnel.patch @' PKGBUILD sed -i "s@sha1sums=(@sha1sums=('SKIP' @" PKGBUILD sed -i '2!N; /prepare() {/ a \ pushd ${srcdir}/${pkgname}; patch -Np1 < ${srcdir}/net-tools-1.60-if_tunnel.patch; popd' PKGBUILD - -# TODO: wrong installation pathes, should be /usr/bin -# install: cannot create regular file '/bin/ifconfig': Permission denied -# make: *** [Makefile:216: installbin] Error 1 |