aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gkbuilds: add json-c-0.17HEADmasterBen Kohler2024-05-231-0/+28
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* gkbuilds/mdadm-4.2: add missing musl fixBen Kohler2024-05-221-0/+3
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* gkbuilds/busybox: add gkexec wrapper to bbmake compilationBen Kohler2024-05-031-1/+1
| | | | | | | We lost this in the toolchain refactoring. This makes sure the build output goes to genkernel.log instead of spamming the terminal. Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* gkbuilds/bcache-tools: really build new bcache-tools nowBen Kohler2024-04-302-0/+42
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* gkbuilds/lvm: fix totally botched cp commandBen Kohler2024-04-291-2/+2
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* gkbuilds/lvm: missing space in new cp commandBen Kohler2024-04-291-1/+1
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* gkbuilds/mdadm: fix for mdadm-4.2Ben Kohler2024-04-291-0/+38
| | | | | | Seems to need new option to build without libudev usage Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* gkbuilds/lvm: move 2.03 changes to new fileBen Kohler2024-04-291-0/+78
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* Revert "gkbuilds/lvm: add 2.03 support"Ben Kohler2024-04-291-2/+0
| | | | | | This reverts commit 12cdca31704000822c50b996facc955d5e3ae5a9. Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* gkbuilds/lvm: add 2.03 supportBen Kohler2024-04-291-0/+2
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* gkbuilds/busybox: rework toolchain handlingBen Kohler2024-04-271-9/+21
| | | | | | | Thanks to Mike Gilbert, code changes borrowed from gentoo.git commit 25e0a98682b9ab600cb3a6ea3fc3834ce1cce8f6 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* open-iscsi: update to 2.1.8Sam James2023-07-271-3/+3
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* Add userspace-rcu (new dep of xfsprogs)Sam James2023-07-271-0/+13
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* gkbuilds: cryptsetup: disable asciidocSam James2023-07-051-0/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* gkbuilds/boost-build.gkbuild: upstream boost flags changedRobin H. Johnson2022-07-031-1/+1
| | | | | | | Upstream boost changed the flags to use 'off' instead of 'none'. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Closes: https://bugs.gentoo.org/854480
* genkernel: add keyctl support for loading LUKS passphrase into a keyringMaciej S. Szmigiero2022-05-221-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cryptsetup LUKS2 format comes with an ability to automatically unlock multiple devices (root, swap, etc.) sharing the same passphrase, without retyping it for each of them, by loading it into the user keyring. This commit adds such (optional) genkernel support for loading LUKS passphrase into the user keyring on boot. In the default mode of operation the newly added key is (possibly) used only to unlock root and swap devices and is removed soon after that. By providing appropriate kernel command line parameter the key can be left in the keyring instead (with an optional timeout) for unlocking other LUKS devices post-initramfs time. Because one of the most common use cases of this functionality will be having an encrypted swap for doing suspend to disk (hibernation) let's also make sure that we don't unlock the root device when doing so is unnecessary (when we are resuming the system from hibernation). Since the security of a FDE passphrase is of paramount importance in this solution significant care has been taken not to leak it accidentally: * The passphrase is read directly by keyctl to avoid storing it in the shell, * If the passphrase is used only to unlock root and swap devices (which is the default mode of operation) the init script will check whether its removal from keyring has actually succeeded and, if not, reboot the system rather than continue while leaving it exposed, * keyutils includes a patch (already upstreamed) to wipe the passphrase from memory when no longer needed. Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
* gkbuild/cryptsetup: Install the correct binaries with slibtoolorbea2022-05-151-2/+1
| | | | Signed-off-by: orbea <orbea@riseup.net>
* gkbuild/util-linux: Install the correct binaries with slibtoolorbea2022-05-151-5/+2
| | | | Signed-off-by: orbea <orbea@riseup.net>
* Bump cryptsetup to v2.4.1Thomas Deutschmann2021-11-151-1/+2
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuilds/coreutils: Fix cross-compileThomas Deutschmann2021-11-151-2/+2
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuilds/btrfs-progs: Disable backtrace on non-glibc systemsThomas Deutschmann2021-10-011-1/+9
| | | | | Bug: https://bugs.gentoo.org/815676 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Refactor (compressed) kernel module handlingThomas Deutschmann2021-09-091-1/+25
| | | | | | | | | | | | | | | | | | | | | | To support a specific module compression algorithm, two things are needed: Used depmod utility on host system building the kernel must support chosen module compression algorithm to generate proper modules.dep file or genkernel would be unable to read module dependencies when copying modules to initramfs. At runtime, used modprobe utility must be able to handle chosen module compression algorithm or modules would be unloadable. To address the first requirement, genkernel will now check if used kmod utility on host system supports chosen module compression algorithm. To address the runtime requirement, this commit will switch from BusyBox's modutils implementation to kmod because BusyBox does not support ZSTD compression (yet). Bug: https://bugs.gentoo.org/809344 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* boost-build: Use BUILD CXXThomas Deutschmann2021-07-061-1/+3
| | | | | | | | When doing cross compile, the b2 program must be executable on host system which tries to build boost. Fixes: 5e340654 ("Bump boost to v1.76.0") Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Bump boost to v1.76.0Thomas Deutschmann2021-07-062-17/+13
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* defaults/software.sh: Add libxcryptThomas Deutschmann2021-07-061-0/+17
| | | | | | | | Needed for BusyBox when host system is using sys-libs/libxcrypt[-static-libs] which is usually enforced via package.use.force. Bug: https://bugs.gentoo.org/798468 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuilds/thin-provisioning-tools: no need to manually call gkautoreconfThomas Deutschmann2021-03-151-6/+1
| | | | | | Default src_prepare() will take care of calling gkautoreconf when needed. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Bump strace to v5.11Thomas Deutschmann2021-03-131-4/+5
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuilds/libgpg-error: remove lock-obj-pub.${CHOST}.h workaroundThomas Deutschmann2021-02-181-43/+0
| | | | | | Workaround for bug 584052 shouldn't be necessary anymore. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuilds/libgpg-error: do not install gpg-error-config or gpgrt-config anymoreThomas Deutschmann2021-02-181-18/+2
| | | | | | | | The new gpgrt-config wrapper clashes with buildroot environment. Instead of patch gpgrt-config, libgcrypt has been patched to use pkg-config instead of gpg-error-config or gpgrt-config helper. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Bump libgcrypt to v1.9.2Thomas Deutschmann2021-02-181-3/+8
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Bump kmod to v28Thomas Deutschmann2021-02-081-0/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Bump dropbear to v2020.81Thomas Deutschmann2021-02-081-0/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuilds/xfsprogs: Build xfs_growfsThomas Deutschmann2020-08-281-3/+12
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuilds/e2fsprogs: Build resize2fsThomas Deutschmann2020-08-281-1/+2
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuilds/e2fsprogs: Use libblkid/libuuid from util-linuxThomas Deutschmann2020-08-281-2/+2
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Use switch_root from util-linuxThomas Deutschmann2020-08-281-2/+24
| | | | | | | | | | switch_root from busybox does not move /dev, /sys, /proc and /run. If we do that manually there is a small window for a race condition when /dev, /sys or /proc is still needed but already moved. switch_root from util-linux will move these mounts on its own and will therefore avoid any potential problems. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuilds/eudev: Set exec_prefixThomas Deutschmann2020-08-271-0/+5
| | | | | | | This is required for proper generation of 64-btrfs.rules. Bug: https://bugs.gentoo.org/739268 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Bump libgpg-error to v1.39Thomas Deutschmann2020-08-271-5/+0
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* eudev: Enable kmod supportThomas Deutschmann2020-08-263-8/+39
| | | | | | This will allow us to use (e)udev to load required kernel modules. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuilds/open-iscsi: Use 'pkg-config --static'Thomas Deutschmann2020-08-261-0/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuilds/dropbear: Build dbclientThomas Deutschmann2020-08-251-1/+4
| | | | | | Required for scp. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* bcache: Fix pkg-config callThomas Deutschmann2020-08-191-1/+1
| | | | | Bug: https://bugs.gentoo.org/737894 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* multipath: Switch to UDEV usageThomas Deutschmann2020-07-241-2/+3
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* bcache: Switch to UDEV usageThomas Deutschmann2020-07-241-0/+27
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* cryptsetup: Enable UDEV supportThomas Deutschmann2020-07-241-1/+9
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* mdadm: Switch to UDEV usageThomas Deutschmann2020-07-241-0/+3
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Switch from MDEV to UDEVThomas Deutschmann2020-07-243-4/+79
| | | | | | | | | We need to switch from using MDEV to UDEV to avoid boot problems due to timeouts caused by some UDEV rules from real system when real system is using systemd. Bug: https://bugs.gentoo.org/706434 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* kmod: remove hardcoded $BROOT valueThomas Deutschmann2020-07-231-1/+7
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* libgcrypt: Fix libgcrypt-config wrapperThomas Deutschmann2020-07-211-2/+9
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* xfsprogs: Honor toolchainThomas Deutschmann2020-07-161-1/+3
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>