* cloud-init: 22.4 -> 23.1.1
* cloud-init: add udhcpc support
Cloud-init use as dhcp client, dhclient, which is coming from the unmaintained package, isc-dhcp-client (refer https://www.isc.org/dhcp/) which ended support in 2022. dhclient is deprecated in nixos
Add patch to use `udhcpc` dhcp client coming from busybox instead.
PR based on #226173
refs #215571
upstream PR: https://github.com/canonical/cloud-init/pull/2125
11/40 test-button-content FAIL 2.98s killed by signal 5 SIGTRAP
>>> PYTHONDONTWRITEBYTECODE=yes MALLOC_PERTURB_=214 GTK_A11Y=none GSETTINGS_BACKEND=memory G_TEST_SRCDIR=/private/tmp/nix-build-libadwaita-1.3.2.drv-0/source/tests G_TEST_BUILDDIR=/private/tmp/nix-build-libadwaita-1.3.2.drv-0/source/build/tests G_DEBUG=gc-friendly,fatal-warnings MALLOC_CHECK_=2 /private/tmp/nix-build-libadwaita-1.3.2.drv-0/source/build/tests/test-button-content
✀
stdout:
TAP version 13
# random seed: R02Se84baf70152144b0bb2dbf23cf179bf4
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation memory (GMemorySettingsBackend) for ‘gsettings-backend’
1..5
# Start of Adwaita tests
# Start of ButtonContent tests
ok 1 /Adwaita/ButtonContent/icon_name
ok 2 /Adwaita/ButtonContent/label
ok 3 /Adwaita/ButtonContent/use_underline
not ok /Adwaita/ButtonContent/style_class_button - Gdk-FATAL-CRITICAL: gdk_macos_monitor_get_workarea: assertion 'GDK_IS_MACOS_MONITOR (self)' failed
Bail out!
stderr:
2023-04-25 08:39:33.359 test-button-content[73233:738156655] XType: Using static font registry.
Prior to this change, arguments were not escaped nor was the possiblity
for arguments to be empty accounted for. This led to a kinda broken
startup script were arguments were "shifted", e.g. leaving allowedIPs
empty in order to use the default would cause `--bird` (the following
arguments key) to be used as the value. This was also observable when
e.g. the navbarBrand had a space in it where only everything until the
first space would show up.
With the new approach, all arguments are consistently escaped and empty
ones left out.
`extraConfig` now supports and prefers lists of strings instead of
lines (still supported but warned). This is due to the fragility with
respect to e.g. forgetting trailing backslashes after each line.
`frontend.{servers,domain}` are unset by default since the frontend
needs (the upstream project itself has no empty defaults here) needs
them to be set. If not set, an error is caused at build-time.
`proxy.birdSocket` has a new default: The projects README[^1] states
`/var/run/bird/bird.ctl` as the current default value. And bird2 on
NixOS does use this path too.
[^1]: https://github.com/xddxdd/bird-lg-go#proxy
rustc supports way more platforms than Linux and Darwin. We might not
be able to build it for every platform at the moment, but that's what
meta.broken is for.
There are other platforms that rustc can produce binaries for, but
can't run on itself, so those are listed in the defaults for
buildRustPackage.
flashrom-stable is a fork of flashrom aiming stability. A proper NixOS
module and udev support will be added later.
Signed-off-by: Felix Singer <felix.singer@secunet.com>