summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump zstd to v1.4.5v4.0.10Thomas Deutschmann2020-07-201-67/+0
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Bump libgcrypt to v1.8.6Thomas Deutschmann2020-07-201-0/+0
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* genkernel: bump to v4.0.10Thomas Deutschmann2020-07-201-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_funcs.sh: tc-getAS(): Fix typoThomas Deutschmann2020-07-201-1/+1
| | | | | | Actually return AS and not AR. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* linuxrc: Add gk.userinteraction.disabledThomas Deutschmann2020-07-164-0/+69
| | | | | | | | When this option is set and enabled, genkernel initramfs will not prompt on errors, i.e. this will disable any user interaction, e.g. for a kiosk system. Bug: https://bugs.gentoo.org/730966 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_initramfs.sh: create_initramfs(): Call ↵Thomas Deutschmann2020-07-161-0/+7
| | | | | | | | | set_initramfs_compression_method() when not building kernel We need to call set_initramfs_compression_method() manually when we didn't build kernel in same run to ensure that $COMPRESS_INITRD_TYPE is initialized. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_configkernel.sh: config_kernel(): Ensure that CONFIG_INITRAMFS_SOURCE is ↵Thomas Deutschmann2020-07-161-10/+10
| | | | | | | | | | | | | always unset config_kernel() runs only once. For this run, even when --integrated-initramfs is set, the kernel option CONFIG_INITRAMFS_SOURCE should be unset *when* we are also tasked to create an initramfs. Otherwise, functions like set_initramfs_compression_method() can fail when used kernel config had integrated initramfs but new kernel doesn't. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* arch/arm*/modules_load: Load APM X-Gene SoC Ethernet DriverThomas Deutschmann2020-07-162-0/+6
| | | | | | Load xgene_enet when available. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* arch/arm*/modules_load: Load APM X-Gene SoC SATA host controller driverThomas Deutschmann2020-07-162-0/+6
| | | | | | Load ahci_xgene when available. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* defaults/linuxrc: Fix mounting of /procThomas Deutschmann2020-07-161-1/+1
| | | | | | Cannot use `run` before root was mounted writable. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Add ZSTD compression support for initramfsThomas Deutschmann2020-07-164-2/+10
| | | | | Bug: https://bugs.gentoo.org/731294 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* thin-provisioning-tools: Honor toolchainThomas Deutschmann2020-07-162-43/+132
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* xfsprogs: Honor toolchainThomas Deutschmann2020-07-161-1/+3
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* strace: Honor toolchainThomas Deutschmann2020-07-161-1/+3
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* libgcrypt: Honor toolchainThomas Deutschmann2020-07-161-1/+2
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* e2fsprogs: Honor toolchainThomas Deutschmann2020-07-162-1/+92
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* busybox: Honor toolchainThomas Deutschmann2020-07-163-2/+28
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_funcs.sh: _tc-getPROG(): Fix overriding of default programThomas Deutschmann2020-07-161-2/+10
| | | | | | | tc-getBUILD_PROG() could pass multiple variables so we need to check all variables until we find our config variable containing user's value. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_funcs.sh: get_tc_vars(): Add READELF and OBJDUMPThomas Deutschmann2020-07-161-0/+2
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_compile.sh: compile_generic() refactoredThomas Deutschmann2020-07-162-82/+57
| | | | | | | | | | | - Use an array to construct command to run. - Make sure we set all environment variables used by kernel's build system to honor our toolchain. Tested with with sys-devel/binutils-config[-native-symlinks] and sys-devel/gcc-config[-native-symlinks]. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_determineargs.sh: determine_real_args(): Don't call gcc directlyThomas Deutschmann2020-07-162-7/+9
| | | | | | | Set $CHOST variable via config so that we no longer need to call gcc directly to determine CHOST value. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuilds: Bump copyright on files touched this yearThomas Deutschmann2020-07-165-5/+5
| | | | | | | Update the copyright notice on all files that were touched since January 1st but did not have the notice updated. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuild.sh: _src_prepare(): Make sure that WANT_AUTORECONF=no will really ↵Thomas Deutschmann2020-07-161-3/+5
| | | | | | skip autoreconf Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_funcs.sh: tc-getRANLIB(): NormalizedThomas Deutschmann2020-07-161-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_funcs.sh: Fix duplicated tc-getSTRIP()Thomas Deutschmann2020-07-161-5/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_configkernel.sh: config_kernel(): Re-order config checksThomas Deutschmann2020-07-161-24/+23
| | | | | | Re-order config checks for better logical grouping. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_configkernel.sh: set_initramfs_compression_method() refactoredThomas Deutschmann2020-07-162-40/+90
| | | | | | | | | | | | | - Add handling for compression method "best" and "fastest". - Make use of new get_initramfs_compression_method_by_{compression,speed} functions. - Set CONFIG_RD_<TYPE>=n or CONFIG_INITRAMFS_COMPRESSION_<TYPE>=n only when required to avoid second `make oldconfig` call due to changed .config file. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_initramfs.sh: create_initramfs(): Move and unify validation of ↵Thomas Deutschmann2020-07-167-65/+168
| | | | | | | | | | | | | | | --compress-initramfs-type to determine_real_args() This will allow us to error out early if required user space tool needed to compress initramfs based on specified --compress-initramfs-type is missing or selected type is invalid/unsupported. Best/fastest list is based on results from [Link1][Link2][Link3]. Link1: https://events.static.linuxfound.org/sites/events/files/lcjpcojp13_klee.pdf Link2: https://kernel.ubuntu.com/~cking/boot-speed-eoan-5.3/kernel-compression-method.txt Link3: https://lwn.net/Articles/817134/ Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_determineargs.sh: determine_real_args(): Fix unsetting toolchain variableThomas Deutschmann2020-07-161-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_determineargs.sh: determine_real_args(): Fix styleThomas Deutschmann2020-07-161-3/+3
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_funcs.sh: check_distfiles(): Adjust patternThomas Deutschmann2020-07-161-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_configkernel.sh: config_kernel(): Don't set ↵Thomas Deutschmann2020-07-161-2/+9
| | | | | | | | | | | CONFIG_CRYPTO_AES_{X86_64,586} for >=linux-5.4 Options were removed in linux-5.4 [Link 1]. Link 1: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1d2c3279311e4f03fcf164e1366f2fda9f4bfccf Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> merge
* gnupg: Allow building against gcc-10Thomas Deutschmann2020-07-141-0/+156
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* defaults/initrd.scripts: test_success(): Fix quotingThomas Deutschmann2020-06-231-2/+2
| | | | | Bug: https://bugs.gentoo.org/494710 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* genkernel: bump to v4.0.9v4.0.9Thomas Deutschmann2020-06-231-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* defaults/initrd.scripts: Log what is happening in *_resume functionsThomas Deutschmann2020-06-221-1/+12
| | | | | Bug: https://bugs.gentoo.org/728118 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuilds/dropbear: Enable AES GCM supportThomas Deutschmann2020-06-201-1/+4
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_initramfs.sh: append_dropbear(): Add support for ed25519 host keysThomas Deutschmann2020-06-202-2/+18
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* dropbear.sh: _dropbear_install(): Fix die msgThomas Deutschmann2020-06-201-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* btrfs-progs: Honor LDFLAGSThomas Deutschmann2020-06-201-0/+11
| | | | | Bug: https://bugs.gentoo.org/727168 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuild.sh: _initialize(): Don't use temporary directory for packagesThomas Deutschmann2020-06-201-2/+2
| | | | | | | | This is not necessary since top folder is already a temporary directory. This will also allow us compare different genkernel log files more easily. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuilds/gnupg: Set CC_FOR_BUILDThomas Deutschmann2020-06-161-0/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuilds/libgpg-error: Set CC_FOR_BUILDThomas Deutschmann2020-06-161-0/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Bump libgpg-error to v1.38v4.0.8Thomas Deutschmann2020-06-157-2/+246
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_initramfs.sh: append_dropbear(): Fix error message shown when ↵Thomas Deutschmann2020-06-151-2/+2
| | | | | | net-misc/dropbear is required Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_initramfs.sh: copy_system_binaries(): Don't check for non-existing ↵Thomas Deutschmann2020-06-151-5/+0
| | | | | | | | | | | | linked libraries lddtree will always report "not found" when doing cross-compile. Because we will error out later nonetheless when copying will fail, we don't need such a check in advance. Closes: https://bugs.gentoo.org/727442 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* genkernel: bump to v4.0.8Thomas Deutschmann2020-06-151-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* lvm: Add patch to allow building on muslThomas Deutschmann2020-06-151-0/+24
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* open-iscsi: Allow building against gcc-10Thomas Deutschmann2020-06-151-0/+107
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Bump util-linux to v2.35.2Thomas Deutschmann2020-06-152-58/+0
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>