Commit Graph

270 Commits

Author SHA1 Message Date
e4c3e7a71d bump ver and add install step 2023-12-07 16:57:30 -03:00
gryrmln
3013804561
Quieten some side-effect console output (zlibs/{bootstrap,imaging})
Signed-off-by: gryrmln <gryrmln@localhost>
2021-04-12 17:26:26 +01:00
gryrmln
560371647a
Mount the host sys,dev,dev/pts as read-only for bootstrap (zlibs/helpers)
Signed-off-by: gryrmln <gryrmln@localhost>
2021-04-12 17:22:04 +01:00
gryrmln
3e687958ac
NOTE: potential for recursive calling (zlibs/helpers)
Signed-off-by: gryrmln <gryrmln@localhost>
2021-04-02 12:10:59 +01:00
gryrmln
27175c1556
GNU Terry Pratchett (zlibs/helpers)
Signed-off-by: gryrmln <gryrmln@localhost>
2021-04-02 12:09:32 +01:00
gryrmln
1952888e18
Add F2FS support for bootfs and rootfs (zlibs/imaging)
Signed-off-by: gryrmln <gryrmln@localhost>
2021-04-02 12:07:47 +01:00
gryrmln
424a3966d2
Quieten some side-effect console output (zlibs/imaging)
Signed-off-by: gryrmln <gryrmln@localhost>
2021-04-02 12:05:22 +01:00
gryrmln
25a86b7428
Check no mounts prior to 'sudo rm -rf' (zlibs/{helpers,bootstrap})
Signed-off-by: gryrmln <gryrmln@localhost>
2021-04-02 12:00:46 +01:00
gryrmln
3cffb94e5c
Handle /tmp/user/0 encroachment into dpkg scripts (zlibs/helpers)
Signed-off-by: gryrmln <gryrmln@localhost>
2021-04-02 11:54:49 +01:00
gryrmln
7b9e09795f
Fix ckreq variables (zlibs/imaging)
Signed-off-by: gryrmln <gryrmln@localhost>
2021-04-02 11:48:32 +01:00
gryrmln
647e0f65c6
Suppress 'chattr' errors occurring non-copy_on_write fs (zlibs/imaging)
Signed-off-by: gryrmln <gryrmln@localhost>
2021-04-02 11:43:42 +01:00
parazyd
0804679ca0
Fix cgpt calls. 2021-03-25 21:27:40 +01:00
parazyd
5ee872a2ab
Fix cgpt typo. 2021-03-25 21:20:20 +01:00
parazyd
4d0a0374df
imaging: Add gpt partitioning. 2021-03-25 20:43:01 +01:00
parazyd
b7b635558d
Compile qemu-wrapper if running on Gentoo. 2021-01-28 23:51:40 +01:00
parazyd
e2876ea69f
Use UUID for fstab in virtual machine builds.
This solves issues when booting virtio-type drives.
2021-01-13 18:59:16 +01:00
parazyd
580fecb67c
Set SOURCE_DATE_EPOCH to 1610550434.
This should help with determinism/reproducibility.
2021-01-13 16:07:58 +01:00
parazyd
7eb4f57883
Update license headers. 2020-12-23 09:10:47 +01:00
parazyd
643deaf91a
Rerun bootstrap_stage4 after extracting the stage4 archive.
This is helpful if we have some new packages to install.
2020-11-16 11:22:00 +01:00
parazyd
05d82e0d05
Append some extra flags to cpio calls. 2020-11-16 11:19:40 +01:00
parazyd
8e7a779237
Add fstab override for VM to mount /boot. 2020-11-13 11:26:10 +01:00
parazyd
9a1874d072
Remove the raw VM image if not requested at build time. 2020-11-13 11:21:31 +01:00
parazyd
aedf124832
Overhaul the entire library.
This commit is a "complete" overhaul of libdevuansdk and is a likely
breaking change for all the sdks. They will be updated accordingly.

