Commit Graph

184 Commits

Author SHA1 Message Date
Franco Fichtner c3f66077b4 build/clone: add new helper 2021-01-18 11:50:37 +01:00
Franco Fichtner c68563ca3e config: expose PRODUCT_ABI to ports
Fixup PRODUCT_LUA replacement while here.
2021-01-11 11:46:02 +01:00
Franco Fichtner d7d664409e build/serial: UEFI hybrid works on APU1, enable by default for 21.1-RC1 2021-01-08 12:52:26 +01:00
Franco Fichtner 84aefa59b0 config: support UEFI in serial images, off by default for now; closes #138
While here switch images to UFS2.
2021-01-07 15:58:47 +01:00
Franco Fichtner 8dd525035a config: replace fallbacks if needed for 21.1 and onwards
In normal build operations the variables are populated by the
environment already so the templated fallbacks are never used.
2021-01-07 14:31:21 +01:00
Franco Fichtner a232cff770 config: properly register PRODUCT_LUA from build.conf 2021-01-07 13:24:29 +01:00
Franco Fichtner 464de02172 make: pew pew pew 2020-07-23 15:23:08 +02:00
Franco Fichtner ad7df11ac5 config: default branches to stable variants 2020-07-15 16:26:46 +02:00
Franco Fichtner 2515f0b418 make: fix comment 2020-06-24 18:11:50 +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 38fe91f8c6 config: default to 20.1 2020-01-28 07:06:39 +01:00
Franco Fichtner e06b497d85 build: change default HBSD ports URL 2020-01-05 08:33:28 +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 e50d175fe7 build: add a real "package" target and aux.conf trickery
aux.conf harbours ports that are needed for the build and intermediate
package sets for testing and rebuilding, but that will ultimately be
removed from the sets when they are supposed to be uploaded to the mirror.
2019-10-13 15:46:07 +02:00
Franco Fichtner 90b6c1bfb0 config: 19.1 is EoL, build from tag 19.1.10 if necessary 2019-07-10 07:37:55 +02:00
Franco Fichtner b22e911fab build: add `fingerprint' target 2019-07-02 08:26:40 +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 abb6224f92 make: CORE_PYHTON is 3 eventually.. start behaving that way now 2019-05-23 09:00:24 +02:00
Franco Fichtner abf4e17d2e build: propagate python versions to plugins and core 2019-05-21 04:12:56 +02:00
Franco Fichtner ed3c99c909 build/upload: sftp hurts my brain...
... but @adschellevis will be happier.  ;)
2019-05-08 06:22:54 +02:00
Franco Fichtner dc20e68b6d device: a10 -> A10 for consistency 2019-05-07 10:02:53 +02: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 c3555dfd65 composite: rename "refresh" to "hotfix" to explain itself 2019-01-18 08:55:05 +01:00
Franco Fichtner 189d73809e make: 19.1 can be the default, almost there 2019-01-18 07:43:09 +01:00
Franco Fichtner 93a6c11482 config: preparation for 19.1 nightly build 2019-01-09 07:56:03 +01:00
Franco Fichtner b40a399b0e config: split config of 18.7 and 19.1, Perl version differs 2019-01-07 18:05:27 +01:00
Franco Fichtner f8647df911 Framework: avoid job prefix output when '-j n' is used manually
Reported via IRC.
2019-01-02 16:07:00 +01:00
Franco Fichtner d322b6001b config: small tweak to be able to deactivate Python 3 2018-10-28 10:37:07 +01:00
Franco Fichtner 28d826cf0e config: oops :) 2018-10-28 08:38:31 +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 2f116d8a43 composite: let scripts be scripts 2018-10-12 08:37:45 +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
Franco Fichtner 418b0eec9a build/confirm: simple but effective confirmation dialog 2018-09-17 02:26:49 +02:00
Franco Fichtner 7315cf2f78 build: logs upload for nightly
Logs still have issues due to their incredible length, but
for now this makes daily checks easier than ever in any case.
2018-09-13 21:25:10 +02:00
Franco Fichtner 0f048f49be make: almost time for 18.7 2018-07-25 19:53:38 +02:00
Franco Fichtner c2ec836005 build/compress: compression stage; closes #56 2018-06-28 18:30:10 +02:00
Franco Fichtner 5aaa0f594a make: fix expansion 2018-04-05 08:23:30 +02:00
Franco Fichtner 8afd3a068c config: follow FreeBSD with Perl default switch 2018-04-03 02:47:38 +02:00
Franco Fichtner ac27bedd2d config: register all languages as modifiable versions 2018-04-01 08:34:46 +02:00
Franco Fichtner 2884a5fc8e build: add SERVER knob and PLUGINSENV 2018-03-17 09:13:29 +01:00
Franco Fichtner d5319cc130 build/download: another new helper
Also fetch logs from a remote build server, but skip all uncompressed
directories because it slows down the download.

Next are two minor modications for nightly logging that reduce the
size of the log history and should compress the logs right after
the build is done.
2018-03-15 08:46:57 +01:00
Franco Fichtner e865e6f2e7 build/upload: new helper 2018-03-14 10:06:45 +01:00
Franco Fichtner f8585664fe config: drop 17.7, switch to 18.1 by default 2018-01-29 19:48:25 +01:00
Franco Fichtner f7ff6eac8e make: there and back again...
PR: https://forum.opnsense.org/index.php?topic=6938.0
2018-01-22 18:56:43 +01:00
Franco Fichtner 8db0e616a2 make: build 18.1 by default 2018-01-22 06:47:58 +01:00
Franco Fichtner 77a6585b27 make: track SUFFIX on ADDITIONS 2018-01-15 21:38:52 +01:00
Franco Fichtner 0908e2c06b make: add CORE_ABI to COREENV 2018-01-03 15:58:01 +01:00
Franco Fichtner e0b86c22d0 make: it's time for PHP 7.1 2017-12-04 16:41:23 +01:00
Franco Fichtner 04b6970d8c build: simplify usage of PHP setting 2017-11-28 08:25:10 +01:00
Franco Fichtner 042334ef50 build: make PHP version selectable from the top 2017-11-27 21:33:27 +01:00
Franco Fichtner 8b60290ebf scripts: add refresh target, same same but different 2017-09-26 08:18:26 +02:00
Franco Fichtner 350fab299c build: remove by pkg glob alone, mixed port and plugins origin is tricky 2017-09-05 06:22:39 +02:00
Franco Fichtner 66f5ef1d6e build/arm: add arm-based image generation code
This doesn't fully work yet, the +POST_INSTALL of core and
possibly plugins does not like the cross-build env yet.
2017-09-03 11:13:17 +02:00
Franco Fichtner a50b1074d3 scripts: add them as make targets for easy access 2017-08-27 06:04:54 +02:00
Franco Fichtner e0e08e9a5b build: preinstall os-dyndns, as discussed in the forums 2017-08-09 09:56:22 +02:00
Franco Fichtner ee97b35d89 config: switch to 17.7 as the default build 2017-07-27 12:22:05 +02:00
Franco Fichtner 0d8d31308a build: add a GITBASE option to pass through, clone if necessary
This makes "make update" update all and clone if necessary, this
will hopefully help people running into out-of-sync issues between
repositories.
2017-07-16 04:57:46 +02:00
Franco Fichtner 405a7e18d8 build: add QUICK mode, skipping optional things 2017-06-26 09:11:14 +02:00
Franco Fichtner a91453f371 config: add COREENV override for differing setups 2017-06-26 00:47:16 +02:00
Franco Fichtner 44b205efcd build: switch ports sync to HardenedBSD 2017-06-13 06:41:04 +02:00
Franco Fichtner 6797a9f5c8 build/dvd: the script formerly known as cdrom
After much discussion and questions, we move to a DVD-ish nomenclature
to indicate that images are likely oversized for a CD. In any case,
the Virtual Machines don't care about this, but users deciding to try
OPNsense might.

Now is the time as the next images are likely going to be for 17.7.
2017-04-10 09:37:26 +02:00
Franco Fichtner 9aba709bbf build: update stuff for 17.1 and cross builds 2017-01-21 01:24:37 +01:00
Franco Fichtner e7bcd88360 build/update: simple update script 2017-01-12 08:22:37 +01:00
Franco Fichtner 9d6ed7db5c make: test depends on core, single line CI :) 2017-01-06 19:24:58 +01:00
Franco Fichtner d8a2f5cf73 build: allow to place packages/plugins in the final image 2017-01-05 18:40:55 +01:00
Franco Fichtner 58e57d3b37 make: add license header, file exists since 2015 2017-01-01 14:46:04 +01:00
Franco Fichtner 7a7a5c42e1 build/kernel: allow to build GENERIC through KERNEL=GENERIC 2016-12-26 11:08:46 +01:00
Franco Fichtner 37df87e7a3 build: implement argument passing for branch info 2016-12-23 16:55:19 +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 b2fbf5db23 build/info: print repository information 2016-12-22 10:33:51 +01:00
Franco Fichtner b94bd877e8 add nano to release again, all ready 2016-12-10 12:30:58 +01:00
Franco Fichtner a92245adb8 disable nano for 17.1-BETA 2016-11-28 09:02:02 +01:00
Franco Fichtner deb4472a22 build/verify: add verification support for signatures 2016-10-06 23:40:57 +02:00
Franco Fichtner 652894a1bb build/rename: helper for handling base and kernel sets 2016-09-22 18:37:56 +02:00
Franco Fichtner f4f0df9efe build: switch to 16.7 as the default build 2016-07-22 08:19:18 +02:00
Franco Fichtner 263b143b76 build: uname -p 2016-07-21 21:40:28 +02:00
Franco Fichtner bda0830a43 build: arch-dependent STAGEDIR, print target, clean-obj target 2016-07-19 08:39:00 +02:00
Franco Fichtner 440dd65e70 build/xtools: new target, more cross-buid fun 2016-07-18 08:38:36 +02:00
Franco Fichtner 20517931c8 build: introduce PRODUCT_ARCH for cross-building 2016-07-17 15:47:49 +02:00
Franco Fichtner e1a4e36eec build: decpouple top package suffix 2016-07-12 07:22:57 +02:00
Franco Fichtner dbe29b5a31 build: allow UEFI override 2016-07-11 08:52:52 +02:00
Franco Fichtner 44c05c3061 build: bring back "vga", different approach incoming... 2016-07-11 07:53:52 +02:00
Franco Fichtner 772d00b702 build/ports: clear plugins and core when redoing ports 2016-07-10 16:52:19 +02:00
Franco Fichtner 6c00be225f build: allow signing keys to exist in CONFIGDIR 2016-07-05 08:57:14 +02:00
Franco Fichtner 95725b3b28 build/uefi: instead of vga, we build uefi (amd64 only) 2016-07-02 11:34:53 +02:00
Franco Fichtner 224768c701 build/sign: allow to sign all available sets; closes #35 2016-07-02 10:58:02 +02:00
Franco Fichtner c101d3f741 make: vm builds are out of release scope 2016-07-02 10:04:09 +02:00
Franco Fichtner 71a6e923d8 build/test: renamed from regress 2016-05-23 23:44:10 +02:00
Franco Fichtner a2499c724b build/boot: bhyve(8) test drive 2016-05-23 23:07:39 +02:00
Franco Fichtner f4f7723881 build: migrate serial handling used by nano and serial image
Can now set SPEED=115200 during the build step for maximum flexibility.
2016-05-23 22:06:57 +02:00
Franco Fichtner 47e3722cad make: add back definition of sets and images
While at it, remove the "everything" target as it now requires
roughly 5G RAM (nano build) and 22G hard disk (default vm build)
in order to work at all.  Boy, we have come a long way.  ;)

Instead, just offer to build a cdrom image which should not take
up too much hard disk space and RAM as people will likely run
the their own build systems out of specs.
2016-05-21 12:24:16 +02:00
Franco Fichtner afcc94c124 build/cdrom: renamed from iso for consistency
Also tracer code for rebuild skip awareness...
2016-05-21 11:33:29 +02:00
Franco Fichtner a38058f0dc build/vm: add various VM disk images to the mix; closes #9 2016-05-20 16:12:11 +02:00
Franco Fichtner 45e845451e device: allow for device-specific extras; closes #31 2016-05-06 06:55:01 +02:00
Franco Fichtner 32c2f5e21c build: split serial / vga stages; closes #29 2016-05-05 16:50:04 +02:00
Franco Fichtner c3e9bf2964 build: distfiles require base set
PR: https://forum.opnsense.org/index.php?topic=2563.0
2016-03-25 11:29:50 +01:00
Franco Fichtner 1829ce5046 core: treat all builds as release, stable branch is now "stable" 2016-03-12 00:11:50 +01:00