NetworkManager/src/nm-initrd-generator
Jan Vaclav d2d9fa4160 initrd: remove const qualifier from temporary variable
`argument` is not const, but `tmp` is. We use `tmp`
for reading arguments one by one, but we cannot add
a null byte to separate the key and value if it is const.

Make it non-const, so that `val[0] = '\0';` does not fail.
2026-04-14 11:33:46 +02:00
..
tests initrd: support setting the DHCP client-id 2025-09-11 17:33:46 +02:00
meson.build initrd: avoid dynamic linking of libnvme, use dlopen() instead 2025-04-28 16:09:54 +00:00
nm-initrd-generator.c libnm-glib-aux: add temp name argument to nm_utils_file_set_contents() 2025-10-22 09:56:39 +02:00
nm-initrd-generator.h initrd: add new NBFT parser 2025-04-28 16:09:54 +00:00
nmi-cmdline-reader.c initrd: remove const qualifier from temporary variable 2026-04-14 11:33:46 +02:00
nmi-dt-reader.c glib-aux: avoid using inet_aton() 2023-05-08 15:44:49 +02:00
nmi-ibft-reader.c glib-aux: add and use nm_uuid_generate_from_strings_old() 2022-10-11 09:03:17 +02:00
nmi-nbft-reader.c nm-initrd-generator: fix a conn_name leak 2025-08-26 07:45:53 +00:00
README.md all: add some README.md files describing the purpose of our sources 2021-08-19 17:51:11 +02:00

nm-initrd-generator

A command line tool that generates NetworkManager configuration.

This is supposed to be run by dracut in initrd, before NetworkManager starts. It parses the kernel command line, generates configuration and quits.

See:

  • man 8 nm-initrd-generator ([www])
  • man 7 dracut.cmdline