add initramfs conf snippet disabling RESUME

otherwise, every boot will wait for the swap ZVol on root on
ZFS systems.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2017-06-22 11:29:14 +02:00 committed by Dietmar Maurer
parent 17975935b3
commit 7a26f73112
2 changed files with 4 additions and 0 deletions

View File

@ -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 ${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 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 vzdump-hook-script.pl ${DOCDIR}/examples/vzdump-hook-script.pl
install -m 0644 spice-example-sh ${DOCDIR}/examples/spice-example-sh install -m 0644 spice-example-sh ${DOCDIR}/examples/spice-example-sh
install -m 0644 country.dat ${DESTDIR}/usr/share/${PACKAGE} install -m 0644 country.dat ${DESTDIR}/usr/share/${PACKAGE}

2
pve-initramfs.conf Normal file
View File

@ -0,0 +1,2 @@
# disable suspend-to-disk, as it delays boot on systems with root on ZFS
RESUME=none