Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/4] Convert busybox to the device declaration method
Date: Sat, 21 Jan 2012 00:30:35 +0100	[thread overview]
Message-ID: <201201210030.35889.arnout@mind.be> (raw)
In-Reply-To: <1098caad9414fca0d7395e8c65b7034c780f4ed3.1326304128.git.maxime.ripard@free-electrons.com>

On Wednesday 11 January 2012 18:53:39 Maxime Ripard wrote:
> Busybox used to declare and create files even if the package was not
> enabled through the device table. Remove the entries for busybox in the
> device table and move them to the package declaration.
> 
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

> ---
>  package/busybox/busybox.mk      |    5 +++++
>  target/generic/device_table.txt |    2 --
>  2 files changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
> index d18b6d0..59448d5 100644
> --- a/package/busybox/busybox.mk
> +++ b/package/busybox/busybox.mk
> @@ -28,6 +28,11 @@ ifndef BUSYBOX_CONFIG_FILE
>  	BUSYBOX_CONFIG_FILE = $(call qstrip,$(BR2_PACKAGE_BUSYBOX_CONFIG))
>  endif
>  
> +define BUSYBOX_PERMISSIONS
> +/bin/busybox			 f 4755	0 0 - - - - -
> +/usr/share/udhcpc/default.script f 755  0 0 - - - - -
 Actually, the default.script doesn't need to be touched.  busybox.mk will
install it with install -m 0755 so the line above doesn't change it.  (Note:
I verified that.)

> +endef
> +
[snip]


 Regards,
 Arnout

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

  reply	other threads:[~2012-01-20 23:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-11 17:53 [Buildroot] [pull request v4] Pull request for branch for-2012.02/pkg-device Maxime Ripard
2012-01-11 17:53 ` [Buildroot] [PATCH 1/4] Add support for package-declared devices Maxime Ripard
2012-01-20 23:23   ` Arnout Vandecappelle
2012-01-11 17:53 ` [Buildroot] [PATCH 2/4] Convert busybox to the device declaration method Maxime Ripard
2012-01-20 23:30   ` Arnout Vandecappelle [this message]
2012-02-01 22:04     ` Peter Korsgaard
2012-01-11 17:53 ` [Buildroot] [PATCH 3/4] Migrate Xenomai to the new infrastructure Maxime Ripard
2012-01-11 17:53 ` [Buildroot] [PATCH 4/4] Update the documentation to add these changes Maxime Ripard
2012-01-12  8:30   ` Thomas Petazzoni
2012-02-01 22:08     ` Peter Korsgaard
2012-02-17 23:30       ` [Buildroot] [PATCH] Add documentation for makedev Maxime Ripard
2012-02-19 21:56         ` Peter Korsgaard
2012-02-01 22:07 ` [Buildroot] [pull request v4] Pull request for branch for-2012.02/pkg-device Peter Korsgaard

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=201201210030.35889.arnout@mind.be \
    --to=arnout@mind.be \
    --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