Commit Graph

32 Commits

Author SHA1 Message Date
0f4b319ea1 added a couple of information messages 2019-01-15 16:59:12 -05:00
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
851da8a98c sort partitions by path 2019-01-15 16:53:39 -05:00
91530279cf Rename target to image_data, make compression optional 2019-01-15 09:38:42 -05:00
41179a720d Add an option to choose to build a compressed image or not 2019-01-15 09:37:40 -05:00
6e5ec2ec1b Update ring dependency to latest 13.x version 2019-01-15 09:22:57 -05:00
26cdaed973 Don't use /etc/citadel-channel anymore 2019-01-15 09:22:22 -05:00
bda6410d7b Use new timestamp metainfo field to compare images with same version. 2019-01-07 19:00:02 -05:00
da0922c29d Add mandatory timestamp field to image metainfo 2019-01-07 18:59:21 -05:00
8e341d6005 Mount tmpfs overlay over rootfs if citadel.overlay is set 2019-01-06 18:15:44 -05:00
96429ed4c7 remove old comment information 2019-01-06 18:06:42 -05:00
db820aff68 Rename modules image to kernel image and add some extra metadata 2019-01-06 18:05:05 -05:00
c992b32946 Use $PATH lookup for xz and sha256sum when building image 2019-01-05 20:40:07 -05:00
c580d784ff calculate image shasum 2019-01-05 20:39:17 -05:00
dc9a49fd8a Clean up keys api 2019-01-05 20:38:57 -05:00
b59188311d Don't pass config file around, it's a lazy_static now 2019-01-05 20:34:22 -05:00
434c19433e enable signature verification by default 2019-01-05 20:25:28 -05:00
849c746415 config file refactored to parse /etc/os-release
No need for separate config file, just add a few variables to os-release
2019-01-05 20:24:52 -05:00
d1ca341f9a parse citadel.channel command line option
Option takes a string argument which identifies the channel which should
be expected when mounting images. The channel name can optionally be
followed by a colon and a hex encoded public key for the channel.
2019-01-05 20:22:36 -05:00
2bab6a438f When generating initial hashtree, use $PATH to find veritysetup
The initial hashtree is generated during the yocto build, so we
want to use veritysetup from the path (to use cryptsetup-native)
rather than try to find veritysetup on the build host.
2019-01-05 20:15:37 -05:00
b7b27b039c If command not absolute path, confirm it exists by searching $PATH 2019-01-05 20:13:45 -05:00
9f6ba7e619 an exec_cmdline function which suppresses all output 2019-01-03 10:49:42 -05:00
140257208a No need to use a loop device here 2019-01-03 10:49:09 -05:00
58a58e234f Search for images in a directory by metainfo rather than filename. 2019-01-02 13:30:27 -05:00
011a4b80ea add kernel-version field to metainfo 2019-01-02 13:30:27 -05:00
27758b9a1a Add missing argument to error message 2019-01-02 13:30:27 -05:00
d2f07c01bf Fix the read-only themes directory problem in realms.
Now the themes and icons are bind mounted to /opt/share and
symlinks in the realm image point here.
2018-12-31 18:28:07 -05:00
4099f19f4b Big refactor for citadel installer 2018-12-31 18:27:17 -05:00
109f007e33 migrate other citadel-tools to external repository 2018-12-14 10:10:15 -05:00
18ba0fc4a3 add missing argument to error message 2018-12-13 08:28:32 -05:00
f513af539f oops, this is the intended layout 2018-12-11 11:30:17 -05:00
73b7878ca0 initial commit 2018-12-11 11:19:12 -05:00