From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCHv3 06/74] busybox: use <pkg>_INSTALL_INIT_SYSV mechanism
Date: Sun, 30 Nov 2014 15:55:06 +0100 [thread overview]
Message-ID: <20141130145506.GK4124@free.fr> (raw)
In-Reply-To: <1417357142-14307-7-git-send-email-thomas.petazzoni@free-electrons.com>
Thomas, All,
On 2014-11-30 15:17 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> package/busybox/busybox.mk | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
> index f0fa851..eb2f3f1 100644
> --- a/package/busybox/busybox.mk
> +++ b/package/busybox/busybox.mk
> @@ -218,8 +218,11 @@ define BUSYBOX_INSTALL_TARGET_CMDS
> $(INSTALL) -m 0755 -D package/busybox/udhcpc.script \
> $(TARGET_DIR)/usr/share/udhcpc/default.script; \
> fi
> - $(BUSYBOX_INSTALL_MDEV_SCRIPT)
> $(BUSYBOX_INSTALL_MDEV_CONF)
> +endef
> +
> +define BUSYBOX_INSTALL_INIT_SYSV
> + $(BUSYBOX_INSTALL_MDEV_SCRIPT)
The installation of the script is stil conditional:
define BUSYBOX_INSTALL_MDEV_SCRIPT
[ -f $(TARGET_DIR)/etc/init.d/S10mdev ] || \
$(INSTALL) -D -m 0755 package/busybox/S10mdev \
$(TARGET_DIR)/etc/init.d/S10mdev
endef
So maybe this could be fixed at the same time, like you did in the
previous patches?
Also, what would be the reason for installing the mdev configuration
out-side the _INIT_SYSV hook?
It can be a separate macro, sure, for the day we have systemd support
for mdev, but then we can just duplicate the call to that macro in the
_INIT_SYSTEMD hook.
And BTW, the installation of the mdev configuration is also still
conditional.
Regards,
Yann E. MORIN.
> $(BUSYBOX_INSTALL_LOGGING_SCRIPT)
> $(BUSYBOX_INSTALL_WATCHDOG_SCRIPT)
> endef
> --
> 2.1.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2014-11-30 14:55 UTC|newest]
Thread overview: 227+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
2014-11-30 14:17 ` [Buildroot] [PATCHv3 01/74] vsftpd: use <pkg>_INSTALL_INIT_SYSV and rename init script Thomas Petazzoni
2014-11-30 14:45 ` Yann E. MORIN
2014-12-01 21:35 ` Peter Korsgaard
2014-11-30 14:17 ` [Buildroot] [PATCHv3 02/74] vsftpd: don't install manpages Thomas Petazzoni
2014-11-30 14:46 ` Yann E. MORIN
2014-12-01 21:35 ` Peter Korsgaard
2014-11-30 14:17 ` [Buildroot] [PATCHv3 03/74] vsftpd: rename patches to the new naming convention Thomas Petazzoni
2014-11-30 14:46 ` Yann E. MORIN
2014-12-01 21:35 ` Peter Korsgaard
2014-11-30 14:17 ` [Buildroot] [PATCHv3 04/74] radvd: use <pkg>_INSTALL_INIT_SYSV Thomas Petazzoni
2014-11-30 14:47 ` Yann E. MORIN
2014-12-01 21:36 ` Peter Korsgaard
2014-11-30 14:17 ` [Buildroot] [PATCHv3 05/74] thttpd: use the <pkg>_INSTALL_INIT_SYSV mechanism Thomas Petazzoni
2014-11-30 14:48 ` Yann E. MORIN
2014-12-01 21:37 ` Peter Korsgaard
2014-11-30 14:17 ` [Buildroot] [PATCHv3 06/74] busybox: use " Thomas Petazzoni
2014-11-30 14:55 ` Yann E. MORIN [this message]
2014-11-30 17:23 ` Yann E. MORIN
2014-12-01 21:38 ` Peter Korsgaard
2014-11-30 14:17 ` [Buildroot] [PATCHv3 07/74] portmap: " Thomas Petazzoni
2014-11-30 14:56 ` Yann E. MORIN
2014-12-01 21:42 ` Peter Korsgaard
2014-11-30 14:17 ` [Buildroot] [PATCHv3 08/74] portmap: don't install manpages Thomas Petazzoni
2014-11-30 14:57 ` Yann E. MORIN
2014-12-01 21:44 ` Peter Korsgaard
2014-11-30 14:17 ` [Buildroot] [PATCHv3 09/74] portmap: improve installation of binaries Thomas Petazzoni
2014-11-30 14:59 ` Yann E. MORIN
2014-12-01 21:45 ` Peter Korsgaard
2014-11-30 14:17 ` [Buildroot] [PATCHv3 10/74] stunnel: use the <pkg>_INSTALL_INIT_SYSV mechanism Thomas Petazzoni
2014-11-30 15:04 ` Yann E. MORIN
2014-11-30 17:25 ` Yann E. MORIN
2014-12-01 21:46 ` Peter Korsgaard
2014-11-30 14:17 ` [Buildroot] [PATCHv3 11/74] gdk-pixbuf: use " Thomas Petazzoni
2014-11-30 15:05 ` Yann E. MORIN
2014-12-01 21:48 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 12/74] proftpd: " Thomas Petazzoni
2014-11-30 15:06 ` Yann E. MORIN
2014-12-01 21:50 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 13/74] samba: " Thomas Petazzoni
2014-11-30 15:09 ` Yann E. MORIN
2014-12-01 21:50 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 14/74] input-event-daemon: " Thomas Petazzoni
2014-11-30 15:11 ` Yann E. MORIN
2014-12-01 21:51 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 15/74] ifplugd: " Thomas Petazzoni
2014-11-30 15:13 ` Yann E. MORIN
2014-12-01 21:52 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 16/74] nfs-utils: " Thomas Petazzoni
2014-11-30 15:28 ` Yann E. MORIN
2014-12-01 21:53 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 17/74] netatalk: " Thomas Petazzoni
2014-11-30 15:28 ` Yann E. MORIN
2014-12-01 21:54 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 18/74] mongoose: " Thomas Petazzoni
2014-11-30 15:29 ` Yann E. MORIN
2014-12-01 21:55 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 19/74] gpsd: " Thomas Petazzoni
2014-11-30 15:38 ` Yann E. MORIN
2014-12-01 21:59 ` Peter Korsgaard
2014-12-01 21:57 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 20/74] olsr: " Thomas Petazzoni
2014-11-30 15:39 ` Yann E. MORIN
2014-12-01 21:59 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 21/74] pango: " Thomas Petazzoni
2014-11-30 15:39 ` Yann E. MORIN
2014-12-01 22:00 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 22/74] xapp_xdm: " Thomas Petazzoni
2014-11-30 15:40 ` Yann E. MORIN
2014-12-01 22:00 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 23/74] tftpd: " Thomas Petazzoni
2014-11-30 15:41 ` Yann E. MORIN
2014-12-01 22:02 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 24/74] openvpn: " Thomas Petazzoni
2014-11-30 15:45 ` Yann E. MORIN
2014-12-01 22:05 ` Peter Korsgaard
2014-12-01 22:06 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 25/74] tinyhttpd: " Thomas Petazzoni
2014-11-30 15:46 ` Yann E. MORIN
2014-12-01 22:06 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 26/74] at: " Thomas Petazzoni
2014-11-30 16:57 ` Yann E. MORIN
2014-12-01 22:07 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 27/74] mpd: " Thomas Petazzoni
2014-11-30 16:58 ` Yann E. MORIN
2014-12-01 22:07 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 28/74] snowball-init: " Thomas Petazzoni
2014-11-30 16:59 ` Yann E. MORIN
2014-12-01 22:07 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 29/74] wipe: don't install man pages Thomas Petazzoni
2014-11-30 17:00 ` Yann E. MORIN
2014-12-01 22:10 ` Peter Korsgaard
2014-12-01 22:09 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 30/74] ndisc6: remove man page related code Thomas Petazzoni
2014-11-30 17:05 ` Yann E. MORIN
2014-12-01 22:14 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 31/74] tree: don't install man page Thomas Petazzoni
2014-11-30 17:05 ` Yann E. MORIN
2014-12-01 22:15 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 32/74] iostat: " Thomas Petazzoni
2014-11-30 17:06 ` Yann E. MORIN
2014-12-01 22:16 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 33/74] iostat: remove legacy code Thomas Petazzoni
2014-11-30 17:07 ` Yann E. MORIN
2014-12-01 22:17 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 34/74] pptp-linux: don't install man page Thomas Petazzoni
2014-11-30 17:07 ` Yann E. MORIN
2014-12-01 22:18 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 35/74] gnupg: don't both removing a " Thomas Petazzoni
2014-11-30 17:08 ` Yann E. MORIN
2014-12-01 22:22 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 36/74] rp-pppoe: don't install man pages Thomas Petazzoni
2014-11-30 17:09 ` Yann E. MORIN
2014-12-01 22:23 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 37/74] rp-pppoe: bail out of installation fails Thomas Petazzoni
2014-11-30 17:10 ` Yann E. MORIN
2014-12-01 22:24 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 38/74] alsa-utils: add error handling to for loop Thomas Petazzoni
2014-11-30 17:10 ` Yann E. MORIN
2014-12-01 22:25 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 39/74] coreutils: " Thomas Petazzoni
2014-11-30 17:11 ` Yann E. MORIN
2014-12-01 22:29 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 40/74] ebtables: " Thomas Petazzoni
2014-11-30 17:12 ` Yann E. MORIN
2014-12-01 22:30 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 41/74] flot: " Thomas Petazzoni
2014-11-30 17:12 ` Yann E. MORIN
2014-12-01 22:30 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 42/74] googlefontdirectory: " Thomas Petazzoni
2014-11-30 17:13 ` Yann E. MORIN
2014-12-01 22:31 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 43/74] gptfdisk: " Thomas Petazzoni
2014-11-30 17:13 ` Yann E. MORIN
2014-12-01 22:31 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 44/74] irda-utils: " Thomas Petazzoni
2014-11-30 17:14 ` Yann E. MORIN
2014-12-01 22:31 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 45/74] jimtcl: " Thomas Petazzoni
2014-11-30 17:14 ` Yann E. MORIN
2014-12-01 22:32 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 46/74] live555: " Thomas Petazzoni
2014-11-30 17:14 ` Yann E. MORIN
2014-12-01 22:32 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 47/74] lockfile-progs: " Thomas Petazzoni
2014-11-30 17:15 ` Yann E. MORIN
2014-12-01 22:32 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 48/74] qt5base: " Thomas Petazzoni
2014-11-30 17:15 ` Yann E. MORIN
2014-11-30 14:18 ` [Buildroot] [PATCHv3 49/74] qtuio: " Thomas Petazzoni
2014-11-30 17:17 ` Yann E. MORIN
2014-11-30 14:18 ` [Buildroot] [PATCHv3 50/74] sound-theme-borealis: " Thomas Petazzoni
2014-11-30 17:18 ` Yann E. MORIN
2014-12-01 23:14 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 51/74] xenomai: " Thomas Petazzoni
2014-11-30 17:18 ` Yann E. MORIN
2014-11-30 14:18 ` [Buildroot] [PATCHv3 52/74] aiccu: install init script and config file unconditionally Thomas Petazzoni
2014-11-30 17:30 ` Yann E. MORIN
2014-12-01 23:15 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 53/74] busybox: " Thomas Petazzoni
2014-11-30 17:33 ` Yann E. MORIN
2014-12-01 23:19 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 54/74] dmraid: install init script unconditionally Thomas Petazzoni
2014-11-30 17:35 ` Yann E. MORIN
2014-12-01 23:19 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 55/74] iucode-tool: " Thomas Petazzoni
2014-11-30 17:35 ` Yann E. MORIN
2014-12-01 23:20 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 56/74] lighttpd: install init script and config file unconditionally Thomas Petazzoni
2014-11-30 17:38 ` Yann E. MORIN
2014-12-01 23:24 ` Peter Korsgaard
2014-12-01 23:23 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 57/74] rpcbind: install init script unconditionally Thomas Petazzoni
2014-11-30 17:43 ` Yann E. MORIN
2014-12-01 23:24 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 58/74] rsyslog: install init script and config file unconditionally Thomas Petazzoni
2014-11-30 17:45 ` Yann E. MORIN
2014-12-01 23:25 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 59/74] transmission: install init script unconditionally Thomas Petazzoni
2014-11-30 17:46 ` Yann E. MORIN
2014-12-01 23:27 ` Peter Korsgaard
2014-12-01 23:33 ` Yann E. MORIN
2014-12-01 23:26 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 60/74] stunnel: install configuration file unconditionally Thomas Petazzoni
2014-11-30 17:47 ` Yann E. MORIN
2014-12-01 23:27 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 61/74] input-event-daemon: " Thomas Petazzoni
2014-11-30 17:48 ` Yann E. MORIN
2014-12-01 23:27 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 62/74] fluxbox: install session " Thomas Petazzoni
2014-11-30 17:49 ` Yann E. MORIN
2014-12-01 23:28 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 63/74] proftpd: install configuration " Thomas Petazzoni
2014-11-30 17:52 ` Yann E. MORIN
2014-12-01 23:28 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 64/74] samba: " Thomas Petazzoni
2014-11-30 17:53 ` Yann E. MORIN
2014-12-01 23:29 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 65/74] logrotate: " Thomas Petazzoni
2014-11-30 17:54 ` Yann E. MORIN
2014-12-01 23:32 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 66/74] nss-mdns: " Thomas Petazzoni
2014-11-30 18:04 ` Yann E. MORIN
2014-11-30 14:18 ` [Buildroot] [PATCHv3 67/74] ifplugd: install configuration files unconditionally Thomas Petazzoni
2014-11-30 18:06 ` Yann E. MORIN
2014-12-01 23:34 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 68/74] sysklogd: install configuration file unconditionally Thomas Petazzoni
2014-11-30 18:07 ` Yann E. MORIN
2014-12-01 23:35 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 69/74] screen: " Thomas Petazzoni
2014-11-30 18:08 ` Yann E. MORIN
2014-12-01 23:36 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 70/74] usbmount: " Thomas Petazzoni
2014-11-30 18:10 ` Yann E. MORIN
2014-12-01 23:38 ` Peter Korsgaard
2014-11-30 14:18 ` [Buildroot] [PATCHv3 71/74] php: " Thomas Petazzoni
2014-11-30 18:11 ` Yann E. MORIN
2014-12-01 23:40 ` Peter Korsgaard
2014-11-30 14:19 ` [Buildroot] [PATCHv3 72/74] inadyn: " Thomas Petazzoni
2014-11-30 18:16 ` Yann E. MORIN
2014-12-01 23:41 ` Peter Korsgaard
2014-11-30 14:19 ` [Buildroot] [PATCHv3 73/74] mpd: " Thomas Petazzoni
2014-11-30 18:18 ` Yann E. MORIN
2014-12-01 23:43 ` Peter Korsgaard
2014-11-30 14:19 ` [Buildroot] [PATCHv3 74/74] toolchain: install nssswitch.conf " Thomas Petazzoni
2014-11-30 18:19 ` Yann E. MORIN
2014-11-30 14:30 ` [Buildroot] [PATCHv3 00/74] Misc package improvements Baruch Siach
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=20141130145506.GK4124@free.fr \
--to=yann.morin.1998@free.fr \
--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