Bruce Leidl
3782668514
Refactor how images are built to support realmfs images
...
Main change in building images is that an empty 4096 byte block is
prepended to raw image before compression so that upon decompression
the header can be written without having to shuffle around decompressed
image.
2019-01-29 11:50:10 -05:00
Bruce Leidl
ff115e6005
Put everything into a single workspace
2019-01-17 11:03:37 -05:00
Bruce Leidl
c864e58f6d
external crate declarations no longer needed
2019-01-17 09:39:06 -05:00
Bruce Leidl
b258604fd0
Updated everything for Rust 2018 with cargo fix --edition
2019-01-17 09:25:24 -05:00
Bruce Leidl
29f487a16e
set PREFER_BOOT flag by default when installing a rootfs partition
2019-01-17 09:11:18 -05:00
Bruce Leidl
0f4b319ea1
added a couple of information messages
2019-01-15 16:59:12 -05:00
Bruce Leidl
4f603cf4d4
add two flags to install-rootfs, --just-choose and --skip-sha
...
--just-choose will print information about which partition would be
chosen to install a rootfs image.
--skip-sha will avoid checking the sha256 sum of the image file. This
is mainly meant for use by the installer since the sum has already
been confirmed
2019-01-15 16:56:03 -05:00
Bruce Leidl
91530279cf
Rename target to image_data, make compression optional
2019-01-15 09:38:42 -05:00
Bruce Leidl
41179a720d
Add an option to choose to build a compressed image or not
2019-01-15 09:37:40 -05:00
Bruce Leidl
6e5ec2ec1b
Update ring dependency to latest 13.x version
2019-01-15 09:22:57 -05:00
Bruce Leidl
da0922c29d
Add mandatory timestamp field to image metainfo
2019-01-07 18:59:21 -05:00
Bruce Leidl
db820aff68
Rename modules image to kernel image and add some extra metadata
2019-01-06 18:05:05 -05:00
Bruce Leidl
c992b32946
Use $PATH lookup for xz and sha256sum when building image
2019-01-05 20:40:07 -05:00
Bruce Leidl
c580d784ff
calculate image shasum
2019-01-05 20:39:17 -05:00
Bruce Leidl
dc9a49fd8a
Clean up keys api
2019-01-05 20:38:57 -05:00
Bruce Leidl
011a4b80ea
add kernel-version field to metainfo
2019-01-02 13:30:27 -05:00
Bruce Leidl
4099f19f4b
Big refactor for citadel installer
2018-12-31 18:27:17 -05:00