From 70f2f3f6a83421d013ec106beda37757d2bedbc0 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 11 Jan 2023 00:16:51 +0100 Subject: [PATCH] saving uncommitted changes in /etc prior to apt run --- .etckeeper | 1 + .../default.target.wants/snap-core-14447.mount | 1 + .../multi-user.target.wants/snap-core-14447.mount | 1 + systemd/system/snap-core-14447.mount | 14 ++++++++++++++ 4 files changed, 17 insertions(+) create mode 120000 systemd/system/default.target.wants/snap-core-14447.mount create mode 120000 systemd/system/multi-user.target.wants/snap-core-14447.mount create mode 100644 systemd/system/snap-core-14447.mount diff --git a/.etckeeper b/.etckeeper index ba3856f..ad4d4a8 100755 --- a/.etckeeper +++ b/.etckeeper @@ -3275,6 +3275,7 @@ maybe chmod 0755 'systemd/system/rescue.target.wants' maybe chmod 0755 'systemd/system/sleep.target.wants' maybe chmod 0644 'systemd/system/snap-bare-5.mount' maybe chmod 0644 'systemd/system/snap-core-14399.mount' +maybe chmod 0644 'systemd/system/snap-core-14447.mount' maybe chmod 0644 'systemd/system/snap-core18-2654.mount' maybe chmod 0644 'systemd/system/snap-core18-2667.mount' maybe chmod 0644 'systemd/system/snap-drawio-167.mount' diff --git a/systemd/system/default.target.wants/snap-core-14447.mount b/systemd/system/default.target.wants/snap-core-14447.mount new file mode 120000 index 0000000..994193f --- /dev/null +++ b/systemd/system/default.target.wants/snap-core-14447.mount @@ -0,0 +1 @@ +/etc/systemd/system/snap-core-14447.mount \ No newline at end of file diff --git a/systemd/system/multi-user.target.wants/snap-core-14447.mount b/systemd/system/multi-user.target.wants/snap-core-14447.mount new file mode 120000 index 0000000..994193f --- /dev/null +++ b/systemd/system/multi-user.target.wants/snap-core-14447.mount @@ -0,0 +1 @@ +/etc/systemd/system/snap-core-14447.mount \ No newline at end of file diff --git a/systemd/system/snap-core-14447.mount b/systemd/system/snap-core-14447.mount new file mode 100644 index 0000000..28a942e --- /dev/null +++ b/systemd/system/snap-core-14447.mount @@ -0,0 +1,14 @@ +[Unit] +Description=Mount unit for core, revision 14447 +Before=snapd.service +After=zfs-mount.service + +[Mount] +What=/var/lib/snapd/snaps/core_14447.snap +Where=/snap/core/14447 +Type=squashfs +Options=nodev,ro,x-gdu.hide,x-gvfs-hide +LazyUnmount=yes + +[Install] +WantedBy=default.target multi-user.target -- 2.39.5