aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Switch from MDEV to UDEVThomas Deutschmann2020-07-241-1/+1
| | | | | | | | | 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>
* 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>
* dropbear.sh: _dropbear_install(): Fix die msgThomas Deutschmann2020-06-201-1/+1
| | | | 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>
* Change separator in mktemp() templatesThomas Deutschmann2019-12-312-2/+2
| | | | | | | | | | Some packages will fail to build when path contains character sequences like ".o". Using "_" as separator in mktemp() template will avoid that problem. Link: https://github.com/jthornber/thin-provisioning-tools/issues/127 Thanks-to: Doug Freed <dwfreed@mtu.edu> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuild.sh: gkconf(): Update config.{guess,sub} with /usr/share/gnuconfig ↵Thomas Deutschmann2019-12-141-0/+15
| | | | | | | | when possible This will help to avoid build failures. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuild.sh: _src_prepare(): Fix wordingThomas Deutschmann2019-11-241-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuild.sh: Add possibility to disable distcc usage per gkbuildThomas Deutschmann2019-09-301-0/+28
| | | | | | | | | | | | | | 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>
* 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-301-0/+7
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Cleanup $TEMP already after each package/componentThomas Deutschmann2019-08-301-0/+6
| | | | | | | | | | 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>
* gkbuild.sh: _initialize(): Append $BROOT/usr/include to CXXFLAGS by defaultThomas Deutschmann2019-08-301-0/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuild.sh: _initialize(): Source gkbuild after $S was definedThomas Deutschmann2019-08-301-3/+3
| | | | | | This will allow gkbuilds to overwrite $S like known from ebuilds. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuild.sh: Make sure that each phase starts in $SThomas Deutschmann2019-08-301-9/+4
| | | | | | ...not just the default functions. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuild.sh: gkconf(): Quote sysrootThomas Deutschmann2019-07-291-1/+1
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gen_compile.sh: Refactor populate_binpkg() functionThomas Deutschmann2019-07-291-2/+1
| | | | | | | | | | - Use nameref instead of manually created references - Fix quoting of BINPKGs - Pass delimiter-separated BINPKG deps value to gkbuild() Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Make use of $TAR_COMMAND variableThomas Deutschmann2019-07-272-4/+4
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* gkbuild.sh: Refactor gklibtoolize() functionThomas Deutschmann2019-07-211-1/+6
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Add genkernel worker module "dropbear"Thomas Deutschmann2019-07-141-0/+161
| | | | | | This commit will add support for "dropbear"-related tasks. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Add genkernel worker module "unpack"Thomas Deutschmann2019-07-141-0/+26
| | | | | | This commit will add support for "unpack" task. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* Add genkernel worker module "gkbuild"Thomas Deutschmann2019-07-141-0/+705
In the future, genkernel will try to compile all programs used in genkernel's initramfs on its own instead of copying from host system. This commit will add support for gkbuilds. A "gkbuild" is like an ebuild but with reduced functionality. Using an ebuild-like system will make it easier to maintain those programs in a standardized way, especially with reworked cross-compile support. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>