Commit Graph

157 Commits

Author SHA1 Message Date
Franco Fichtner 6c00be225f build: allow signing keys to exist in CONFIGDIR 2016-07-05 08:57:14 +02:00
Franco Fichtner 483dbce9d8 build: append to loader.conf instead of rewrite 2016-07-04 09:03:10 +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 81213cc8be build: clear markers that need redo after run 2016-06-28 20:34:11 +02:00
Franco Fichtner bb1deef226 build/test: test plugins against core package, also lint 2016-06-03 12:12:07 +02:00
Franco Fichtner e781418aae build: simplify custom package metadata creation step 2016-05-26 08:10:30 +02:00
Franco Fichtner b880044e04 build/plugins: keep git and pkg installed for a speedup 2016-05-26 07:27:09 +02:00
Franco Fichtner 71a6e923d8 build/test: renamed from regress 2016-05-23 23:44:10 +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 7576ae0816 build: remember image progress 2016-05-21 11:54:42 +02:00
Franco Fichtner 9aa9108ae5 build: stagify remaining pieces
This will not taint the build system except for the final
sets and image dirs.  Helps in keeping the build system
clean and that it's easier to inspect the build step.

While there, expand chroot to take a subdir argument as
some build steps need the STAGEDIR root for more than a
single purpose.
2016-05-21 10:43:10 +02:00
Franco Fichtner 02936668d7 build: code review additions 2016-05-20 22:38:10 +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 8e81c7922d build: small typo with new DEVICE option 2016-05-06 07:07:24 +02:00
Franco Fichtner 45e845451e device: allow for device-specific extras; closes #31 2016-05-06 06:55:01 +02:00
Franco Fichtner ddd58223cb build: make extras hook test a bit more portable and traceable 2016-05-05 22:37:51 +02:00
Franco Fichtner 3ca6d0cd5d build: add extras.conf with per-type hook, idea by @lattera; closes #30 2016-05-05 17:33:56 +02:00
Franco Fichtner 32c2f5e21c build: split serial / vga stages; closes #29 2016-05-05 16:50:04 +02:00
Franco Fichtner 23f7d50e40 build: also ignore private plugins 2016-04-20 20:01:42 +02:00
Franco Fichtner ed1ba8be37 build: source SERIAL_* variables from common 2016-03-30 18:25:43 +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 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 920838ded1 build: move stagedir to unique location to enable parallel flavour build 2016-02-28 23:09:27 +01:00
Franco Fichtner 19562b3dec build: refactor to pass custom sign commands 2016-02-17 22:04:20 +01:00
Franco Fichtner 4b9bde5a90 build: add setup_entropy idea by @lattera the FreeBSD way 2016-02-04 21:55:29 +01:00
Franco Fichtner f3f062de66 build/prefetch: choose a random mirror that can take a beating or two 2016-02-02 20:56:10 +01:00
Franco Fichtner 426cccbd93 build/ports: must remove uninstalled deps too for previous 2016-02-01 20:23:29 +01:00
Franco Fichtner 180ecff083 build: adapt a patch by @lattera to directly set PUBKEY+PRIVKEY 2016-02-01 18:07:20 +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 de44675921 build: move stage dir to /usr/obj/stage 2016-01-24 09:33:38 +01:00
Franco Fichtner 23fda3eec1 build: make images behave a little more like the rest of the system
Build only one at a time by cleaning up the old one individually.
While there, update the README to reflect reality.
2016-01-20 17:45:36 +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 7836972bd0 build: emit signing message only when signing 2015-12-26 17:37:52 +01:00
Franco Fichtner 0eaa7c02bb build: generate signatures for kernel and base set 2015-12-25 23:52:32 +01:00
Franco Fichtner 3e112d2369 build/common: sign the bootstrap package as well
Taken from: Poudriere
2015-11-17 20:10:41 +01:00
Franco Fichtner a44c08adcc build: fix previous, always manage to forget getopt :) 2015-10-30 19:01:42 +01:00
Franco Fichtner e213702060 build: add override for signing keys #20
The logic of scripts dir was that it doesn't need build dir foo,
which isn't true anymore for the pkg_* scripts so that needs to
be shuffled now.
2015-10-30 07:32:21 +01:00
Franco Fichtner 5e0d2230ca build/distfiles: use it whenever possible 2015-09-11 22:18:34 +02:00
Franco Fichtner 78d5d789f3 build: omit plugin install, it's this is unnecessary 2015-09-10 19:02:01 +02:00
Franco Fichtner d5340349f7 build: fix previous 2015-09-10 17:41:01 +02:00
Franco Fichtner 6faee0986e build: improve error reporting when packages are not there 2015-09-10 15:50:04 +02:00
Franco Fichtner e093cc884c build: allow type to be overridden; fixes #19
Building has gotten pretty complicated with the introduction
of opnsense-devel pacakges, which will be further complicated
by doing opnsense-stable soon enough...

This needs more smarts, but for now the README works again.
This only affects image builds.
2015-09-09 15:58:42 +02:00
Franco Fichtner 93e8a6381d config: os-update is now known as opnsense-update 2015-08-25 11:30:47 +02: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 2dd7845ad0 build: fix removal path 2015-07-24 13:28:03 +02:00
Franco Fichtner b3c8fdaa9c build/core: if arguments are given, build all of those 2015-07-24 12:24:14 +02:00