This repository has been archived on 2025-09-06. You can view files and clone it, but cannot push or open issues/pull-requests.
home-assistant-yellow/repos/aimee-os/sec-policy/selinux-aimee-os/files
Dustin b38f48b72f Create subvolumes in init-storage
It turns out that we cannot use `systemd-tmpfiles` to create our Btrfs
subvolumes.  Since the directories we are interested in, specifically
`/var/log` and `/var/tmp` already exist in the rootfs image and are
therefore copied into the mutable filesystem, `systemd-tmpfiles` ignores
them.

To avoid having to explicitly specify the SELinux context for each
subvolume created on the persistent filesystem, `init-storage` now
executes `setfiles` to set the appropriate labels.
2023-03-15 21:45:30 -05:00
..
aimee-os.fc Add set-root-password command 2023-03-15 21:21:29 -05:00
aimee-os.if Add set-root-password command 2023-03-15 21:21:29 -05:00
aimee-os.te Create subvolumes in init-storage 2023-03-15 21:45:30 -05:00