Hello ublue community,
This may be for a good reason (That I don’t know), but /usr/local
is not writable on the Bluefin LTS build.
I’m really excited for the Bluefin LTS build, but I do prefer to have a writable /usr/local/
directory. For a temporary work-around, read on…
I understand if you don’t want to include this, but I thought I’d share a way of setting it up that I modified from a source online.
The source is here .
I modified that .mount file for this usecase.
So if you want to enable writable /usr/local, you can do this (Best to Copy + Paste this):
sudo cp -a /usr/local /var/home/.usr-local
cat << EOF | sudo tee /etc/systemd/system/usr-local.mount >/dev/null
[Unit]
Description=Make /usr/local Write-able
DefaultDependencies=no
Before=sockets.target
After=ostree-remount.service
BindsTo=var-home.mount
[Mount]
What=/var/home/.usr-local
Where=/usr/local
Options=bind
Type=none
[Install]
WantedBy=local-fs.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable --now usr-local.mount
Please let me know if anyone is interested in this or if there is a specific reason you’ve disabled this functionality by default, as it makes using Immutable Distros kind of painful for me… (Again, I could be doing it wrong!)
Thanks for all your wonderful work on UBlue including Aurora, Bazzite, Bluefin and Bluefin-LTS!
- jedi453 / Dan
EDIT 1: reworded some stuff for clarification