Commit Graph

12 Commits

Author SHA1 Message Date
3dbfda2c40 Use less memory when decompressing images for install
1. Delete source image before decompressing temporary file
2. Decompress the images serially instead of spawning a thread for each
   one.
2022-05-27 18:06:52 -04:00
8d8f9b69ee Add citadel.revert-rootfs boot option
Forces booting from the older rootfs partition in case the newer
partition is broken or unbootable.
2021-10-04 06:09:26 -04:00
f665490a4d Support 16 bit device numbers 2021-04-28 08:01:46 -04:00
3cf87ee1da Add a subcommand to citadel-boot to create /boot automount units
And launch this subcommand from a systemd unit file, and use
systemd-mount to create the automount units instead of writing
them manually.
2020-12-07 17:18:17 -05:00
c9d36aca59 Refactor of error handling to replace 'failure' and to display more context for some errors. 2020-08-03 19:18:49 -04:00
8ec6f87a22 Install bzImage files with kernel version suffix 2019-08-21 00:39:41 -04:00
77f19777a8 Write automount unit files for /boot partition 2019-08-21 00:39:41 -04:00
ca521ef053 Improve boot partition detection by verifying ESP GUID value 2019-08-21 00:39:41 -04:00
7d89c47eb2 Clippy fixes 2019-04-03 16:05:09 -04:00
adbae8a971 updated to new libcitadel api 2019-04-02 15:26:09 -04:00
43800cdc6e Initial implementation of keyring
Keyring is an encrypted file to store secrets. The encryption key is
derived from the disk decryption passphrase so that the file can be
automatically decrypted and processed during boot.

The keys contained in the keyring file are loaded into the kernel key
store so that they can later be retrieved by other components.

Currenly during installation a signing key is generated and stored in
the keyring so that the system can transparently sign RealmFS images
when the user modifies or updates them.
2019-02-02 20:42:42 -05:00
2dc32d1f20 Refactor multiple tools into a single binary.
citadel-tool now installed with a hardlink for each binary tool and
dispatches on the exe path to the tool implementation. This makes
the build faster, uses less disk space, and makes it easier to
create new small tools.
2019-01-30 21:31:13 -05:00