guix-install.sh: Unconditionally install gnu-store.mount.
* etc/guix-install.sh (sys_enable_guix_daemon): Remove obsolete conditional.master
parent
49f74b67a4
commit
67790e7f2f
|
@ -437,13 +437,11 @@ sys_enable_guix_daemon()
|
||||||
{ # systemd .mount units must be named after the target directory.
|
{ # systemd .mount units must be named after the target directory.
|
||||||
# Here we assume a hard-coded name of /gnu/store.
|
# Here we assume a hard-coded name of /gnu/store.
|
||||||
# XXX Work around <https://issues.guix.gnu.org/41356> until next release.
|
# XXX Work around <https://issues.guix.gnu.org/41356> until next release.
|
||||||
if [ -f ~root/.config/guix/current/lib/systemd/system/gnu-store.mount ]; then
|
cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \
|
||||||
cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \
|
/etc/systemd/system/;
|
||||||
/etc/systemd/system/;
|
chmod 664 /etc/systemd/system/gnu-store.mount;
|
||||||
chmod 664 /etc/systemd/system/gnu-store.mount;
|
systemctl daemon-reload &&
|
||||||
systemctl daemon-reload &&
|
systemctl enable gnu-store.mount;
|
||||||
systemctl enable gnu-store.mount;
|
|
||||||
fi
|
|
||||||
|
|
||||||
cp ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \
|
cp ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \
|
||||||
/etc/systemd/system/;
|
/etc/systemd/system/;
|
||||||
|
|
Reference in New Issue