Move module-util.h to src/shared/ and load_module() to libshared
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 6 Jul 2018 09:57:54 +0000 (11:57 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 16 Jul 2018 11:08:40 +0000 (13:08 +0200)
commit3cb9b42af3b205fba176ebf51ce0e07739698278
treeb24f91e42049627ac27ebdbf635bfcc23ec75262
parent6755bb5548532f728ca06742d7e7abad14d41e7b
Move module-util.h to src/shared/ and load_module() to libshared

Unfortunately this needs libshared to link to libkmod. Before it was linked
into systemd-udevd, udevadm, and systemd each seperately. On most systems this
doesn't make much difference, because at least systemd would be installed, but
it might not be in small chroots. It is a small library, so I hope this is not
a big issue.
src/basic/meson.build
src/modules-load/modules-load.c
src/shared/meson.build
src/shared/module-util.c [new file with mode: 0644]
src/shared/module-util.h [moved from src/basic/module-util.h with 81% similarity]