Franco Fichtner
aef341c0ef
build/core: avoid tainting VERSION for composite steps
...
Similar things could be done for src and ports handling, but this
one here is the most fragile.
2023-07-26 23:51:40 +02:00
Franco Fichtner
9ee5252153
build: remove remnants of FLAVOUR handling
2023-02-07 09:20:29 +01:00
Franco Fichtner
040fb92ec3
build/core: ran into this issue now testing opnsense-devel package
...
It was on another branch and it wasn't rebuilt because it slurped
the one from the master branch and was satisifed with its choice.
2022-02-16 15:30:11 +01:00
Franco Fichtner
b192f2968e
build/(core|plugins): use similar approach as ports to report skipped/rebuilt; closes #241
2021-08-10 16:22:16 +02:00
Franco Fichtner
a927e81e30
build: make sure the build can cope with SUFFIX=-business
...
We do not want to install globs as the matching is very fuzzy and
also we no longer do. To make sure prevent use of globs in
install_packages so we can catch this in nightly builds if it
ever happens.
While here, allow to set a VERSION for core builds which ignores
the tag-version-derivation. It is useful for prerelease building.
Last but not least ADDITIONS should no longer look for SUFFIX so
if you want to build an image with SUFFIX=-devel and use a development
plugin overwrite ADDITIONS accordingly, e.g. ADDTIONS=os-dyndns-devel
2021-02-10 11:13:50 +01:00
Franco Fichtner
1b61f199e8
build: rename DEVELBRANCH to EXTRABRANCH
...
We can switch it to any other branch depending on requirements.
2021-01-22 13:37:46 +01:00
Franco Fichtner
553bf8a787
build/ports: only add aux.conf if packages step has not been executed
...
For hotfixes it will start to build go and rust even if it does not
need it.
For the cases where e.g. suricata rebuild requires rust use the
non-packaged packages set or let rust build during dependecy build.
2021-01-18 17:22:38 +01:00
Franco Fichtner
9746b57855
build: pass FLAVOUR instead of poisoning the variable via env
2020-03-06 08:57:40 +01:00
Franco Fichtner
563165ede2
build: make DEVELBRANCH optional; closes #117
2019-02-24 18:33:44 +01:00
Franco Fichtner
8b2469f596
build/core: verify the COREDIR here as well
2017-08-17 09:38:46 +02:00
Franco Fichtner
a91453f371
config: add COREENV override for differing setups
2017-06-26 00:47:16 +02:00
Franco Fichtner
df43aa9126
build: fix argument scrubbing, remove obsolete gettext-tools from core
2017-04-27 19:14:36 +02:00
Franco Fichtner
ec08c82fa7
build/core: stray unicode whitespace in previous
2017-03-17 15:12:04 +01:00
Franco Fichtner
605384cda1
config: remove core.conf, we can do without it now
2017-03-17 13:23:27 +01:00
Franco Fichtner
cd9625de12
build: remove opnsense-stable package varienty; closes #47
2017-03-17 13:16:02 +01:00
Franco Fichtner
eedae02356
build: simplify git handling a bit, including terminology
2017-01-16 07:43:15 +01:00
Franco Fichtner
e30e76f573
build/core: allow commits here, for hotfix tracking
...
Since the latest change broke with the previously tagged 16.7.12,
we can embed commit hashes as well to produce hotfix releases for
the main package. Since the other package families are tracking
branches, this aligns pretty well by producing 16.7.12_1. :)
2016-12-24 15:38:04 +01:00
Franco Fichtner
f9bb8b545d
build/core: bubble this down to core.git
2016-12-24 15:15:23 +01:00
Franco Fichtner
28abbece84
build/core: furhter work on previous, remove "old" way
2016-12-24 13:11:34 +01:00
Franco Fichtner
297b975851
build/core: change build semantics to what ports/plugins do
...
And also align the build with what we normally use. CORE_LIST
could be empty, falling back to the old way of building things,
which matters more for custom image builds. The config can be
adapted in this case.
2016-12-24 12:41:48 +01:00
Franco Fichtner
8b4cee89d8
build: fix two typos with core branch check
2016-12-23 17:13:34 +01:00
Franco Fichtner
ff437f6c95
build: lock down branches, can override through build.conf
...
Actually, build.conf can hold all overrides from the main Makefile
now. This is pretty handy for OEMs now. Thanks for the prodding
on IRC for this one. :)
2016-12-23 16:44:27 +01:00
Franco Fichtner
5f116deb0b
build/core: add core.conf for user overrides and consistency
2016-12-23 14:39:46 +01:00
Franco Fichtner
dd398521e0
build/core: pass down arch for proper deps
2016-10-25 08:32:19 +02:00
Franco Fichtner
ba1ae47e65
build/core: remove PORTSDIR clone, core.git now overrides it
2016-08-30 14:08:17 +02:00
Franco Fichtner
93b2e5b116
build/core: whoops, in batch mode this needs a directory copy first
2016-07-20 04:58:33 +02:00
Franco Fichtner
bcf4649544
build: more cross-build adventures
2016-07-18 17:53:08 +02:00
Franco Fichtner
e1a4e36eec
build: decpouple top package suffix
2016-07-12 07:22:57 +02:00
Franco Fichtner
05f7f08a11
build: more plumbing to make plugins work like ports
2016-07-05 10:08:50 +02:00
Franco Fichtner
6b67583ee1
build/core: do previous for core build too
2016-05-26 08:31:14 +02:00
Franco Fichtner
c0f3dbb3fa
build: self-awareness for all scripts, needed for #30
2016-05-05 17:11:45 +02:00
Franco Fichtner
661bd233fe
build: expand previous for refs vs. none
2016-03-16 11:38:45 +01:00
Franco Fichtner
aca59bd7cd
build: fix type for reftype proagation
2016-03-16 11:15:28 +01:00
Franco Fichtner
de3b0594a5
build/core: tweak previous, retain release name if tagged
2016-03-14 09:26:48 +01:00
Franco Fichtner
3791a3e9c2
core: for tags, assume release state too
...
This makes it possible to run a single batch build for:
# make core-master,stable/16.1,16.1.6
2016-03-14 09:22:56 +01:00
Franco Fichtner
1829ce5046
core: treat all builds as release, stable branch is now "stable"
2016-03-12 00:11:50 +01:00
Franco Fichtner
6c9beb690c
build: skip check if forced by optional arguments
2016-01-25 07:45:36 +01:00
Franco Fichtner
4734a177c2
build: check packages for progress even earlier
2016-01-25 07:38:07 +01:00
Franco Fichtner
e828219a8c
build: remember packages progress
...
This implements the usual "memory" we have when using make(1) to run
a build: progress is remembered and repeated steps are thus skipped,
especially useful for errors coupled with subsequent invokes of the
infamous `make everything'.
2016-01-20 10:24:20 +01:00
Franco Fichtner
b27c205126
build/core: small tweak to avoid trashing the second branch
2015-08-10 10:33:35 +02:00
Franco Fichtner
613a63a5a1
build: switch to vanilla copy to avoid "origin/" woes
2015-08-05 08:58:23 +02:00
Franco Fichtner
b3c8fdaa9c
build/core: if arguments are given, build all of those
2015-07-24 12:24:14 +02:00
Franco Fichtner
59885a97c7
build: split off remove_packages() for plugin use; fixes #11
2015-07-18 18:47:46 +02:00
Franco Fichtner
804cdf50b2
build: this is the fun part -- make core and plugin invoke trivial
2015-07-17 17:43:02 +02:00
Franco Fichtner
cb262b5141
build/core: cleanly replace flavour
2015-07-17 10:32:17 +02:00
Franco Fichtner
ceb0f5e8f4
build/core: deprecate ports.conf `run' in favour of direct dependencies
2015-07-17 08:35:51 +02:00
Franco Fichtner
52dd722539
build/core: bubble down package meta data generation
2015-07-17 07:52:19 +02:00
Franco Fichtner
48587c6347
build/core: only remove the correct packages on extract
2015-07-16 18:13:34 +02:00
Franco Fichtner
3541703340
build: refactor common custom package magic
2015-07-16 17:34:35 +02:00
Franco Fichtner
813965273f
build/core: adapt to install/plist split
2015-07-16 13:33:42 +02:00