udev: single binary replacing udevd and udevadm
authorNorbert Lange <nolange79@gmail.com>
Tue, 26 May 2020 08:26:12 +0000 (10:26 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 1 Jun 2020 07:41:21 +0000 (09:41 +0200)
commit63e2d1714eedf884ebd9dd865a9dae8ae670d074
treef16d1b52337cbbf511a06f96231fae470a5b2623
parent0e77fc66bceb9832da82a56a4c1040fe49f8d805
udev: single binary replacing udevd and udevadm

Since the separate binaries contain mostly the same code,
this almost halves the size of the installation.

before:
398K /bin/udevadm
391K /lib/systemd/systemd-udevd

after:
431K /bin/udevadm
0    /lib/systemd/systemd-udevd -> ../../bin/udevadm

Fixes: #14200
meson.build
src/udev/meson.build
src/udev/udevadm.c
src/udev/udevd.c
src/udev/udevd.h [new file with mode: 0644]