summaryrefslogtreecommitdiffstats
path: root/waftools
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2014-06-30 10:53:59 +0200
committerAlessandro Ghedini <alessandro@ghedini.me>2014-06-30 23:19:53 +0200
commit211ca98e9c2ab93672b6cdd117d3729c4716fc3a (patch)
treec4315ee3074f8b0b5fc4be1fc34f369ffeb270c6 /waftools
parent1c0939cb803d2ebec8fda3782dd890ebeb9229f5 (diff)
downloadmpv-211ca98e9c2ab93672b6cdd117d3729c4716fc3a.tar.bz2
mpv-211ca98e9c2ab93672b6cdd117d3729c4716fc3a.tar.xz
build: set default cdrom and dvd devices on linux
Diffstat (limited to 'waftools')
-rw-r--r--waftools/detections/devices.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/waftools/detections/devices.py b/waftools/detections/devices.py
index cf1cca7e90..42c4c28171 100644
--- a/waftools/detections/devices.py
+++ b/waftools/detections/devices.py
@@ -4,6 +4,7 @@ __cdrom_devices_map__ = {
'darwin': '/dev/disk1',
'freebsd': '/dev/cd0',
'openbsd': '/dev/rcd0c',
+ 'linux': '/dev/sr0',
'default': '/dev/cdrom'
}
@@ -13,6 +14,7 @@ __dvd_devices_map__ = {
'darwin': '/dev/rdiskN',
'freebsd': '/dev/cd0',
'openbsd': '/dev/rcd0c',
+ 'linux': '/dev/sr0',
'default': '/dev/dvd'
}