discover/udev: remove unnecessary udevadm references
authorJeremy Kerr <jk@ozlabs.org>
Mon, 6 May 2013 01:00:50 +0000 (09:00 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 6 May 2013 01:00:50 +0000 (09:00 +0800)
Since we interact with libudev now, we no longer need to run udevadm.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
configure.ac.in
lib/system/system.c
lib/system/system.h

index 305bb8d1af0c9308087e9583278ab9fa3461abcb..9a057115e0823d1b3e47f55430837692a488ac47 100644 (file)
@@ -185,7 +185,6 @@ DEFINE_HOST_PROG(MOUNT, mount, [/bin/mount])
 DEFINE_HOST_PROG(SHUTDOWN, shutdown, [/sbin/shutdown])
 DEFINE_HOST_PROG(SFTP, sftp, [/usr/bin/sftp])
 DEFINE_HOST_PROG(TFTP, tftp, [/usr/bin/tftp])
-DEFINE_HOST_PROG(UDEVADM, udevadm, [/sbin/udevadm])
 DEFINE_HOST_PROG(UMOUNT, umount, [/bin/umount])
 DEFINE_HOST_PROG(WGET, wget, [/usr/bin/wget])
 
index cbf6b9fc5a8b43472dc5c4ea7b823e83b196ee8a..13dc146821958561699598040948654b7a8cc78a 100644 (file)
@@ -24,7 +24,6 @@ const struct pb_system_apps pb_system_apps = {
        .shutdown       = HOST_PROG_SHUTDOWN,
        .sftp           = HOST_PROG_SFTP,
        .tftp           = HOST_PROG_TFTP,
-       .udevadm        = HOST_PROG_UDEVADM,
        .umount         = HOST_PROG_UMOUNT,
        .wget           = HOST_PROG_WGET,
 };
index e7a2c68ac91cf0430e5d08713b28a41283fa6a76..f8f18a3cdbe0e8cbee8e5b12b7819b988e9617e1 100644 (file)
@@ -9,7 +9,6 @@ struct pb_system_apps {
        const char *shutdown;
        const char *sftp;
        const char *tftp;
-       const char *udevadm;
        const char *umount;
        const char *wget;
 };