Skip to content

Commit aff3c5c

Browse files
committed
archlinux: remove static /home and /usr/local entries
Custom persist update removed those entries from /etc/fstab file as packaged, but Arch package was "special" and didn't used this file before. Apply the update in post-update hook. Fixes: 6e7bed0 "custom-persist: systemd mount units ..." Fixes QubesOS/qubes-issues#9975
1 parent 66c561e commit aff3c5c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

archlinux/PKGBUILD.install

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,15 @@ update_qubesconfig() {
9090
cp -f /etc/fstab.qubes /etc/fstab
9191
fi
9292

93+
# Fix fstab update to core-agent-linux 4.3.19
94+
if grep -q '/rw/home\|/rw/usrlocal' /etc/fstab; then
95+
sed -i \
96+
-e '/# Template Binds/d' \
97+
-e '/\/rw\/home/d' \
98+
-e '/\/rw\/usrlocal/d' \
99+
/etc/fstab
100+
fi
101+
93102
#/usr/lib/qubes/update-proxy-configs
94103
# Archlinux pacman configuration is handled in update_finalize
95104

0 commit comments

Comments
 (0)