summaryrefslogtreecommitdiffstats
path: root/discover/Makefile.am
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-11-29 10:47:10 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-12-02 17:00:16 +0800
commit9de5d31f93dab36cfb451e9ad724d47311b54424 (patch)
tree47dbc8efa3f62da140d6edc045fdebf2aa73ac1c /discover/Makefile.am
parentf4d1abf7d2d066ee183d9cd588f336dc63f0da00 (diff)
downloadtalos-petitboot-9de5d31f93dab36cfb451e9ad724d47311b54424.tar.gz
talos-petitboot-9de5d31f93dab36cfb451e9ad724d47311b54424.zip
discover: Fix CDROM handling
Currently, we don't handle CDROM devices well; we'll try to mount on boot, and not detect any media changes. Also, the default rules shipping with udev will put the CDROM tray into a locked state, blocking eject from working. This change adds a set of cdrom utility functions, which the udev code can use to properly initialise cdrom devices and handle eject and media change requests. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/Makefile.am')
-rw-r--r--discover/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/discover/Makefile.am b/discover/Makefile.am
index 2a7885d..84c0436 100644
--- a/discover/Makefile.am
+++ b/discover/Makefile.am
@@ -32,6 +32,8 @@ sbin_PROGRAMS = pb-discover
pb_discover_SOURCES = \
boot.c \
boot.h \
+ cdrom.c \
+ cdrom.h \
device-handler.c \
device-handler.h \
discover-server.c \
OpenPOWER on IntegriCloud