Commit Graph

167 Commits

Author SHA1 Message Date
2dc8bf2922 Support for flatpak and GNOME Software in Realms
When a realm has enabled 'use-flatpak' a .desktop file for GNOME
Software will be automatically generated while that realm is running.

This .desktop file will launch GNOME Software from Citadel inside a
bubblewrap sandbox. The sandbox has been prepared so that GNOME
Software will install flatpak applications into a directory that belongs
to the realm associated with the .desktop file.

When a realm has enabled 'use-flatpak' this directory will be bind
mounted (read-only) into the root filesystem of the realm so that
applications installed by GNOME Software are visible and can be launched.
2024-09-06 10:24:28 -04:00
isa
2a16bd4c41 Upgrade clap, rpassword and pwhash to prepare for new code using them 2024-08-30 13:11:47 -04:00
isa
b7e6ee3b3c Increase size of tmpfs to allow base-realmfs to decompress 2024-07-17 06:58:11 -04:00
isa
4fc3fb55db Fix user-facing typo 2024-07-12 16:53:12 -04:00
421b0e27d7 Various fixes to desktop_sync including Flatpak support 2024-06-03 12:05:58 -04:00
44c545a4a3 Updated to use new gsettings keys 2024-06-03 11:56:40 -04:00
c79ff22a98 implement RealmFromCitadelPid in realmsd 2022-09-19 10:05:33 -04:00
1136cee2f7 Support for querying what realm a process belongs to 2022-09-19 10:02:26 -04:00
94a0fd210c Pass explicit fstype (ext4) when mounting resource images 2022-09-19 10:00:38 -04:00
f175dd1134 Add 'use-fuse' config option to export /dev/fuse to realm. 2022-09-19 09:52:59 -04:00
dc6ddc4e85 Handle icon paths to specific image files 2022-09-19 09:49:49 -04:00
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
0832ddfa9f Update dependencies 2022-05-27 18:06:22 -04:00
668227af1e citadel-update: copy image files to tmp directory before updating 2021-12-16 16:22:30 -05:00
12eed4d557 Add use-media-dir config option and implement feature.
If enabled this will mount /run/media/citadel directory into Realm as
~/Media directory. This makes mounted storage devices visible inside of
Realms. By default this option is enabled only for the main realm.
2021-12-14 06:04:02 -05:00
841ee6016b Fix a macro warning 2021-12-14 05:59:16 -05:00
663478072c apply color scheme changes to realm 2021-11-29 16:20:58 -05:00
ea70bfc65e Fix slightly broken logic 2021-11-29 16:18:11 -05:00
160fc47494 Emit event when creating a new realm 2021-11-29 16:15:31 -05:00
220920cb2f Dependencies updated 2021-10-04 06:25:58 -04:00
04da0fcba7 Added realm-config-ui, removed citadel-realms-ui 2021-10-04 06:24:51 -04:00
79fb3b38dd Not used anymore 2021-10-04 06:23:43 -04:00
9760dfc501 Added pid_namespace() method to Realm 2021-10-04 06:22:33 -04:00
1418462e2c Don't update self.last_current here 2021-10-04 06:21:44 -04:00
73acd43329 remove ; 2021-10-04 06:19:38 -04:00
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