mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-06 00:39:52 +00:00
fix(just): correctly generate tmpfile config with sudo heredoc
This commit is contained in:
parent
510f8564da
commit
542b716292
@ -53,8 +53,9 @@ enable-vfio:
|
||||
|
||||
# Add SELinux file context for default looking-glass shm file so that libvirt can create it when needed
|
||||
selinux-looking-glass:
|
||||
sudo tee << 'LOOKING_GLASS_TMP' > /etc/tmpfiles.d/10-looking-glass.conf
|
||||
#!/usr/bin/bash
|
||||
sudo bash -c "tee << LOOKING_GLASS_TMP > /etc/tmpfiles.d/10-looking-glass.conf
|
||||
# Type Path Mode UID GID Age Argument
|
||||
f /dev/shm/looking-glass 0660 1000 qemu -
|
||||
LOOKING_GLASS_TMP
|
||||
LOOKING_GLASS_TMP"
|
||||
sudo semanage fcontext -a -t svirt_tmpfs_t /dev/shm/looking-glass
|
||||
|
Loading…
x
Reference in New Issue
Block a user