Commit Graph

10 Commits

Author SHA1 Message Date
Sven Neumann
e26267ef2e usbmount: stop using blkid, use udev environment variables instead
The blkid binary is not any longer installed when libblkid from
util-linux is selected. udev has a builtin blkid command though
and already detects all values that we are interested in. Change
the usbmount script to use the environment variables set by udev
instead of calling blkid directly.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-19 22:31:34 +02:00
Peter Korsgaard
1c1009d38d usbmount: depend on udev rather than selecting it
udev is much more than a library, so we shouldn't use select to silently
enable it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-15 12:11:58 +02:00
Peter Korsgaard
952d96d5ae util-linux: drop BR2_PACKAGE_BUSYBOX_SHOW_OTHERS dependency
Drop the dependency as it isn't really nice that other packages need
to select it, and kconf complains about it:

warning: (BR2_PACKAGE_E2FSPROGS && BR2_PACKAGE_USBMOUNT) selects
 BR2_PACKAGE_BUSYBOX_SHOW_OTHERS which has unmet direct dependencies
 (!BR2_PACKAGE_BUSYBOX)

Instead ensure that only the libraries are built by default, so
busybox applets are still used unless explicitly configured.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-29 08:53:55 +02:00
Yegor Yefremov
1f2879ccb7 usbmount fixes
- create mounting points
- fix dependencies
- fix udev rules
- fix fs type detection

[Peter: fix Config.in deps, create usb7, only remove /media/usb?]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-27 21:07:54 +02:00
Yegor Yefremov
c74bce7de5 usbmount: bump to 0.0.21
[Peter: fix udev dep, use Debian mirrors, fix usbmount.rules install, uninstall]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-21 22:35:04 +02:00
Peter Korsgaard
e5a9c22c90 usbmount: convert to gentargets and fix dependencies
udev needs to be selected before the sub options can be selected, and
UDEV_SCSI_ID isn't needed.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-19 23:22:24 +02:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
"Steven J. Hill"
dbf0e5eef6 Modify the main script to use the lockfile program utilities. Mounting and un-mounting do not work reliably without them. 2007-05-07 04:03:42 +00:00
"Steven J. Hill"
7fdce37c85 Satisfy dependency. 2007-02-06 18:11:59 +00:00
"Steven J. Hill"
ea18cf815c Add new package. 2007-01-14 03:31:43 +00:00