From 941d2cd525279a3560e7b4910b94d1440ff33ba0 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Sat, 5 Nov 2022 01:27:36 +0100 Subject: [PATCH] saving uncommitted changes in /etc prior to apt run --- .etckeeper | 2 +- .../default.target.wants/snap-core18-2620.mount | 1 + .../multi-user.target.wants/snap-core18-2560.mount | 1 - .../multi-user.target.wants/snap-core18-2620.mount | 1 + systemd/system/snap-core18-2560.mount | 14 -------------- systemd/system/snap-core18-2620.mount | 14 ++++++++++++++ 6 files changed, 17 insertions(+), 16 deletions(-) create mode 120000 systemd/system/default.target.wants/snap-core18-2620.mount delete mode 120000 systemd/system/multi-user.target.wants/snap-core18-2560.mount create mode 120000 systemd/system/multi-user.target.wants/snap-core18-2620.mount delete mode 100644 systemd/system/snap-core18-2560.mount create mode 100644 systemd/system/snap-core18-2620.mount diff --git a/.etckeeper b/.etckeeper index e3c11e3..e46fad8 100755 --- a/.etckeeper +++ b/.etckeeper @@ -3267,8 +3267,8 @@ maybe chmod 0755 'systemd/system/sleep.target.wants' maybe chmod 0644 'systemd/system/snap-bare-5.mount' maybe chmod 0644 'systemd/system/snap-core-13741.mount' maybe chmod 0644 'systemd/system/snap-core-13886.mount' -maybe chmod 0644 'systemd/system/snap-core18-2560.mount' maybe chmod 0644 'systemd/system/snap-core18-2566.mount' +maybe chmod 0644 'systemd/system/snap-core18-2620.mount' maybe chmod 0644 'systemd/system/snap-drawio-165.mount' maybe chmod 0644 'systemd/system/snap-drawio-166.mount' maybe chmod 0644 'systemd/system/snap-ferdi-211.mount' diff --git a/systemd/system/default.target.wants/snap-core18-2620.mount b/systemd/system/default.target.wants/snap-core18-2620.mount new file mode 120000 index 0000000..0240faf --- /dev/null +++ b/systemd/system/default.target.wants/snap-core18-2620.mount @@ -0,0 +1 @@ +/etc/systemd/system/snap-core18-2620.mount \ No newline at end of file diff --git a/systemd/system/multi-user.target.wants/snap-core18-2560.mount b/systemd/system/multi-user.target.wants/snap-core18-2560.mount deleted file mode 120000 index 3717548..0000000 --- a/systemd/system/multi-user.target.wants/snap-core18-2560.mount +++ /dev/null @@ -1 +0,0 @@ -/etc/systemd/system/snap-core18-2560.mount \ No newline at end of file diff --git a/systemd/system/multi-user.target.wants/snap-core18-2620.mount b/systemd/system/multi-user.target.wants/snap-core18-2620.mount new file mode 120000 index 0000000..0240faf --- /dev/null +++ b/systemd/system/multi-user.target.wants/snap-core18-2620.mount @@ -0,0 +1 @@ +/etc/systemd/system/snap-core18-2620.mount \ No newline at end of file diff --git a/systemd/system/snap-core18-2560.mount b/systemd/system/snap-core18-2560.mount deleted file mode 100644 index 4f57281..0000000 --- a/systemd/system/snap-core18-2560.mount +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=Mount unit for core18, revision 2560 -Before=snapd.service -After=zfs-mount.service - -[Mount] -What=/var/lib/snapd/snaps/core18_2560.snap -Where=/snap/core18/2560 -Type=squashfs -Options=nodev,ro,x-gdu.hide,x-gvfs-hide -LazyUnmount=yes - -[Install] -WantedBy=multi-user.target diff --git a/systemd/system/snap-core18-2620.mount b/systemd/system/snap-core18-2620.mount new file mode 100644 index 0000000..47d7c16 --- /dev/null +++ b/systemd/system/snap-core18-2620.mount @@ -0,0 +1,14 @@ +[Unit] +Description=Mount unit for core18, revision 2620 +Before=snapd.service +After=zfs-mount.service + +[Mount] +What=/var/lib/snapd/snaps/core18_2620.snap +Where=/snap/core18/2620 +Type=squashfs +Options=nodev,ro,x-gdu.hide,x-gvfs-hide +LazyUnmount=yes + +[Install] +WantedBy=default.target multi-user.target -- 2.39.5