Commit Graph

76 Commits

Author SHA1 Message Date
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
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
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
7eb4f57883
Update license headers. 2020-12-23 09:10:47 +01:00
parazyd
05d82e0d05
Append some extra flags to cpio calls. 2020-11-16 11:19:40 +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
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
56a3d4288d
Flash u-boot in image_pack_dist where applicable. 2019-05-20 20:31:21 +02:00
parazyd
3eee81ee50
Add support for pixz in zlibs/imaging. 2019-02-26 01:04:49 +01:00
parazyd
458be78366
Add a configuration option to toggle compressing the final image. 2018-08-28 13:08:15 +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
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
5c9bc1a0a4
generate sha256 for the tarballs 2017-10-27 20:33:14 +02:00
parazyd
858c37edee
fixup! add ext2 support for partitioning 2017-10-27 20:00:53 +02:00
parazyd
c018a20268
add ext2 support for partitioning 2017-10-27 19:22:48 +02:00
parazyd
6968ae2ffd
remove pixz support 2017-10-04 21:36:28 +02:00
Johny Mattsson
68c90d1ae9
Added explicit var to control boot fs type.
Since use of GPT does not necessarily imply lack of wanting the boot
partition formatted and mounted.
2017-10-03 09:42:19 +02:00
parazyd
cb7edb49bf
Merge branch 'next' 2017-09-25 12:17:36 +02:00
parazyd
07d1f39ce6
fix xz discovery 2017-07-24 20:22:21 +02:00
parazyd
192a58f259
zlibs are not executable 2017-07-20 13:55:22 +02:00
Jaromil
18f4c0b072 added support for different filesystems in qcow2 imaging strapdir 2017-07-19 16:58:32 +02:00
parazyd
6cdae5fd4d
fix $_xz bug 2017-06-26 18:46:05 +02:00
parazyd
eb25c1df0e
apply gio's patch to set bootable flag on the vfat partition 2017-06-26 17:58:49 +02:00
parazyd
46f32b43a4
no need for mappdevice in image_pack_dist 2017-06-26 17:58:44 +02:00
parazyd
09d62450cb
proper partx support 2017-06-26 17:58:44 +02:00
parazyd
c9473e5f46
deprecate kpartx in favor of partx 2017-06-26 17:58:43 +02:00
parazyd
e7d9cb5ceb
try a different xz call with an array 2017-06-26 17:58:43 +02:00
parazyd
07e11b132b
apply gio's patch to set bootable flag on the vfat partition 2017-06-16 14:24:59 +02:00
parazyd
4c80ff10ef
no need for mappdevice in image_pack_dist 2017-05-15 17:08:41 +02:00
parazyd
d693431e25
fixup! proper partx support 2017-05-15 16:33:44 +02:00
parazyd
bcfc231bdd
proper partx support 2017-05-15 16:05:03 +02:00
parazyd
23cc6fc711
deprecate kpartx in favor of partx 2017-05-15 13:57:01 +02:00
parazyd
dac77409c2
try a different xz call with an array 2017-05-05 18:48:21 +02:00
parazyd
063f900791
fix gpt imaging 2017-04-12 18:25:34 +02:00
parazyd
5b791c9ef0
fixup! support pixz for compressing images faster 2017-04-12 17:14:17 +02:00
parazyd
3c25285d5c
support pixz for compressing images faster 2017-04-12 16:59:13 +02:00
parazyd
32c372909a
limit code to 80ch width 2017-03-18 21:30:58 +01:00
parazyd
0e2810b75c
hack around .keep for tarball 2017-02-15 16:32:37 +01:00