diff options
Diffstat (limited to 'packages-i486-stage1')
-rw-r--r-- | packages-i486-stage1/inetutils | 6 | ||||
-rw-r--r-- | packages-i486-stage1/kmod | 6 | ||||
-rw-r--r-- | packages-i486-stage1/linux | 8 |
3 files changed, 15 insertions, 5 deletions
diff --git a/packages-i486-stage1/inetutils b/packages-i486-stage1/inetutils index aa9cde5..669cd5f 100644 --- a/packages-i486-stage1/inetutils +++ b/packages-i486-stage1/inetutils @@ -1,5 +1,11 @@ # prepare configure for cross-compilation sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD +# no libedit, introduces a cycle with linux-headers, libedit +sed -i "s@./configure@./configure --disable-readline@" PKGBUILD + # no man page generation sed -i "/depends=/s/help2man//" PKGBUILD + +# see https://bugs.archlinux.org/task/57352 +sed -i 's@"\(https://ftp.gnu.org/gnu/inetutils.*\)"@\1@g' PKGBUILD diff --git a/packages-i486-stage1/kmod b/packages-i486-stage1/kmod new file mode 100644 index 0000000..6039431 --- /dev/null +++ b/packages-i486-stage1/kmod @@ -0,0 +1,6 @@ +# prepare configure for cross-compilation +sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD + +# don't build documentation +sed -i "/depends=/s/gtk-doc//" PKGBUILD +sed -i "s/--enable-gtk-doc/--disable-gtk-doc/" PKGBUILD diff --git a/packages-i486-stage1/linux b/packages-i486-stage1/linux index 37d75a5..09714f2 100644 --- a/packages-i486-stage1/linux +++ b/packages-i486-stage1/linux @@ -6,11 +6,9 @@ sed -i "s@make prepare@make prepare ARCH=$KERNEL_ARCH CROSS_COMPILE=$XTOOLS_ARCH sed -i "s@make config@make config ARCH=$KERNEL_ARCH CROSS_COMPILE=$XTOOLS_ARCH_PREFIX@g" PKGBUILD # remove make dependencies, currently we build without module support +# (TODO: though we can easily build kmod, but we are missing a simple ramdisk for stage1) sed -i "s@make bzImage modules@make bzImage ARCH=$KERNEL_ARCH CROSS_COMPILE=$XTOOLS_ARCH_PREFIX@g" PKGBUILD sed -i "s@make modules_install@#make modules_install@g" PKGBUILD -# TODO: build what's possible, ommit the rest -# remove dependencies from kernel package, we don't have modules or a ramdisk right now -#sed -i 's/ \+\(depends=\)/#\1/' PKGBUILD -# ignore failing hooks on installation, it's just depmod and mkinitcpio which we both don't need -#sed -i 's@makedepends\(.*\)@#makedepends\1@g' PKGBUILD +# disable documentation +sed -i "/depends=/s/xmlto//" PKGBUILD |