index : bootstrap32 | |
Archlinux32 bootstrap scripts | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-02-04 13:17:37 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-02-04 13:17:37 +0100 |
commit | c489a11b6e7b12f080c4157c60af8a404ba8ef4c (patch) | |
tree | f2a920d75d7eae153f80b8afc37f2b271b33086a /i486-stage1/linux/DESCR | |
parent | 043b28ac8ebcaedac5d39bdf7f1f366b7818a666 (diff) |
-rw-r--r-- | i486-stage1/linux/DESCR | 26 |
diff --git a/i486-stage1/linux/DESCR b/i486-stage1/linux/DESCR index 09714f2..08bd6f0 100644 --- a/i486-stage1/linux/DESCR +++ b/i486-stage1/linux/DESCR @@ -1,6 +1,18 @@ +# linux-headers is needed for openssh +SYSROOT_INSTALL=1 + +# install two packages: linux and linux-headers +# TODO: split this, linux kernel doesn't make sense in sysroot! +ADDITIONAL_INSTALL_PACKAGE=linux-headers + # we currently build a monolitic kernel for the basic stuff which was # available since 25 years. :-) +# use the i486 configuration file +# (TODO: adapt to config.$CARCH method later) +sed -i 's@config.i686@config.i486@g' PKGBUILD +sed -i 's@\.\./config@../config.i486@g' PKGBUILD + # the Linux kernel has it's own way for cross compilation sed -i "s@make prepare@make prepare ARCH=$KERNEL_ARCH CROSS_COMPILE=$XTOOLS_ARCH_PREFIX@g" PKGBUILD sed -i "s@make config@make config ARCH=$KERNEL_ARCH CROSS_COMPILE=$XTOOLS_ARCH_PREFIX@g" PKGBUILD @@ -12,3 +24,17 @@ sed -i "s@make modules_install@#make modules_install@g" PKGBUILD # disable documentation sed -i "/depends=/s/xmlto//" PKGBUILD + +# remove dependency on binary blob firmare (which we don't expect to +# have for a non-module kernel anyway, given KVM is not enabled: +# careful about AMD and Intel DRM driveres, they simply segfault in the +# kernel when they don't have proper access to their firmware +# warning: cannot resolve "linux-firmware", a dependency of "linux" +# warning: cannot resolve "mkinitcpio>=0.7", a dependency of "linux" +sed -i "/depends=/s/'linux-firmware'//" PKGBUILD +sed -i "/depends=/s/'mkinitcpio.*'//" PKGBUILD + +# No harm: no initramdisk to build +# (2/2) Updating linux initcpios... +# call to execv failed (No such file or directory) +# error: command failed to execute correctly |