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
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
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
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
Maurice Walker
a044594786
Fix device-specific hooks not getting loaded
2023-07-26 22:31:29 +02:00
Franco Fichtner
d3ad0ac3f6
buid: return instead of exist to make previous work
2023-04-20 08:12:32 +02:00
Franco Fichtner
5b45d98c38
build: style issue
2023-03-30 15:47:12 +02:00
Franco Fichtner
ed2995d142
build: no longer need txz backwards glue
2023-02-07 10:53:07 +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
6f516a6e62
build: remove PRODUCT_FLAVOUR where irrelevant
2023-02-03 15:13:55 +01:00
Franco Fichtner
f96291ce67
Revert "build/skim: allow override of PORTSLIST too"
...
This reverts commit 9924449e63
.
2022-12-10 14:06:38 +01:00
Franco Fichtner
9924449e63
build/skim: allow override of PORTSLIST too
2022-12-08 14:46:30 +01:00
Franco Fichtner
cb807b82ae
build: partially revert back to older code removed in 968e273e
2022-10-18 14:48:45 +02:00
Johnny S. Lee
64e0e1b2f7
build: Allow delimiters other than newline in {AUX,PLUGINS,PORTS}LIST ( #322 )
...
Currently, when assigning multiple items to a LIST, the following works:
```
make ports PORTSLIST="port/a
port/b"
```
while the following would fail:
```
make ports PORTSLIST="port/a port/b"
```
2022-10-18 14:37:57 +02:00
Franco Fichtner
e31fbaa3fd
build: list_ports/list_plugins are the same, use shared list_packages
2022-08-31 12:43:36 +02:00
Franco Fichtner
968e273e06
build: remove side effect from list_config()
...
Function returns output nowadays, no need to return cached result
if already set. Fixes AUXLIST handling in ports step.
2022-08-29 11:57:40 +02:00
Franco Fichtner
bd63e02c87
build: prevent build on pkg version mismatches #249
...
If the build system version aqcuired by FreeBSD packages is newer
chances are that the database result is going to be unmanageable
for the version we use at the moment.
2022-08-05 10:23:49 +02:00
Franco Fichtner
fe1e6a2f73
build: when encountering fatal errors do not add marker #310
2022-07-30 09:38:53 +02:00
Franco Fichtner
7e60766be2
build: do not print env on clean
2022-07-06 10:06:43 +02:00
Franco Fichtner
a4e7af0253
build: pkg-warn is more of a pkg-msg anyway
2022-06-08 12:39:12 +02:00
Franco Fichtner
585690aecb
build: also support old style txz links
...
pkg-repo doesn't do it, but keeps compat with the meta and packagesite
files... yeah, sure.
2022-04-29 09:44:31 +02:00
Franco Fichtner
8ab4d23004
build: support pkg 1.17
2022-04-29 09:31:43 +02:00
Franco Fichtner
75b7cc43d4
build: EFIFAT is no longer used
2022-03-17 07:41:29 +01:00
Franco Fichtner
d3036ff5b9
build: $((...)) style issue
2022-02-23 10:25:25 +01:00
Franco Fichtner
2e4601721e
build: remove hw.uart.console and unused COMPORT support
...
It doesn't work anymore for EFI on FreeBSD 13.
2022-02-21 11:02:31 +01:00
Franco Fichtner
e6e97ed470
build: MAKE_ARGS_DEV_CROSS for #266
2022-02-12 19:35:04 +01:00
Franco Fichtner
b5ef261b45
build: remove FreeBSD 12.1 renmants
2022-01-31 11:21:58 +01:00
Franco Fichtner
10c850dded
build: add list_config to make list_ports and list_plugins shorter #262
2022-01-12 12:30:36 +01:00
Franco Fichtner
1f85cfffca
build/plugins: add list_plugins for #262
2022-01-12 12:16:08 +01:00
Franco Fichtner
12587aa807
build/arm: provide efi folder the new way; closes #250
2022-01-04 14:49:01 +01:00
Franco Fichtner
9fc1c776eb
build: introduce PRODUCT_CROSS for easier use
2021-12-27 21:49:25 +01:00
Christopher SHEN
3ed03c7223
device: cross-build is not always needed; closes #256
2021-12-26 08:58:39 +01:00
Franco Fichtner
d13c83dfb7
build: device kernel config suffix is deprecated; closes #255
...
While here also do not embed the device for the (-GENERIC)
ARM64 configuration. Seems like leftovers from the latest
ARM contributions.
2021-12-20 09:23:33 +01:00
Franco Fichtner
ee7dfd1686
build: make sure to update the latest link on rebuild
...
It means that we block subsequent builds of the same package in general.
2021-12-01 22:34:47 +01:00
Franco Fichtner
73ce4f6f23
build: refactor PORTSLIST generation into shared list_ports() call
...
With five consumers this makes sense nowadays. While here make the
distfiles fetch ignore PORT_IGNORE to download otherwise missing files
not found in the default flavour.
2021-10-15 14:59:24 +02:00
Franco Fichtner
9bdf70ca0d
build: dev/ seems to work, but clutters non-stage directories
...
E.g. it would show up in the release set.
2021-10-14 20:19:30 +02:00
Franco Fichtner
ce94c70d5b
build: move back to old-style efi fat partition generation
...
Need to revisit for 22.1 beta images.
2021-10-12 09:14:30 +02:00
Franco Fichtner
7d1b646bfe
build: always create a dev dir so clean.sh an find it
2021-10-01 09:56:15 +02:00
Franco Fichtner
4336b0210d
build: streamline version derivation/override
2021-09-09 13:09:54 +02:00
Franco Fichtner
e45319b5a9
build: bundle packages even if there are fatal issues
...
Otherwise it is pretty hard to get a nightly build from a partial run.
2021-09-09 11:10:29 +02:00
Franco Fichtner
593d396d76
build: fix double suffix after refactor
2021-09-07 14:16:40 +02:00
Franco Fichtner
1633ef27eb
build: clean up REPO_VERSION usage enabling VERSION override everywhere
2021-09-06 12:11:05 +02:00
Franco Fichtner
bc5487b6b5
build: correclty print error when running embedded scripts
2021-09-03 20:17:28 +02:00
Franco Fichtner
76b8afaa89
build: use PRODUCT_VERSION when we want to emulate REPO_VERSION
2021-09-03 20:04:12 +02:00