Commit Graph

24 Commits

Author SHA1 Message Date
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 9106a696e9 build/vm: apparently gptzfsboot is needed here for some devices 2022-05-19 15:53:34 +02:00
Franco Fichtner 4fc25e4305 build/vm: align efi partition with installer; closes #276 2022-02-23 13:49:16 +01:00
Franco Fichtner 9dfa2d964e composite/factory: omit the GPTDUMMY partition
We want to reserve the last partition for later swap use.
2022-02-23 13:13:26 +01:00
Franco Fichtner 5f64cb5902 composite: add factory target 2022-02-17 15:32:21 +01:00
Franco Fichtner e782af9d8a build/vm: support bundling a ZFS image; closes #272
Flip the order of root and swap to allow VM image to grow.
Hook this up in extras.conf and also retrofit a serial console
for being able to test and debug in bhyve (build/boot).

Omit the use of a GPT root label in the ZFS case to deal with
devices names in the way that bsdinstall sets it up.  It is
not all that important for ZFS anyway.

The setup likely needs further testing and tweaking to make
sure we emulate bsdinstall zfsboot script properly to avoid
future problems.
2022-02-17 11:46:13 +01:00
Franco Fichtner d6d65fc0b4 build: convert vm and vga scripts, minor errors elsewhere 2021-08-20 12:08:12 +02:00
Franco Fichtner feab3fbeaf build/vm: fix bugs in previous and flatten mkimg invoke 2021-07-26 13:51:23 +02:00
Christopher SHEN 91757dae56
Working aarch64 configs for 21.1 (#222) 2021-07-26 13:04:14 +02:00
Franco Fichtner 0f46176f1a build: replacement with vars just needs quotes
Simplify the code a little by using the SELF var instead
of hardcoding the type again.  This way some day the code
could be moved to common and reduce duplication further.
2021-02-23 11:30:48 +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 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 3f85f895e3 build/arm: sensible changes, some consolidation in other images 2017-09-05 06:14:01 +02:00
Franco Fichtner c56ebd53c9 build/arm: finish cross-building image, assorted cleanups 2017-09-03 12:36:50 +02:00
Franco Fichtner d78e69138a build: add image signatures via openssl digest 2017-07-24 09:07:23 +02:00
Franco Fichtner cccd73b433 build: always create 4 partitions instead of 3, Windows likes that
PR: https://forum.opnsense.org/index.php?topic=5121.0
2017-05-25 11:48:57 +02:00
Franco Fichtner df43aa9126 build: fix argument scrubbing, remove obsolete gettext-tools from core 2017-04-27 19:14:36 +02:00
Franco Fichtner 03d49db6d0 build/vm: also support UEFI 2016-10-13 09:46:47 +02:00
Franco Fichtner 20517931c8 build: introduce PRODUCT_ARCH for cross-building 2016-07-17 15:47:49 +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 97972eacf2 build/vm: append to fstab 2016-05-20 18:24:06 +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