diff options
author | Morgan Little <morgan.little@windriver.com> | 2014-08-14 11:19:42 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-08-15 17:07:02 +0200 |
commit | 0bdefd0660ebd233602925923150e874a78de675 (patch) | |
tree | bf720513249a87b8295629754e1b15fb3e5f21f2 /meta-oe/recipes-support/eject/eject/eject-timeout.patch | |
parent | df540b52c77168d864b0ea9dd10bdf5bc1c9bc47 (diff) | |
download | meta-openembedded-contrib-0bdefd0660ebd233602925923150e874a78de675.tar.gz |
eject: three fixes
eject-2.1.1-verbose.patch: Kept to help with debugging
eject-2.1.5-spaces.patch: help with spaces in the mount path
eject-timeout.patch: allow a longer timeout
Signed-off-by: Morgan Little <morgan.little@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/eject/eject/eject-timeout.patch')
-rw-r--r-- | meta-oe/recipes-support/eject/eject/eject-timeout.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/eject/eject/eject-timeout.patch b/meta-oe/recipes-support/eject/eject/eject-timeout.patch new file mode 100644 index 0000000000..de8146f32a --- /dev/null +++ b/meta-oe/recipes-support/eject/eject/eject-timeout.patch @@ -0,0 +1,17 @@ +allow a longer timeout + +Upstream-Status: Backport + +Signed-off-by: Morgan Little <morgan.little@windriver.com> + +--- eject/eject.c.orig 2006-08-07 16:35:15.000000000 +0200 ++++ eject/eject.c 2006-08-07 16:35:54.000000000 +0200 +@@ -723,7 +723,7 @@ + io_hdr.dxfer_len = 0; + io_hdr.dxferp = inqBuff; + io_hdr.sbp = sense_buffer; +- io_hdr.timeout = 2000; ++ io_hdr.timeout = 10000; + + io_hdr.cmdp = allowRmBlk; + status = ioctl(fd, SG_IO, (void *)&io_hdr); |