summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* open-iscsi bumped to v2.0.878v4.0.0_beta20Thomas Deutschmann2019-10-1410-179/+161
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* linuxrc: Don't advertise multipath usageThomas Deutschmann2019-10-131-1/+0
| | | | | | | Since we don't do this for any other stuff, let's remove it for multipath, too. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* keymaps: regenerate bepo and colemak keymapThomas Deutschmann2019-10-132-0/+0
| | | | | | | | | | | Used command: $ loadkeys /usr/share/keymaps/colemak/en-latin9.map $ busybox dumpkmap > colemak.map Fixes a5ea613 ("keymaps: Add bepo and colemak keymap") Bug: https://bugs.gentoo.org/696204 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_determineargs.sh: determine_real_args(): Check early if ZFS is installedThomas Deutschmann2019-10-131-4/+14
| | | | | | | This will allow us to error out early if ZFS is missing but was requested. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Don't compile multipath-tools; Copy from hostThomas Deutschmann2019-10-139-387/+40
| | | | | | | | | | | | | | | | | | multipath-tools package doesn't really support a static build: While we managed to build programs like multipath statically, it still relied on dynamic libs for checkers which we are unable to fix. This commit will change --multipath support in that way that we now require that sys-fs/multipath-tools is installed on host system because we will copy binaries and used libraries from host to initramfs. Due to this change, you can't add multipath support in cross- compile scenarios anymore. Bug: https://bugs.gentoo.org/695510 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_bootloader.sh: Recognize set kernel/initramfs name for grub legacyThomas Deutschmann2019-10-131-4/+4
| | | | | Fixes 769a07fd ("Make initramfs and kernel filename customizable") Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_bootloader.sh: set_bootloader_grub_duplicate_default(): Fix code styleThomas Deutschmann2019-10-131-1/+2
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* initrd.scripts: iface_name(): handle /sys/class/net/*/address errorsThomas Deutschmann2019-10-131-1/+3
| | | | | Fixes 11eff5eb ("Rework --ssh support") Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* initrd.scripts: openLUKS(): fix $mntkey cleanupThomas Deutschmann2019-10-131-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* genkernel: bump to v4.0.0_beta20Thomas Deutschmann2019-10-131-1/+1
|
* gen_funcs.sh: check_disk_space_requirements(): Fix error messageThomas Deutschmann2019-10-091-1/+1
| | | | | Fixes 467c2e82 ("Add feature to check for free disk space early at genkernel start") Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* linuxrc: Update REAL_INIT variable when using fallbackv4.0.0_beta19Thomas Deutschmann2019-10-071-0/+1
| | | | | | | | | When we detected that mounted root device doesn't contain a valid init program (i.e. set init value isn't an executable file), we didn't update REAL_INIT value with fallback value with the result that we called switch_root with an invalid init parameter. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* linuxrc: Check that init value is actually a fileThomas Deutschmann2019-10-071-9/+14
| | | | | | | Just checking that init value is exectuable won't catch errors where user provided a directory instead of a file. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* genkernel: bump to v4.0.0_beta19Thomas Deutschmann2019-10-041-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* keymaps: Really add bepo and colemak keymapThomas Deutschmann2019-10-042-0/+0
| | | | | | Fixes a5ea613 ("keymaps: Add bepo and colemak keymap") Bug: https://bugs.gentoo.org/696204 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* e2fsprogs bumped to v1.45.4v4.0.0_beta18Thomas Deutschmann2019-10-022-0/+0
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* initrd.scripts: start_sshd(): Tell user why gk.prompt.timeout value was changedThomas Deutschmann2019-10-021-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* initrd.scripts: start_network(): Don't try to configure network when "ip" ↵Thomas Deutschmann2019-10-021-0/+17
| | | | | | | | | | argument contains comma or colon We are sharing "ip" kernel command-line argument with kernel's IP PNP feature. Because we don't support the same syntax/features it's safe to assume that user wants to use kernel's IP PNP feature when argument contains a comma or colon. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_funcs.sh: cleanup(): Try to kill all running child processes before cleanupThomas Deutschmann2019-10-021-0/+46
| | | | | | | | | If genkernel was aborted, it maybe possible that child processes are still running which maybe prevent cleanup. With this commit, cleanup() will try to kill all running child processes. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_determineargs.sh: determine_real_args(): Normalize --microcode argument ↵Thomas Deutschmann2019-10-021-2/+2
| | | | | | validation Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_determineargs.sh: determine_real_args(): Add --strip=<type> validationThomas Deutschmann2019-10-021-0/+8
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_cmdline.sh: parse_cmdline(): Fix --strip argument parsingThomas Deutschmann2019-10-021-1/+1
| | | | | Closes: https://bugs.gentoo.org/696056 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_cmdline.sh: Move --bootloader validation to determine_real_args()Thomas Deutschmann2019-10-022-7/+8
| | | | | | This will allow us to always validate set bootloader at a single place. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuilds/boost{,-build}: Disable distcc usageThomas Deutschmann2019-09-302-0/+8
| | | | | | | | | | | | | | It's known that distcc cannot really compile boost: It will always fallback to local processing -- even in pump mode. However, when user normally uses distcc, user has probably set higher parallel jobs (MAKEOPTS) than available processing units which could kill the system running genkernel. DISABLE_DISTCC=yes will limit distcc to localhost and adjust MAKEOPTS if necessary only for this gkbuild. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuild.sh: Add possibility to disable distcc usage per gkbuildThomas Deutschmann2019-09-302-0/+55
| | | | | | | | | | | | | | This commit will add support for custom variable DISABLE_DISTCC which can be used in gkbuilds to disable distcc usage when set to "yes". This is needed because we don't have package.env mechanism to disable features per package. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Add --utils-cxx optionThomas Deutschmann2019-09-306-3/+20
| | | | | | | | | | | To compile thin-provisioning-tools, required for LVM thin provisioning support which was added in commit 9dea735590ebfff278710148fa8743777a18c4bd, we need a C++ compiler. This option will allow user to specify custom C++ compiler (for example when using ccache/distcc). Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_funcs.sh: _tc-getPROG(): Quote type command argumentThomas Deutschmann2019-09-301-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_funcs.sh: get_chost_libdir(): Don't quote tc-getCC() return valueThomas Deutschmann2019-09-301-1/+1
| | | | | | This will allow user to set UTILS_CC="distcc gcc" for example. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_determineargs.sh: determine_real_args(): Don't quote tc-getBUILD_CC() ↵Thomas Deutschmann2019-09-301-1/+1
| | | | | | | | return value This will allow user to set UTILS_CC="distcc gcc" for example. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_configkernel.sh: config_kernel(): Use global KV_NUMERIC variableThomas Deutschmann2019-09-291-11/+11
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_compile.sh: compile_kernel(): Use global KV_NUMERIC variableThomas Deutschmann2019-09-291-2/+2
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_determineargs.sh: determine_KV(): Define global KV_NUMERIC variableThomas Deutschmann2019-09-291-0/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_configkernel.sh: config_kernel(): Update --microcode kernel options handlingThomas Deutschmann2019-09-291-9/+30
| | | | | | | | - Don't try to set CONFIG_MICROCODE_*EARLY for >= linux-4.4 - Check for CONFIG_MICROCODE_{AMD,INTEL} in sanity check Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* genkernel: bump to v4.0.0_beta18Thomas Deutschmann2019-09-161-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Bump boost to v1.71.0Thomas Deutschmann2019-09-168-83/+71
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_funcs.sh: Add tc-getBUILD_CXX() functionThomas Deutschmann2019-09-161-0/+4
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* genkernel: bump to v4.0.0_beta17v4.0.0_beta17Thomas Deutschmann2019-09-081-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Bump xfsprogs to v5.2.1Thomas Deutschmann2019-09-063-106/+0
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Bump btrfs-progs to v5.2.2Thomas Deutschmann2019-09-062-0/+0
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Bump LVM2 to v2.02.186Thomas Deutschmann2019-09-0615-2/+2
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* genkernel: bump to v4.0.0_beta16v4.0.0_beta16Thomas Deutschmann2019-09-011-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuilds/expat: add --without-docbook to src_configureStefan Strogin2019-09-011-0/+1
| | | | Signed-off-by: Stefan Strogin <steils@gentoo.org>
* gkbuild.sh: _gkbuild_main(): Make use of get_tar_cmd()v4.0.0_beta15Thomas Deutschmann2019-08-301-2/+5
| | | | | | This will allow us to use pxz when available. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Record disk usage for each package/componentThomas Deutschmann2019-08-304-1/+27
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Cleanup $TEMP already after each package/componentThomas Deutschmann2019-08-303-0/+169
| | | | | | | | | | Now that we build stuff like boost, $TEMP can become large and we would require more free disk space than actually needed when we would do the cleanup only once at the end. User can still keep everything with --no-cleanup option. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Bump libgcrypt to v1.8.5Thomas Deutschmann2019-08-301-0/+0
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Add support for LVM thin provisioningThomas Deutschmann2019-08-3013-0/+496
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_funcs.sh: Import makeopts_jobs function from multiprocessing eclassThomas Deutschmann2019-08-301-0/+20
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_funcs.sh: Import gcc-* functions from toolchain eclassThomas Deutschmann2019-08-301-0/+35
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuild.sh: _initialize(): Append $BROOT/usr/include to CXXFLAGS by defaultThomas Deutschmann2019-08-301-0/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>