Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3]  usbmount fixes
Date: Wed, 27 Jul 2011 21:54:49 +0200	[thread overview]
Message-ID: <87zkjzsdme.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <4E29900B.6040502@visionsystems.de> (Yegor Yefremov's message of "Fri, 22 Jul 2011 16:58:19 +0200")

>>>>> "Yegor" == Yegor Yefremov <yegor_sub1@visionsystems.de> writes:

 Yegor> - create mounting points
 Yegor> - fix dependencies
 Yegor> - fix udev rules
 Yegor> - fix fs type detection

Thanks, committed with some fixes (see below).

 Yegor> Index: b/package/usbmount/Config.in
 Yegor> ===================================================================
 Yegor> --- a/package/usbmount/Config.in
 Yegor> +++ b/package/usbmount/Config.in
 Yegor> @@ -2,6 +2,8 @@
 Yegor>  	bool "usbmount"
 Yegor>  	select BR2_PACKAGE_UDEV
 Yegor>  	select BR2_PACKAGE_LOCKFILE_PROGS
 Yegor> +	select BR2_PACKAGE_UTIL_LINUX
 Yegor> +	select BR2_PACKAGE_UTIL_LINUX_LIBBLKID

util-linux needs wchar + largefile, and is only visible if
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS, so those needs to be selected (and a
comment shown if wchar/largefile isn't available).

 Yegor> +++ b/package/usbmount/usbmount.mk
 Yegor> @@ -6,20 +6,36 @@
 Yegor>  USBMOUNT_VERSION = 0.0.21
 Yegor>  USBMOUNT_SOURCE = usbmount_$(USBMOUNT_VERSION).tar.gz
 Yegor>  USBMOUNT_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/u/usbmount
 Yegor> -USBMOUNT_DEPENDENCIES = udev lockfile-progs
 Yegor> +USBMOUNT_DEPENDENCIES = udev lockfile-progs util-linux
 
 Yegor>  define USBMOUNT_INSTALL_TARGET_CMDS
 Yegor>  	$(INSTALL) -m 0755 -D $(@D)/usbmount $(TARGET_DIR)/usr/share/usbmount/usbmount
 Yegor> +
 Yegor> +	$(INSTALL) -m 0755 -D $(@D)/00_create_model_symlink 	\
 Yegor> +		$(TARGET_DIR)/etc/usbmount/usbmount.d/00_create_model_symlink
 Yegor> +	$(INSTALL) -m 0755 -D $(@D)/00_remove_model_symlink 	\
 Yegor> +		$(TARGET_DIR)/etc/usbmount/usbmount.d/00_remove_model_symlink
 Yegor> +
 Yegor>  	$(INSTALL) -m 0644 -D $(@D)/usbmount.rules $(TARGET_DIR)/lib/udev/rules.d/usbmount.rules
 Yegor>  	@if [ ! -f $(TARGET_DIR)/etc/usbmount/usbmount.conf ]; then \
 Yegor>  	        $(INSTALL) -m 0644 -D $(@D)/usbmount.conf $(TARGET_DIR)/etc/usbmount/usbmount.conf; \
 Yegor>  	fi
 Yegor> +
 Yegor> +	mkdir -p $(TARGET_DIR)/media
 Yegor> +	mkdir -p $(TARGET_DIR)/media/usb0
 Yegor> +	mkdir -p $(TARGET_DIR)/media/usb1
 Yegor> +	mkdir -p $(TARGET_DIR)/media/usb2
 Yegor> +	mkdir -p $(TARGET_DIR)/media/usb3
 Yegor> +	mkdir -p $(TARGET_DIR)/media/usb4
 Yegor> +	mkdir -p $(TARGET_DIR)/media/usb5
 Yegor> +	mkdir -p $(TARGET_DIR)/media/usb6

usbmount handles /media/usb[0-7], so you forgot usb7.
 
 Yegor> Index: b/package/usbmount/usbmount-rules-fix.patch
 Yegor> ===================================================================
 Yegor> --- /dev/null
 Yegor> +++ b/package/usbmount/usbmount-rules-fix.patch
 Yegor> @@ -0,0 +1,19 @@
 Yegor> +Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>

Please provide a proper description of what patches do in the future.

-- 
Bye, Peter Korsgaard

  parent reply	other threads:[~2011-07-27 19:54 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-22 14:45 [Buildroot] [PATCH 0/3] bump udev and clean up Yegor Yefremov
2011-07-22 14:51 ` [Buildroot] [PATCH 1/3] " Yegor Yefremov
2011-07-22 14:53   ` [Buildroot] [PATCH 2/3] util-linux: convert to autotarget and bump to 2.19.1 Yegor Yefremov
2011-07-22 14:58     ` [Buildroot] [PATCH 3/3] usbmount fixes Yegor Yefremov
2011-07-27 19:13       ` Peter Korsgaard
2011-07-27 19:36         ` Yegor Yefremov
2011-07-27 19:54       ` Peter Korsgaard [this message]
2011-07-28  7:08         ` Yegor Yefremov
2011-07-27  7:43     ` [Buildroot] [PATCH 2/3] util-linux: convert to autotarget and bump to 2.19.1 Peter Korsgaard
2011-07-25 22:03   ` [Buildroot] [PATCH 1/3] bump udev and clean up Peter Korsgaard
2011-07-26  7:07     ` Yegor Yefremov
2011-07-26 16:00       ` Diego Iastrubni
2011-07-27  7:34         ` Peter Korsgaard
2011-07-27  7:51           ` Thomas Petazzoni
     [not found]           ` <CALR4fEKGFH5tq-25=j3DW-CVD5Uc-QxUeLoec-JLwSxNUhQw-w@mail.gmail.com>
     [not found]             ` <87sjpst92p.fsf@macbook.be.48ers.dk>
     [not found]               ` <CALR4fEKxDB+xH1_X+0xY9KWQXAz_g6zbrQHqzOB81J2jpOcnOg@mail.gmail.com>
2011-07-27 12:53                 ` Diego Iastrubni
2011-08-03 12:37                   ` Diego Iastrubni
2011-08-03 13:41                     ` Yegor Yefremov
2011-08-03 13:51                       ` Diego Iastrubni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zkjzsdme.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox