summaryrefslogtreecommitdiffhomepage
path: root/subr/build_init.subr
AgeCommit message (Collapse)AuthorFilesLines
2020-02-14build.sh: minor cleanup.Lucio Andrés Illanes Albornoz1-4/+7
groups/2*.native_packages_*.group: adds dependencies. subr/{build_init,ex_pkg_dispatch}.subr, etc/build.usage: forcibly rebuild all dependencies w/ -r **[ ...] vs. -r *[ ... ]. subr/ex_pkg_dispatch.subr:exp_pkg_get_packages(): log message before and after resolving dependencies.
2020-02-14groups/2*.native_packages_*.group: adds dependencies.Lucio Andrés Illanes Albornoz1-14/+18
subr/build_init.subr:buildp_init_getopts(): reject invalid build group names. subr/build_init.subr:buildp_init_prereqs(): insist on GNU sed. subr/build_init.subr:build_fini(): fixed. subr/ex_rtl_complex.subr:ex_rtl_kill_tree(): restored. subr/ex_rtl_log.subr: include fallback ${DEFAULT_LOG_MSG_*_COLOUR}s.
2020-02-14etc/README: updated.Lucio Andrés Illanes Albornoz1-85/+197
groups/231.native_packages_etc.group:apr_util:${PKG_MAKEFLAGS_BUILD}: build w/ -j1. subr/{build_{args,init},ex_rtl{,_complex}}.subr: minor cleanup. subr/{build_args,ex_rtl}.subr: purge leading whitespaces.
2020-02-12groups/2*.native_packages{,cmdline,dev,etc,inet,lib,x11}.group: ↵Lucio Andrés Illanes Albornoz1-1/+3
merged/split, adds dependencies. groups/: updates layout. etc/build.usage: updated. subr/build_init.subr:build_init(): only include actual groups in ${GROUPS_DEFAULT}.
2020-02-12groups/*.group: split from vars/build.vars.Lucio Andrés Illanes Albornoz1-2/+8
subr/build_init.subr: source groups/*.group & set ${GROUPS_DEFAULT}. vars/midipix.vars: merged into vars/env.vars.
2020-02-11subr/build_init.subr:build_ast(): only print ${_pids_killed} if non-empty.Lucio Andrés Illanes Albornoz1-1/+4
2020-02-11subr/build_init.subr:build_{ast,init}(): call ex_rtl_kill_tree() on $$ on ↵Lucio Andrés Illanes Albornoz1-5/+13
signal. subr/build_init.subr:build_init(): check for pgrep(1) in $PATH. subr/ex_rtl.subr:ex_rtl_kill_tree(): implement w/ pgrep(1).
2020-02-11Implements package-package dependencies.Lucio Andrés Illanes Albornoz1-1/+1
2020-02-08subr/build_init.subr: ensure awk(1) in $PATH is GNU Awk.Lucio Andrés Illanes Albornoz1-1/+1
2020-02-06subr/build_init.subr: ensure awk(1) in $PATH is GNU Awk.Lucio Andrés Illanes Albornoz1-0/+3
2019-11-03subr/build_init.subr: don't echo back ${_env_vars}.Lucio Andrés Illanes Albornoz1-1/+0
2019-11-01subr/build_init.subr: correctly filter ${_env_vars}.Lucio Andrés Illanes Albornoz1-1/+2
2019-11-01ubr/build_init.subr: merge grep(1) ${_env_vars} filter into sed(1) command line.Lucio Andrés Illanes Albornoz1-1/+1
2019-11-01Cope with long environment variables that are wrapped over multiple linesMartin Storsjö1-1/+1
The TERMCAP variable, if present, can be very long (27 lines and over 1500 chars in my case). In these cases, the earlier lines end with a backslash, and the following ones start with a one tab indent. Filter for lines starting with "export" to properly find the variable names only, as that's the only thing we're interested in here.
2019-10-12subr/build_init.subr: don't set ${LD_LIBRARY_PATH}.Lucio Andrés Illanes Albornoz1-1/+0
subr/ex_pkg_env.subr: don't unset ${LD_LIBRARY_PATH} given build target host_packages_deps. vars/libsolv.vars: don't unset ${LD_LIBRARY_PATH}.
2019-01-19build.sh, subr/build_checks.subr, vars/midipix.vars: removes ↵Lucio Andrés Illanes Albornoz1-1/+15
${DEFAULT_CHECK_PREREQ_{CMDS,FILES{,_DYNAMIC},PERL_MODULES}}. etc/build.usage: update target list. subr/build_checks.subr: merges remaining checks into subr/build_init.subr.
2019-01-19etc/build.usage, subr/build_{args,checks}.subr: merges -c into -C as -C prefix.Lucio Andrés Illanes Albornoz1-2/+4
etc/build.usage, subr/build_{args,init}.subr: merges -[46N] into -F as ipv4|ipv6|offline. subr/ex_rtl_fetch.subr: honour ${{ARG_FETCH_FORCE,DEFAULT_GIT_ARGS}}. subr/pkg_install_strip.subr: correctly strip non-release build binaries. subr/pkg_install_strip.subr:pkg_install_strip(): honour ${ARG_DEBUG_MINIPIX}. vars/env.vars, subr/pkg_fetch_{download,git,wget}.subr: merges fetch_{git,wget} into fetch_download. vars/midipix.vars: adds ${DEFAULT_GIT_ARGS}. vars/{musl,python[23]{,_host}}.vars: updated concerning fetch_download.
2019-01-19build.sh, etc/build.usage, subr/*: merges {-[ptz],--rpm} into -D ↵Lucio Andrés Illanes Albornoz1-1/+1
{minipix,pkg,rpm,t{bz2,gz,xz},zipdist}. subr/{build_args,pkg_clean}.subr: cleanup ${ARG_CLEAN_BUILDS} usage. vars/build.vars:dist: merged into invariants. vars/invariants_minipix.vars: adapted from vars/dist_minipix_dist.vars. vars/{invariants_tarballs,midipix}.vars: don't produce source tarballs.
2018-12-23subr/build_init.subr:build_init(): rename build logs from previous builds w/ ↵Lucio Andrés Illanes Albornoz1-2/+6
appended modification time postfix. subr/build_init.subr:build_init(): turn ${DEFAULT_BUILD_LOG_LAST_FNAME} into symbolic link to last previous build log.
2018-05-31subr/build_init.subr, etc/build.usage: additionally source ↵Lucio Andrés Illanes Albornoz1-1/+1
${HOME}/.midipix_build.vars.
2018-05-14subr/build_init.subr, vars/build.vars: move LD_LIBRARY_PATH+=${PREFIX}/bin ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+1
export.
2018-05-14Adds --rpm: [b]uild RPM packages for each package built; selects host_tools_rpm.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+3
2018-05-09subr/build_init.subr:build_init(): set permissive umask (022.)Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2018-04-30Correctly (zero-)initialise all locals.Lucio Andrés Illanes Albornoz1-1/+1
2018-04-05subr/build_{checks,init}.subr: move --as-needed exit check in order to ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+6
prevent clobbering build.log.
2017-12-15subr/build_init.subr:build_init(): don't unset ${DEFAULT_...} environment ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+2
variables. vars/midipix.vars:${DEFAULT_CLEAR_ENV_VARS_EXCEPT}: remove implied environment variable names.
2017-12-15subr/build_init.subr:build_init(): don't unset ${PKG_...} environment variables.Lucio Andrés Illanes Albornoz (arab, vxp)1-4/+9
2017-12-10subr/build_init.subr:build_init(): always rm(1) ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+2
${DEFAULT_BUILD_STATUS_IN_PROGRESS_FNAME}.
2017-12-05subr/build_init.subr: fix typo.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-12-05subr/build_init.subr: touch ${DEFAULT_BUILD_LOG_FNAME} and set ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+3
${BUILD_IS_PARENT=1}. subr/ex_pkg_dispatch.subr:exp_pkg_dispatch(): set ${BUILD_IS_PARENT=0} within child process context. subr/ex_rtl_log.subr:exp_rtl_log_printf(): append message sans attributes to ${DEFAULT_BUILD_LOG_FNAME} given ${BUILD_IS_PARENT}.
2017-12-05etc/build.usage: adds -P [jobs].Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+3
subr/build_args.subr: adds `optarg' arg type & ARG_PARALLEL:optarg:-P:auto. subr/build_init.subr: default ${ARG_PARALLEL} ([jobs]) to ${DEFAULT_BUILD_CPUS}. subr/ex_pkg_dispatch.subr: honour ${ARG_PARALLEL}, defaulting to no parallelisation.
2017-12-03Separate front end (build.sh, subr/build_*) from dispatcher.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+60