From 7a26f731123bc7e831291a95845cf6fbbdd1892b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Thu, 22 Jun 2017 11:29:14 +0200 Subject: [PATCH] add initramfs conf snippet disabling RESUME MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit otherwise, every boot will wait for the swap ZVol on root on ZFS systems. Signed-off-by: Fabian Grünbichler --- Makefile | 2 ++ pve-initramfs.conf | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 pve-initramfs.conf diff --git a/Makefile b/Makefile index 2f075607..ecae4d88 100644 --- a/Makefile +++ b/Makefile @@ -68,6 +68,8 @@ install: country.dat vzdump.conf vzdump-hook-script.pl pve-apt.conf mtu bridgevl install -D -m 0755 vlan ${DESTDIR}/etc/network/if-pre-up.d/vlan install -D -m 0755 vlan-down ${DESTDIR}/etc/network/if-post-down.d/vlan + install -D -m 0644 pve-initramfs.conf ${DESTDIR}/etc/initramfs-tools/conf.d/pve-initramfs.conf + install -m 0644 vzdump-hook-script.pl ${DOCDIR}/examples/vzdump-hook-script.pl install -m 0644 spice-example-sh ${DOCDIR}/examples/spice-example-sh install -m 0644 country.dat ${DESTDIR}/usr/share/${PACKAGE} diff --git a/pve-initramfs.conf b/pve-initramfs.conf new file mode 100644 index 00000000..fc6bedca --- /dev/null +++ b/pve-initramfs.conf @@ -0,0 +1,2 @@ +# disable suspend-to-disk, as it delays boot on systems with root on ZFS +RESUME=none -- 2.39.5