-
-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workaround for 120 second timeout bug with ubuntu server #366
- Loading branch information
1 parent
fd0477f
commit 53d3480
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
overlay/etc/systemd/system/systemd-networkd-wait-online.service.d/override.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[Service] | ||
ExecStart= | ||
ExecStart=/lib/systemd/systemd-networkd-wait-online --timeout=10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -211,9 +211,13 @@ cp ${overlay_dir}/usr/share/initramfs-tools/hooks/rtl-bt ${chroot_dir}/usr/share | |
cp ${overlay_dir}/usr/lib/systemd/system/rtc-hym8563.service ${chroot_dir}/usr/lib/systemd/system/rtc-hym8563.service | ||
|
||
# Set term for serial tty | ||
mkdir -p ${chroot_dir}/lib/systemd/system/[email protected] | ||
mkdir -p ${chroot_dir}/lib/systemd/system/[email protected]/ | ||
cp ${overlay_dir}/usr/lib/systemd/system/[email protected]/10-term.conf ${chroot_dir}/usr/lib/systemd/system/[email protected]/10-term.conf | ||
|
||
# Fix 120 second timeout bug | ||
mkdir -p ${chroot_dir}/etc/systemd/system/systemd-networkd-wait-online.service.d/ | ||
cp ${overlay_dir}/etc/systemd/system/systemd-networkd-wait-online.service.d/override.conf ${chroot_dir}/etc/systemd/system/systemd-networkd-wait-online.service.d/override.conf | ||
|
||
# Use gzip compression for the initrd | ||
cp ${overlay_dir}/etc/initramfs-tools/conf.d/compression.conf ${chroot_dir}/etc/initramfs-tools/conf.d/compression.conf | ||
|
||
|
@@ -334,6 +338,9 @@ cp ${overlay_dir}/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf | |
cp ${overlay_dir}/usr/lib/NetworkManager/conf.d/10-override-wifi-random-mac-disable.conf ${chroot_dir}/usr/lib/NetworkManager/conf.d/10-override-wifi-random-mac-disable.conf | ||
cp ${overlay_dir}/usr/lib/NetworkManager/conf.d/20-override-wifi-powersave-disable.conf ${chroot_dir}/usr/lib/NetworkManager/conf.d/20-override-wifi-powersave-disable.conf | ||
|
||
# Ubuntu desktop uses a diffrent network manager, so remove this systemd override | ||
rm -rf ${chroot_dir}/etc/systemd/system/systemd-networkd-wait-online.service.d/override.conf | ||
|
||
# Enable wayland session | ||
cp ${overlay_dir}/etc/gdm3/custom.conf ${chroot_dir}/etc/gdm3/custom.conf | ||
|
||
|