Notable changes:
    * Bootstrap tarballs are now cpio archives.
    * Error handling is improved a lot.
    * rsync is avoided and cpio is used where necessary.
    * debootstrap submodule is removed and system-wide debootstrap is
      used instead.
    * VMs aren't being built inside an nbd device anymore. They are now
      built normally on the filesystem, and copied into a raw image
      which is then converted to requested formats (qcow and/or vdi).
    * Vagrant build support is completely dropped.
    * apt-cache functionality is completely dropped.
    * The full-build helper functions are renamed and and separated into
      more internal functions/steps.
    * Obsolete and unused code is removed.
2020-11-13 10:04:52 +01:00
parazyd
0611dccb17
Fix tar typo. 2020-06-22 22:48:24 +02:00
parazyd
b6f57c3894
Fix tar call. 2020-06-22 12:38:54 +02:00
parazyd
58862d1ced
Try to preserve acls and xattrs when tarring. 2020-06-22 11:06:01 +02:00
parazyd
7108866f0d
Try to get tarballs to actually work when booted. 2020-06-15 16:26:53 +02:00
parazyd
2df95e5bd4
Include wget and ca-certificates packages by default in debootstrap. 2020-03-12 10:14:03 +01:00
parazyd
34d263c807
Simplify conf_print_hosts(). 2020-03-12 10:13:11 +01:00
parazyd
a3b1efff8c
allow-hotplug eth0 in zlibs/sysconf. 2019-11-01 16:17:50 +01:00
parazyd
56a3d4288d
Flash u-boot in image_pack_dist where applicable. 2019-05-20 20:31:21 +02:00
parazyd
63163a0772
Use a random number when naming the prevagrant image. 2019-02-28 00:39:56 +01:00
parazyd
3eee81ee50
Add support for pixz in zlibs/imaging. 2019-02-26 01:04:49 +01:00
parazyd
c1c6fc8c06
Fix path to base-cloud.qcow2 and use [[ instead of [ for test. 2018-10-08 15:45:37 +02:00
parazyd
589d62ca0e
Add support for cloud-based VM images. 2018-10-08 12:36:15 +02:00
parazyd
2cf0d648ba
Remove 'quiet' from GRUB kernel cmdline params in VM. 2018-09-18 14:40:14 +02:00
parazyd
458be78366
Add a configuration option to toggle compressing the final image. 2018-08-28 13:08:15 +02:00
Merlijn Wajer
c2b76f4f0a
Preserve xattrs when copying static qemu binaries. 2018-08-27 18:05:04 +02:00
parazyd
b2d36cd499
Fix a typo made in the previous commit 2018-03-13 20:32:11 +01:00
parazyd
a6a8838d20
Implement variable rootfs types as well. 2018-03-13 20:11:45 +01:00
parazyd
2d4e038046
Add variable bootfs formatting opts. 2018-03-13 20:10:34 +01:00
parazyd
fa3c7ea707
Fixes to zlibs/vm to reflect others. 2018-03-13 12:36:17 +01:00
parazyd
e94ba2a34d
vmsdk: Pack the .vdi as well. 2018-02-07 10:19:49 +01:00
parazyd
f09da24f08
Add blend_bootstrap_setup in zlibs/bootstrap 2018-01-26 11:53:14 +01:00
parazyd
b55e69b618
fixup! Separate tarring of the strapdir into its own func. 2018-01-16 14:46:03 +01:00
parazyd
ceb7259fd9
Separate tarring of the strapdir into its own func. 2018-01-16 13:04:08 +01:00
parazyd
601ce75903
Make e2fsck work noninteractive 2018-01-09 12:15:48 +01:00
parazyd
cf71a581e3
Use mkdir -p when mounting image, or before rsyncing. 2018-01-03 13:14:44 +01:00
parazyd
95146870fe
Fixes regarding live-sdk. 2017-12-16 20:35:23 +01:00
parazyd
c09251517d
Fixes to bootstrap phase regarding vm-sdk. 2017-12-16 19:04:23 +01:00