Franco Fichtner
e35a234910
build/plugins: defer plugin builds which have plugin dependencies
...
We did avoid this for as long as possible and through plugins.conf.local
that was automatic for os-OPNProxy before but now we need to put a bit
more effort in in order to not fail the bulk plugins build because of
os-squid not being ready (yet). It's also a complication of os-squid
no longer being in core but there are still situations like this in plugins
and core that require this fix.
2024-04-17 06:54:02 +02:00
Franco Fichtner
c08eceedd3
build/rename: aux support here as well
2024-04-04 12:16:20 +02:00
Franco Fichtner
2192311374
build: make aux set behave more like packages
...
We are going to store aux sets for each build to avoid future
issues with missing build dependencies.
Also, go121 is the default these days and 1.20 isn't used anymore
as witnessed by the missing go package in the aux set at the moment.
2024-04-03 17:20:22 +02:00
Franco Fichtner
11eac352ab
build: add hotfix clean target which does core and plugins in one step
2024-02-15 15:23:51 +01:00
Franco Fichtner
3bcd199713
build/ports: we need to scrub the old package in both places
2024-02-15 15:17:04 +01:00
Franco Fichtner
49f84e452b
build/ports: add MISMATCH knob; closes #225
2024-02-14 10:01:56 +01:00
Franco Fichtner
70495e7e75
build/packages: if ports clears the packages flag we can now test and skip
2024-02-14 09:43:12 +01:00
Franco Fichtner
0dd6820d8b
build: tweak aux set handling a little
2024-02-14 08:35:59 +01:00
Franco Fichtner
a2fc40997f
build: basic implementation of aux packages; closes #299
...
It allows us to retain the "aux" packages for subsequent rebuilds.
These packages are inserted in the "ports" step and removed in the
"packages" step.
May be subject to changes and tweaks, but works nicely when e.g.
rebuilding suricata.
2024-02-08 15:59:16 +01:00
Franco Fichtner
b5841642fd
build/(release|sign): repair signing regression after image sig change
...
While here also add support fort the (re)sign(ing) of the release set.
2024-01-30 09:58:34 +01:00
Franco Fichtner
8fb96199df
build/update: allow pull to fail if BRANCH does not track
2024-01-11 13:24:41 +01:00
Franco Fichtner
73c747344f
build: fix base.hash handling issue in obsolete set
2024-01-05 13:53:07 +01:00
Franco Fichtner
4e02760a66
build/kernel: make the if_wg module workaround flexible
2024-01-05 09:33:20 +01:00
Franco Fichtner
5bdfd3de45
build/chroot: tweak again
2023-12-28 14:25:40 +01:00
Franco Fichtner
e08a73b12f
build: fix minor style
2023-12-28 14:20:12 +01:00
Franco Fichtner
b6125cb05e
build/rename: need to retain PRODUCT_HASH here
2023-11-22 15:50:55 +01:00
Franco Fichtner
dcbb9cb9a8
build/list: distfiles support
2023-11-21 09:46:31 +01:00
Franco Fichtner
86c0bd3fcc
build: sign uncompressed images instead of compressed ones; closes #386
...
Best of both worlds: let the checksums be a quick way to verify the
download but offer full integrity using the signatures for the uncompressed
images in case the uncompress is buggy.
2023-11-20 11:08:37 +01:00
Franco Fichtner
276754f23d
build/common: warn about conflicts so spurious rebuilds are easier to trace
2023-11-15 10:27:28 +01:00
Franco Fichtner
304759ea5b
build: allow ignoring nrpe on non-compatible SSL build annotation
2023-11-15 08:23:06 +01:00
Franco Fichtner
c60169e642
build: add a hash to base and kernel set
2023-11-10 08:17:09 +01:00
Franco Fichtner
08aad62aa6
config: when dropping "wireguard" bits make sure to reintroduce the base kmod
2023-10-09 12:53:20 +02:00
Franco Fichtner
eecf924ede
build/kernel: remove WireGuard module, for now we support go as well; closes #376
...
And go doesn't work if a module is installed. While here split the
plugins into separate code bases as there will be work incoming for
the kernel variant.
2023-08-21 10:53:26 +02:00
Franco Fichtner
2eee340031
build/update: include rewind functionality via VERSION use; closes #373
2023-08-09 08:36:39 +02:00
Franco Fichtner
39c46b4272
build: stop rewind from clearing tools
...
Apparently git-clean also cleans files globbed in .gitignore which
is a bad idea.
2023-08-03 12:34:59 +02:00
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
Maurice Walker
a044594786
Fix device-specific hooks not getting loaded
2023-07-26 22:31:29 +02:00
Franco Fichtner
19a5de41ae
build/prefetch: broke this, different suffixes for base/kernel
2023-04-21 10:36:13 +02:00
Franco Fichtner
d3ad0ac3f6
buid: return instead of exist to make previous work
2023-04-20 08:12:32 +02:00
Franco Fichtner
ea3fc219be
build/kernel: add INVARIANTS to debug kernel
2023-04-19 10:33:56 +02:00
Franco Fichtner
495adc7da0
build/test: may fail of only devel package is available
2023-04-19 09:28:41 +02:00
Franco Fichtner
5b45d98c38
build: style issue
2023-03-30 15:47:12 +02:00
Franco Fichtner
1106dcec37
build/ports: of course it needs escape
2023-02-08 09:19:27 +01:00
Franco Fichtner
491f462b4b
build/distfiles: fetch for specific flavor to fix qemu guest agent
2023-02-08 08:56:45 +01:00
Franco Fichtner
40b567b55b
build/ports: expand in chroot
2023-02-08 08:03:42 +01:00
Franco Fichtner
8c7721bc08
build/ports: defer the check-plist message
...
In a batch build there are two check-plist errors, but they are
not easy to reproduce and otherwise hidden in the 200 MB log file:
>>> WARNING: The build provided additional info.
>>> Package list inconsistency for net/librdkafka (librdkafka)
>>> Package list inconsistency for www/squid (squid)
Move the print to the end so we can always see it.
2023-02-08 08:01:40 +01:00
Franco Fichtner
ed2995d142
build: no longer need txz backwards glue
2023-02-07 10:53:07 +01:00
Franco Fichtner
9f2ca30725
build/ports: improve warning/error output a little
2023-02-07 10:04:13 +01:00
Franco Fichtner
9ee5252153
build: remove remnants of FLAVOUR handling
2023-02-07 09:20:29 +01:00
Franco Fichtner
2bfa4c65e8
build: drop unused, packages now without PRODUCT_FLAVOUR
2023-02-07 07:58:30 +01:00
Franco Fichtner
1f136c68db
build/prefetch: simplify
2023-02-07 07:52:12 +01:00
Franco Fichtner
3645ecdbc4
build/download: simplify
2023-02-07 07:49:53 +01:00
Franco Fichtner
604fc9f4c1
build/release: drop PRODUCT_FLAVOUR
2023-02-07 07:46:40 +01:00
Franco Fichtner
8cb5b416b6
build/rename: simplify
2023-02-07 07:44:20 +01:00
Franco Fichtner
d50bdf0d17
build/upload: simplify
2023-02-07 07:40:52 +01:00
Franco Fichtner
c09cbafdfa
build/compress: remove unused PRODUCT_FLAVOUR
2023-02-03 15:17:06 +01:00
Franco Fichtner
f6bf00f7b4
build/clone: remove PRODUCT_FLAVOUR handling
2023-02-03 15:13:55 +01:00
Franco Fichtner
6f516a6e62
build: remove PRODUCT_FLAVOUR where irrelevant
2023-02-03 15:13:55 +01:00
Franco Fichtner
edeb7b5ddf
build/clean: globs still work without PRODUCT_FLAVOUR
2023-02-03 15:13:55 +01:00
Franco Fichtner
e0afba0840
build/packages: shorten AUXLIST and allow override
2023-02-03 15:13:55 +01:00