yellow: Install BURP

We'll use BURP for backups, just like the old Home Assistant server.

Note that Portage cannot correctly set the ownership of files when
installing to an alternate $ROOT.  To work around this, we replace the
`fowners` function for the *app-backup/burp* ebuild with a no-op, and
then set the permissions of the relevant files using SquashFS
pseudo-file definitions.  Relatedly, we're omitting the files and
directories used by the server-side of BURP.
master
Dustin 2023-03-29 11:00:52 -05:00
parent a9fdee2049
commit 4a2d63c8db
6 changed files with 11 additions and 0 deletions

View File

@ -1 +1,2 @@
app-backup/burp
app-containers/podman

View File

@ -1 +1,2 @@
d burp
d mosquitto

View File

@ -0,0 +1 @@
fowners() { :; }

View File

@ -0,0 +1 @@
app-backup/burp **

5
yellow/squashfs.exclude Normal file
View File

@ -0,0 +1,5 @@
etc/burp/CA.cnf
etc/burp/burp-server.conf
etc/burp/clientconfdir
usr/aarch64-unknown-linux-gnu
var/spool/burp

2
yellow/squashfs.pseudo Normal file
View File

@ -0,0 +1,2 @@
/etc/burp m 0750 498 498
/etc/burp/burp.conf m 0640 498 498