Commit Graph

142 Commits

Author SHA1 Message Date
fa3f63b5c7 Add realm prefix to .desktop files imported into citadel
Change the way citadel-desktop-sync works so that gnome-shell
can be aware of applications from several realms at once.

Each application id is now placed in a separate namespace by
adding a prefix to the desktop filename.
2021-10-04 06:15:29 -04:00
e07d35944a name nvme partitions correctly 2021-10-04 06:11:37 -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
9fa6b5c9cb Library API changes 2021-10-04 06:07:43 -04:00
13516fe024 Realmsd rewritten to use zbus 2021-10-04 06:02:35 -04:00
2e6542e9f7 Updated installer for new GTK API 2021-10-04 05:57:20 -04:00
6c1f0e7221 Initial commit of new GTK realm config UI 2021-10-04 05:55:17 -04:00
f665490a4d Support 16 bit device numbers 2021-04-28 08:01:46 -04:00
96f7e8be7c Updated base16.rs to match the updated package in citadel 2021-03-20 20:27:42 -04:00
ee7d0ef166 Fixed a problem where forked realmfs fields were not being updated 2021-01-29 23:06:02 -05:00
a749f818db Cleaned up some warnings 2021-01-29 23:06:02 -05:00
a77a7cc07b Implement the wayland_socket config option for realms 2021-01-18 15:00:39 -05:00
ef04bc1786 Removed references to live mode in the citadel-installer-ui 2021-01-18 15:00:39 -05: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
ecca0f5002 Support a manifest line syntax for mounting from and to /sysroot
After a resource image has bind mounted directories to the /sysroot
tree, this new syntax makes it possible to then mount further directories
from /sysroot on top of the newly mounted tree.
2020-12-07 17:15:14 -05:00
ac46b45f05 Implemented an installer user interface and backend 2020-10-09 01:45:30 -04:00
3d3b794b1d Set static gtk versions and updated citadel-realms-ui for API version changes 2020-10-09 01:45:30 -04:00
695dc9da21 Fix a bug introduced during recent refactor 2020-08-07 10:23:35 -04:00
044d8a3457 Create /run/citadel/realms/current if it does not exist or inotify watch will fail 2020-08-05 16:07:47 -04:00
04df758fbb Use correct format string 2020-08-05 11:22:48 -04:00
7b8cc0c9d4 Fixes a panic() during mkimage 2020-08-03 20:48:50 -04:00
904765ae4f Remove import of failure crate since it's no longer in use 2020-08-03 19:59:36 -04:00
fe6421ee49 Increase log level to Debug 2020-08-03 19:18:49 -04:00
875dcaf5e5 systemd unit file for realms daemon 2020-08-03 19:18:49 -04:00
3c195032bb Refactor how mountpoint filenames are parsed into realmfs name and tag.
The old way was more complex and didn't work if realmfs name contains hyphen character.
2020-08-03 19:18:49 -04:00
874dbd1654 update dbus crate 2020-08-03 19:18:49 -04: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
9c77af6eff update crates 2020-08-03 19:18:49 -04:00
b759e761d3 Initial commit of GTK realm manager 2020-08-03 19:18:49 -04:00
61d5e10034 RealmFS refactored. Much Simpler.
The concept of an 'unsealed' RealmFS no longer exists so support for this has been
removed. The result is much less complex and easier to understand and maintain.
2020-08-03 19:18:49 -04:00
b1f5827096 Clean up some warnings 2020-08-03 19:18:49 -04:00
11920caa72 Added kernel version to syslinux config in installer 2020-02-28 12:46:08 -05:00
44d5ce660f Put lockfile in /tmp so that unprivileged users can aquire it 2019-09-20 18:38:21 -04:00
4ce5d439d8 Look up realm by pid.
Added RealmManager::realm_by_pid() and dbus method RealmFromCitadelPid
2019-08-26 18:18:26 -04:00
1365054c45 dbus policy file for realmsd 2019-08-25 17:23:07 -04:00
d0eada1e3b Initial commit of realms dbus daemon 2019-08-25 17:15:13 -04:00
3820bcc08f upgrade sodiumoxide dependency to version 0.2.2 2019-08-21 00:39:41 -04:00
8ec6f87a22 Install bzImage files with kernel version suffix 2019-08-21 00:39:41 -04:00
ba29516212 Initial commit of update utility to simplify image upgrades 2019-08-21 00:39:41 -04:00
77f19777a8 Write automount unit files for /boot partition 2019-08-21 00:39:41 -04:00
9fb11e3317 Enhanced flexibility in how resource images are mounted.
Can now choose location at which resource image is mounted with
mount_at() method. This method also returns a handle which can be
used to later unmount the image.
2019-08-21 00:39:41 -04:00
2e781e2183 Add verity-tag field to verity devices for image types other than realmfs
This prevents device name collision when multiple images of the same
type are mounted.
2019-08-21 00:39:41 -04:00
8799604266 Change name of boot entry file from citadel.conf to boot.conf
This matches the naming convention of the kernel update installer.
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
d1f93e9f34 Refactor realm launching code into separate module. 2019-08-21 00:39:41 -04:00
5eb3194e5b comment added by cargo 2019-08-21 00:39:41 -04:00
330557acfc use /usr/bin/dd instead of /bin/dd 2019-08-21 00:39:41 -04:00
79a52b7a46 fix typo in sha256sum path 2019-08-21 00:39:41 -04:00
dma
f02a9ab4c5 fix realmfs resize calculation bug on update + add e2fsck prior to ext4 resize 2019-08-21 04:28:54 +00:00
7d89c47eb2 Clippy fixes 2019-04-03 16:05:09 -04:00