Franco Fichtner
e96cf8a95c
build: support macOS for "make update" purposes
2020-05-17 10:26:30 +02:00
Franco Fichtner
603330a8f6
config: remove notion of version "3" Python, it's the default
2020-02-18 10:15:34 +01:00
Franco Fichtner
1f00c8b677
build: remove PYTHON2 selector, no longer used
2020-02-18 08:25:11 +01:00
Franco Fichtner
dd5878fc78
build: print error when we hit this code branch
2020-02-09 08:51:55 +01:00
Franco Fichtner
f7213f9431
build/clean: core,plugins only makes sense if packages are there
2020-02-08 19:02:01 +01:00
Franco Fichtner
f40de61925
build: we've use the term "base" for ages now
2020-01-22 15:47:26 +01:00
Franco Fichtner
379bf96c4a
build: fix issue with "make update-portsref"
...
... which is only used with "make skim". Since HBSD moves to another
git server soon this seems like a good idea to fix.
2019-12-23 07:32:23 +01:00
Franco Fichtner
a60abeddae
build: fix xtools on 12.1
...
While here allow SRCREVISION to be read everywhere. The prefetch
script appreciates the additional info so it doesn't have to guess
anymore. :)
2019-10-30 14:22:14 +01:00
Franco Fichtner
1ea79d4de0
build: actually tell which argument is missing
2019-09-26 07:34:33 +02:00
Franco Fichtner
644f4a8e4e
build: small tweaks here, 600 on both files
2019-09-25 13:16:18 +02:00
Franco Fichtner
1be9ee13c0
build: sign our mtree set files for later verification
...
Right now we trust the mtree file since we can't guarantee
consistency after unpack. This way we will be able to warn
on unsigned mtree file or when the signature is wrong meaning
somebody meddled with the mtree file.
Should work for both base and kernel.
PR: https://github.com/opnsense/core/issues/3473
2019-09-25 13:15:26 +02:00
Franco Fichtner
e6a5db5dd8
build: cope with new reality of pkg 1.11
2019-08-01 10:38:11 +02:00
Franco Fichtner
b22e911fab
build: add `fingerprint' target
2019-07-02 08:26:40 +02:00
Franco Fichtner
9f82a73dda
build: force umount, busy error doesn't mean much in disposable chroot
2019-06-19 08:46:29 +02:00
Franco Fichtner
5ecee3f3c1
composite: allow access to all FLAVOUR settings
...
Makes it easier to modify stuff. First one is mandatory, the rest is
eaten up by scripts to be passed down as required.
2019-06-10 17:55:58 +02:00
Franco Fichtner
9d77c902e3
build: remove QUICK support, rarely useful and undocumented
2019-06-03 08:25:26 +02:00
Franco Fichtner
820ab1fb81
build: use cp -R as -cp -r is actually -RL
...
And this is being disliked by a dangling python3 -> python3.6 link.
2019-05-19 13:31:33 +02:00
Franco Fichtner
50533be115
build: we try to be too clever, need a shadow var for recursion
2019-05-08 06:49:45 +02:00
Franco Fichtner
ada4a2bc4b
device: finally only extrapolate the kernel config
2019-05-08 05:59:35 +02:00
Franco Fichtner
a7d78fcb79
build: always require device config
2019-05-07 12:22:34 +02:00
Franco Fichtner
fd9e920b21
build: we need device in base set too
2019-05-07 12:10:31 +02:00
Franco Fichtner
99beda883a
build/arm: more changes
2019-05-07 07:12:26 +02:00
Franco Fichtner
5dfee1c041
build: kernel set device name if device config does not unset
2019-05-06 19:49:31 +02:00
Franco Fichtner
c2723e52b9
build: load DEVICE earlier for automatic ARCH change
2019-04-26 10:45:05 +02:00
Franco Fichtner
3924c19ba8
build: implement PRODUCT_WANTS, always check for git
2019-04-28 11:55:48 +02:00
Neko Prog
9dcd73e003
Add cross build support for aarch64 and RPI3 config ( #120 )
2019-03-17 13:01:50 +01:00
Franco Fichtner
456a4c9fdc
build/plugins: fix PLUGINSENV propagation
2019-03-14 11:27:15 +01:00
Franco Fichtner
563165ede2
build: make DEVELBRANCH optional; closes #117
2019-02-24 18:33:44 +01:00
Franco Fichtner
a999844f36
device: bpi.conf and cross-build docs #113
2019-02-13 21:39:48 +01:00
Franco Fichtner
3657c59694
build: remove mixed version-arch marker
...
This has been obsoleted in opnsense-update and shall be removed
for our 19.1 builds. Hooray for progress.
2019-01-12 14:35:55 +01:00
Franco Fichtner
2eeb64271e
build: only set marker if there's no '.pkg-err' file
...
Build steps for packages predate the .pkg-err file so we had no
way of knowning about the integrity of a build. Now we can
directly check the status of the build.
The side effect is that "make plugins" and "make core" will run
"make ports" if that failed and fail there. While there's a
little overhead in automated scripts this is more consistent with
build flow as we do not start higher targets that depend on broken
dependencies that look correct. This was reported a few times
over the years.
2019-01-02 15:20:22 +01:00
Franco Fichtner
afdaf2e32d
build: add architecture to sets as well
2018-11-28 11:44:49 +01:00
Franco Fichtner
2299aca0ed
build: offset issue with wc(1)
2018-11-28 10:50:35 +01:00
Franco Fichtner
314878d80f
build: support ".size" versioning extention for sets
2018-11-28 06:47:16 +01:00
Franco Fichtner
bbd3e45d62
build: exclude /var from mtree file
...
/var MFS kills all of the files and it's extremely difficult to
construct a safe health check around the fact that they can be
missing.
2018-11-21 08:24:48 +01:00
Franco Fichtner
3c8edd00fe
build: remove spurious WRKDIR change
...
It was needed at some point in the past but hasn't been useful
for a good while now. Recently it broke because the plist test
is now run prior to 'package' target and while it may be fixed
there by creating the directory this code using a custom WRKDIR
is the bigger bug so good-bye. :)
2018-11-04 16:46:40 +01:00
Franco Fichtner
7070e7a06e
build: only show generated sets
2018-11-04 12:51:31 +01:00
Franco Fichtner
474e3188b7
build: add disabled lock set for testing
2018-11-02 02:40:05 +01:00
Franco Fichtner
578adffefe
build: show package set file size after completion
2018-11-02 07:18:34 +01:00
Franco Fichtner
4f5a745c52
config: more changes for Pyhton split
...
ansible and py-boto3 are missing for now.
2018-10-28 08:34:44 +01:00
Franco Fichtner
63ad5534f7
build: inject obsolete set into base set
2018-10-15 16:04:08 +02:00
Franco Fichtner
68e33100d4
build: unify a few moving parts before obsolete rework
2018-10-15 07:48:05 +02:00
Franco Fichtner
b79da85b72
build: signature doesn't have to be there
2018-10-13 14:11:24 +02:00
Franco Fichtner
da742c492e
build: two small changes
...
* Always purge signatures when we can't generate new ones.
* Instead of testing who called us see if config files are there.
2018-10-14 12:53:28 +02:00
Franco Fichtner
5cf68c1729
build/base: repack set for mtree inclusion as well
2018-10-13 10:23:34 +02:00
Franco Fichtner
f90365b32b
build/kernel: (re)generate mtree file for later use
2018-10-13 09:50:32 +02:00
Franco Fichtner
a6f43962a2
build: do not start configd on image builds; closes #93
2018-10-09 15:34:50 +02:00
Franco Fichtner
d163224a84
build/ports: correct origin for deps locking, add log line
...
While here, move cleanup_packages to common for the sake of making
it easier to comment out for testing / development purposes.
2018-09-30 20:29:04 +02:00
Franco Fichtner
deada0aa82
scripts/nightly: improve logs set directory structure
2018-09-18 22:51:28 +02:00
Franco Fichtner
29c2abe2b0
build/rewind: finish tag matching, add experimental rewind target; closes #71
...
For now this goes undocumented. The trouble with rewind is:
1. To rewind we need to reset all repositories. That only really
works on top of the current branch. Possible solution: only
allow rewind for the currently up-to-date version.
2. The master branch development version is in the way and will
probably prevent people from building older versions because
of this or that mismatch. Possible solution: allow a build
without development packages included and maybe default to it.
2018-09-17 22:08:35 +02:00