mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-27 16:49:00 +00:00
Better bugfix for boot delay "waiting for suspend/resume device"
95ae09470f (commitcomment-30692608)
This commit is contained in:
parent
ba20799f0d
commit
05db63c1a8
1 changed files with 5 additions and 2 deletions
|
@ -158,8 +158,11 @@ create_board_package()
|
|||
fi
|
||||
|
||||
# fix boot delay "waiting for suspend/resume device"
|
||||
if grep --quiet RESUME=none /etc/initramfs-tools/initramfs.conf; then true;
|
||||
else echo "RESUME=none" >> /etc/initramfs-tools/initramfs.conf; fi
|
||||
if [ -f "/etc/initramfs-tools/initramfs.conf" ]; then
|
||||
if ! grep --quiet "RESUME=none" /etc/initramfs-tools/initramfs.conf; then
|
||||
echo "RESUME=none" >> /etc/initramfs-tools/initramfs.conf
|
||||
fi
|
||||
fi
|
||||
|
||||
# install bootscripts if they are not present. Fix upgrades from old images
|
||||
if [ ! -f /boot/$bootscript_dst ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue