Commit Graph

163 Commits

Author SHA1 Message Date
Franco Fichtner 83b2df4101 README: small note about DEVELBRANCH 2019-02-24 19:16:22 +01:00
Franco Fichtner a999844f36 device: bpi.conf and cross-build docs #113 2019-02-13 21:39:48 +01:00
Franco Fichtner c058582d0c config: switch to Banana Pi 2019-02-11 17:39:43 +01:00
Franco Fichtner 7dad9dd7b1 README: update 2019-02-01 15:56:06 +01:00
Franco Fichtner c3555dfd65 composite: rename "refresh" to "hotfix" to explain itself 2019-01-18 08:55:05 +01:00
Franco Fichtner 4318419f85 README: typo 2019-01-17 16:54:50 +01:00
Franco Fichtner 3c995be906 EADME: document previous 2019-01-17 16:54:12 +01:00
Franco Fichtner 6c3af6aed8 build/info: zap useless feature 2018-11-02 08:49:52 +01:00
Franco Fichtner 2d3f285bcc build/ports: rewrite caching; closes #101
At the price of more temporary build storage and initial double-
creation of packages this avoids all duplicated builds of build-
time dependencies and automatically discards them at the end.
2018-10-25 07:55:19 +02:00
Franco Fichtner 36821599d2 README: update docs to reflect reality 2018-09-20 08:50:07 +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 8f1ba252e4 build/compress: one more tweak 2018-06-28 18:33:31 +02:00
Franco Fichtner 7d09af0559 README: fix previous 2018-06-28 18:31:59 +02:00
Franco Fichtner c2ec836005 build/compress: compression stage; closes #56 2018-06-28 18:30:10 +02:00
Franco Fichtner 5b94de96d7 README: fix lies 2018-03-17 21:17:16 +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
tpltnt e431e48db5 added a link to FreeBSD 2018-02-26 17:40:21 +01:00
Franco Fichtner 47cfcf9dd6 README: it's 11.1 now 2018-02-16 12:22:49 +01:00
Franco Fichtner 58e1c6e0c0 build: change paths to build directories
Discussed with: @adschellevis
2017-10-23 09:55:24 +02:00
Franco Fichtner 8b60290ebf scripts: add refresh target, same same but different 2017-09-26 08:18:26 +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 a7860ec944 config: modifications for upcoming PRI2 test build 2017-08-29 09:24:46 +02:00
Franco Fichtner 7b2db9a45b README: fix typo spotted by @fabianfrz 2017-08-28 06:59:59 +02:00
Franco Fichtner 323fc584f7 README: also document the build script additions 2017-08-27 06:37:47 +02:00
Franco Fichtner bd8d9cfda9 README: restructure the documentation
While here, also add sub-headings to allow direct links with anchors
to the relevant section.
2017-08-27 06:28:55 +02:00
Franco Fichtner dec5379405 build: at least allow to clean the log directory 2017-08-05 13:18:52 +02:00
Franco Fichtner a7112fd3e4 build: simplify the setup / update of repos
The `update' target has made several advances in the last months,
so that it can be used to collect new changes, switch to the correct
branch and also clone repositories as needed.
2017-08-05 12:45:13 +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 cd9625de12 build: remove opnsense-stable package varienty; closes #47 2017-03-17 13:16:02 +01:00
Franco Fichtner 9aba709bbf build: update stuff for 17.1 and cross builds 2017-01-21 01:24:37 +01:00
Franco Fichtner 5561611ad4 README: lower RAM requirements in guide, nano was rewritten
PR: https://forum.opnsense.org/index.php?topic=3479.45
2017-01-14 09:41:11 +01:00
Franco Fichtner e7bcd88360 build/update: simple update script 2017-01-12 08:22:37 +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 b1454cfffc README/LICENSE: bumpy copyright and make separate file 2017-01-01 14:43:57 +01:00
Franco Fichtner 7a7a5c42e1 build/kernel: allow to build GENERIC through KERNEL=GENERIC 2016-12-26 11:08:46 +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 13dbe51cc4 config: allow flavoured build against Base crypto 2016-12-11 09:06:12 +01:00
Franco Fichtner f81bf3d296 build/nano: brave early tester said too big for some SD cards
Let's tone this down considerably, we have growfs to fix this
afterwards anyway.
2016-12-03 22:17:51 +01:00
Franco Fichtner 54fa4c1dc7 build/nano: complete revamp leaving NanoBSD behind
Images are clamped to just under 4G with a single slice
in a hybrid manner of vm/serial images.  This should
provide wide compatibility and fit any 4G card, and can
then be expanded to whatever we really have using growfs.

Smaller images are possible too, but not recommended due
to the fact that firmware upgrades need to be downloaded
and extracted.  We could make 2G the new default, but
future size requirements and a steady 4G image seem like
a more favourable goal in the long term.
2016-12-02 21:24:10 +01:00
Franco Fichtner deb4472a22 build/verify: add verification support for signatures 2016-10-06 23:40:57 +02:00
Franco Fichtner 8da1ceeed5 build/rename: use VERSION rather than NAME 2016-10-05 00:35:27 +02:00
Franco Fichtner 652894a1bb build/rename: helper for handling base and kernel sets 2016-09-22 18:37:56 +02:00
Franco Fichtner 46ccc04657 README: this is FreeBSD 10.3-RELEASE now 2016-08-02 20:37:36 +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 767afa741f build: more on cross-building using qemu 2016-07-18 07:16:57 +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 81d78b75fc build/clean: allow ports, plugins and core clean; closes #36 2016-07-05 09:33:20 +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 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 78369f4817 README: mention vm too 2016-05-21 20:18:54 +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 4fd5588fbc README: fix according to previous 2016-05-21 11:09:29 +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 a38058f0dc build/vm: add various VM disk images to the mix; closes #9 2016-05-20 16:12:11 +02:00
Franco Fichtner 7408b02193 README: document previous a bit more 2016-05-06 07:16:47 +02:00
Franco Fichtner 2c032f8cd3 build: tweak previous 2016-05-05 16:55:44 +02:00
Franco Fichtner 32c2f5e21c build: split serial / vga stages; closes #29 2016-05-05 16:50:04 +02:00
Franco Fichtner f825a0548f build/chroot: add small helper for this operation 2016-02-28 23:16:37 +01:00
Franco Fichtner 93813ed8ec README: update to 10.2-RELEASE 2016-02-22 06:05:58 +01:00
Franco Fichtner b1e3839f69 make: tweak previous 2016-02-02 21:09:59 +01:00
Franco Fichtner e66a0dc49c make: document and rename for clarity 2016-02-02 21:08:53 +01:00
Franco Fichtner ee8c114a34 make: defer kernel build until really really needed 2016-02-02 20:21:32 +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 675aec1a0a build/prefetch: make it like clean, add packages option 2016-01-31 17:42:43 +01:00
Franco Fichtner 3503b89f8a build/prefetch: add a script to load compiled base/kernel
In most cases, one wants to skip building the sources and go straight
for packages and all...
2016-01-31 12:02:39 +01:00
Franco Fichtner 7b3572e6be build/checkout: remove obsoleted script 2016-01-27 10:08:48 +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 ba31be3ec1 README: happy new year :) 2016-01-01 08:33:23 +01:00
Franco Fichtner df0ee582fb build/rebase: feed base set changes back into repository 2015-12-26 10:21: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 c05bbf0235 build: rename `source' to `src' for consistency with src.git 2015-09-20 00:23:48 +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 b3c8fdaa9c build/core: if arguments are given, build all of those 2015-07-24 12:24:14 +02:00
Franco Fichtner 6954728356 README: plugins before core now 2015-07-17 17:56:54 +02:00
Franco Fichtner d9ce7a0bd9 build/plugins: add the plugins pass for packages 2015-07-09 14:49:23 +02:00
Franco Fichtner 202a23ff2b build/clean: better synoym for clean step 2015-06-29 16:43:37 +02:00
Franco Fichtner 634a50fb7c config: change config handling again; decouples NAME and SETTINGS 2015-06-12 08:01:54 +02:00
Franco Fichtner a5814e2465 build/checkout: remove git_clear in favour of proper stage; #8
This will make it a bit harder to build clean sets in the future,
but it has been requested so here it is.  ;)
2015-06-09 09:54:47 +02:00
Franco Fichtner 1b823b4251 build/skim: document the script plus small fix 2015-05-22 10:28:41 +02:00
Franco Fichtner 5e0315fe4d README: tweak previous; the tag is optional 2015-05-17 20:10:09 +02:00
Franco Fichtner cb0931db96 make: expand target arguments for easier access
Instead of

    # make ports ARGS="foo bar pkg"

