patches and low-level development discussion
 help / color / mirror / code / Atom feed
* [PATCH 0/3] Switch from mdevd to systemd-udevd in root filesystem
@ 2025-09-14  3:16 Demi Marie Obenour
  2025-09-14  3:16 ` [PATCH 1/3] host/rootfs: Add early serial output Demi Marie Obenour
                   ` (3 more replies)
  0 siblings, 4 replies; 51+ messages in thread
From: Demi Marie Obenour @ 2025-09-14  3:16 UTC (permalink / raw)
  To: Spectrum OS Development; +Cc: Demi Marie Obenour, Alyssa Ross

systemd-udevd provides support for significantly more hardware than
mdevd does.  Therefore, switch to it.

The last patch intentionally uses some packages built with glibc to
avoid having to build the world from source.  The use of glibc isn't
essential and is just because not using the binary cache to build is
very, very slow.

Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
---
Demi Marie Obenour (3):
      host/rootfs: Add early serial output
      tools: Add adapter tool for services using sd_notify
      host/rootfs: switch to systemd-udevd

 host/rootfs/Makefile                               |  18 +-
 host/rootfs/default.nix                            |  94 +---
 host/rootfs/etc/init                               |   2 +-
 host/rootfs/etc/mdev.conf                          |   7 -
 host/rootfs/etc/mdev/listen                        |   2 +-
 host/rootfs/etc/mdev/net/add                       |   1 +
 host/rootfs/etc/s6-rc/mdevd-coldplug/dependencies  |   4 -
 host/rootfs/etc/s6-rc/mdevd-coldplug/up            |   4 -
 host/rootfs/etc/s6-rc/mdevd/run                    |   5 -
 host/rootfs/etc/s6-rc/ok-all/contents              |   2 +-
 .../dependencies.d/systemd-udevd                   |   0
 .../type                                           |   0
 .../type.license                                   |   0
 host/rootfs/etc/s6-rc/systemd-udevd-coldplug/up    |   3 +
 host/rootfs/etc/s6-rc/systemd-udevd/flag-essential |   0
 .../s6-rc/{mdevd => systemd-udevd}/notification-fd |   0
 .../notification-fd.license                        |   0
 host/rootfs/etc/s6-rc/systemd-udevd/run            |  10 +
 .../rootfs/etc/s6-rc/{mdevd => systemd-udevd}/type |   0
 .../s6-rc/{mdevd => systemd-udevd}/type.license    |   0
 host/rootfs/etc/s6-rc/vmm-env/contents             |   1 +
 host/rootfs/etc/s6-rc/weston/dependencies          |   4 -
 .../weston/dependencies.d/systemd-udevd-coldplug   |   0
 host/rootfs/etc/udev/rules.d/99-spectrum.rules     |   5 +
 tools/default.nix                                  |   1 +
 tools/meson.build                                  |   1 +
 tools/sd-notify-adapter/meson.build                |   4 +
 tools/sd-notify-adapter/sd-notify-adapter.c        | 490 +++++++++++++++++++++
 28 files changed, 552 insertions(+), 106 deletions(-)
---
base-commit: 31121b718d94229809b53c31bfbb0353b6c3d0d1
change-id: 20250911-udev-24cf4bf68fbe
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)


^ permalink raw reply	[flat|nested] 51+ messages in thread

end of thread, other threads:[~2025-11-01 18:23 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-14  3:16 [PATCH 0/3] Switch from mdevd to systemd-udevd in root filesystem Demi Marie Obenour
2025-09-14  3:16 ` [PATCH 1/3] host/rootfs: Add early serial output Demi Marie Obenour
2025-09-17 11:45   ` Alyssa Ross
2025-09-18  2:44     ` Demi Marie Obenour
2025-09-19 14:21   ` Alyssa Ross
2025-09-19 14:49   ` Alyssa Ross
2025-09-14  3:16 ` [PATCH 2/3] tools: Add adapter tool for services using sd_notify Demi Marie Obenour
2025-09-14  3:16 ` [PATCH 3/3] host/rootfs: switch to systemd-udevd Demi Marie Obenour
2025-09-19 14:12   ` Alyssa Ross
2025-09-19 19:32     ` Demi Marie Obenour
2025-09-21 12:18       ` Alyssa Ross
2025-09-21 17:02         ` Demi Marie Obenour
2025-09-21 16:27       ` Demi Marie Obenour
2025-09-21 16:28     ` Demi Marie Obenour
2025-09-23 18:39       ` Alyssa Ross
2025-09-23 19:18         ` Demi Marie Obenour
2025-09-24 10:32 ` [PATCH v2 0/3] Switch from mdevd to systemd-udevd in root filesystem Demi Marie Obenour
2025-09-24 10:32   ` [PATCH v2 1/3] tools: Add adapter tool for services using sd_notify Demi Marie Obenour
2025-09-25 10:29     ` Alyssa Ross
2025-09-25 16:54       ` Demi Marie Obenour
2025-09-24 10:32   ` [PATCH v2 2/3] host/rootfs: Switch to systemd-udevd Demi Marie Obenour
2025-09-25 10:53     ` Alyssa Ross
2025-09-25 17:53       ` Demi Marie Obenour
2025-09-26 14:56         ` Alyssa Ross
2025-09-28 22:51     ` [PATCH v3 0/2] Switch from mdevd to systemd-udevd in root filesystem Demi Marie Obenour
2025-09-28 22:51       ` [PATCH v3 1/2] tools: Add adapter tool for services using sd_notify Demi Marie Obenour
2025-10-01 16:06         ` Alyssa Ross
2025-09-28 22:51       ` [PATCH v3 2/2] host/rootfs: Switch to systemd-udevd Demi Marie Obenour
2025-10-01 14:24         ` Alyssa Ross
2025-10-01 14:39         ` Alyssa Ross
2025-10-01 17:40           ` Demi Marie Obenour
2025-10-02  9:53             ` Alyssa Ross
2025-10-02 10:34         ` Alyssa Ross
2025-10-02 10:36       ` [PATCH v3 0/2] Switch from mdevd to systemd-udevd in root filesystem Alyssa Ross
2025-10-03 21:42       ` [PATCH v4 " Demi Marie Obenour
2025-10-03 21:42         ` [PATCH v4 1/2] tools: Add adapter tool for services using sd_notify Demi Marie Obenour
2025-10-28 15:38           ` Alyssa Ross
2025-10-28 22:56             ` Demi Marie Obenour
2025-10-29 11:26           ` Alyssa Ross
2025-10-31  4:34             ` Demi Marie Obenour
2025-10-31  8:54               ` Alyssa Ross
2025-11-01 18:23                 ` Demi Marie Obenour
2025-10-03 21:42         ` [PATCH v4 2/2] host/rootfs: Switch to systemd-udevd Demi Marie Obenour
2025-10-28 16:02           ` Alyssa Ross
2025-10-28 22:56             ` Demi Marie Obenour
2025-10-29  9:31               ` Alyssa Ross
2025-10-29  9:55                 ` Demi Marie Obenour
2025-09-24 10:32   ` [PATCH v2 3/3] host/rootfs: Simplify s6-rc dependencies Demi Marie Obenour
2025-09-25 11:07     ` Alyssa Ross
2025-09-25 15:50       ` Demi Marie Obenour
2025-10-02 10:37         ` Alyssa Ross

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).