summaryrefslogtreecommitdiff
path: root/src/initrd/tests
Commit message (Collapse)AuthorAgeFilesLines
* all: SPDX header conversionLubomir Rintel2019-09-103-45/+3
| | | | | $ find * -type f |xargs perl contrib/scripts/spdx.pl $ git rm contrib/scripts/spdx.pl
* initrd: add devicetree supportLubomir Rintel2019-09-1021-0/+157
| | | | | | | | | | | | This adds capability to hand over the network configuration from OpenFirmware (and potentially other boot loaders with openfirmware support such as U-Boot) to NetworkManager. It's done analogously to ACPI/iBFT. In fact, the same ip=ibft command line option is used, adding a more general ip=fw alias. This probably deserves some documentation, but I'm not adding any at this time. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/257
* initrd/tests: add some more variations of possible BOOTIF= variableslr/bootifLubomir Rintel2019-07-031-3/+11
| | | | | Test the form with a hwtype and color-separated as well as hyphen-separated.
* initrd/tests: ensure that nameserver= setting affects the correct connectionLubomir Rintel2019-07-021-2/+6
|
* initrd/tests: ensure we accept a prefix in place of an IPv4 maskLubomir Rintel2019-07-021-3/+23
|
* ipv6: add 'disabled' methodBeniamino Galvani2019-06-111-3/+3
| | | | | | | Add a new ipv6.method value 'disabled' that completely disables IPv6 for the interface. https://bugzilla.redhat.com/show_bug.cgi?id=1643841
* initrd/tests: increase test timeout for "initrd/test-cmdline-reader" with mesonThomas Haller2019-06-111-0/+1
| | | | | The default timeout of 30 seconds may not be sufficient when running under valgrind on a busy system.
* license: re-license initrd-generator and ibft reader as LGPLThomas Haller2019-02-221-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New code we want to add LGPL licensed to make it easier to share code between libnm and the daemon. The code in question was only recently added in commit b544f7243d ("initrd: add iBFT reader") and mostly written from scratch by Lubomir. Some parts were adapted from earlier ibft code. $ git shortlog -s -e -- src/settings/plugins/ibft/ ':(exclude)*/meson.build' 3 Beniamino Galvani <bgalvani@redhat.com> 1 Colin Walters <walters@verbum.org> 2 Dan Williams <dcbw@redhat.com> 17 Dan Winship <danw@redhat.com> 7 Lubomir Rintel <lkundrak@v3.sk> 46 Thomas Haller <thaller@redhat.com> $ git log --no-merges -L '/^fill_ip4_setting_from_ibft/,/^}/:src/settings/plugins/ifcfg-rh/reader.c' fc9c1f1557b517e799d15802e8f3d0ea43b0daea~ | grep '^Author: ' | sort | uniq Author: Dan Williams <dcbw@redhat.com> Author: Dan Winship <danw@redhat.org> Author: Jiří Klimeš <jklimes@redhat.com> Author: Pavel Šimerda <psimerda@redhat.com> Hence, all non-trival contributions were provided by Red Hat employees and the copy-right is with Red Hat. Acked-by: Dan Williams <dcbw@redhat.com> Acked-by: Dan Winship <danw@redhat.com> Acked-by: Lubomir Rintel <lkundrak@v3.sk>
* all: drop unnecessary includes of <errno.h> and <string.h>Thomas Haller2019-02-122-2/+0
| | | | | "nm-macros-interal.h" already includes <errno.h> and <string.h>. No need to include it everywhere else too.
* initrd: make the default connection activatable on multiple devicesLubomir Rintel2019-01-211-0/+12
| | | | | | | The ip=dhcp (without a device name given) and such should activate all possible devices. https://github.com/NetworkManager/NetworkManager/pull/284
* build: meson: Add trailing commasIñigo Martínez2018-12-201-2/+2
| | | | | | | Add missing trailing commas that avoids getting noise when another file/parameter is added and eases reviewing changes[0]. [0] https://gitlab.gnome.org/GNOME/dconf/merge_requests/11#note_291585
* initrd: enable meson buildsBeniamino Galvani2018-09-191-18/+19
|
* initrd: add command line parserLubomir Rintel2018-09-181-0/+787
|
* initrd: add iBFT readerLubomir Rintel2018-09-18194-0/+500
This is loosely based on nms-ibft-reader, but with some significant changes. Notably, it parses /sys/firmware/ibft directly instead of iscsiadm output. iscsiadm is not available on early boot (perhaps it's too large) and turns out that parsing sysfs directly is easier and more straightforwared anyways. A win-win situation. It is not useful alone, it's in a separate commit just for the sake of easier review.