we can now do

    # make ports-foo,bar ports-pkg clean-obj

whereas clean's "obj" argument does not leak into ports.
2015-05-17 19:49:45 +02:00
Franco Fichtner 064409e3da README: shut up and take my money 2015-05-16 13:55:11 +02:00
Franco Fichtner bcc68c8bd6 build: route the cleaning of individual sets through clean target 2015-05-16 13:25:53 +02:00
Franco Fichtner 5b550b2045 build: add a Makefile as a sane launch pad...
o Talking to Shawn Webb revealed that build.conf behaviour is
  still fragile.  This will properly invoke all build steps with
  the variables that are allowed to be overridden.

o Adds an external CONFIG that is allowed to set NAME, VERSION,
  FLAVOUR.

o Remove persistent environment awareness.

o Document the whole thing.

There's still some things to do in order to do parallel builds,
but at least now the build scripts can't be poisoned by a changing
config file underneath.
2015-05-16 11:44:14 +02:00
Franco Fichtner 6857fc00d0 README: add info about configure.sh 2015-05-12 14:54:52 +02:00
Franco Fichtner 3bb6fb6938 build: refresh packages via set
Lots of changes, mostly to merge the cool layout of kernel and base
sets with the packages approach.  What happens now is that ports.sh
and core.sh generate a packages set all the time so that it is portable
and can be pushed to a web server too if needed.
2015-05-08 15:13:21 +02:00
Franco Fichtner ba0a6abc11 README: update the info a little 2015-04-27 12:12:40 +02:00
Franco Fichtner 5aadb13689 build/nano: first pass for embedded images; fixes #5
Builds an image that loads in bhyve, but might still need some more
tweaking.  We don't have two slices.  I am not sure if they'll be
back soon.  Not sure if these images are ready for release as well,
but at least now we have the script for providing initial snapshots.
2015-04-23 18:48:57 +02:00
Franco Fichtner 55e98186bf README: fix missing copyright assignments
We want to put all explicit contributors here as well for a quick
glance.  Credit where credit is due!
2015-03-24 08:38:30 +01:00