All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCHv3 00/74] Misc package improvements
@ 2014-11-30 14:17 Thomas Petazzoni
  2014-11-30 14:17 ` [Buildroot] [PATCHv3 01/74] vsftpd: use <pkg>_INSTALL_INIT_SYSV and rename init script Thomas Petazzoni
                   ` (74 more replies)
  0 siblings, 75 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:17 UTC (permalink / raw)
  To: buildroot

Hello,

This series does miscellaneous improvements to packages, mainly:

 * Convert the remaining init script installation logic to
   <pkg>_INSTALL_INIT_SYSV.

 * Do not install or remove man pages in packages, since we don't care
   about documentation in the target.

 * Fixup a number of "for" loops to properly bail out if one iteration
   of the loop fails instead of silently ignoring the error. Not all
   for loops have been inspected yet, so it's only a partial work.

 * Install init scripts and configuration files unconditionally, even
   though the skeleton has installed its own version of the
   file. People are encouraged to use the rootfs overlay or the
   post-build script mechanisms.

 * Misc other small stuff.

Changes since v2:

 - Fix commit title of the commit making the dmraid init script
   installation unconditional, it was referring to busybox while the
   commit is about dmraid. Noticed by Baruch.

 - Fix commit messages of netatalk, gpsd, samba, input-event-daemon,
   which were missing some words. Noticed by Baruch.

Changes since v1:

 - Rebase on top of the next branch.
 - Add more patches to remove the conditional installations.

Best regards,

Thomas

Thomas Petazzoni (74):
  vsftpd: use <pkg>_INSTALL_INIT_SYSV and rename init script
  vsftpd: don't install manpages
  vsftpd: rename patches to the new naming convention
  radvd: use <pkg>_INSTALL_INIT_SYSV
  thttpd: use the <pkg>_INSTALL_INIT_SYSV mechanism
  busybox: use <pkg>_INSTALL_INIT_SYSV mechanism
  portmap: use <pkg>_INSTALL_INIT_SYSV mechanism
  portmap: don't install manpages
  portmap: improve installation of binaries
  stunnel: use the <pkg>_INSTALL_INIT_SYSV mechanism
  gdk-pixbuf: use <pkg>_INSTALL_INIT_SYSV mechanism
  proftpd: use <pkg>_INSTALL_INIT_SYSV mechanism
  samba: use <pkg>_INSTALL_INIT_SYSV mechanism
  input-event-daemon: use <pkg>_INSTALL_INIT_SYSV mechanism
  ifplugd: use <pkg>_INSTALL_INIT_SYSV mechanism
  nfs-utils: use <pkg>_INSTALL_INIT_SYSV mechanism
  netatalk: use <pkg>_INSTALL_INIT_SYSV mechanism
  mongoose: use <pkg>_INSTALL_INIT_SYSV mechanism
  gpsd: use <pkg>_INSTALL_INIT_SYSV mechanism
  olsr: use <pkg>_INSTALL_INIT_SYSV mechanism
  pango: use <pkg>_INSTALL_INIT_SYSV mechanism
  xapp_xdm: use <pkg>_INSTALL_INIT_SYSV mechanism
  tftpd: use <pkg>_INSTALL_INIT_SYSV mechanism
  openvpn: use <pkg>_INSTALL_INIT_SYSV mechanism
  tinyhttpd: use <pkg>_INSTALL_INIT_SYSV mechanism
  at: use <pkg>_INSTALL_INIT_SYSV mechanism
  mpd: use <pkg>_INSTALL_INIT_SYSV mechanism
  snowball-init: use <pkg>_INSTALL_INIT_SYSV mechanism
  wipe: don't install man pages
  ndisc6: remove man page related code
  tree: don't install man page
  iostat: don't install man page
  iostat: remove legacy code
  pptp-linux: don't install man page
  gnupg: don't both removing a man page
  rp-pppoe: don't install man pages
  rp-pppoe: bail out of installation fails
  alsa-utils: add error handling to for loop
  coreutils: add error handling to for loop
  ebtables: add error handling to for loop
  flot: add error handling to for loop
  googlefontdirectory: add error handling to for loop
  gptfdisk: add error handling to for loop
  irda-utils: add error handling to for loop
  jimtcl: add error handling to for loop
  live555: add error handling to for loop
  lockfile-progs: add error handling to for loop
  qt5base: add error handling to for loop
  qtuio: add error handling to for loop
  sound-theme-borealis: add error handling to for loop
  xenomai: add error handling to for loop
  aiccu: install init script and config file unconditionally
  busybox: install init script and config file unconditionally
  dmraid: install init script unconditionally
  iucode-tool: install init script unconditionally
  lighttpd: install init script and config file unconditionally
  rpcbind: install init script unconditionally
  rsyslog: install init script and config file unconditionally
  transmission: install init script unconditionally
  stunnel: install configuration file unconditionally
  input-event-daemon: install configuration file unconditionally
  fluxbox: install session file unconditionally
  proftpd: install configuration file unconditionally
  samba: install configuration file unconditionally
  logrotate: install configuration file unconditionally
  nss-mdns: install configuration file unconditionally
  ifplugd: install configuration files unconditionally
  sysklogd: install configuration file unconditionally
  screen: install configuration file unconditionally
  usbmount: install configuration file unconditionally
  php: install configuration file unconditionally
  inadyn: install configuration file unconditionally
  mpd: install configuration file unconditionally
  toolchain: install nssswitch.conf configuration file unconditionally

 package/aiccu/aiccu.mk                             |  6 +--
 package/alsa-utils/alsa-utils.mk                   |  2 +-
 package/at/at.mk                                   |  4 +-
 package/busybox/busybox.mk                         | 35 ++++++++--------
 package/coreutils/coreutils.mk                     |  2 +-
 package/dmraid/dmraid.mk                           |  5 +--
 package/ebtables/ebtables.mk                       |  2 +-
 package/flot/flot.mk                               |  2 +-
 package/fluxbox/fluxbox.mk                         |  4 +-
 package/gdk-pixbuf/gdk-pixbuf.mk                   |  4 +-
 package/gnupg/gnupg.mk                             |  3 +-
 package/googlefontdirectory/googlefontdirectory.mk |  2 +-
 package/gpsd/gpsd.mk                               |  9 +++--
 package/gptfdisk/gptfdisk.mk                       |  2 +-
 package/ifplugd/ifplugd.mk                         | 19 +++++----
 package/inadyn/inadyn.mk                           |  6 +--
 package/input-event-daemon/input-event-daemon.mk   | 13 +++---
 package/iostat/iostat.mk                           |  4 --
 package/irda-utils/irda-utils.mk                   |  2 +-
 package/iucode-tool/iucode-tool.mk                 |  5 +--
 package/jimtcl/jimtcl.mk                           |  2 +-
 package/lighttpd/lighttpd.mk                       | 46 ++++++++--------------
 package/live555/live555.mk                         |  2 +-
 package/lockfile-progs/lockfile-progs.mk           |  2 +-
 package/logrotate/logrotate.mk                     |  4 +-
 package/mongoose/mongoose.mk                       |  3 ++
 package/mpd/mpd.mk                                 | 12 +++---
 package/ndisc6/ndisc6.mk                           |  7 +---
 package/netatalk/netatalk.mk                       |  9 ++---
 package/nfs-utils/nfs-utils.mk                     |  9 +++--
 package/nss-mdns/nss-mdns.mk                       |  4 +-
 package/olsr/olsr.mk                               |  5 ++-
 package/openvpn/openvpn.mk                         |  3 ++
 package/pango/pango.mk                             |  4 +-
 package/php/php.mk                                 |  6 +--
 package/portmap/portmap.mk                         | 14 +++----
 package/pptp-linux/pptp-linux.mk                   |  1 -
 package/proftpd/proftpd.mk                         | 11 +++---
 package/qt5/qt5base/qt5base.mk                     |  2 +-
 package/qtuio/qtuio.mk                             |  6 +--
 package/radvd/radvd.mk                             |  6 +--
 package/rp-pppoe/rp-pppoe.mk                       |  5 +--
 package/rpcbind/rpcbind.mk                         |  5 +--
 package/rsyslog/rsyslog.mk                         | 14 +++----
 package/samba/samba.mk                             | 17 ++++----
 package/screen/screen.mk                           |  4 +-
 package/snowball-init/snowball-init.mk             |  2 +-
 .../sound-theme-borealis/sound-theme-borealis.mk   |  2 +-
 package/stunnel/stunnel.mk                         | 14 ++++---
 package/sysklogd/sysklogd.mk                       |  6 +--
 package/tftpd/tftpd.mk                             |  5 ++-
 package/thttpd/thttpd.mk                           |  7 +++-
 package/tinyhttpd/tinyhttpd.mk                     |  5 ++-
 package/transmission/transmission.mk               |  5 +--
 package/tree/tree.mk                               |  2 -
 package/usbmount/usbmount.mk                       |  4 +-
 ...px-builddef.patch => 0001-utmpx-builddef.patch} |  0
 ...efile.patch => 0002-dont-force-largefile.patch} |  0
 package/vsftpd/{vsftpd-init => S70vsftpd}          |  0
 package/vsftpd/vsftpd.mk                           | 11 ++----
 package/wipe/wipe.mk                               |  1 -
 package/x11r7/xapp_xdm/xapp_xdm.mk                 |  4 +-
 package/xenomai/xenomai.mk                         |  2 +-
 toolchain/toolchain.mk                             |  6 +--
 64 files changed, 177 insertions(+), 233 deletions(-)
 rename package/vsftpd/{vsftpd-0001-utmpx-builddef.patch => 0001-utmpx-builddef.patch} (100%)
 rename package/vsftpd/{vsftpd-dont-force-largefile.patch => 0002-dont-force-largefile.patch} (100%)
 rename package/vsftpd/{vsftpd-init => S70vsftpd} (100%)

-- 
2.1.0

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 01/74] vsftpd: use <pkg>_INSTALL_INIT_SYSV and rename init script
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
@ 2014-11-30 14:17 ` 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
                   ` (73 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:17 UTC (permalink / raw)
  To: buildroot

This commit changes the vsftpd package to use the
<pkg>_INSTALL_INIT_SYSV mechanism to install its init script, and
renames the init script in the Buildroot source tree to match how it's
named on the target.

Also, the init script is now installed unconditionally, as is done in
most packages.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/vsftpd/{vsftpd-init => S70vsftpd} | 0
 package/vsftpd/vsftpd.mk                  | 7 ++++---
 2 files changed, 4 insertions(+), 3 deletions(-)
 rename package/vsftpd/{vsftpd-init => S70vsftpd} (100%)

diff --git a/package/vsftpd/vsftpd-init b/package/vsftpd/S70vsftpd
similarity index 100%
rename from package/vsftpd/vsftpd-init
rename to package/vsftpd/S70vsftpd
diff --git a/package/vsftpd/vsftpd.mk b/package/vsftpd/vsftpd.mk
index cab5afb..1c468ed 100644
--- a/package/vsftpd/vsftpd.mk
+++ b/package/vsftpd/vsftpd.mk
@@ -43,15 +43,16 @@ define VSFTPD_BUILD_CMDS
 		LDFLAGS="$(TARGET_LDFLAGS)" LIBS="$(VSFTPD_LIBS)" -C $(@D)
 endef
 
+define VSFTPD_INSTALL_INIT_SYSV
+	$(INSTALL) -D -m 755 package/vsftpd/S70vsftpd $(TARGET_DIR)/etc/init.d/S70vsftpd
+endef
+
 define VSFTPD_INSTALL_TARGET_CMDS
 	$(INSTALL) -D -m 755 $(@D)/vsftpd $(TARGET_DIR)/usr/sbin/vsftpd
 	$(INSTALL) -D -m 644 $(@D)/vsftpd.8 \
 		$(TARGET_DIR)/usr/share/man/man8/vsftpd.8
 	$(INSTALL) -D -m 644 $(@D)/vsftpd.conf.5 \
 		$(TARGET_DIR)/usr/share/man/man5/vsftpd.conf.5
-	test -f $(TARGET_DIR)/etc/init.d/S70vsftpd || \
-		$(INSTALL) -D -m 755 package/vsftpd/vsftpd-init \
-			$(TARGET_DIR)/etc/init.d/S70vsftpd
 	test -f $(TARGET_DIR)/etc/vsftpd.conf || \
 		$(INSTALL) -D -m 644 $(@D)/vsftpd.conf \
 			$(TARGET_DIR)/etc/vsftpd.conf
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 02/74] vsftpd: don't install manpages
  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:17 ` 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
                   ` (72 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:17 UTC (permalink / raw)
  To: buildroot

Installing manpages to the target is quite useless, since we don't
support installing documentation on the target.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/vsftpd/vsftpd.mk | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/package/vsftpd/vsftpd.mk b/package/vsftpd/vsftpd.mk
index 1c468ed..b94328d 100644
--- a/package/vsftpd/vsftpd.mk
+++ b/package/vsftpd/vsftpd.mk
@@ -49,10 +49,6 @@ endef
 
 define VSFTPD_INSTALL_TARGET_CMDS
 	$(INSTALL) -D -m 755 $(@D)/vsftpd $(TARGET_DIR)/usr/sbin/vsftpd
-	$(INSTALL) -D -m 644 $(@D)/vsftpd.8 \
-		$(TARGET_DIR)/usr/share/man/man8/vsftpd.8
-	$(INSTALL) -D -m 644 $(@D)/vsftpd.conf.5 \
-		$(TARGET_DIR)/usr/share/man/man5/vsftpd.conf.5
 	test -f $(TARGET_DIR)/etc/vsftpd.conf || \
 		$(INSTALL) -D -m 644 $(@D)/vsftpd.conf \
 			$(TARGET_DIR)/etc/vsftpd.conf
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 03/74] vsftpd: rename patches to the new naming convention
  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:17 ` [Buildroot] [PATCHv3 02/74] vsftpd: don't install manpages Thomas Petazzoni
@ 2014-11-30 14:17 ` 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
                   ` (71 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:17 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 .../{vsftpd-0001-utmpx-builddef.patch => 0001-utmpx-builddef.patch}       | 0
 ...{vsftpd-dont-force-largefile.patch => 0002-dont-force-largefile.patch} | 0
 2 files changed, 0 insertions(+), 0 deletions(-)
 rename package/vsftpd/{vsftpd-0001-utmpx-builddef.patch => 0001-utmpx-builddef.patch} (100%)
 rename package/vsftpd/{vsftpd-dont-force-largefile.patch => 0002-dont-force-largefile.patch} (100%)

diff --git a/package/vsftpd/vsftpd-0001-utmpx-builddef.patch b/package/vsftpd/0001-utmpx-builddef.patch
similarity index 100%
rename from package/vsftpd/vsftpd-0001-utmpx-builddef.patch
rename to package/vsftpd/0001-utmpx-builddef.patch
diff --git a/package/vsftpd/vsftpd-dont-force-largefile.patch b/package/vsftpd/0002-dont-force-largefile.patch
similarity index 100%
rename from package/vsftpd/vsftpd-dont-force-largefile.patch
rename to package/vsftpd/0002-dont-force-largefile.patch
-- 
2.1.0

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 04/74] radvd: use <pkg>_INSTALL_INIT_SYSV
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (2 preceding siblings ...)
  2014-11-30 14:17 ` [Buildroot] [PATCHv3 03/74] vsftpd: rename patches to the new naming convention Thomas Petazzoni
@ 2014-11-30 14:17 ` 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
                   ` (70 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:17 UTC (permalink / raw)
  To: buildroot

This commit changes the radvd to use the <pkg>_INSTALL_INIT_SYSV
mechanism instead of using a post install target hook. We also use a
full destination path when calling $(INSTALL).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/radvd/radvd.mk | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/package/radvd/radvd.mk b/package/radvd/radvd.mk
index e0d4f69..e65d74a 100644
--- a/package/radvd/radvd.mk
+++ b/package/radvd/radvd.mk
@@ -12,10 +12,8 @@ RADVD_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
 # For radvd-01-drop-check.patch & radvd-02-drop-stack-protector.patch
 RADVD_AUTORECONF = YES
 
-define RADVD_INSTALL_INITSCRIPT
-	$(INSTALL) -m 0755 package/radvd/S50radvd $(TARGET_DIR)/etc/init.d
+define RADVD_INSTALL_INIT_SYSV
+	$(INSTALL) -D -m 0755 package/radvd/S50radvd $(TARGET_DIR)/etc/init.d/S50radvd
 endef
 
-RADVD_POST_INSTALL_TARGET_HOOKS += RADVD_INSTALL_INITSCRIPT
-
 $(eval $(autotools-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 05/74] thttpd: use the <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (3 preceding siblings ...)
  2014-11-30 14:17 ` [Buildroot] [PATCHv3 04/74] radvd: use <pkg>_INSTALL_INIT_SYSV Thomas Petazzoni
@ 2014-11-30 14:17 ` 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
                   ` (69 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:17 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/thttpd/thttpd.mk | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/package/thttpd/thttpd.mk b/package/thttpd/thttpd.mk
index 70a90fd..1a028c8 100644
--- a/package/thttpd/thttpd.mk
+++ b/package/thttpd/thttpd.mk
@@ -31,8 +31,6 @@ define THTTPD_INSTALL_TARGET_CMDS
 	$(INSTALL) -D -m 0755 $(@D)/scripts/thttpd_wrapper $(TARGET_DIR)/usr/sbin/thttpd_wrapper
 	$(SED) 's:/usr/local/sbin:/usr/sbin:g' -e \
 		's:/usr/local/www:/var/www:g' $(TARGET_DIR)/usr/sbin/thttpd_wrapper
-	$(INSTALL) -D -m 0755 $(@D)/scripts/thttpd.sh $(TARGET_DIR)/etc/init.d/S90thttpd
-	$(SED) 's:/usr/local/sbin:/usr/sbin:g' $(TARGET_DIR)/etc/init.d/S90thttpd
 	$(INSTALL) -d $(TARGET_DIR)/var/www/data
 	$(INSTALL) -d $(TARGET_DIR)/var/www/logs
 	echo "dir=/var/www/data" > $(TARGET_DIR)/var/www/thttpd_config
@@ -41,4 +39,9 @@ define THTTPD_INSTALL_TARGET_CMDS
 	echo "pidfile=/var/run/thttpd.pid" >> $(TARGET_DIR)/var/www/thttpd_config
 endef
 
+define THTTPD_INSTALL_INIT_SYSV
+	$(INSTALL) -D -m 0755 $(@D)/scripts/thttpd.sh $(TARGET_DIR)/etc/init.d/S90thttpd
+	$(SED) 's:/usr/local/sbin:/usr/sbin:g' $(TARGET_DIR)/etc/init.d/S90thttpd
+endef
+
 $(eval $(autotools-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 06/74] busybox: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (4 preceding siblings ...)
  2014-11-30 14:17 ` [Buildroot] [PATCHv3 05/74] thttpd: use the <pkg>_INSTALL_INIT_SYSV mechanism Thomas Petazzoni
@ 2014-11-30 14:17 ` Thomas Petazzoni
  2014-11-30 14:55   ` Yann E. MORIN
  2014-12-01 21:38   ` Peter Korsgaard
  2014-11-30 14:17 ` [Buildroot] [PATCHv3 07/74] portmap: " Thomas Petazzoni
                   ` (68 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:17 UTC (permalink / raw)
  To: buildroot

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)
 	$(BUSYBOX_INSTALL_LOGGING_SCRIPT)
 	$(BUSYBOX_INSTALL_WATCHDOG_SCRIPT)
 endef
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 07/74] portmap: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (5 preceding siblings ...)
  2014-11-30 14:17 ` [Buildroot] [PATCHv3 06/74] busybox: use " Thomas Petazzoni
@ 2014-11-30 14:17 ` 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
                   ` (67 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:17 UTC (permalink / raw)
  To: buildroot

We also switch to using a full destination path as the second argument
of $(INSTALL).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/portmap/portmap.mk | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/package/portmap/portmap.mk b/package/portmap/portmap.mk
index 0189597..dd60809 100644
--- a/package/portmap/portmap.mk
+++ b/package/portmap/portmap.mk
@@ -30,8 +30,10 @@ define PORTMAP_INSTALL_TARGET_CMDS
 		$(TARGET_DIR)/usr/share/man/man8/pmap_dump.8
 	$(INSTALL) -D $(@D)/pmap_set.8 \
 		$(TARGET_DIR)/usr/share/man/man8/pmap_set.8
-	$(INSTALL) -m 0755 package/portmap/S13portmap \
-		$(TARGET_DIR)/etc/init.d
+endef
+
+define PORTMAP_INSTALL_INIT_SYSV
+	$(INSTALL) -m 0755 package/portmap/S13portmap $(TARGET_DIR)/etc/init.d/S13portmap
 endef
 
 $(eval $(generic-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 08/74] portmap: don't install manpages
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (6 preceding siblings ...)
  2014-11-30 14:17 ` [Buildroot] [PATCHv3 07/74] portmap: " Thomas Petazzoni
@ 2014-11-30 14:17 ` 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
                   ` (66 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:17 UTC (permalink / raw)
  To: buildroot

We no longer support having documentation on the target, so there's no
point in carrying code to install man pages.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/portmap/portmap.mk | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/package/portmap/portmap.mk b/package/portmap/portmap.mk
index dd60809..d5d43bf 100644
--- a/package/portmap/portmap.mk
+++ b/package/portmap/portmap.mk
@@ -24,12 +24,6 @@ define PORTMAP_INSTALL_TARGET_CMDS
 	for sbin in $(PORTMAP_SBINS); do \
 		$(INSTALL) -D $(@D)/$$sbin $(TARGET_DIR)/sbin/$$sbin; \
 	done
-	$(INSTALL) -D $(@D)/portmap.man \
-		$(TARGET_DIR)/usr/share/man/man8/portmap.8
-	$(INSTALL) -D $(@D)/pmap_dump.8 \
-		$(TARGET_DIR)/usr/share/man/man8/pmap_dump.8
-	$(INSTALL) -D $(@D)/pmap_set.8 \
-		$(TARGET_DIR)/usr/share/man/man8/pmap_set.8
 endef
 
 define PORTMAP_INSTALL_INIT_SYSV
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 09/74] portmap: improve installation of binaries
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (7 preceding siblings ...)
  2014-11-30 14:17 ` [Buildroot] [PATCHv3 08/74] portmap: don't install manpages Thomas Petazzoni
@ 2014-11-30 14:17 ` 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
                   ` (65 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:17 UTC (permalink / raw)
  To: buildroot

This commit explicits the permissions with which executables are
installed, and also makes sure that the build is aborted is one of the
binary cannot be installed, instead of silently ignoring the error.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/portmap/portmap.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/portmap/portmap.mk b/package/portmap/portmap.mk
index d5d43bf..65ee551 100644
--- a/package/portmap/portmap.mk
+++ b/package/portmap/portmap.mk
@@ -22,7 +22,7 @@ endef
 
 define PORTMAP_INSTALL_TARGET_CMDS
 	for sbin in $(PORTMAP_SBINS); do \
-		$(INSTALL) -D $(@D)/$$sbin $(TARGET_DIR)/sbin/$$sbin; \
+		$(INSTALL) -D -m 0755 $(@D)/$$sbin $(TARGET_DIR)/sbin/$$sbin || exit 1; \
 	done
 endef
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 10/74] stunnel: use the <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (8 preceding siblings ...)
  2014-11-30 14:17 ` [Buildroot] [PATCHv3 09/74] portmap: improve installation of binaries Thomas Petazzoni
@ 2014-11-30 14:17 ` Thomas Petazzoni
  2014-11-30 15:04   ` Yann E. MORIN
  2014-12-01 21:46   ` Peter Korsgaard
  2014-11-30 14:17 ` [Buildroot] [PATCHv3 11/74] gdk-pixbuf: use " Thomas Petazzoni
                   ` (64 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:17 UTC (permalink / raw)
  To: buildroot

Since the existing STUNNEL_INSTALL_CONF_SCRIPT hook no longer installs
the init script, we rename it to STUNNEL_INSTALL_CONF.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/stunnel/stunnel.mk | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/package/stunnel/stunnel.mk b/package/stunnel/stunnel.mk
index dc56261..ac2963e 100644
--- a/package/stunnel/stunnel.mk
+++ b/package/stunnel/stunnel.mk
@@ -18,14 +18,17 @@ else
 STUNNEL_CONF_OPTS += --disable-systemd
 endif
 
-define STUNNEL_INSTALL_CONF_SCRIPT
-	$(INSTALL) -m 0755 -D package/stunnel/S50stunnel $(TARGET_DIR)/etc/init.d/S50stunnel
+define STUNNEL_INSTALL_CONF
 	[ -f $(TARGET_DIR)/etc/stunnel/stunnel.conf ] || \
 		$(INSTALL) -m 0644 -D $(@D)/tools/stunnel.conf \
 			$(TARGET_DIR)/etc/stunnel/stunnel.conf
 	rm -f $(TARGET_DIR)/etc/stunnel/stunnel.conf-sample
 endef
 
-STUNNEL_POST_INSTALL_TARGET_HOOKS += STUNNEL_INSTALL_CONF_SCRIPT
+STUNNEL_POST_INSTALL_TARGET_HOOKS += STUNNEL_INSTALL_CONF
+
+define STUNNEL_INSTALL_INIT_SYSV
+	$(INSTALL) -m 0755 -D package/stunnel/S50stunnel $(TARGET_DIR)/etc/init.d/S50stunnel
+endef
 
 $(eval $(autotools-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 11/74] gdk-pixbuf: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (9 preceding siblings ...)
  2014-11-30 14:17 ` [Buildroot] [PATCHv3 10/74] stunnel: use the <pkg>_INSTALL_INIT_SYSV mechanism Thomas Petazzoni
@ 2014-11-30 14:17 ` 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
                   ` (63 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:17 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/gdk-pixbuf/gdk-pixbuf.mk | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/package/gdk-pixbuf/gdk-pixbuf.mk b/package/gdk-pixbuf/gdk-pixbuf.mk
index 61e7ae9..0977d92 100644
--- a/package/gdk-pixbuf/gdk-pixbuf.mk
+++ b/package/gdk-pixbuf/gdk-pixbuf.mk
@@ -45,13 +45,11 @@ GDK_PIXBUF_DEPENDENCIES += \
 	$(if $(BR2_ENABLE_LOCALE),,libiconv) \
 	host-pkgconf libglib2
 
-define GDK_PIXBUF_POST_INSTALL_TWEAKS
+define GDK_PIXBUF_INSTALL_INIT_SYSV
 	$(INSTALL) -m 755 -D package/gdk-pixbuf/S26gdk-pixbuf \
 		$(TARGET_DIR)/etc/init.d/S26gdk-pixbuf
 endef
 
-GDK_PIXBUF_POST_INSTALL_TARGET_HOOKS += GDK_PIXBUF_POST_INSTALL_TWEAKS
-
 $(eval $(autotools-package))
 
 HOST_GDK_PIXBUF_CONF_OPTS = \
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 12/74] proftpd: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (10 preceding siblings ...)
  2014-11-30 14:17 ` [Buildroot] [PATCHv3 11/74] gdk-pixbuf: use " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (62 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Also use a complete destination path for the $(INSTALL) command.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/proftpd/proftpd.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/proftpd/proftpd.mk b/package/proftpd/proftpd.mk
index ce735bd..65dd84e 100644
--- a/package/proftpd/proftpd.mk
+++ b/package/proftpd/proftpd.mk
@@ -52,7 +52,10 @@ define PROFTPD_INSTALL_TARGET_CMDS
 		$(INSTALL) -m 0644 -D $(@D)/sample-configurations/basic.conf $(TARGET_DIR)/etc/proftpd.conf; \
 		$(if $(BR2_INET_IPV6),,$(SED) 's/^UseIPv6/# UseIPv6/' $(TARGET_DIR)/etc/proftpd.conf;) \
 	fi
-	$(INSTALL) -m 0755 package/proftpd/S50proftpd $(TARGET_DIR)/etc/init.d
+endef
+
+define PROFTPD_INSTALL_INIT_SYSV
+	$(INSTALL) -m 0755 package/proftpd/S50proftpd $(TARGET_DIR)/etc/init.d/S50proftpd
 endef
 
 $(eval $(autotools-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 13/74] samba: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (11 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 12/74] proftpd: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (61 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Also makes the installation of the init script unconditional.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/samba/samba.mk | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/package/samba/samba.mk b/package/samba/samba.mk
index ec8e6ec..92bbe4e 100644
--- a/package/samba/samba.mk
+++ b/package/samba/samba.mk
@@ -176,17 +176,17 @@ ifeq ($(BR2_PACKAGE_SAMBA_SWAT),y)
 SAMBA_POST_INSTALL_TARGET_HOOKS += SAMBA_REMOVE_SWAT_DOCUMENTATION
 endif
 
-define SAMBA_INSTALL_INITSCRIPTS_CONFIG
-	# install start/stop script
-	@if [ ! -f $(TARGET_DIR)/etc/init.d/S91smb ]; then \
-		$(INSTALL) -m 0755 -D package/samba/S91smb $(TARGET_DIR)/etc/init.d/S91smb; \
-	fi
+define SAMBA_INSTALL_CONFIG
 	# install config
 	@if [ ! -f $(TARGET_DIR)/etc/samba/smb.conf ]; then \
 		$(INSTALL) -m 0644 -D package/samba/simple.conf $(TARGET_DIR)/etc/samba/smb.conf; \
 	fi
 endef
 
-SAMBA_POST_INSTALL_TARGET_HOOKS += SAMBA_INSTALL_INITSCRIPTS_CONFIG
+SAMBA_POST_INSTALL_TARGET_HOOKS += SAMBA_INSTALL_CONFIG
+
+define SAMBA_INSTALL_INIT_SYSV
+	$(INSTALL) -m 0755 -D package/samba/S91smb $(TARGET_DIR)/etc/init.d/S91smb
+endef
 
 $(eval $(autotools-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 14/74] input-event-daemon: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (12 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 13/74] samba: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (60 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Also makes the installation of the init script unconditional.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/input-event-daemon/input-event-daemon.mk | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/package/input-event-daemon/input-event-daemon.mk b/package/input-event-daemon/input-event-daemon.mk
index 534fe90..0bafdc4 100644
--- a/package/input-event-daemon/input-event-daemon.mk
+++ b/package/input-event-daemon/input-event-daemon.mk
@@ -21,9 +21,11 @@ define INPUT_EVENT_DAEMON_INSTALL_TARGET_CMDS
 	[ -f $(TARGET_DIR)/etc/input-event-daemon.conf ] || \
 		$(INSTALL) -m 644 -D $(@D)/docs/sample.conf \
 			$(TARGET_DIR)/etc/input-event-daemon.conf
-	[ -f $(TARGET_DIR)/etc/init.d/S99input-event-daemon ] || \
-		$(INSTALL) -m 0755 -D package/input-event-daemon/S99input-event-daemon \
-			$(TARGET_DIR)/etc/init.d/S99input-event-daemon
+endef
+
+define INPUT_EVENT_DAEMON_INSTALL_INIT_SYSV
+	$(INSTALL) -m 0755 -D package/input-event-daemon/S99input-event-daemon \
+		$(TARGET_DIR)/etc/init.d/S99input-event-daemon
 endef
 
 $(eval $(generic-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 15/74] ifplugd: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (13 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 14/74] input-event-daemon: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (59 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/ifplugd/ifplugd.mk | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/package/ifplugd/ifplugd.mk b/package/ifplugd/ifplugd.mk
index 398cff4..3d0736a 100644
--- a/package/ifplugd/ifplugd.mk
+++ b/package/ifplugd/ifplugd.mk
@@ -29,12 +29,15 @@ define IFPLUGD_INSTALL_FIXUP
 		$(INSTALL) -D -m 0755 $(@D)/conf/ifplugd.action \
 			$(TARGET_DIR)/etc/ifplugd/ifplugd.action ; \
 	fi
+endef
+
+IFPLUGD_POST_INSTALL_TARGET_HOOKS += IFPLUGD_INSTALL_FIXUP
+
+define IFPLUGD_INSTALL_INIT_SYSV
 	$(INSTALL) -D -m 0755 $(@D)/conf/ifplugd.init \
 		$(TARGET_DIR)/etc/init.d/S45ifplugd
 	# don't use bash for init script
 	$(SED) 's^/bin/bash^/bin/sh^g' $(TARGET_DIR)/etc/init.d/S45ifplugd
 endef
 
-IFPLUGD_POST_INSTALL_TARGET_HOOKS += IFPLUGD_INSTALL_FIXUP
-
 $(eval $(autotools-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 16/74] nfs-utils: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (14 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 15/74] ifplugd: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (58 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Also move back the NFS_UTILS_INSTALL_FIXUP hook registration right
after the hook definition.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/nfs-utils/nfs-utils.mk | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/package/nfs-utils/nfs-utils.mk b/package/nfs-utils/nfs-utils.mk
index 522e790..aef051c 100644
--- a/package/nfs-utils/nfs-utils.mk
+++ b/package/nfs-utils/nfs-utils.mk
@@ -35,17 +35,20 @@ NFS_UTILS_CONF_OPTS += --disable-tirpc
 endif
 
 define NFS_UTILS_INSTALL_FIXUP
+	rm -f $(NFS_UTILS_TARGETS_)
+endef
+
+NFS_UTILS_POST_INSTALL_TARGET_HOOKS += NFS_UTILS_INSTALL_FIXUP
+
+define NFS_UTILS_INSTALL_INIT_SYSV
 	$(INSTALL) -m 0755 package/nfs-utils/S60nfs \
 		$(TARGET_DIR)/etc/init.d/S60nfs
-	rm -f $(NFS_UTILS_TARGETS_)
 endef
 
 define NFS_UTILS_REMOVE_NFSIOSTAT
 	rm -f $(TARGET_DIR)/usr/sbin/nfsiostat
 endef
 
-NFS_UTILS_POST_INSTALL_TARGET_HOOKS += NFS_UTILS_INSTALL_FIXUP
-
 # nfsiostat is interpreted python, so remove it unless it's in the target
 NFS_UTILS_POST_INSTALL_TARGET_HOOKS += $(if $(BR2_PACKAGE_PYTHON),,NFS_UTILS_REMOVE_NFSIOSTAT)
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 17/74] netatalk: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (15 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 16/74] nfs-utils: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (57 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Also makes the installation of the init script unconditional.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/netatalk/netatalk.mk | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/package/netatalk/netatalk.mk b/package/netatalk/netatalk.mk
index 5ea55c2..6c1b640 100644
--- a/package/netatalk/netatalk.mk
+++ b/package/netatalk/netatalk.mk
@@ -50,12 +50,9 @@ else
 	NETATALK_CONF_OPTS += --disable-cups
 endif
 
-define NETATALK_INSTALL_EXTRA_FILES
-	[ -f $(TARGET_DIR)/etc/init.d/S50netatalk ] || \
-		$(INSTALL) -m 0755 -D package/netatalk/S50netatalk \
-			$(TARGET_DIR)/etc/init.d/S50netatalk
+define NETATALK_INSTALL_INIT_SYSV
+	$(INSTALL) -m 0755 -D package/netatalk/S50netatalk \
+		$(TARGET_DIR)/etc/init.d/S50netatalk
 endef
 
-NETATALK_POST_INSTALL_TARGET_HOOKS += NETATALK_INSTALL_EXTRA_FILES
-
 $(eval $(autotools-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 18/74] mongoose: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (16 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 17/74] netatalk: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (56 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/mongoose/mongoose.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/mongoose/mongoose.mk b/package/mongoose/mongoose.mk
index 35e4b43..7a5d356 100644
--- a/package/mongoose/mongoose.mk
+++ b/package/mongoose/mongoose.mk
@@ -29,6 +29,9 @@ endef
 define MONGOOSE_INSTALL_TARGET_CMDS
 	$(INSTALL) -D -m 755 $(@D)/examples/web_server/web_server \
 		$(TARGET_DIR)/usr/sbin/mongoose
+endef
+
+define MONGOOSE_INSTALL_INIT_SYSV
 	$(INSTALL) -D -m 755 package/mongoose/S85mongoose \
 		$(TARGET_DIR)/etc/init.d/S85mongoose
 endef
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 19/74] gpsd: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (17 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 18/74] mongoose: " Thomas Petazzoni
@ 2014-11-30 14:18 ` Thomas Petazzoni
  2014-11-30 15:38   ` Yann E. MORIN
  2014-12-01 21:57   ` Peter Korsgaard
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 20/74] olsr: " Thomas Petazzoni
                   ` (55 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Also makes the installation of the init script unconditional.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/gpsd/gpsd.mk | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/package/gpsd/gpsd.mk b/package/gpsd/gpsd.mk
index 7dc27e8..5092b38 100644
--- a/package/gpsd/gpsd.mk
+++ b/package/gpsd/gpsd.mk
@@ -206,10 +206,11 @@ define GPSD_INSTALL_TARGET_CMDS
 		$(SCONS) \
 		$(GPSD_SCONS_OPTS) \
 		install)
-	if [ ! -f $(TARGET_DIR)/etc/init.d/S50gpsd ]; then \
-		$(INSTALL) -m 0755 -D package/gpsd/S50gpsd $(TARGET_DIR)/etc/init.d/S50gpsd; \
-		$(SED) 's,^DEVICES=.*,DEVICES=$(BR2_PACKAGE_GPSD_DEVICES),' $(TARGET_DIR)/etc/init.d/S50gpsd; \
-	fi
+endef
+
+define GPSD_INSTALL_INIT_SYSV
+	$(INSTALL) -m 0755 -D package/gpsd/S50gpsd $(TARGET_DIR)/etc/init.d/S50gpsd
+	$(SED) 's,^DEVICES=.*,DEVICES=$(BR2_PACKAGE_GPSD_DEVICES),' $(TARGET_DIR)/etc/init.d/S50gpsd
 endef
 
 define GPSD_INSTALL_STAGING_CMDS
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 20/74] olsr: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (18 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 19/74] gpsd: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (54 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/olsr/olsr.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/olsr/olsr.mk b/package/olsr/olsr.mk
index 1051d18..539386d 100644
--- a/package/olsr/olsr.mk
+++ b/package/olsr/olsr.mk
@@ -31,9 +31,12 @@ define OLSR_INSTALL_TARGET_CMDS
 			LDCONFIG=/bin/true DESTDIR=$(TARGET_DIR) \
 			prefix="/usr" install ; \
 	done
-	$(INSTALL) -D -m 0755 package/olsr/S50olsr $(TARGET_DIR)/etc/init.d/S50olsr
 	test -r $(TARGET_DIR)/etc/olsrd.conf || \
 		$(INSTALL) -D -m 0644 $(@D)/files/olsrd.conf.default.lq $(TARGET_DIR)/etc/olsrd.conf
 endef
 
+define OLSR_INSTALL_INIT_SYSV
+	$(INSTALL) -D -m 0755 package/olsr/S50olsr $(TARGET_DIR)/etc/init.d/S50olsr
+endef
+
 $(eval $(generic-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 21/74] pango: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (19 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 20/74] olsr: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (53 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/pango/pango.mk | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/package/pango/pango.mk b/package/pango/pango.mk
index 6e340f4..63cfae3 100644
--- a/package/pango/pango.mk
+++ b/package/pango/pango.mk
@@ -61,11 +61,9 @@ ifeq ($(BR2_PACKAGE_XLIB_LIBXFT)$(BR2_PACKAGE_XLIB_LIBXRENDER),yy)
 	PANGO_CONF_OPTS += --with-xft
 endif
 
-define PANGO_INSTALL_INITSCRIPT
+define PANGO_INSTALL_INIT_SYSV
 	$(INSTALL) -m 755 -D package/pango/S25pango \
 		$(TARGET_DIR)/etc/init.d/S25pango
 endef
 
-PANGO_POST_INSTALL_TARGET_HOOKS += PANGO_INSTALL_INITSCRIPT
-
 $(eval $(autotools-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 22/74] xapp_xdm: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (20 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 21/74] pango: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (52 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/x11r7/xapp_xdm/xapp_xdm.mk | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/package/x11r7/xapp_xdm/xapp_xdm.mk b/package/x11r7/xapp_xdm/xapp_xdm.mk
index 428f473..955dc1c 100644
--- a/package/x11r7/xapp_xdm/xapp_xdm.mk
+++ b/package/x11r7/xapp_xdm/xapp_xdm.mk
@@ -14,11 +14,9 @@ XAPP_XDM_DEPENDENCIES = xapp_sessreg xapp_xrdb xlib_libX11 xlib_libXaw xlib_libX
 XAPP_XDM_CONF_OPTS = --with-utmp-file=/var/adm/utmpx \
 		    --with-wtmp-file=/var/adm/wtmpx
 
-define XAPP_XDM_INSTALL_STARTUP_SCRIPT
+define XAPP_XDM_INSTALL_INIT_SYSV
 	$(INSTALL) -m 0755 -D package/x11r7/xapp_xdm/S99xdm \
 		$(TARGET_DIR)/etc/init.d/S99xdm
 endef
 
-XAPP_XDM_POST_INSTALL_TARGET_HOOKS += XAPP_XDM_INSTALL_STARTUP_SCRIPT
-
 $(eval $(autotools-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 23/74] tftpd: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (21 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 22/74] xapp_xdm: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (51 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Also make sure we use a full path for the destination of the
$(INSTALL) command.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/tftpd/tftpd.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/tftpd/tftpd.mk b/package/tftpd/tftpd.mk
index 816a25e..2f746d0 100644
--- a/package/tftpd/tftpd.mk
+++ b/package/tftpd/tftpd.mk
@@ -21,7 +21,10 @@ endif
 define TFTPD_INSTALL_TARGET_CMDS
 	$(INSTALL) -D $(@D)/tftp/tftp $(TARGET_DIR)/usr/bin/tftp
 	$(INSTALL) -D $(@D)/tftpd/tftpd $(TARGET_DIR)/usr/sbin/tftpd
-	$(INSTALL) -D package/tftpd/S80tftpd-hpa $(TARGET_DIR)/etc/init.d/
+endef
+
+define TFTPD_INSTALL_INIT_SYSV
+	$(INSTALL) -D package/tftpd/S80tftpd-hpa $(TARGET_DIR)/etc/init.d/S80tftpd-hpa
 endef
 
 $(eval $(autotools-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 24/74] openvpn: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (22 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 23/74] tftpd: " Thomas Petazzoni
@ 2014-11-30 14:18 ` Thomas Petazzoni
  2014-11-30 15:45   ` Yann E. MORIN
  2014-12-01 22:06   ` Peter Korsgaard
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 25/74] tinyhttpd: " Thomas Petazzoni
                   ` (50 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/openvpn/openvpn.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/openvpn/openvpn.mk b/package/openvpn/openvpn.mk
index e0dba35..68f7d97 100644
--- a/package/openvpn/openvpn.mk
+++ b/package/openvpn/openvpn.mk
@@ -50,6 +50,9 @@ endif
 define OPENVPN_INSTALL_TARGET_CMDS
 	$(INSTALL) -m 755 $(@D)/src/openvpn/openvpn \
 		$(TARGET_DIR)/usr/sbin/openvpn
+endef
+
+define OPENVPN_INSTALL_INIT_SYSV
 	$(INSTALL) -m 755 -D package/openvpn/S60openvpn \
 		$(TARGET_DIR)/etc/init.d/S60openvpn
 endef
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 25/74] tinyhttpd: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (23 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 24/74] openvpn: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (49 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/tinyhttpd/tinyhttpd.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/tinyhttpd/tinyhttpd.mk b/package/tinyhttpd/tinyhttpd.mk
index ec47fd9..0934b71 100644
--- a/package/tinyhttpd/tinyhttpd.mk
+++ b/package/tinyhttpd/tinyhttpd.mk
@@ -16,9 +16,12 @@ endef
 
 define TINYHTTPD_INSTALL_TARGET_CMDS
 	$(INSTALL) -m 0755 -D $(@D)/httpd $(TARGET_DIR)/usr/sbin/tinyhttpd
+	mkdir -p $(TARGET_DIR)/var/www
+endef
+
+define TINYHTTPD_INSTALL_INIT_SYSV
 	$(INSTALL) -m 0755 -D package/tinyhttpd/S85tinyhttpd \
 		$(TARGET_DIR)/etc/init.d/S85tinyhttpd
-	mkdir -p $(TARGET_DIR)/var/www
 endef
 
 $(eval $(generic-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 26/74] at: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (24 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 25/74] tinyhttpd: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (48 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/at/at.mk | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/package/at/at.mk b/package/at/at.mk
index 851a05b..1504e32 100644
--- a/package/at/at.mk
+++ b/package/at/at.mk
@@ -21,10 +21,8 @@ AT_CONF_OPTS = \
 	--with-daemon_groupname=root \
 	SENDMAIL=/usr/sbin/sendmail
 
-define AT_INSTALL_INITSCRIPT
+define AT_INSTALL_INIT_SYSV
 	$(INSTALL) -m 0755 -D package/at/S99at $(TARGET_DIR)/etc/init.d/S99at
 endef
 
-AT_POST_INSTALL_TARGET_HOOKS += AT_INSTALL_INITSCRIPT
-
 $(eval $(autotools-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 27/74] mpd: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (25 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 26/74] at: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (47 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/mpd/mpd.mk | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk
index 5448251..1eedcbc 100644
--- a/package/mpd/mpd.mk
+++ b/package/mpd/mpd.mk
@@ -232,10 +232,13 @@ define MPD_INSTALL_EXTRA_FILES
 		$(INSTALL) -D package/mpd/mpd.conf \
 			$(TARGET_DIR)/etc/mpd.conf; \
 	fi
-	$(INSTALL) -m 0755 -D package/mpd/S95mpd \
-		$(TARGET_DIR)/etc/init.d/S95mpd
 endef
 
 MPD_POST_INSTALL_TARGET_HOOKS += MPD_INSTALL_EXTRA_FILES
 
+define MPD_INSTALL_INIT_SYSV
+	$(INSTALL) -m 0755 -D package/mpd/S95mpd \
+		$(TARGET_DIR)/etc/init.d/S95mpd
+endef
+
 $(eval $(autotools-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 28/74] snowball-init: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (26 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 27/74] mpd: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (46 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/snowball-init/snowball-init.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/snowball-init/snowball-init.mk b/package/snowball-init/snowball-init.mk
index d71f347..40acdd6 100644
--- a/package/snowball-init/snowball-init.mk
+++ b/package/snowball-init/snowball-init.mk
@@ -9,7 +9,7 @@ SNOWBALL_INIT_SITE = https://github.com/igloocommunity/snowball-init
 SNOWBALL_INIT_LICENSE = BSD-4c
 SNOWBALL_INIT_LICENSE_FILES = debian/copyright
 
-define SNOWBALL_INIT_INSTALL_TARGET_CMDS
+define SNOWBALL_INIT_INSTALL_INIT_SYSV
 	$(INSTALL) -D -m 0755 $(@D)/snowball $(TARGET_DIR)/etc/init.d/S50snowball
 endef
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 29/74] wipe: don't install man pages
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (27 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 28/74] snowball-init: " Thomas Petazzoni
@ 2014-11-30 14:18 ` Thomas Petazzoni
  2014-11-30 17:00   ` Yann E. MORIN
  2014-12-01 22:09   ` Peter Korsgaard
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 30/74] ndisc6: remove man page related code Thomas Petazzoni
                   ` (45 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

We don't support installing documentation on the target, so there's no
point in having explicit code to do so.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/wipe/wipe.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/wipe/wipe.mk b/package/wipe/wipe.mk
index 4deabab..ee4682c 100644
--- a/package/wipe/wipe.mk
+++ b/package/wipe/wipe.mk
@@ -13,7 +13,6 @@ WIPE_LICENSE_FILES = LICENSE
 
 define WIPE_INSTALL_TARGET_CMDS
 	$(INSTALL) -D $(@D)/wipe $(TARGET_DIR)/usr/bin/wipe
-	$(INSTALL) -D $(@D)/wipe.1 $(TARGET_DIR)/usr/share/man/man1/wipe.1
 endef
 
 $(eval $(autotools-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 30/74] ndisc6: remove man page related code
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (28 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 29/74] wipe: don't install man pages Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (44 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

The target-finalize target takes care of removing
$(TARGET_DIR)/usr/share/man, so there's no point in having package
specific code doing this.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/ndisc6/ndisc6.mk | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/package/ndisc6/ndisc6.mk b/package/ndisc6/ndisc6.mk
index b0e4caf..7235ebb 100644
--- a/package/ndisc6/ndisc6.mk
+++ b/package/ndisc6/ndisc6.mk
@@ -27,14 +27,9 @@ NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_RDNSSD) += rdnssd
 NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_RLTRACEROUTE6) += rltraceroute6 tracert6
 NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_TCPTRACEROUTE6) += tcptraceroute6
 
-NDISC6_MAN1_ = $(addsuffix .1,$(NDISC6_BIN_))
-NDISC6_MAN8_ = $(addsuffix .8,$(NDISC6_SBIN_))
-
 define NDISC6_REMOVE_UNNEEDED
 	rm -rf $(addprefix $(TARGET_DIR)/usr/bin/,$(NDISC6_BIN_)) \
-		$(addprefix $(TARGET_DIR)/usr/sbin/,$(NDISC6_SBIN_)) \
-		$(addprefix $(TARGET_DIR)/usr/share/man/man1/,$(NDISC6_MAN1_)) \
-		$(addprefix $(TARGET_DIR)/usr/share/man/man8/,$(NDISC6_MAN8_))
+		$(addprefix $(TARGET_DIR)/usr/sbin/,$(NDISC6_SBIN_))
 	$(if $(BR2_PACKAGE_NDISC6_RDNSSD),,\
 		rm -rf $(TARGET_DIR)/etc/rdnssd $(TARGET_DIR)/var/run/rdnssd)
 endef
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 31/74] tree: don't install man page
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (29 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 30/74] ndisc6: remove man page related code Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (43 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

We don't support installing documentation on the target, so there's no
point in having explicit code to do so.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/tree/tree.mk | 2 --
 1 file changed, 2 deletions(-)

diff --git a/package/tree/tree.mk b/package/tree/tree.mk
index 922deb8..83ea472 100644
--- a/package/tree/tree.mk
+++ b/package/tree/tree.mk
@@ -16,8 +16,6 @@ endef
 
 define TREE_INSTALL_TARGET_CMDS
 	$(INSTALL) -D -m 0755 $(@D)/tree $(TARGET_DIR)/usr/bin/tree
-	$(INSTALL) -D -m 0644 $(@D)/doc/tree.1 \
-		$(TARGET_DIR)/usr/share/man/man1/tree.1
 endef
 
 $(eval $(generic-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 32/74] iostat: don't install man page
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (30 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 31/74] tree: don't install man page Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (42 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

We don't support installing documentation on the target, so there's no
point in having explicit code to do so.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/iostat/iostat.mk | 2 --
 1 file changed, 2 deletions(-)

diff --git a/package/iostat/iostat.mk b/package/iostat/iostat.mk
index 8610f8f..2080e56 100644
--- a/package/iostat/iostat.mk
+++ b/package/iostat/iostat.mk
@@ -17,8 +17,6 @@ endef
 
 define IOSTAT_INSTALL_TARGET_CMDS
 	$(INSTALL) -D $(IOSTAT_DIR)/iostat $(TARGET_DIR)/usr/bin/iostat
-	$(INSTALL) -D $(IOSTAT_DIR)/iostat.8 \
-		$(TARGET_DIR)/usr/share/man/man8/iostat.8
 endef
 
 $(eval $(generic-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 33/74] iostat: remove legacy code
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (31 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 32/74] iostat: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (41 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Some custom iostat-source target was mistakenly left in place when the
iostat package was migrated to gentargets in commit
ee77963588b09babfd71befb0b5eb9fd1e776bbc, back 4 years ago. This
commit removes this unnecessary custom target.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/iostat/iostat.mk | 2 --
 1 file changed, 2 deletions(-)

diff --git a/package/iostat/iostat.mk b/package/iostat/iostat.mk
index 2080e56..dd2a579 100644
--- a/package/iostat/iostat.mk
+++ b/package/iostat/iostat.mk
@@ -9,8 +9,6 @@ IOSTAT_SITE = http://www.linuxinsight.com/files
 IOSTAT_LICENSE = GPL
 IOSTAT_LICENSE_FILES = LICENSE
 
-iostat-source: $(DL_DIR)/$(IOSTAT_SOURCE)
-
 define IOSTAT_BUILD_CMDS
 	$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
 endef
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 34/74] pptp-linux: don't install man page
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (32 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 33/74] iostat: remove legacy code Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (40 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

We don't support installing documentation on the target, so there's no
point in having explicit code to do so.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/pptp-linux/pptp-linux.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/pptp-linux/pptp-linux.mk b/package/pptp-linux/pptp-linux.mk
index dc624eb..d7edf6c 100644
--- a/package/pptp-linux/pptp-linux.mk
+++ b/package/pptp-linux/pptp-linux.mk
@@ -21,7 +21,6 @@ endef
 
 define PPTP_LINUX_INSTALL_TARGET_CMDS
 	$(INSTALL) -m 0755 -D $(@D)/pptp $(TARGET_DIR)/usr/sbin/pptp
-	$(INSTALL) -m 0644 -D $(@D)/pptp.8 $(TARGET_DIR)/usr/share/man/man8/pptp.8
 endef
 
 $(eval $(generic-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 35/74] gnupg: don't both removing a man page
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (33 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 34/74] pptp-linux: don't install man page Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (39 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

The target-finalize target in the main Makefile removes
$(TARGET_DIR)/usr/share/man entirely, so there's no point in having
some package specific logic to remove man pages.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/gnupg/gnupg.mk | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/package/gnupg/gnupg.mk b/package/gnupg/gnupg.mk
index e7c403a..c0bf88c 100644
--- a/package/gnupg/gnupg.mk
+++ b/package/gnupg/gnupg.mk
@@ -39,8 +39,7 @@ endif
 
 ifneq ($(BR2_PACKAGE_GNUPG_GPGV),y)
 define GNUPG_REMOVE_GPGV
-	rm -f $(TARGET_DIR)/usr/bin/gpgv \
-		$(TARGET_DIR)/usr/share/man/man1/gpgv.1
+	rm -f $(TARGET_DIR)/usr/bin/gpgv
 endef
 GNUPG_POST_INSTALL_TARGET_HOOKS += GNUPG_REMOVE_GPGV
 endif
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 36/74] rp-pppoe: don't install man pages
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (34 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 35/74] gnupg: don't both removing a " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (38 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

We don't support installing documentation on the target, so there's no
point in having explicit code to do so.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/rp-pppoe/rp-pppoe.mk | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/package/rp-pppoe/rp-pppoe.mk b/package/rp-pppoe/rp-pppoe.mk
index b17086b..6827628 100644
--- a/package/rp-pppoe/rp-pppoe.mk
+++ b/package/rp-pppoe/rp-pppoe.mk
@@ -21,9 +21,6 @@ define RP_PPPOE_INSTALL_TARGET_CMDS
 	for ff in $(RP_PPPOE_TARGET_FILES); do \
 		$(INSTALL) -m 0755 $(@D)/src/$$ff $(TARGET_DIR)/usr/sbin/$$ff; \
 	done
-	for ff in $(RP_PPPOE_TARGET_FILES); do \
-		$(INSTALL) -m 644 -D $(RP_PPPOE_DIR)/man/$$ff.8 $(TARGET_DIR)/usr/share/man/man8/$$ff.8; \
-	done
 endef
 
 $(eval $(autotools-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 37/74] rp-pppoe: bail out of installation fails
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (35 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 36/74] rp-pppoe: don't install man pages Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (37 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Add an "|| exit 1" in the installation loop, otherwise if one of the
file fails to install, the build doesn't abort.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/rp-pppoe/rp-pppoe.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/rp-pppoe/rp-pppoe.mk b/package/rp-pppoe/rp-pppoe.mk
index 6827628..4e17f2d 100644
--- a/package/rp-pppoe/rp-pppoe.mk
+++ b/package/rp-pppoe/rp-pppoe.mk
@@ -19,7 +19,7 @@ RP_PPPOE_CONF_ENV = \
 
 define RP_PPPOE_INSTALL_TARGET_CMDS
 	for ff in $(RP_PPPOE_TARGET_FILES); do \
-		$(INSTALL) -m 0755 $(@D)/src/$$ff $(TARGET_DIR)/usr/sbin/$$ff; \
+		$(INSTALL) -m 0755 $(@D)/src/$$ff $(TARGET_DIR)/usr/sbin/$$ff || exit 1; \
 	done
 endef
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 38/74] alsa-utils: add error handling to for loop
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (36 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 37/74] rp-pppoe: bail out of installation fails Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (36 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/alsa-utils/alsa-utils.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/alsa-utils/alsa-utils.mk b/package/alsa-utils/alsa-utils.mk
index 17895c3..a599af8 100644
--- a/package/alsa-utils/alsa-utils.mk
+++ b/package/alsa-utils/alsa-utils.mk
@@ -46,7 +46,7 @@ ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST) += usr/bin/speaker-tes
 define ALSA_UTILS_INSTALL_TARGET_CMDS
 	mkdir -p $(TARGET_DIR)/var/lib/alsa
 	for i in $(ALSA_UTILS_TARGETS_y); do \
-		$(INSTALL) -D -m 755 $(STAGING_DIR)/$$i $(TARGET_DIR)/$$i; \
+		$(INSTALL) -D -m 755 $(STAGING_DIR)/$$i $(TARGET_DIR)/$$i || exit 1; \
 	done
 	if [ -x "$(TARGET_DIR)/usr/bin/speaker-test" ]; then \
 		mkdir -p $(TARGET_DIR)/usr/share/alsa/speaker-test; \
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 39/74] coreutils: add error handling to for loop
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (37 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 38/74] alsa-utils: add error handling to for loop Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (35 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/coreutils/coreutils.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk
index 391d2cd..fa2db04 100644
--- a/package/coreutils/coreutils.mk
+++ b/package/coreutils/coreutils.mk
@@ -101,7 +101,7 @@ endif
 define COREUTILS_POST_INSTALL
 	# some things go in root rather than usr
 	for f in $(COREUTILS_BIN_PROGS); do \
-		mv $(TARGET_DIR)/usr/bin/$$f $(TARGET_DIR)/bin/$$f; \
+		mv $(TARGET_DIR)/usr/bin/$$f $(TARGET_DIR)/bin/$$f || exit 1; \
 	done
 	# link for archaic shells
 	ln -fs test $(TARGET_DIR)/usr/bin/[
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 40/74] ebtables: add error handling to for loop
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (38 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 39/74] coreutils: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (34 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/ebtables/ebtables.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/ebtables/ebtables.mk b/package/ebtables/ebtables.mk
index 578c3ae..23c4628 100644
--- a/package/ebtables/ebtables.mk
+++ b/package/ebtables/ebtables.mk
@@ -28,7 +28,7 @@ define EBTABLES_INSTALL_TARGET_CMDS
 		$(@D)/$(EBTABLES_SUBDIR)/extensions/*.so; \
 		do \
 		$(INSTALL) -m 0755 -D $${so} \
-			$(TARGET_DIR)/lib/ebtables/`basename $${so}`; \
+			$(TARGET_DIR)/lib/ebtables/`basename $${so}` || exit 1; \
 	done
 	$(INSTALL) -m 0755 -D $(@D)/$(EBTABLES_SUBDIR)/ebtables \
 		$(TARGET_DIR)/sbin/ebtables
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 41/74] flot: add error handling to for loop
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (39 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 40/74] ebtables: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (33 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/flot/flot.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/flot/flot.mk b/package/flot/flot.mk
index 79bdf1f..58e3ff1 100644
--- a/package/flot/flot.mk
+++ b/package/flot/flot.mk
@@ -27,7 +27,7 @@ FLOT_FILES = jquery.flot $(addprefix jquery.flot.,\
 
 define FLOT_INSTALL_TARGET_CMDS
 	for i in $(FLOT_FILES); do \
-		$(INSTALL) -m 0644 -D $(@D)/$$i.min.js $(TARGET_DIR)/var/www/$$i.js; \
+		$(INSTALL) -m 0644 -D $(@D)/$$i.min.js $(TARGET_DIR)/var/www/$$i.js || exit 1; \
 	done
 endef
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 42/74] googlefontdirectory: add error handling to for loop
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (40 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 41/74] flot: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (32 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/googlefontdirectory/googlefontdirectory.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/googlefontdirectory/googlefontdirectory.mk b/package/googlefontdirectory/googlefontdirectory.mk
index 076e654..0e60892 100644
--- a/package/googlefontdirectory/googlefontdirectory.mk
+++ b/package/googlefontdirectory/googlefontdirectory.mk
@@ -16,7 +16,7 @@ define GOOGLEFONTDIRECTORY_INSTALL_TARGET_CMDS
 	for i in $(GOOGLEFONTDIRECTORY_FONTS); \
 	do \
 		$(INSTALL) -d $(TARGET_DIR)/usr/share/fonts/$$i && \
-		$(INSTALL) -m 0644 -t $(TARGET_DIR)/usr/share/fonts/$$i $(@D)/$$i/*.ttf; \
+		$(INSTALL) -m 0644 -t $(TARGET_DIR)/usr/share/fonts/$$i $(@D)/$$i/*.ttf || exit 1; \
 	done
 endef
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 43/74] gptfdisk: add error handling to for loop
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (41 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 42/74] googlefontdirectory: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (31 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/gptfdisk/gptfdisk.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/gptfdisk/gptfdisk.mk b/package/gptfdisk/gptfdisk.mk
index 9828d4c..4c6af56 100644
--- a/package/gptfdisk/gptfdisk.mk
+++ b/package/gptfdisk/gptfdisk.mk
@@ -33,7 +33,7 @@ endef
 
 define GPTFDISK_INSTALL_TARGET_CMDS
 	for i in $(GPTFDISK_TARGETS_y); do \
-		$(INSTALL) -D -m 0755 $(@D)/$$i $(TARGET_DIR)/usr/sbin/$$i; \
+		$(INSTALL) -D -m 0755 $(@D)/$$i $(TARGET_DIR)/usr/sbin/$$i || exit 1; \
 	done
 endef
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 44/74] irda-utils: add error handling to for loop
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (42 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 43/74] gptfdisk: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (30 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/irda-utils/irda-utils.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/irda-utils/irda-utils.mk b/package/irda-utils/irda-utils.mk
index e4958e5..2c35dff 100644
--- a/package/irda-utils/irda-utils.mk
+++ b/package/irda-utils/irda-utils.mk
@@ -32,7 +32,7 @@ IRDA_UTILS_SBINS- += $(IRDA_UTILS_SBINS-y)
 
 define IRDA_UTILS_INSTALL_TARGET_CMDS
 	for i in $(IRDA_UTILS_SBINS-y); do \
-		$(INSTALL) -m 0755 -D $(@D)/$$i/$$i $(TARGET_DIR)/usr/sbin/$$i; \
+		$(INSTALL) -m 0755 -D $(@D)/$$i/$$i $(TARGET_DIR)/usr/sbin/$$i || exit 1; \
 	done
 endef
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 45/74] jimtcl: add error handling to for loop
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (43 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 44/74] irda-utils: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (29 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/jimtcl/jimtcl.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/jimtcl/jimtcl.mk b/package/jimtcl/jimtcl.mk
index 27f43f0..add61d6 100644
--- a/package/jimtcl/jimtcl.mk
+++ b/package/jimtcl/jimtcl.mk
@@ -51,7 +51,7 @@ endef
 
 define JIMTCL_INSTALL_STAGING_CMDS
 	for i in $(JIMTCL_HEADERS_TO_INSTALL); do \
-		cp -a $(@D)/$$i $(STAGING_DIR)/usr/include/ ; \
+		cp -a $(@D)/$$i $(STAGING_DIR)/usr/include/ || exit 1 ; \
 	done; \
 	$(INSTALL) -D $(@D)/libjim.$(JIMTCL_LIB) $(STAGING_DIR)/usr/lib/libjim.$(JIMTCL_LIB);
 	ln -s libjim.$(JIMTCL_LIB) $(STAGING_DIR)/usr/lib/libjim.so
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 46/74] live555: add error handling to for loop
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (44 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 45/74] jimtcl: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (28 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/live555/live555.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/live555/live555.mk b/package/live555/live555.mk
index b923388..7dbded3 100644
--- a/package/live555/live555.mk
+++ b/package/live555/live555.mk
@@ -54,7 +54,7 @@ endef
 
 define LIVE555_INSTALL_TARGET_CMDS
 	for i in $(LIVE555_FILES_TO_INSTALL-y); do \
-		$(INSTALL) -D -m 0755 $(@D)/$$i $(TARGET_DIR)/usr/bin/`basename $$i`; \
+		$(INSTALL) -D -m 0755 $(@D)/$$i $(TARGET_DIR)/usr/bin/`basename $$i` || exit 1 \
 	done
 endef
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 47/74] lockfile-progs: add error handling to for loop
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (45 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 46/74] live555: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (27 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/lockfile-progs/lockfile-progs.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/lockfile-progs/lockfile-progs.mk b/package/lockfile-progs/lockfile-progs.mk
index e2e0a44..deb9f90 100644
--- a/package/lockfile-progs/lockfile-progs.mk
+++ b/package/lockfile-progs/lockfile-progs.mk
@@ -21,7 +21,7 @@ endef
 
 define LOCKFILE_PROGS_INSTALL_TARGET_CMDS
 	for i in $(LOCKFILE_BINS); do \
-		$(INSTALL) -D -m 755 $(@D)/bin/$$i $(TARGET_DIR)/usr/bin/$$i; \
+		$(INSTALL) -D -m 755 $(@D)/bin/$$i $(TARGET_DIR)/usr/bin/$$i || exit 1; \
 	done
 endef
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 48/74] qt5base: add error handling to for loop
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (46 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 47/74] lockfile-progs: " Thomas Petazzoni
@ 2014-11-30 14:18 ` Thomas Petazzoni
  2014-11-30 17:15   ` Yann E. MORIN
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 49/74] qtuio: " Thomas Petazzoni
                   ` (26 subsequent siblings)
  74 siblings, 1 reply; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/qt5/qt5base/qt5base.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk
index 57ea1c8..788b2d7 100644
--- a/package/qt5/qt5base/qt5base.mk
+++ b/package/qt5/qt5base/qt5base.mk
@@ -211,7 +211,7 @@ endef
 
 define QT5BASE_INSTALL_TARGET_LIBS
 	for lib in $(QT5BASE_INSTALL_LIBS_y); do \
-		cp -dpf $(STAGING_DIR)/usr/lib/lib$${lib}.so.* $(TARGET_DIR)/usr/lib ; \
+		cp -dpf $(STAGING_DIR)/usr/lib/lib$${lib}.so.* $(TARGET_DIR)/usr/lib || exit 1 ; \
 	done
 endef
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 49/74] qtuio: add error handling to for loop
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (47 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 48/74] qt5base: " Thomas Petazzoni
@ 2014-11-30 14:18 ` Thomas Petazzoni
  2014-11-30 17:17   ` Yann E. MORIN
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 50/74] sound-theme-borealis: " Thomas Petazzoni
                   ` (25 subsequent siblings)
  74 siblings, 1 reply; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/qtuio/qtuio.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/qtuio/qtuio.mk b/package/qtuio/qtuio.mk
index 9925f84..9af0136 100644
--- a/package/qtuio/qtuio.mk
+++ b/package/qtuio/qtuio.mk
@@ -19,7 +19,7 @@ QTUIO_EXAMPLES = dials fingerpaint knobs pinchzoom
 ifeq ($(BR2_QTUIO_EXAMPLES),y)
 define QTUIO_CONFIGURE_EXAMPLES
 	for example in $(QTUIO_EXAMPLES) ; do \
-		(cd $(@D)/examples/$${example} && $(TARGET_MAKE_ENV) $(QT_QMAKE)) ; \
+		(cd $(@D)/examples/$${example} && $(TARGET_MAKE_ENV) $(QT_QMAKE)) || exit 1; \
 	done
 endef
 endif
@@ -32,7 +32,7 @@ endef
 ifeq ($(BR2_QTUIO_EXAMPLES),y)
 define QTUIO_BUILD_EXAMPLES
 	for example in $(QTUIO_EXAMPLES) ; do \
-		($(MAKE) -C $(@D)/examples/$${example}) ; \
+		($(MAKE) -C $(@D)/examples/$${example}) || exit 1; \
 	done
 endef
 endif
@@ -46,7 +46,7 @@ endef
 ifeq ($(BR2_QTUIO_EXAMPLES),y)
 define QTUIO_INSTALL_EXAMPLES
 	for example in $(QTUIO_EXAMPLES) ; do \
-		($(INSTALL) -D -m 0755 $(@D)/examples/$${example}/$${example} $(TARGET_DIR)/usr/share/qtuio/$${example}) ; \
+		($(INSTALL) -D -m 0755 $(@D)/examples/$${example}/$${example} $(TARGET_DIR)/usr/share/qtuio/$${example} || exit 1) ; \
 	done
 endef
 endif
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 50/74] sound-theme-borealis: add error handling to for loop
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (48 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 49/74] qtuio: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (24 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/sound-theme-borealis/sound-theme-borealis.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/sound-theme-borealis/sound-theme-borealis.mk b/package/sound-theme-borealis/sound-theme-borealis.mk
index a2f29a9..9242837 100644
--- a/package/sound-theme-borealis/sound-theme-borealis.mk
+++ b/package/sound-theme-borealis/sound-theme-borealis.mk
@@ -11,7 +11,7 @@ SOUND_THEME_BOREALIS_SOURCE = \
 
 define SOUND_THEME_BOREALIS_INSTALL_TARGET_CMDS
 	for f in $(@D)/*.ogg ; do \
-		$(INSTALL) -D -m 0644 $$f $(TARGET_DIR)/usr/share/sounds/borealis/stereo/`basename $$f` ; \
+		$(INSTALL) -D -m 0644 $$f $(TARGET_DIR)/usr/share/sounds/borealis/stereo/`basename $$f` || exit 1; \
 	done
 endef
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 51/74] xenomai: add error handling to for loop
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (49 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 50/74] sound-theme-borealis: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (23 subsequent siblings)
  74 siblings, 1 reply; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/xenomai/xenomai.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk
index 740a40b..ccbae35 100644
--- a/package/xenomai/xenomai.mk
+++ b/package/xenomai/xenomai.mk
@@ -99,7 +99,7 @@ XENOMAI_DEPENDENCIES += udev
 define XENOMAI_INSTALL_UDEV_RULES
 	if test -d $(TARGET_DIR)/etc/udev/rules.d ; then \
 		for f in $(@D)/ksrc/nucleus/udev/*.rules ; do \
-			cp $$f $(TARGET_DIR)/etc/udev/rules.d/ ; \
+			cp $$f $(TARGET_DIR)/etc/udev/rules.d/ || exit 1 ; \
 		done ; \
 	fi;
 endef
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 52/74] aiccu: install init script and config file unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (50 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 51/74] xenomai: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (22 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/aiccu/aiccu.mk | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/package/aiccu/aiccu.mk b/package/aiccu/aiccu.mk
index 4413f86..faa861c 100644
--- a/package/aiccu/aiccu.mk
+++ b/package/aiccu/aiccu.mk
@@ -28,14 +28,12 @@ endef
 define AICCU_INSTALL_TARGET_CMDS
 	$(INSTALL) -D -m 0755 $(@D)/unix-console/aiccu \
 		$(TARGET_DIR)/usr/sbin/aiccu
-	[ -f $(TARGET_DIR)/etc/aiccu.conf ] || \
-		$(INSTALL) -D -m 0644 $(@D)/doc/aiccu.conf \
+	$(INSTALL) -D -m 0644 $(@D)/doc/aiccu.conf \
 		$(TARGET_DIR)/etc/aiccu.conf
 endef
 
 define AICCU_INSTALL_INIT_SYSV
-	[ -f $(TARGET_DIR)/etc/init.d/S50aiccu ] || \
-		$(INSTALL) -D -m 0755 $(@D)/doc/aiccu.init \
+	$(INSTALL) -D -m 0755 $(@D)/doc/aiccu.init \
 		$(TARGET_DIR)/etc/init.d/S50aiccu
 endef
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 53/74] busybox: install init script and config file unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (51 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 52/74] aiccu: install init script and config file unconditionally Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (21 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/busybox/busybox.mk | 30 ++++++++++++------------------
 1 file changed, 12 insertions(+), 18 deletions(-)

diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
index eb2f3f1..ae60ac1 100644
--- a/package/busybox/busybox.mk
+++ b/package/busybox/busybox.mk
@@ -57,14 +57,12 @@ endef
 # If mdev will be used for device creation enable it and copy S10mdev to /etc/init.d
 ifeq ($(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV),y)
 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
+	$(INSTALL) -D -m 0755 package/busybox/S10mdev \
+		$(TARGET_DIR)/etc/init.d/S10mdev
 endef
 define BUSYBOX_INSTALL_MDEV_CONF
-	[ -f $(TARGET_DIR)/etc/mdev.conf ] || \
-		$(INSTALL) -D -m 0644 package/busybox/mdev.conf \
-			$(TARGET_DIR)/etc/mdev.conf
+	$(INSTALL) -D -m 0644 package/busybox/mdev.conf \
+		$(TARGET_DIR)/etc/mdev.conf
 endef
 define BUSYBOX_SET_MDEV
 	$(call KCONFIG_ENABLE_OPT,CONFIG_MDEV,$(BUSYBOX_BUILD_CONFIG))
@@ -165,9 +163,8 @@ endif
 
 define BUSYBOX_INSTALL_LOGGING_SCRIPT
 	if grep -q CONFIG_SYSLOGD=y $(@D)/.config; then \
-		[ -f $(TARGET_DIR)/etc/init.d/S01logging ] || \
-			$(INSTALL) -m 0755 -D package/busybox/S01logging \
-				$(TARGET_DIR)/etc/init.d/S01logging; \
+		$(INSTALL) -m 0755 -D package/busybox/S01logging \
+			$(TARGET_DIR)/etc/init.d/S01logging; \
 	else rm -f $(TARGET_DIR)/etc/init.d/S01logging; fi
 endef
 
@@ -176,11 +173,10 @@ define BUSYBOX_SET_WATCHDOG
 	$(call KCONFIG_ENABLE_OPT,CONFIG_WATCHDOG,$(BUSYBOX_BUILD_CONFIG))
 endef
 define BUSYBOX_INSTALL_WATCHDOG_SCRIPT
-	[ -f $(TARGET_DIR)/etc/init.d/S15watchdog ] || \
-		$(INSTALL) -D -m 0755 package/busybox/S15watchdog \
-			$(TARGET_DIR)/etc/init.d/S15watchdog && \
-		$(SED) s/PERIOD/$(call qstrip,$(BR2_PACKAGE_BUSYBOX_WATCHDOG_PERIOD))/ \
-			$(TARGET_DIR)/etc/init.d/S15watchdog
+	$(INSTALL) -D -m 0755 package/busybox/S15watchdog \
+		$(TARGET_DIR)/etc/init.d/S15watchdog && \
+	$(SED) s/PERIOD/$(call qstrip,$(BR2_PACKAGE_BUSYBOX_WATCHDOG_PERIOD))/ \
+		$(TARGET_DIR)/etc/init.d/S15watchdog
 endef
 endif
 
@@ -214,10 +210,8 @@ endef
 
 define BUSYBOX_INSTALL_TARGET_CMDS
 	$(BUSYBOX_MAKE_ENV) $(MAKE) $(BUSYBOX_MAKE_OPTS) -C $(@D) install
-	if [ ! -f $(TARGET_DIR)/usr/share/udhcpc/default.script ]; then \
-		$(INSTALL) -m 0755 -D package/busybox/udhcpc.script \
-			$(TARGET_DIR)/usr/share/udhcpc/default.script; \
-	fi
+	$(INSTALL) -m 0755 -D package/busybox/udhcpc.script \
+		$(TARGET_DIR)/usr/share/udhcpc/default.script
 	$(BUSYBOX_INSTALL_MDEV_CONF)
 endef
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 54/74] dmraid: install init script unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (52 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 53/74] busybox: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (20 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/dmraid/dmraid.mk | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/package/dmraid/dmraid.mk b/package/dmraid/dmraid.mk
index 024b9b5..a6ed57f 100644
--- a/package/dmraid/dmraid.mk
+++ b/package/dmraid/dmraid.mk
@@ -18,9 +18,8 @@ DMRAID_LICENSE_FILES = $(DMRAID_SUBDIR)/LICENSE_GPL $(DMRAID_SUBDIR)/LICENSE
 DMRAID_DEPENDENCIES = lvm2
 
 define DMRAID_INSTALL_INIT_SYSV
-	[ -f $(TARGET_DIR)/etc/init.d/S20dmraid ] || \
-		$(INSTALL) -D -m 0755 package/dmraid/S20dmraid \
-			$(TARGET_DIR)/etc/init.d/S20dmraid
+	$(INSTALL) -D -m 0755 package/dmraid/S20dmraid \
+		$(TARGET_DIR)/etc/init.d/S20dmraid
 endef
 
 $(eval $(autotools-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 55/74] iucode-tool: install init script unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (53 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 54/74] dmraid: install init script unconditionally Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (19 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/iucode-tool/iucode-tool.mk | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/package/iucode-tool/iucode-tool.mk b/package/iucode-tool/iucode-tool.mk
index 3124c73..081b086 100644
--- a/package/iucode-tool/iucode-tool.mk
+++ b/package/iucode-tool/iucode-tool.mk
@@ -15,9 +15,8 @@ IUCODE_TOOL_LICENSE = GPLv2+
 IUCODE_TOOL_LICENSE_FILES = COPYING
 
 define IUCODE_TOOL_INSTALL_INIT_SYSV
-	[ -f $(TARGET_DIR)/etc/init.d/S00iucode-tool ] || \
-		$(INSTALL) -D -m 0755 package/iucode-tool/S00iucode-tool \
-			$(TARGET_DIR)/etc/init.d/S00iucode-tool
+	$(INSTALL) -D -m 0755 package/iucode-tool/S00iucode-tool \
+		$(TARGET_DIR)/etc/init.d/S00iucode-tool
 endef
 
 $(eval $(autotools-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 56/74] lighttpd: install init script and config file unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (54 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 55/74] iucode-tool: " Thomas Petazzoni
@ 2014-11-30 14:18 ` Thomas Petazzoni
  2014-11-30 17:38   ` Yann E. MORIN
  2014-12-01 23:23   ` Peter Korsgaard
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 57/74] rpcbind: install init script unconditionally Thomas Petazzoni
                   ` (18 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/lighttpd/lighttpd.mk | 46 +++++++++++++++-----------------------------
 1 file changed, 16 insertions(+), 30 deletions(-)

diff --git a/package/lighttpd/lighttpd.mk b/package/lighttpd/lighttpd.mk
index ef98298..804bdd4 100644
--- a/package/lighttpd/lighttpd.mk
+++ b/package/lighttpd/lighttpd.mk
@@ -62,44 +62,30 @@ endif
 define LIGHTTPD_INSTALL_CONFIG
 	$(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/lighttpd/conf.d
 	$(INSTALL) -d -m 0755 $(TARGET_DIR)/var/www
-
-	[ -f $(TARGET_DIR)/etc/lighttpd/lighttpd.conf ] || \
-		$(INSTALL) -D -m 755 $(@D)/doc/config/lighttpd.conf \
-			$(TARGET_DIR)/etc/lighttpd/lighttpd.conf
-
-	[ -f $(TARGET_DIR)/etc/lighttpd/modules.conf ] || \
-		$(INSTALL) -D -m 755 $(@D)/doc/config/modules.conf \
-			$(TARGET_DIR)/etc/lighttpd/modules.conf
-
-	[ -f $(TARGET_DIR)/etc/lighttpd/conf.d/access_log.conf ] || \
-		$(INSTALL) -D -m 755 $(@D)/doc/config/conf.d/access_log.conf \
-			$(TARGET_DIR)/etc/lighttpd/conf.d/access_log.conf
-
-	[ -f $(TARGET_DIR)/etc/lighttpd/conf.d/debug.conf ] || \
-		$(INSTALL) -D -m 755 $(@D)/doc/config/conf.d/debug.conf \
-			$(TARGET_DIR)/etc/lighttpd/conf.d/debug.conf
-
-	[ -f $(TARGET_DIR)/etc/lighttpd/conf.d/dirlisting.conf ] || \
-		$(INSTALL) -D -m 755 $(@D)/doc/config/conf.d/dirlisting.conf \
-			$(TARGET_DIR)/etc/lighttpd/conf.d/dirlisting.conf
-
-	[ -f $(TARGET_DIR)/etc/lighttpd/conf.d/mime.conf ] || \
-		$(INSTALL) -D -m 755 $(@D)/doc/config/conf.d/mime.conf \
-			$(TARGET_DIR)/etc/lighttpd/conf.d/mime.conf
+	$(INSTALL) -D -m 755 $(@D)/doc/config/lighttpd.conf \
+		$(TARGET_DIR)/etc/lighttpd/lighttpd.conf
+	$(INSTALL) -D -m 755 $(@D)/doc/config/modules.conf \
+		$(TARGET_DIR)/etc/lighttpd/modules.conf
+	$(INSTALL) -D -m 755 $(@D)/doc/config/conf.d/access_log.conf \
+		$(TARGET_DIR)/etc/lighttpd/conf.d/access_log.conf
+	$(INSTALL) -D -m 755 $(@D)/doc/config/conf.d/debug.conf \
+		$(TARGET_DIR)/etc/lighttpd/conf.d/debug.conf
+	$(INSTALL) -D -m 755 $(@D)/doc/config/conf.d/dirlisting.conf \
+		$(TARGET_DIR)/etc/lighttpd/conf.d/dirlisting.conf
+	$(INSTALL) -D -m 755 $(@D)/doc/config/conf.d/mime.conf \
+		$(TARGET_DIR)/etc/lighttpd/conf.d/mime.conf
 endef
 
 LIGHTTPD_POST_INSTALL_TARGET_HOOKS += LIGHTTPD_INSTALL_CONFIG
 
 define LIGHTTPD_INSTALL_INIT_SYSV
-	[ -f $(TARGET_DIR)/etc/init.d/S50lighttpd ] || \
-		$(INSTALL) -D -m 755 package/lighttpd/S50lighttpd \
-			$(TARGET_DIR)/etc/init.d/S50lighttpd
+	$(INSTALL) -D -m 755 package/lighttpd/S50lighttpd \
+		$(TARGET_DIR)/etc/init.d/S50lighttpd
 endef
 
 define LIGHTTPD_INSTALL_INIT_SYSTEMD
-	[ -f $(TARGET_DIR)/etc/systemd/system/lighttpd.service ] || \
-		$(INSTALL) -D -m 644 package/lighttpd/lighttpd.service \
-			$(TARGET_DIR)/etc/systemd/system/lighttpd.service
+	$(INSTALL) -D -m 644 package/lighttpd/lighttpd.service \
+		$(TARGET_DIR)/etc/systemd/system/lighttpd.service
 
 	mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 57/74] rpcbind: install init script unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (55 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 56/74] lighttpd: install init script and config file unconditionally Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (17 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/rpcbind/rpcbind.mk | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/package/rpcbind/rpcbind.mk b/package/rpcbind/rpcbind.mk
index b7c2261..55de3fc 100644
--- a/package/rpcbind/rpcbind.mk
+++ b/package/rpcbind/rpcbind.mk
@@ -17,9 +17,8 @@ RPCBIND_DEPENDENCIES += libtirpc
 RPCBIND_CONF_OPTS += --with-rpcuser=root
 
 define RPCBIND_INSTALL_INIT_SYSV
-	[ -f $(TARGET_DIR)/etc/init.d/S30rpcbind ] || \
-		$(INSTALL) -m 0755 -D package/rpcbind/S30rpcbind \
-			$(TARGET_DIR)/etc/init.d/S30rpcbind
+	$(INSTALL) -m 0755 -D package/rpcbind/S30rpcbind \
+		$(TARGET_DIR)/etc/init.d/S30rpcbind
 endef
 
 $(eval $(autotools-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 58/74] rsyslog: install init script and config file unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (56 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 57/74] rpcbind: install init script unconditionally Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (16 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Also, we take this opportunity to rename RSYSLOG_INSTALL_CONF_SCRIPT
to RSYSLOG_INSTALL_CONF because it is no longer installing an init
script.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/rsyslog/rsyslog.mk | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/package/rsyslog/rsyslog.mk b/package/rsyslog/rsyslog.mk
index d7dc930..6b72bb5 100644
--- a/package/rsyslog/rsyslog.mk
+++ b/package/rsyslog/rsyslog.mk
@@ -39,18 +39,16 @@ else
 endif
 
 define RSYSLOG_INSTALL_INIT_SYSV
-	[ -f $(TARGET_DIR)/etc/init.d/S01rsyslog ] || \
-		$(INSTALL) -m 0755 -D package/rsyslog/S01rsyslog \
-			$(TARGET_DIR)/etc/init.d/S01rsyslog
+	$(INSTALL) -m 0755 -D package/rsyslog/S01rsyslog \
+		$(TARGET_DIR)/etc/init.d/S01rsyslog
 endef
 
-define RSYSLOG_INSTALL_CONF_SCRIPT
-	[ -f $(TARGET_DIR)/etc/rsyslog.conf ] || \
-		$(INSTALL) -m 0644 -D $(@D)/platform/redhat/rsyslog.conf \
-			$(TARGET_DIR)/etc/rsyslog.conf
+define RSYSLOG_INSTALL_CONF
+	$(INSTALL) -m 0644 -D $(@D)/platform/redhat/rsyslog.conf \
+		$(TARGET_DIR)/etc/rsyslog.conf
 	mkdir -p $(TARGET_DIR)/etc/rsyslog.d
 endef
 
-RSYSLOG_POST_INSTALL_TARGET_HOOKS += RSYSLOG_INSTALL_CONF_SCRIPT
+RSYSLOG_POST_INSTALL_TARGET_HOOKS += RSYSLOG_INSTALL_CONF
 
 $(eval $(autotools-package))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 59/74] transmission: install init script unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (57 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 58/74] rsyslog: install init script and config file unconditionally Thomas Petazzoni
@ 2014-11-30 14:18 ` Thomas Petazzoni
  2014-11-30 17:46   ` 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
                   ` (15 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/transmission/transmission.mk | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/package/transmission/transmission.mk b/package/transmission/transmission.mk
index 27ad9d9..b8a5c42 100644
--- a/package/transmission/transmission.mk
+++ b/package/transmission/transmission.mk
@@ -37,9 +37,8 @@ ifeq ($(BR2_PACKAGE_TRANSMISSION_DAEMON),y)
 	TRANSMISSION_CONF_OPTS += --enable-daemon
 
 define TRANSMISSION_INSTALL_INIT_SYSV
-	[ -f $(TARGET_DIR)/etc/init.d/S92transmission ] || \
-		$(INSTALL) -m 0755 -D package/transmission/S92transmission \
-			$(TARGET_DIR)/etc/init.d/S92transmission
+	$(INSTALL) -m 0755 -D package/transmission/S92transmission \
+		$(TARGET_DIR)/etc/init.d/S92transmission
 endef
 
 else
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 60/74] stunnel: install configuration file unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (58 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 59/74] transmission: install init script unconditionally Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (14 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/stunnel/stunnel.mk | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/package/stunnel/stunnel.mk b/package/stunnel/stunnel.mk
index ac2963e..3d0596d 100644
--- a/package/stunnel/stunnel.mk
+++ b/package/stunnel/stunnel.mk
@@ -19,9 +19,8 @@ STUNNEL_CONF_OPTS += --disable-systemd
 endif
 
 define STUNNEL_INSTALL_CONF
-	[ -f $(TARGET_DIR)/etc/stunnel/stunnel.conf ] || \
-		$(INSTALL) -m 0644 -D $(@D)/tools/stunnel.conf \
-			$(TARGET_DIR)/etc/stunnel/stunnel.conf
+	$(INSTALL) -m 0644 -D $(@D)/tools/stunnel.conf \
+		$(TARGET_DIR)/etc/stunnel/stunnel.conf
 	rm -f $(TARGET_DIR)/etc/stunnel/stunnel.conf-sample
 endef
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 61/74] input-event-daemon: install configuration file unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (59 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 60/74] stunnel: install configuration file unconditionally Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (13 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/input-event-daemon/input-event-daemon.mk | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/package/input-event-daemon/input-event-daemon.mk b/package/input-event-daemon/input-event-daemon.mk
index 0bafdc4..67b8cc4 100644
--- a/package/input-event-daemon/input-event-daemon.mk
+++ b/package/input-event-daemon/input-event-daemon.mk
@@ -18,9 +18,8 @@ endef
 define INPUT_EVENT_DAEMON_INSTALL_TARGET_CMDS
 	$(INSTALL) -m 755 -D $(@D)/input-event-daemon \
 		$(TARGET_DIR)/usr/bin/input-event-daemon
-	[ -f $(TARGET_DIR)/etc/input-event-daemon.conf ] || \
-		$(INSTALL) -m 644 -D $(@D)/docs/sample.conf \
-			$(TARGET_DIR)/etc/input-event-daemon.conf
+	$(INSTALL) -m 644 -D $(@D)/docs/sample.conf \
+		$(TARGET_DIR)/etc/input-event-daemon.conf
 endef
 
 define INPUT_EVENT_DAEMON_INSTALL_INIT_SYSV
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 62/74] fluxbox: install session file unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (60 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 61/74] input-event-daemon: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (12 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/fluxbox/fluxbox.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/fluxbox/fluxbox.mk b/package/fluxbox/fluxbox.mk
index 21901d6..a0f9367 100644
--- a/package/fluxbox/fluxbox.mk
+++ b/package/fluxbox/fluxbox.mk
@@ -24,8 +24,8 @@ FLUXBOX_CONF_OPTS += --disable-imlib2
 endif
 
 define FLUXBOX_INSTALL_XSESSION_FILE
-	[ -f $(TARGET_DIR)/root/.xsession ] || $(INSTALL) -m 0755 -D \
-		package/fluxbox/xsession $(TARGET_DIR)/root/.xsession
+	$(INSTALL) -m 0755 -D package/fluxbox/xsession \
+		$(TARGET_DIR)/root/.xsession
 endef
 
 FLUXBOX_POST_INSTALL_TARGET_HOOKS += FLUXBOX_INSTALL_XSESSION_FILE
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 63/74] proftpd: install configuration file unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (61 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 62/74] fluxbox: install session " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (11 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/proftpd/proftpd.mk | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/package/proftpd/proftpd.mk b/package/proftpd/proftpd.mk
index 65dd84e..ce31276 100644
--- a/package/proftpd/proftpd.mk
+++ b/package/proftpd/proftpd.mk
@@ -48,10 +48,8 @@ PROFTPD_MAKE = $(MAKE1)
 
 define PROFTPD_INSTALL_TARGET_CMDS
 	$(INSTALL) -D -m 0755 $(@D)/proftpd $(TARGET_DIR)/usr/sbin/proftpd
-	@if [ ! -f $(TARGET_DIR)/etc/proftpd.conf ]; then \
-		$(INSTALL) -m 0644 -D $(@D)/sample-configurations/basic.conf $(TARGET_DIR)/etc/proftpd.conf; \
-		$(if $(BR2_INET_IPV6),,$(SED) 's/^UseIPv6/# UseIPv6/' $(TARGET_DIR)/etc/proftpd.conf;) \
-	fi
+	$(INSTALL) -m 0644 -D $(@D)/sample-configurations/basic.conf $(TARGET_DIR)/etc/proftpd.conf; \
+	$(if $(BR2_INET_IPV6),,$(SED) 's/^UseIPv6/# UseIPv6/' $(TARGET_DIR)/etc/proftpd.conf;) \
 endef
 
 define PROFTPD_INSTALL_INIT_SYSV
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 64/74] samba: install configuration file unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (62 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 63/74] proftpd: install configuration " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (10 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/samba/samba.mk | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/package/samba/samba.mk b/package/samba/samba.mk
index 92bbe4e..0e4db95 100644
--- a/package/samba/samba.mk
+++ b/package/samba/samba.mk
@@ -177,10 +177,7 @@ SAMBA_POST_INSTALL_TARGET_HOOKS += SAMBA_REMOVE_SWAT_DOCUMENTATION
 endif
 
 define SAMBA_INSTALL_CONFIG
-	# install config
-	@if [ ! -f $(TARGET_DIR)/etc/samba/smb.conf ]; then \
-		$(INSTALL) -m 0644 -D package/samba/simple.conf $(TARGET_DIR)/etc/samba/smb.conf; \
-	fi
+	$(INSTALL) -m 0644 -D package/samba/simple.conf $(TARGET_DIR)/etc/samba/smb.conf
 endef
 
 SAMBA_POST_INSTALL_TARGET_HOOKS += SAMBA_INSTALL_CONFIG
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 65/74] logrotate: install configuration file unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (63 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 64/74] samba: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (9 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/logrotate/logrotate.mk | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/package/logrotate/logrotate.mk b/package/logrotate/logrotate.mk
index 2e49feb..dc26d85 100644
--- a/package/logrotate/logrotate.mk
+++ b/package/logrotate/logrotate.mk
@@ -17,9 +17,7 @@ endef
 
 define LOGROTATE_INSTALL_TARGET_CMDS
 	$(MAKE) PREFIX=$(TARGET_DIR) -C $(@D) install
-	if [ ! -f $(TARGET_DIR)/etc/logrotate.conf ]; then \
-		$(INSTALL) -m 0644 package/logrotate/logrotate.conf $(TARGET_DIR)/etc/logrotate.conf; \
-	fi
+	$(INSTALL) -m 0644 package/logrotate/logrotate.conf $(TARGET_DIR)/etc/logrotate.conf
 	$(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/logrotate.d
 endef
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 66/74] nss-mdns: install configuration file unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (64 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 65/74] logrotate: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (8 subsequent siblings)
  74 siblings, 1 reply; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/nss-mdns/nss-mdns.mk | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/package/nss-mdns/nss-mdns.mk b/package/nss-mdns/nss-mdns.mk
index 9ec9c1a..9a6c5a1 100644
--- a/package/nss-mdns/nss-mdns.mk
+++ b/package/nss-mdns/nss-mdns.mk
@@ -10,9 +10,7 @@ NSS_MDNS_LICENSE = LGPLv2.1+
 NSS_MDNS_LICENSE_FILES = LICENSE
 
 define NSS_MDNS_INSTALL_CONFIG
-	if [ ! -f "$(TARGET_DIR)/etc/nsswitch.conf" ]; then \
-		$(INSTALL) -D -m 0644 package/glibc/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf ; \
-	fi
+	$(INSTALL) -D -m 0644 package/glibc/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf
 	sed -r -i -e 's/^(hosts:[[:space:]]+).*/\1files mdns4_minimal [NOTFOUND=return] dns mdns4/' \
 		$(TARGET_DIR)/etc/nsswitch.conf
 endef
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 67/74] ifplugd: install configuration files unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (65 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 66/74] nss-mdns: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (7 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/ifplugd/ifplugd.mk | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/package/ifplugd/ifplugd.mk b/package/ifplugd/ifplugd.mk
index 3d0736a..b24c79d 100644
--- a/package/ifplugd/ifplugd.mk
+++ b/package/ifplugd/ifplugd.mk
@@ -21,14 +21,10 @@ ifeq ($(BR2_PACKAGE_BUSYBOX),y)
 endif
 
 define IFPLUGD_INSTALL_FIXUP
-	if [ ! -f $(TARGET_DIR)/etc/ifplugd/ifplugd.conf ]; then \
-		$(INSTALL) -D $(@D)/conf/ifplugd.conf $(TARGET_DIR)/etc/ifplugd/ifplugd.conf; \
-		$(SED) 's^\(ARGS=.*\)w^\1^' $(TARGET_DIR)/etc/ifplugd/ifplugd.conf; \
-	fi
-	if [ ! -f $(TARGET_DIR)/etc/ifplugd/ifplugd.action ]; then \
-		$(INSTALL) -D -m 0755 $(@D)/conf/ifplugd.action \
-			$(TARGET_DIR)/etc/ifplugd/ifplugd.action ; \
-	fi
+	$(INSTALL) -D $(@D)/conf/ifplugd.conf $(TARGET_DIR)/etc/ifplugd/ifplugd.conf; \
+	$(SED) 's^\(ARGS=.*\)w^\1^' $(TARGET_DIR)/etc/ifplugd/ifplugd.conf; \
+	$(INSTALL) -D -m 0755 $(@D)/conf/ifplugd.action \
+		$(TARGET_DIR)/etc/ifplugd/ifplugd.action ; \
 endef
 
 IFPLUGD_POST_INSTALL_TARGET_HOOKS += IFPLUGD_INSTALL_FIXUP
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 68/74] sysklogd: install configuration file unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (66 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 67/74] ifplugd: install configuration files unconditionally Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (6 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/sysklogd/sysklogd.mk | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/package/sysklogd/sysklogd.mk b/package/sysklogd/sysklogd.mk
index 2b60b45..1e8652d 100644
--- a/package/sysklogd/sysklogd.mk
+++ b/package/sysklogd/sysklogd.mk
@@ -21,10 +21,8 @@ endef
 define SYSKLOGD_INSTALL_TARGET_CMDS
 	$(INSTALL) -D -m 0500 $(@D)/syslogd $(TARGET_DIR)/sbin/syslogd
 	$(INSTALL) -D -m 0500 $(@D)/klogd $(TARGET_DIR)/sbin/klogd
-	if [ ! -f $(TARGET_DIR)/etc/syslog.conf ]; then \
-		$(INSTALL) -D -m 0644 package/sysklogd/syslog.conf \
-			$(TARGET_DIR)/etc/syslog.conf; \
-	fi
+	$(INSTALL) -D -m 0644 package/sysklogd/syslog.conf \
+		$(TARGET_DIR)/etc/syslog.conf; \
 endef
 
 define SYSKLOGD_INSTALL_INIT_SYSV
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 69/74] screen: install configuration file unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (67 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 68/74] sysklogd: install configuration file unconditionally Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (5 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/screen/screen.mk | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/package/screen/screen.mk b/package/screen/screen.mk
index 461bce2..827e776 100644
--- a/package/screen/screen.mk
+++ b/package/screen/screen.mk
@@ -15,9 +15,7 @@ SCREEN_MAKE = $(MAKE1)
 SCREEN_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) SCREEN=screen install_bin
 
 define SCREEN_INSTALL_SCREENRC
-	if [ ! -f $(TARGET_DIR)/etc/screenrc ]; then \
-		$(INSTALL) -m 0755 -D $(@D)/etc/screenrc $(TARGET_DIR)/etc/screenrc; \
-	fi
+	$(INSTALL) -m 0755 -D $(@D)/etc/screenrc $(TARGET_DIR)/etc/screenrc
 endef
 
 SCREEN_POST_INSTALL_TARGET_HOOKS += SCREEN_INSTALL_SCREENRC
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 70/74] usbmount: install configuration file unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (68 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 69/74] screen: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (4 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/usbmount/usbmount.mk | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/package/usbmount/usbmount.mk b/package/usbmount/usbmount.mk
index cc25e4b..76c027f 100644
--- a/package/usbmount/usbmount.mk
+++ b/package/usbmount/usbmount.mk
@@ -20,9 +20,7 @@ define USBMOUNT_INSTALL_TARGET_CMDS
 		$(TARGET_DIR)/etc/usbmount/usbmount.d/00_remove_model_symlink
 
 	$(INSTALL) -m 0644 -D $(@D)/usbmount.rules $(TARGET_DIR)/lib/udev/rules.d/usbmount.rules
-	@if [ ! -f $(TARGET_DIR)/etc/usbmount/usbmount.conf ]; then \
-	        $(INSTALL) -m 0644 -D $(@D)/usbmount.conf $(TARGET_DIR)/etc/usbmount/usbmount.conf; \
-	fi
+        $(INSTALL) -m 0644 -D $(@D)/usbmount.conf $(TARGET_DIR)/etc/usbmount/usbmount.conf
 
 	mkdir -p $(addprefix $(TARGET_DIR)/media/usb,0 1 2 3 4 5 6 7)
 endef
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 71/74] php: install configuration file unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (69 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 70/74] usbmount: " Thomas Petazzoni
@ 2014-11-30 14:18 ` 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
                   ` (3 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:18 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/php/php.mk | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/package/php/php.mk b/package/php/php.mk
index 9456f1c..caaf548 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -238,10 +238,8 @@ PHP_POST_INSTALL_TARGET_HOOKS += PHP_EXTENSIONS_FIXUP
 define PHP_INSTALL_FIXUP
 	rm -rf $(TARGET_DIR)/usr/lib/php
 	rm -f $(TARGET_DIR)/usr/bin/phpize
-	if [ ! -f $(TARGET_DIR)/etc/php.ini ]; then \
-		$(INSTALL) -m 0755  $(PHP_DIR)/php.ini-production \
-			$(TARGET_DIR)/etc/php.ini; \
-	fi
+	$(INSTALL) -m 0755  $(PHP_DIR)/php.ini-production \
+		$(TARGET_DIR)/etc/php.ini
 endef
 
 PHP_POST_INSTALL_TARGET_HOOKS += PHP_INSTALL_FIXUP
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 72/74] inadyn: install configuration file unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (70 preceding siblings ...)
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 71/74] php: " Thomas Petazzoni
@ 2014-11-30 14:19 ` 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
                   ` (2 subsequent siblings)
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:19 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/inadyn/inadyn.mk | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/package/inadyn/inadyn.mk b/package/inadyn/inadyn.mk
index 73d95db..b002f94 100644
--- a/package/inadyn/inadyn.mk
+++ b/package/inadyn/inadyn.mk
@@ -20,10 +20,8 @@ INADYN_CONF_OPTS += --disable-ssl
 endif
 
 define INADYN_INSTALL_SAMPLE_CONFIG
-	@if [ ! -f $(TARGET_DIR)/etc/inadyn.conf ]; then \
-		$(INSTALL) -D -m 0600 package/inadyn/inadyn.conf \
-			$(TARGET_DIR)/etc/inadyn.conf; \
-	fi
+	$(INSTALL) -D -m 0600 package/inadyn/inadyn.conf \
+		$(TARGET_DIR)/etc/inadyn.conf
 endef
 INADYN_POST_INSTALL_TARGET_HOOKS += INADYN_INSTALL_SAMPLE_CONFIG
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 73/74] mpd: install configuration file unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (71 preceding siblings ...)
  2014-11-30 14:19 ` [Buildroot] [PATCHv3 72/74] inadyn: " Thomas Petazzoni
@ 2014-11-30 14:19 ` 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 14:30 ` [Buildroot] [PATCHv3 00/74] Misc package improvements Baruch Siach
  74 siblings, 2 replies; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:19 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/mpd/mpd.mk | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk
index 1eedcbc..ba3bd59 100644
--- a/package/mpd/mpd.mk
+++ b/package/mpd/mpd.mk
@@ -228,10 +228,7 @@ MPD_CONF_OPTS += --disable-wavpack
 endif
 
 define MPD_INSTALL_EXTRA_FILES
-	@if [ ! -f $(TARGET_DIR)/etc/mpd.conf ]; then \
-		$(INSTALL) -D package/mpd/mpd.conf \
-			$(TARGET_DIR)/etc/mpd.conf; \
-	fi
+	$(INSTALL) -D package/mpd/mpd.conf $(TARGET_DIR)/etc/mpd.conf
 endef
 
 MPD_POST_INSTALL_TARGET_HOOKS += MPD_INSTALL_EXTRA_FILES
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 74/74] toolchain: install nssswitch.conf configuration file unconditionally
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (72 preceding siblings ...)
  2014-11-30 14:19 ` [Buildroot] [PATCHv3 73/74] mpd: " Thomas Petazzoni
@ 2014-11-30 14:19 ` Thomas Petazzoni
  2014-11-30 18:19   ` Yann E. MORIN
  2014-11-30 14:30 ` [Buildroot] [PATCHv3 00/74] Misc package improvements Baruch Siach
  74 siblings, 1 reply; 227+ messages in thread
From: Thomas Petazzoni @ 2014-11-30 14:19 UTC (permalink / raw)
  To: buildroot

As discussed, users should use a rootfs overlay or a post-build script
instead of a custom skeleton to override files installed by Buildroot,
so there is no point in having conditions when installing init scripts
or configuration files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 toolchain/toolchain.mk | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/toolchain/toolchain.mk b/toolchain/toolchain.mk
index 3f9900b..0fb115b 100644
--- a/toolchain/toolchain.mk
+++ b/toolchain/toolchain.mk
@@ -3,12 +3,10 @@
 # TARGET_FINALIZE_HOOKS, to be applied just after all packages
 # have been built.
 
-# Install default nsswitch.conf file if the skeleton doesn't provide it
+# Install default nsswitch.conf file
 ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y)
 define GLIBC_COPY_NSSWITCH_FILE
-	$(Q)if [ ! -f "$(TARGET_DIR)/etc/nsswitch.conf" ]; then \
-		$(INSTALL) -D -m 0644 package/glibc/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf ; \
-	fi
+	$(INSTALL) -D -m 0644 package/glibc/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf
 endef
 TARGET_FINALIZE_HOOKS += GLIBC_COPY_NSSWITCH_FILE
 endif
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 00/74] Misc package improvements
  2014-11-30 14:17 [Buildroot] [PATCHv3 00/74] Misc package improvements Thomas Petazzoni
                   ` (73 preceding siblings ...)
  2014-11-30 14:19 ` [Buildroot] [PATCHv3 74/74] toolchain: install nssswitch.conf " Thomas Petazzoni
@ 2014-11-30 14:30 ` Baruch Siach
  74 siblings, 0 replies; 227+ messages in thread
From: Baruch Siach @ 2014-11-30 14:30 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

On Sun, Nov 30, 2014 at 03:17:48PM +0100, Thomas Petazzoni wrote:
> Changes since v2:
> 
>  - Fix commit title of the commit making the dmraid init script
>    installation unconditional, it was referring to busybox while the
>    commit is about dmraid. Noticed by Baruch.

Just for the record, this was noticed by Danomi Manchego 
(http://lists.busybox.net/pipermail/buildroot/2014-November/113339.html).

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 01/74] vsftpd: use <pkg>_INSTALL_INIT_SYSV and rename init script
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 14:45 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:17 +0100, Thomas Petazzoni spake thusly:
> This commit changes the vsftpd package to use the
> <pkg>_INSTALL_INIT_SYSV mechanism to install its init script, and
> renames the init script in the Buildroot source tree to match how it's
> named on the target.
> 
> Also, the init script is now installed unconditionally, as is done in
> most packages.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/vsftpd/{vsftpd-init => S70vsftpd} | 0
>  package/vsftpd/vsftpd.mk                  | 7 ++++---
>  2 files changed, 4 insertions(+), 3 deletions(-)
>  rename package/vsftpd/{vsftpd-init => S70vsftpd} (100%)
> 
> diff --git a/package/vsftpd/vsftpd-init b/package/vsftpd/S70vsftpd
> similarity index 100%
> rename from package/vsftpd/vsftpd-init
> rename to package/vsftpd/S70vsftpd
> diff --git a/package/vsftpd/vsftpd.mk b/package/vsftpd/vsftpd.mk
> index cab5afb..1c468ed 100644
> --- a/package/vsftpd/vsftpd.mk
> +++ b/package/vsftpd/vsftpd.mk
> @@ -43,15 +43,16 @@ define VSFTPD_BUILD_CMDS
>  		LDFLAGS="$(TARGET_LDFLAGS)" LIBS="$(VSFTPD_LIBS)" -C $(@D)
>  endef
>  
> +define VSFTPD_INSTALL_INIT_SYSV
> +	$(INSTALL) -D -m 755 package/vsftpd/S70vsftpd $(TARGET_DIR)/etc/init.d/S70vsftpd
> +endef
> +
>  define VSFTPD_INSTALL_TARGET_CMDS
>  	$(INSTALL) -D -m 755 $(@D)/vsftpd $(TARGET_DIR)/usr/sbin/vsftpd
>  	$(INSTALL) -D -m 644 $(@D)/vsftpd.8 \
>  		$(TARGET_DIR)/usr/share/man/man8/vsftpd.8
>  	$(INSTALL) -D -m 644 $(@D)/vsftpd.conf.5 \
>  		$(TARGET_DIR)/usr/share/man/man5/vsftpd.conf.5
> -	test -f $(TARGET_DIR)/etc/init.d/S70vsftpd || \
> -		$(INSTALL) -D -m 755 package/vsftpd/vsftpd-init \
> -			$(TARGET_DIR)/etc/init.d/S70vsftpd
>  	test -f $(TARGET_DIR)/etc/vsftpd.conf || \
>  		$(INSTALL) -D -m 644 $(@D)/vsftpd.conf \
>  			$(TARGET_DIR)/etc/vsftpd.conf
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 02/74] vsftpd: don't install manpages
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 14:46 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:17 +0100, Thomas Petazzoni spake thusly:
> Installing manpages to the target is quite useless, since we don't
> support installing documentation on the target.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/vsftpd/vsftpd.mk | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/package/vsftpd/vsftpd.mk b/package/vsftpd/vsftpd.mk
> index 1c468ed..b94328d 100644
> --- a/package/vsftpd/vsftpd.mk
> +++ b/package/vsftpd/vsftpd.mk
> @@ -49,10 +49,6 @@ endef
>  
>  define VSFTPD_INSTALL_TARGET_CMDS
>  	$(INSTALL) -D -m 755 $(@D)/vsftpd $(TARGET_DIR)/usr/sbin/vsftpd
> -	$(INSTALL) -D -m 644 $(@D)/vsftpd.8 \
> -		$(TARGET_DIR)/usr/share/man/man8/vsftpd.8
> -	$(INSTALL) -D -m 644 $(@D)/vsftpd.conf.5 \
> -		$(TARGET_DIR)/usr/share/man/man5/vsftpd.conf.5
>  	test -f $(TARGET_DIR)/etc/vsftpd.conf || \
>  		$(INSTALL) -D -m 644 $(@D)/vsftpd.conf \
>  			$(TARGET_DIR)/etc/vsftpd.conf
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 03/74] vsftpd: rename patches to the new naming convention
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 14:46 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:17 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  .../{vsftpd-0001-utmpx-builddef.patch => 0001-utmpx-builddef.patch}       | 0
>  ...{vsftpd-dont-force-largefile.patch => 0002-dont-force-largefile.patch} | 0
>  2 files changed, 0 insertions(+), 0 deletions(-)
>  rename package/vsftpd/{vsftpd-0001-utmpx-builddef.patch => 0001-utmpx-builddef.patch} (100%)
>  rename package/vsftpd/{vsftpd-dont-force-largefile.patch => 0002-dont-force-largefile.patch} (100%)
> 
> diff --git a/package/vsftpd/vsftpd-0001-utmpx-builddef.patch b/package/vsftpd/0001-utmpx-builddef.patch
> similarity index 100%
> rename from package/vsftpd/vsftpd-0001-utmpx-builddef.patch
> rename to package/vsftpd/0001-utmpx-builddef.patch
> diff --git a/package/vsftpd/vsftpd-dont-force-largefile.patch b/package/vsftpd/0002-dont-force-largefile.patch
> similarity index 100%
> rename from package/vsftpd/vsftpd-dont-force-largefile.patch
> rename to package/vsftpd/0002-dont-force-largefile.patch
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 04/74] radvd: use <pkg>_INSTALL_INIT_SYSV
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 14:47 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:17 +0100, Thomas Petazzoni spake thusly:
> This commit changes the radvd to use the <pkg>_INSTALL_INIT_SYSV
> mechanism instead of using a post install target hook. We also use a
> full destination path when calling $(INSTALL).
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/radvd/radvd.mk | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/package/radvd/radvd.mk b/package/radvd/radvd.mk
> index e0d4f69..e65d74a 100644
> --- a/package/radvd/radvd.mk
> +++ b/package/radvd/radvd.mk
> @@ -12,10 +12,8 @@ RADVD_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
>  # For radvd-01-drop-check.patch & radvd-02-drop-stack-protector.patch
>  RADVD_AUTORECONF = YES
>  
> -define RADVD_INSTALL_INITSCRIPT
> -	$(INSTALL) -m 0755 package/radvd/S50radvd $(TARGET_DIR)/etc/init.d
> +define RADVD_INSTALL_INIT_SYSV
> +	$(INSTALL) -D -m 0755 package/radvd/S50radvd $(TARGET_DIR)/etc/init.d/S50radvd
>  endef
>  
> -RADVD_POST_INSTALL_TARGET_HOOKS += RADVD_INSTALL_INITSCRIPT
> -
>  $(eval $(autotools-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 05/74] thttpd: use the <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 14:48 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:17 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/thttpd/thttpd.mk | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/package/thttpd/thttpd.mk b/package/thttpd/thttpd.mk
> index 70a90fd..1a028c8 100644
> --- a/package/thttpd/thttpd.mk
> +++ b/package/thttpd/thttpd.mk
> @@ -31,8 +31,6 @@ define THTTPD_INSTALL_TARGET_CMDS
>  	$(INSTALL) -D -m 0755 $(@D)/scripts/thttpd_wrapper $(TARGET_DIR)/usr/sbin/thttpd_wrapper
>  	$(SED) 's:/usr/local/sbin:/usr/sbin:g' -e \
>  		's:/usr/local/www:/var/www:g' $(TARGET_DIR)/usr/sbin/thttpd_wrapper
> -	$(INSTALL) -D -m 0755 $(@D)/scripts/thttpd.sh $(TARGET_DIR)/etc/init.d/S90thttpd
> -	$(SED) 's:/usr/local/sbin:/usr/sbin:g' $(TARGET_DIR)/etc/init.d/S90thttpd
>  	$(INSTALL) -d $(TARGET_DIR)/var/www/data
>  	$(INSTALL) -d $(TARGET_DIR)/var/www/logs
>  	echo "dir=/var/www/data" > $(TARGET_DIR)/var/www/thttpd_config
> @@ -41,4 +39,9 @@ define THTTPD_INSTALL_TARGET_CMDS
>  	echo "pidfile=/var/run/thttpd.pid" >> $(TARGET_DIR)/var/www/thttpd_config
>  endef
>  
> +define THTTPD_INSTALL_INIT_SYSV
> +	$(INSTALL) -D -m 0755 $(@D)/scripts/thttpd.sh $(TARGET_DIR)/etc/init.d/S90thttpd
> +	$(SED) 's:/usr/local/sbin:/usr/sbin:g' $(TARGET_DIR)/etc/init.d/S90thttpd
> +endef
> +
>  $(eval $(autotools-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 06/74] busybox: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 ` [Buildroot] [PATCHv3 06/74] busybox: use " Thomas Petazzoni
@ 2014-11-30 14:55   ` Yann E. MORIN
  2014-11-30 17:23     ` Yann E. MORIN
  2014-12-01 21:38   ` Peter Korsgaard
  1 sibling, 1 reply; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 14:55 UTC (permalink / raw)
  To: buildroot

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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 07/74] portmap: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 14:56 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:17 +0100, Thomas Petazzoni spake thusly:
> We also switch to using a full destination path as the second argument
> of $(INSTALL).
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  package/portmap/portmap.mk | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/package/portmap/portmap.mk b/package/portmap/portmap.mk
> index 0189597..dd60809 100644
> --- a/package/portmap/portmap.mk
> +++ b/package/portmap/portmap.mk
> @@ -30,8 +30,10 @@ define PORTMAP_INSTALL_TARGET_CMDS
>  		$(TARGET_DIR)/usr/share/man/man8/pmap_dump.8
>  	$(INSTALL) -D $(@D)/pmap_set.8 \
>  		$(TARGET_DIR)/usr/share/man/man8/pmap_set.8
> -	$(INSTALL) -m 0755 package/portmap/S13portmap \
> -		$(TARGET_DIR)/etc/init.d
> +endef
> +
> +define PORTMAP_INSTALL_INIT_SYSV
> +	$(INSTALL) -m 0755 package/portmap/S13portmap $(TARGET_DIR)/etc/init.d/S13portmap

Missing -D option.

Regards,
Yann E. MORIN.

>  endef
>  
>  $(eval $(generic-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 08/74] portmap: don't install manpages
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 14:57 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:17 +0100, Thomas Petazzoni spake thusly:
> We no longer support having documentation on the target, so there's no
> point in carrying code to install man pages.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/portmap/portmap.mk | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/package/portmap/portmap.mk b/package/portmap/portmap.mk
> index dd60809..d5d43bf 100644
> --- a/package/portmap/portmap.mk
> +++ b/package/portmap/portmap.mk
> @@ -24,12 +24,6 @@ define PORTMAP_INSTALL_TARGET_CMDS
>  	for sbin in $(PORTMAP_SBINS); do \
>  		$(INSTALL) -D $(@D)/$$sbin $(TARGET_DIR)/sbin/$$sbin; \
>  	done
> -	$(INSTALL) -D $(@D)/portmap.man \
> -		$(TARGET_DIR)/usr/share/man/man8/portmap.8
> -	$(INSTALL) -D $(@D)/pmap_dump.8 \
> -		$(TARGET_DIR)/usr/share/man/man8/pmap_dump.8
> -	$(INSTALL) -D $(@D)/pmap_set.8 \
> -		$(TARGET_DIR)/usr/share/man/man8/pmap_set.8
>  endef
>  
>  define PORTMAP_INSTALL_INIT_SYSV
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 09/74] portmap: improve installation of binaries
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 14:59 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:17 +0100, Thomas Petazzoni spake thusly:
> This commit explicits the permissions with which executables are
> installed, and also makes sure that the build is aborted is one of the
                                                           ^^
s/is/if/

> binary cannot be installed, instead of silently ignoring the error.

binaries

> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Otherwise:

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/portmap/portmap.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/portmap/portmap.mk b/package/portmap/portmap.mk
> index d5d43bf..65ee551 100644
> --- a/package/portmap/portmap.mk
> +++ b/package/portmap/portmap.mk
> @@ -22,7 +22,7 @@ endef
>  
>  define PORTMAP_INSTALL_TARGET_CMDS
>  	for sbin in $(PORTMAP_SBINS); do \
> -		$(INSTALL) -D $(@D)/$$sbin $(TARGET_DIR)/sbin/$$sbin; \
> +		$(INSTALL) -D -m 0755 $(@D)/$$sbin $(TARGET_DIR)/sbin/$$sbin || exit 1; \
>  	done
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 10/74] stunnel: use the <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 1 reply; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 15:04 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:17 +0100, Thomas Petazzoni spake thusly:
> Since the existing STUNNEL_INSTALL_CONF_SCRIPT hook no longer installs
> the init script, we rename it to STUNNEL_INSTALL_CONF.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  package/stunnel/stunnel.mk | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/package/stunnel/stunnel.mk b/package/stunnel/stunnel.mk
> index dc56261..ac2963e 100644
> --- a/package/stunnel/stunnel.mk
> +++ b/package/stunnel/stunnel.mk
> @@ -18,14 +18,17 @@ else
>  STUNNEL_CONF_OPTS += --disable-systemd
>  endif
>  
> -define STUNNEL_INSTALL_CONF_SCRIPT
> -	$(INSTALL) -m 0755 -D package/stunnel/S50stunnel $(TARGET_DIR)/etc/init.d/S50stunnel
> +define STUNNEL_INSTALL_CONF
>  	[ -f $(TARGET_DIR)/etc/stunnel/stunnel.conf ] || \

What is the stance on removing those conditional installs? I thought we
wanted to get rid oif all of them, in favour of using a post-build
script or rootfs-overlay.

Can be done in a separate patch, maybe.

Otherwise, loks good:

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

>  		$(INSTALL) -m 0644 -D $(@D)/tools/stunnel.conf \
>  			$(TARGET_DIR)/etc/stunnel/stunnel.conf
>  	rm -f $(TARGET_DIR)/etc/stunnel/stunnel.conf-sample
>  endef
>  
> -STUNNEL_POST_INSTALL_TARGET_HOOKS += STUNNEL_INSTALL_CONF_SCRIPT
> +STUNNEL_POST_INSTALL_TARGET_HOOKS += STUNNEL_INSTALL_CONF
> +
> +define STUNNEL_INSTALL_INIT_SYSV
> +	$(INSTALL) -m 0755 -D package/stunnel/S50stunnel $(TARGET_DIR)/etc/init.d/S50stunnel
> +endef
>  
>  $(eval $(autotools-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 11/74] gdk-pixbuf: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 15:05 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:17 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/gdk-pixbuf/gdk-pixbuf.mk | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/package/gdk-pixbuf/gdk-pixbuf.mk b/package/gdk-pixbuf/gdk-pixbuf.mk
> index 61e7ae9..0977d92 100644
> --- a/package/gdk-pixbuf/gdk-pixbuf.mk
> +++ b/package/gdk-pixbuf/gdk-pixbuf.mk
> @@ -45,13 +45,11 @@ GDK_PIXBUF_DEPENDENCIES += \
>  	$(if $(BR2_ENABLE_LOCALE),,libiconv) \
>  	host-pkgconf libglib2
>  
> -define GDK_PIXBUF_POST_INSTALL_TWEAKS
> +define GDK_PIXBUF_INSTALL_INIT_SYSV
>  	$(INSTALL) -m 755 -D package/gdk-pixbuf/S26gdk-pixbuf \
>  		$(TARGET_DIR)/etc/init.d/S26gdk-pixbuf
>  endef
>  
> -GDK_PIXBUF_POST_INSTALL_TARGET_HOOKS += GDK_PIXBUF_POST_INSTALL_TWEAKS
> -
>  $(eval $(autotools-package))
>  
>  HOST_GDK_PIXBUF_CONF_OPTS = \
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 12/74] proftpd: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 15:06 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Also use a complete destination path for the $(INSTALL) command.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  package/proftpd/proftpd.mk | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/package/proftpd/proftpd.mk b/package/proftpd/proftpd.mk
> index ce735bd..65dd84e 100644
> --- a/package/proftpd/proftpd.mk
> +++ b/package/proftpd/proftpd.mk
> @@ -52,7 +52,10 @@ define PROFTPD_INSTALL_TARGET_CMDS
>  		$(INSTALL) -m 0644 -D $(@D)/sample-configurations/basic.conf $(TARGET_DIR)/etc/proftpd.conf; \
>  		$(if $(BR2_INET_IPV6),,$(SED) 's/^UseIPv6/# UseIPv6/' $(TARGET_DIR)/etc/proftpd.conf;) \
>  	fi
> -	$(INSTALL) -m 0755 package/proftpd/S50proftpd $(TARGET_DIR)/etc/init.d
> +endef
> +
> +define PROFTPD_INSTALL_INIT_SYSV
> +	$(INSTALL) -m 0755 package/proftpd/S50proftpd $(TARGET_DIR)/etc/init.d/S50proftpd

Missing the -D option.

Regards,
Yann E. MORIN.

>  endef
>  
>  $(eval $(autotools-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 13/74] samba: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 15:09 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Also makes the installation of the init script unconditional.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  package/samba/samba.mk | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/package/samba/samba.mk b/package/samba/samba.mk
> index ec8e6ec..92bbe4e 100644
> --- a/package/samba/samba.mk
> +++ b/package/samba/samba.mk
> @@ -176,17 +176,17 @@ ifeq ($(BR2_PACKAGE_SAMBA_SWAT),y)
>  SAMBA_POST_INSTALL_TARGET_HOOKS += SAMBA_REMOVE_SWAT_DOCUMENTATION
>  endif
>  
> -define SAMBA_INSTALL_INITSCRIPTS_CONFIG
> -	# install start/stop script
> -	@if [ ! -f $(TARGET_DIR)/etc/init.d/S91smb ]; then \
> -		$(INSTALL) -m 0755 -D package/samba/S91smb $(TARGET_DIR)/etc/init.d/S91smb; \
> -	fi
> +define SAMBA_INSTALL_CONFIG
>  	# install config
>  	@if [ ! -f $(TARGET_DIR)/etc/samba/smb.conf ]; then \
>  		$(INSTALL) -m 0644 -D package/samba/simple.conf $(TARGET_DIR)/etc/samba/smb.conf; \
>  	fi

OK, I won't repeat it ad-infinitum, so here it is for the last time:
don't we want to remove the check for the existing target, and just
always do the installation, to delegate the customisation to a
post-build script or a rootfs-overlay?

Of course, that can/should be part of a separate patch.

Promised, that's the last time I write this comment in this series! ;-p

>  endef
>  
> -SAMBA_POST_INSTALL_TARGET_HOOKS += SAMBA_INSTALL_INITSCRIPTS_CONFIG
> +SAMBA_POST_INSTALL_TARGET_HOOKS += SAMBA_INSTALL_CONFIG
> +
> +define SAMBA_INSTALL_INIT_SYSV
> +	$(INSTALL) -m 0755 -D package/samba/S91smb $(TARGET_DIR)/etc/init.d/S91smb
> +endef

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

>  $(eval $(autotools-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 14/74] input-event-daemon: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 15:11 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Also makes the installation of the init script unconditional.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/input-event-daemon/input-event-daemon.mk | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/package/input-event-daemon/input-event-daemon.mk b/package/input-event-daemon/input-event-daemon.mk
> index 534fe90..0bafdc4 100644
> --- a/package/input-event-daemon/input-event-daemon.mk
> +++ b/package/input-event-daemon/input-event-daemon.mk
> @@ -21,9 +21,11 @@ define INPUT_EVENT_DAEMON_INSTALL_TARGET_CMDS
>  	[ -f $(TARGET_DIR)/etc/input-event-daemon.conf ] || \
>  		$(INSTALL) -m 644 -D $(@D)/docs/sample.conf \
>  			$(TARGET_DIR)/etc/input-event-daemon.conf
> -	[ -f $(TARGET_DIR)/etc/init.d/S99input-event-daemon ] || \
> -		$(INSTALL) -m 0755 -D package/input-event-daemon/S99input-event-daemon \
> -			$(TARGET_DIR)/etc/init.d/S99input-event-daemon
> +endef
> +
> +define INPUT_EVENT_DAEMON_INSTALL_INIT_SYSV
> +	$(INSTALL) -m 0755 -D package/input-event-daemon/S99input-event-daemon \
> +		$(TARGET_DIR)/etc/init.d/S99input-event-daemon
>  endef
>  
>  $(eval $(generic-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 15/74] ifplugd: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 15:13 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/ifplugd/ifplugd.mk | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/package/ifplugd/ifplugd.mk b/package/ifplugd/ifplugd.mk
> index 398cff4..3d0736a 100644
> --- a/package/ifplugd/ifplugd.mk
> +++ b/package/ifplugd/ifplugd.mk
> @@ -29,12 +29,15 @@ define IFPLUGD_INSTALL_FIXUP
>  		$(INSTALL) -D -m 0755 $(@D)/conf/ifplugd.action \
>  			$(TARGET_DIR)/etc/ifplugd/ifplugd.action ; \
>  	fi
> +endef
> +
> +IFPLUGD_POST_INSTALL_TARGET_HOOKS += IFPLUGD_INSTALL_FIXUP
> +
> +define IFPLUGD_INSTALL_INIT_SYSV
>  	$(INSTALL) -D -m 0755 $(@D)/conf/ifplugd.init \
>  		$(TARGET_DIR)/etc/init.d/S45ifplugd
>  	# don't use bash for init script
>  	$(SED) 's^/bin/bash^/bin/sh^g' $(TARGET_DIR)/etc/init.d/S45ifplugd
>  endef
>  
> -IFPLUGD_POST_INSTALL_TARGET_HOOKS += IFPLUGD_INSTALL_FIXUP
> -
>  $(eval $(autotools-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 16/74] nfs-utils: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 15:28 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Also move back the NFS_UTILS_INSTALL_FIXUP hook registration right
> after the hook definition.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  package/nfs-utils/nfs-utils.mk | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/package/nfs-utils/nfs-utils.mk b/package/nfs-utils/nfs-utils.mk
> index 522e790..aef051c 100644
> --- a/package/nfs-utils/nfs-utils.mk
> +++ b/package/nfs-utils/nfs-utils.mk
> @@ -35,17 +35,20 @@ NFS_UTILS_CONF_OPTS += --disable-tirpc
>  endif
>  
>  define NFS_UTILS_INSTALL_FIXUP
> +	rm -f $(NFS_UTILS_TARGETS_)
> +endef
> +
> +NFS_UTILS_POST_INSTALL_TARGET_HOOKS += NFS_UTILS_INSTALL_FIXUP
> +
> +define NFS_UTILS_INSTALL_INIT_SYSV
>  	$(INSTALL) -m 0755 package/nfs-utils/S60nfs \

Missing -D option.

Regards,
Yann E. MORIN.

>  		$(TARGET_DIR)/etc/init.d/S60nfs
> -	rm -f $(NFS_UTILS_TARGETS_)
>  endef
>  
>  define NFS_UTILS_REMOVE_NFSIOSTAT
>  	rm -f $(TARGET_DIR)/usr/sbin/nfsiostat
>  endef
>  
> -NFS_UTILS_POST_INSTALL_TARGET_HOOKS += NFS_UTILS_INSTALL_FIXUP
> -
>  # nfsiostat is interpreted python, so remove it unless it's in the target
>  NFS_UTILS_POST_INSTALL_TARGET_HOOKS += $(if $(BR2_PACKAGE_PYTHON),,NFS_UTILS_REMOVE_NFSIOSTAT)
>  
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 17/74] netatalk: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 15:28 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Also makes the installation of the init script unconditional.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/netatalk/netatalk.mk | 9 +++------
>  1 file changed, 3 insertions(+), 6 deletions(-)
> 
> diff --git a/package/netatalk/netatalk.mk b/package/netatalk/netatalk.mk
> index 5ea55c2..6c1b640 100644
> --- a/package/netatalk/netatalk.mk
> +++ b/package/netatalk/netatalk.mk
> @@ -50,12 +50,9 @@ else
>  	NETATALK_CONF_OPTS += --disable-cups
>  endif
>  
> -define NETATALK_INSTALL_EXTRA_FILES
> -	[ -f $(TARGET_DIR)/etc/init.d/S50netatalk ] || \
> -		$(INSTALL) -m 0755 -D package/netatalk/S50netatalk \
> -			$(TARGET_DIR)/etc/init.d/S50netatalk
> +define NETATALK_INSTALL_INIT_SYSV
> +	$(INSTALL) -m 0755 -D package/netatalk/S50netatalk \
> +		$(TARGET_DIR)/etc/init.d/S50netatalk
>  endef
>  
> -NETATALK_POST_INSTALL_TARGET_HOOKS += NETATALK_INSTALL_EXTRA_FILES
> -
>  $(eval $(autotools-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 18/74] mongoose: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 15:29 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/mongoose/mongoose.mk | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/package/mongoose/mongoose.mk b/package/mongoose/mongoose.mk
> index 35e4b43..7a5d356 100644
> --- a/package/mongoose/mongoose.mk
> +++ b/package/mongoose/mongoose.mk
> @@ -29,6 +29,9 @@ endef
>  define MONGOOSE_INSTALL_TARGET_CMDS
>  	$(INSTALL) -D -m 755 $(@D)/examples/web_server/web_server \
>  		$(TARGET_DIR)/usr/sbin/mongoose
> +endef
> +
> +define MONGOOSE_INSTALL_INIT_SYSV
>  	$(INSTALL) -D -m 755 package/mongoose/S85mongoose \
>  		$(TARGET_DIR)/etc/init.d/S85mongoose
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 19/74] gpsd: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 1 reply; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 15:38 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Also makes the installation of the init script unconditional.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  package/gpsd/gpsd.mk | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/package/gpsd/gpsd.mk b/package/gpsd/gpsd.mk
> index 7dc27e8..5092b38 100644
> --- a/package/gpsd/gpsd.mk
> +++ b/package/gpsd/gpsd.mk
> @@ -206,10 +206,11 @@ define GPSD_INSTALL_TARGET_CMDS
>  		$(SCONS) \
>  		$(GPSD_SCONS_OPTS) \
>  		install)
> -	if [ ! -f $(TARGET_DIR)/etc/init.d/S50gpsd ]; then \
> -		$(INSTALL) -m 0755 -D package/gpsd/S50gpsd $(TARGET_DIR)/etc/init.d/S50gpsd; \
> -		$(SED) 's,^DEVICES=.*,DEVICES=$(BR2_PACKAGE_GPSD_DEVICES),' $(TARGET_DIR)/etc/init.d/S50gpsd; \
> -	fi
> +endef
> +
> +define GPSD_INSTALL_INIT_SYSV
> +	$(INSTALL) -m 0755 -D package/gpsd/S50gpsd $(TARGET_DIR)/etc/init.d/S50gpsd
> +	$(SED) 's,^DEVICES=.*,DEVICES=$(BR2_PACKAGE_GPSD_DEVICES),' $(TARGET_DIR)/etc/init.d/S50gpsd

Unrelated to your patch, but since the variable is a plural DEVICES, I
would expect to be able to set more than one device. In this case, what
is the format of this devices list? Is it comma-separated? If so, the
sed expression above would break, no?

(Cc-ing Simon and Gustavo, since they have contributed significantly to
that package.)

Anyway, since this is not a problem your patch is introducing, and it is
just cleaning up the exisiting code:

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

>  endef
>  
>  define GPSD_INSTALL_STAGING_CMDS
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 20/74] olsr: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 15:39 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/olsr/olsr.mk | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/package/olsr/olsr.mk b/package/olsr/olsr.mk
> index 1051d18..539386d 100644
> --- a/package/olsr/olsr.mk
> +++ b/package/olsr/olsr.mk
> @@ -31,9 +31,12 @@ define OLSR_INSTALL_TARGET_CMDS
>  			LDCONFIG=/bin/true DESTDIR=$(TARGET_DIR) \
>  			prefix="/usr" install ; \
>  	done
> -	$(INSTALL) -D -m 0755 package/olsr/S50olsr $(TARGET_DIR)/etc/init.d/S50olsr
>  	test -r $(TARGET_DIR)/etc/olsrd.conf || \
>  		$(INSTALL) -D -m 0644 $(@D)/files/olsrd.conf.default.lq $(TARGET_DIR)/etc/olsrd.conf
>  endef
>  
> +define OLSR_INSTALL_INIT_SYSV
> +	$(INSTALL) -D -m 0755 package/olsr/S50olsr $(TARGET_DIR)/etc/init.d/S50olsr
> +endef
> +
>  $(eval $(generic-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 21/74] pango: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 15:39 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/pango/pango.mk | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/package/pango/pango.mk b/package/pango/pango.mk
> index 6e340f4..63cfae3 100644
> --- a/package/pango/pango.mk
> +++ b/package/pango/pango.mk
> @@ -61,11 +61,9 @@ ifeq ($(BR2_PACKAGE_XLIB_LIBXFT)$(BR2_PACKAGE_XLIB_LIBXRENDER),yy)
>  	PANGO_CONF_OPTS += --with-xft
>  endif
>  
> -define PANGO_INSTALL_INITSCRIPT
> +define PANGO_INSTALL_INIT_SYSV
>  	$(INSTALL) -m 755 -D package/pango/S25pango \
>  		$(TARGET_DIR)/etc/init.d/S25pango
>  endef
>  
> -PANGO_POST_INSTALL_TARGET_HOOKS += PANGO_INSTALL_INITSCRIPT
> -
>  $(eval $(autotools-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 22/74] xapp_xdm: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 15:40 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/x11r7/xapp_xdm/xapp_xdm.mk | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/package/x11r7/xapp_xdm/xapp_xdm.mk b/package/x11r7/xapp_xdm/xapp_xdm.mk
> index 428f473..955dc1c 100644
> --- a/package/x11r7/xapp_xdm/xapp_xdm.mk
> +++ b/package/x11r7/xapp_xdm/xapp_xdm.mk
> @@ -14,11 +14,9 @@ XAPP_XDM_DEPENDENCIES = xapp_sessreg xapp_xrdb xlib_libX11 xlib_libXaw xlib_libX
>  XAPP_XDM_CONF_OPTS = --with-utmp-file=/var/adm/utmpx \
>  		    --with-wtmp-file=/var/adm/wtmpx
>  
> -define XAPP_XDM_INSTALL_STARTUP_SCRIPT
> +define XAPP_XDM_INSTALL_INIT_SYSV
>  	$(INSTALL) -m 0755 -D package/x11r7/xapp_xdm/S99xdm \
>  		$(TARGET_DIR)/etc/init.d/S99xdm
>  endef
>  
> -XAPP_XDM_POST_INSTALL_TARGET_HOOKS += XAPP_XDM_INSTALL_STARTUP_SCRIPT
> -
>  $(eval $(autotools-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 23/74] tftpd: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 15:41 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Also make sure we use a full path for the destination of the
> $(INSTALL) command.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  package/tftpd/tftpd.mk | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/package/tftpd/tftpd.mk b/package/tftpd/tftpd.mk
> index 816a25e..2f746d0 100644
> --- a/package/tftpd/tftpd.mk
> +++ b/package/tftpd/tftpd.mk
> @@ -21,7 +21,10 @@ endif
>  define TFTPD_INSTALL_TARGET_CMDS
>  	$(INSTALL) -D $(@D)/tftp/tftp $(TARGET_DIR)/usr/bin/tftp
>  	$(INSTALL) -D $(@D)/tftpd/tftpd $(TARGET_DIR)/usr/sbin/tftpd
> -	$(INSTALL) -D package/tftpd/S80tftpd-hpa $(TARGET_DIR)/etc/init.d/
> +endef
> +
> +define TFTPD_INSTALL_INIT_SYSV
> +	$(INSTALL) -D package/tftpd/S80tftpd-hpa $(TARGET_DIR)/etc/init.d/S80tftpd-hpa

Missing the access rights -m 0755.

Regards,
Yann E. MORIN.

>  endef
>  
>  $(eval $(autotools-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 24/74] openvpn: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 1 reply; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 15:45 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  package/openvpn/openvpn.mk | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/package/openvpn/openvpn.mk b/package/openvpn/openvpn.mk
> index e0dba35..68f7d97 100644
> --- a/package/openvpn/openvpn.mk
> +++ b/package/openvpn/openvpn.mk
> @@ -50,6 +50,9 @@ endif
>  define OPENVPN_INSTALL_TARGET_CMDS
>  	$(INSTALL) -m 755 $(@D)/src/openvpn/openvpn \
>  		$(TARGET_DIR)/usr/sbin/openvpn
> +endef
> +
> +define OPENVPN_INSTALL_INIT_SYSV
>  	$(INSTALL) -m 755 -D package/openvpn/S60openvpn \

Suddenly, I realise that some packages use 755 while others use 0755.

I don't care which we use (even though I have a slight preference for
0755), but we should have some coherence across all packages.

Anyway, not directly related to your patch, so:

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

>  		$(TARGET_DIR)/etc/init.d/S60openvpn
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 25/74] tinyhttpd: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 15:46 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/tinyhttpd/tinyhttpd.mk | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/package/tinyhttpd/tinyhttpd.mk b/package/tinyhttpd/tinyhttpd.mk
> index ec47fd9..0934b71 100644
> --- a/package/tinyhttpd/tinyhttpd.mk
> +++ b/package/tinyhttpd/tinyhttpd.mk
> @@ -16,9 +16,12 @@ endef
>  
>  define TINYHTTPD_INSTALL_TARGET_CMDS
>  	$(INSTALL) -m 0755 -D $(@D)/httpd $(TARGET_DIR)/usr/sbin/tinyhttpd
> +	mkdir -p $(TARGET_DIR)/var/www
> +endef
> +
> +define TINYHTTPD_INSTALL_INIT_SYSV
>  	$(INSTALL) -m 0755 -D package/tinyhttpd/S85tinyhttpd \
>  		$(TARGET_DIR)/etc/init.d/S85tinyhttpd
> -	mkdir -p $(TARGET_DIR)/var/www
>  endef
>  
>  $(eval $(generic-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 26/74] at: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 16:57 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/at/at.mk | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/package/at/at.mk b/package/at/at.mk
> index 851a05b..1504e32 100644
> --- a/package/at/at.mk
> +++ b/package/at/at.mk
> @@ -21,10 +21,8 @@ AT_CONF_OPTS = \
>  	--with-daemon_groupname=root \
>  	SENDMAIL=/usr/sbin/sendmail
>  
> -define AT_INSTALL_INITSCRIPT
> +define AT_INSTALL_INIT_SYSV
>  	$(INSTALL) -m 0755 -D package/at/S99at $(TARGET_DIR)/etc/init.d/S99at
>  endef
>  
> -AT_POST_INSTALL_TARGET_HOOKS += AT_INSTALL_INITSCRIPT
> -
>  $(eval $(autotools-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 27/74] mpd: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 16:58 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/mpd/mpd.mk | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk
> index 5448251..1eedcbc 100644
> --- a/package/mpd/mpd.mk
> +++ b/package/mpd/mpd.mk
> @@ -232,10 +232,13 @@ define MPD_INSTALL_EXTRA_FILES
>  		$(INSTALL) -D package/mpd/mpd.conf \
>  			$(TARGET_DIR)/etc/mpd.conf; \
>  	fi
> -	$(INSTALL) -m 0755 -D package/mpd/S95mpd \
> -		$(TARGET_DIR)/etc/init.d/S95mpd
>  endef
>  
>  MPD_POST_INSTALL_TARGET_HOOKS += MPD_INSTALL_EXTRA_FILES
>  
> +define MPD_INSTALL_INIT_SYSV
> +	$(INSTALL) -m 0755 -D package/mpd/S95mpd \
> +		$(TARGET_DIR)/etc/init.d/S95mpd
> +endef
> +
>  $(eval $(autotools-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 28/74] snowball-init: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 16:59 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/snowball-init/snowball-init.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/snowball-init/snowball-init.mk b/package/snowball-init/snowball-init.mk
> index d71f347..40acdd6 100644
> --- a/package/snowball-init/snowball-init.mk
> +++ b/package/snowball-init/snowball-init.mk
> @@ -9,7 +9,7 @@ SNOWBALL_INIT_SITE = https://github.com/igloocommunity/snowball-init
>  SNOWBALL_INIT_LICENSE = BSD-4c
>  SNOWBALL_INIT_LICENSE_FILES = debian/copyright
>  
> -define SNOWBALL_INIT_INSTALL_TARGET_CMDS
> +define SNOWBALL_INIT_INSTALL_INIT_SYSV
>  	$(INSTALL) -D -m 0755 $(@D)/snowball $(TARGET_DIR)/etc/init.d/S50snowball
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 29/74] wipe: don't install man pages
  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
  1 sibling, 1 reply; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:00 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> We don't support installing documentation on the target, so there's no
> point in having explicit code to do so.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

> ---
>  package/wipe/wipe.mk | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/package/wipe/wipe.mk b/package/wipe/wipe.mk
> index 4deabab..ee4682c 100644
> --- a/package/wipe/wipe.mk
> +++ b/package/wipe/wipe.mk
> @@ -13,7 +13,6 @@ WIPE_LICENSE_FILES = LICENSE
>  
>  define WIPE_INSTALL_TARGET_CMDS
>  	$(INSTALL) -D $(@D)/wipe $(TARGET_DIR)/usr/bin/wipe

Maybe this should include -m 0755 as well?

Regards,
Yann E. MORIN.

> -	$(INSTALL) -D $(@D)/wipe.1 $(TARGET_DIR)/usr/share/man/man1/wipe.1
>  endef
>  
>  $(eval $(autotools-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 30/74] ndisc6: remove man page related code
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:05 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> The target-finalize target takes care of removing
> $(TARGET_DIR)/usr/share/man, so there's no point in having package
> specific code doing this.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

> ---
>  package/ndisc6/ndisc6.mk | 7 +------
>  1 file changed, 1 insertion(+), 6 deletions(-)
> 
> diff --git a/package/ndisc6/ndisc6.mk b/package/ndisc6/ndisc6.mk
> index b0e4caf..7235ebb 100644
> --- a/package/ndisc6/ndisc6.mk
> +++ b/package/ndisc6/ndisc6.mk
> @@ -27,14 +27,9 @@ NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_RDNSSD) += rdnssd
>  NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_RLTRACEROUTE6) += rltraceroute6 tracert6
>  NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_TCPTRACEROUTE6) += tcptraceroute6
>  
> -NDISC6_MAN1_ = $(addsuffix .1,$(NDISC6_BIN_))
> -NDISC6_MAN8_ = $(addsuffix .8,$(NDISC6_SBIN_))
> -
>  define NDISC6_REMOVE_UNNEEDED
>  	rm -rf $(addprefix $(TARGET_DIR)/usr/bin/,$(NDISC6_BIN_)) \

Since we're now only removing files, shouldn't we just use 'rm -f' now?

Regards,
Yann E. MORIN.

> -		$(addprefix $(TARGET_DIR)/usr/sbin/,$(NDISC6_SBIN_)) \
> -		$(addprefix $(TARGET_DIR)/usr/share/man/man1/,$(NDISC6_MAN1_)) \
> -		$(addprefix $(TARGET_DIR)/usr/share/man/man8/,$(NDISC6_MAN8_))
> +		$(addprefix $(TARGET_DIR)/usr/sbin/,$(NDISC6_SBIN_))
>  	$(if $(BR2_PACKAGE_NDISC6_RDNSSD),,\
>  		rm -rf $(TARGET_DIR)/etc/rdnssd $(TARGET_DIR)/var/run/rdnssd)
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 31/74] tree: don't install man page
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:05 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> We don't support installing documentation on the target, so there's no
> point in having explicit code to do so.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/tree/tree.mk | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/package/tree/tree.mk b/package/tree/tree.mk
> index 922deb8..83ea472 100644
> --- a/package/tree/tree.mk
> +++ b/package/tree/tree.mk
> @@ -16,8 +16,6 @@ endef
>  
>  define TREE_INSTALL_TARGET_CMDS
>  	$(INSTALL) -D -m 0755 $(@D)/tree $(TARGET_DIR)/usr/bin/tree
> -	$(INSTALL) -D -m 0644 $(@D)/doc/tree.1 \
> -		$(TARGET_DIR)/usr/share/man/man1/tree.1
>  endef
>  
>  $(eval $(generic-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 32/74] iostat: don't install man page
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:06 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> We don't support installing documentation on the target, so there's no
> point in having explicit code to do so.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/iostat/iostat.mk | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/package/iostat/iostat.mk b/package/iostat/iostat.mk
> index 8610f8f..2080e56 100644
> --- a/package/iostat/iostat.mk
> +++ b/package/iostat/iostat.mk
> @@ -17,8 +17,6 @@ endef
>  
>  define IOSTAT_INSTALL_TARGET_CMDS
>  	$(INSTALL) -D $(IOSTAT_DIR)/iostat $(TARGET_DIR)/usr/bin/iostat
> -	$(INSTALL) -D $(IOSTAT_DIR)/iostat.8 \
> -		$(TARGET_DIR)/usr/share/man/man8/iostat.8
>  endef
>  
>  $(eval $(generic-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 33/74] iostat: remove legacy code
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:07 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Some custom iostat-source target was mistakenly left in place when the
> iostat package was migrated to gentargets in commit
> ee77963588b09babfd71befb0b5eb9fd1e776bbc, back 4 years ago. This
> commit removes this unnecessary custom target.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

That is a really hard forensic work you've been doing in this series!

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/iostat/iostat.mk | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/package/iostat/iostat.mk b/package/iostat/iostat.mk
> index 2080e56..dd2a579 100644
> --- a/package/iostat/iostat.mk
> +++ b/package/iostat/iostat.mk
> @@ -9,8 +9,6 @@ IOSTAT_SITE = http://www.linuxinsight.com/files
>  IOSTAT_LICENSE = GPL
>  IOSTAT_LICENSE_FILES = LICENSE
>  
> -iostat-source: $(DL_DIR)/$(IOSTAT_SOURCE)
> -
>  define IOSTAT_BUILD_CMDS
>  	$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 34/74] pptp-linux: don't install man page
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:07 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> We don't support installing documentation on the target, so there's no
> point in having explicit code to do so.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/pptp-linux/pptp-linux.mk | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/package/pptp-linux/pptp-linux.mk b/package/pptp-linux/pptp-linux.mk
> index dc624eb..d7edf6c 100644
> --- a/package/pptp-linux/pptp-linux.mk
> +++ b/package/pptp-linux/pptp-linux.mk
> @@ -21,7 +21,6 @@ endef
>  
>  define PPTP_LINUX_INSTALL_TARGET_CMDS
>  	$(INSTALL) -m 0755 -D $(@D)/pptp $(TARGET_DIR)/usr/sbin/pptp
> -	$(INSTALL) -m 0644 -D $(@D)/pptp.8 $(TARGET_DIR)/usr/share/man/man8/pptp.8
>  endef
>  
>  $(eval $(generic-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 35/74] gnupg: don't both removing a man page
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:08 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> The target-finalize target in the main Makefile removes
> $(TARGET_DIR)/usr/share/man entirely, so there's no point in having
> some package specific logic to remove man pages.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

In title:  s/both/bother/

Otherwise:

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/gnupg/gnupg.mk | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/package/gnupg/gnupg.mk b/package/gnupg/gnupg.mk
> index e7c403a..c0bf88c 100644
> --- a/package/gnupg/gnupg.mk
> +++ b/package/gnupg/gnupg.mk
> @@ -39,8 +39,7 @@ endif
>  
>  ifneq ($(BR2_PACKAGE_GNUPG_GPGV),y)
>  define GNUPG_REMOVE_GPGV
> -	rm -f $(TARGET_DIR)/usr/bin/gpgv \
> -		$(TARGET_DIR)/usr/share/man/man1/gpgv.1
> +	rm -f $(TARGET_DIR)/usr/bin/gpgv
>  endef
>  GNUPG_POST_INSTALL_TARGET_HOOKS += GNUPG_REMOVE_GPGV
>  endif
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 36/74] rp-pppoe: don't install man pages
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:09 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> We don't support installing documentation on the target, so there's no
> point in having explicit code to do so.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/rp-pppoe/rp-pppoe.mk | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/package/rp-pppoe/rp-pppoe.mk b/package/rp-pppoe/rp-pppoe.mk
> index b17086b..6827628 100644
> --- a/package/rp-pppoe/rp-pppoe.mk
> +++ b/package/rp-pppoe/rp-pppoe.mk
> @@ -21,9 +21,6 @@ define RP_PPPOE_INSTALL_TARGET_CMDS
>  	for ff in $(RP_PPPOE_TARGET_FILES); do \
>  		$(INSTALL) -m 0755 $(@D)/src/$$ff $(TARGET_DIR)/usr/sbin/$$ff; \
>  	done
> -	for ff in $(RP_PPPOE_TARGET_FILES); do \
> -		$(INSTALL) -m 644 -D $(RP_PPPOE_DIR)/man/$$ff.8 $(TARGET_DIR)/usr/share/man/man8/$$ff.8; \
> -	done
>  endef
>  
>  $(eval $(autotools-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 37/74] rp-pppoe: bail out of installation fails
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:10 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Add an "|| exit 1" in the installation loop, otherwise if one of the
> file fails to install, the build doesn't abort.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

In title:  s/of/if/

Otherwise:

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/rp-pppoe/rp-pppoe.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/rp-pppoe/rp-pppoe.mk b/package/rp-pppoe/rp-pppoe.mk
> index 6827628..4e17f2d 100644
> --- a/package/rp-pppoe/rp-pppoe.mk
> +++ b/package/rp-pppoe/rp-pppoe.mk
> @@ -19,7 +19,7 @@ RP_PPPOE_CONF_ENV = \
>  
>  define RP_PPPOE_INSTALL_TARGET_CMDS
>  	for ff in $(RP_PPPOE_TARGET_FILES); do \
> -		$(INSTALL) -m 0755 $(@D)/src/$$ff $(TARGET_DIR)/usr/sbin/$$ff; \
> +		$(INSTALL) -m 0755 $(@D)/src/$$ff $(TARGET_DIR)/usr/sbin/$$ff || exit 1; \
>  	done
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 38/74] alsa-utils: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:10 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/alsa-utils/alsa-utils.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/alsa-utils/alsa-utils.mk b/package/alsa-utils/alsa-utils.mk
> index 17895c3..a599af8 100644
> --- a/package/alsa-utils/alsa-utils.mk
> +++ b/package/alsa-utils/alsa-utils.mk
> @@ -46,7 +46,7 @@ ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST) += usr/bin/speaker-tes
>  define ALSA_UTILS_INSTALL_TARGET_CMDS
>  	mkdir -p $(TARGET_DIR)/var/lib/alsa
>  	for i in $(ALSA_UTILS_TARGETS_y); do \
> -		$(INSTALL) -D -m 755 $(STAGING_DIR)/$$i $(TARGET_DIR)/$$i; \
> +		$(INSTALL) -D -m 755 $(STAGING_DIR)/$$i $(TARGET_DIR)/$$i || exit 1; \
>  	done
>  	if [ -x "$(TARGET_DIR)/usr/bin/speaker-test" ]; then \
>  		mkdir -p $(TARGET_DIR)/usr/share/alsa/speaker-test; \
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 39/74] coreutils: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:11 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/coreutils/coreutils.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk
> index 391d2cd..fa2db04 100644
> --- a/package/coreutils/coreutils.mk
> +++ b/package/coreutils/coreutils.mk
> @@ -101,7 +101,7 @@ endif
>  define COREUTILS_POST_INSTALL
>  	# some things go in root rather than usr
>  	for f in $(COREUTILS_BIN_PROGS); do \
> -		mv $(TARGET_DIR)/usr/bin/$$f $(TARGET_DIR)/bin/$$f; \
> +		mv $(TARGET_DIR)/usr/bin/$$f $(TARGET_DIR)/bin/$$f || exit 1; \
>  	done
>  	# link for archaic shells
>  	ln -fs test $(TARGET_DIR)/usr/bin/[
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 40/74] ebtables: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:12 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/ebtables/ebtables.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/ebtables/ebtables.mk b/package/ebtables/ebtables.mk
> index 578c3ae..23c4628 100644
> --- a/package/ebtables/ebtables.mk
> +++ b/package/ebtables/ebtables.mk
> @@ -28,7 +28,7 @@ define EBTABLES_INSTALL_TARGET_CMDS
>  		$(@D)/$(EBTABLES_SUBDIR)/extensions/*.so; \
>  		do \
>  		$(INSTALL) -m 0755 -D $${so} \
> -			$(TARGET_DIR)/lib/ebtables/`basename $${so}`; \
> +			$(TARGET_DIR)/lib/ebtables/`basename $${so}` || exit 1; \
>  	done
>  	$(INSTALL) -m 0755 -D $(@D)/$(EBTABLES_SUBDIR)/ebtables \
>  		$(TARGET_DIR)/sbin/ebtables
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 41/74] flot: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:12 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/flot/flot.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/flot/flot.mk b/package/flot/flot.mk
> index 79bdf1f..58e3ff1 100644
> --- a/package/flot/flot.mk
> +++ b/package/flot/flot.mk
> @@ -27,7 +27,7 @@ FLOT_FILES = jquery.flot $(addprefix jquery.flot.,\
>  
>  define FLOT_INSTALL_TARGET_CMDS
>  	for i in $(FLOT_FILES); do \
> -		$(INSTALL) -m 0644 -D $(@D)/$$i.min.js $(TARGET_DIR)/var/www/$$i.js; \
> +		$(INSTALL) -m 0644 -D $(@D)/$$i.min.js $(TARGET_DIR)/var/www/$$i.js || exit 1; \
>  	done
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 42/74] googlefontdirectory: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:13 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/googlefontdirectory/googlefontdirectory.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/googlefontdirectory/googlefontdirectory.mk b/package/googlefontdirectory/googlefontdirectory.mk
> index 076e654..0e60892 100644
> --- a/package/googlefontdirectory/googlefontdirectory.mk
> +++ b/package/googlefontdirectory/googlefontdirectory.mk
> @@ -16,7 +16,7 @@ define GOOGLEFONTDIRECTORY_INSTALL_TARGET_CMDS
>  	for i in $(GOOGLEFONTDIRECTORY_FONTS); \
>  	do \
>  		$(INSTALL) -d $(TARGET_DIR)/usr/share/fonts/$$i && \
> -		$(INSTALL) -m 0644 -t $(TARGET_DIR)/usr/share/fonts/$$i $(@D)/$$i/*.ttf; \
> +		$(INSTALL) -m 0644 -t $(TARGET_DIR)/usr/share/fonts/$$i $(@D)/$$i/*.ttf || exit 1; \
>  	done
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 43/74] gptfdisk: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:13 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/gptfdisk/gptfdisk.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/gptfdisk/gptfdisk.mk b/package/gptfdisk/gptfdisk.mk
> index 9828d4c..4c6af56 100644
> --- a/package/gptfdisk/gptfdisk.mk
> +++ b/package/gptfdisk/gptfdisk.mk
> @@ -33,7 +33,7 @@ endef
>  
>  define GPTFDISK_INSTALL_TARGET_CMDS
>  	for i in $(GPTFDISK_TARGETS_y); do \
> -		$(INSTALL) -D -m 0755 $(@D)/$$i $(TARGET_DIR)/usr/sbin/$$i; \
> +		$(INSTALL) -D -m 0755 $(@D)/$$i $(TARGET_DIR)/usr/sbin/$$i || exit 1; \
>  	done
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 44/74] irda-utils: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:14 UTC (permalink / raw)
  To: buildroot

Thomas, Alll,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/irda-utils/irda-utils.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/irda-utils/irda-utils.mk b/package/irda-utils/irda-utils.mk
> index e4958e5..2c35dff 100644
> --- a/package/irda-utils/irda-utils.mk
> +++ b/package/irda-utils/irda-utils.mk
> @@ -32,7 +32,7 @@ IRDA_UTILS_SBINS- += $(IRDA_UTILS_SBINS-y)
>  
>  define IRDA_UTILS_INSTALL_TARGET_CMDS
>  	for i in $(IRDA_UTILS_SBINS-y); do \
> -		$(INSTALL) -m 0755 -D $(@D)/$$i/$$i $(TARGET_DIR)/usr/sbin/$$i; \
> +		$(INSTALL) -m 0755 -D $(@D)/$$i/$$i $(TARGET_DIR)/usr/sbin/$$i || exit 1; \
>  	done
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 45/74] jimtcl: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:14 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/jimtcl/jimtcl.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/jimtcl/jimtcl.mk b/package/jimtcl/jimtcl.mk
> index 27f43f0..add61d6 100644
> --- a/package/jimtcl/jimtcl.mk
> +++ b/package/jimtcl/jimtcl.mk
> @@ -51,7 +51,7 @@ endef
>  
>  define JIMTCL_INSTALL_STAGING_CMDS
>  	for i in $(JIMTCL_HEADERS_TO_INSTALL); do \
> -		cp -a $(@D)/$$i $(STAGING_DIR)/usr/include/ ; \
> +		cp -a $(@D)/$$i $(STAGING_DIR)/usr/include/ || exit 1 ; \
>  	done; \
>  	$(INSTALL) -D $(@D)/libjim.$(JIMTCL_LIB) $(STAGING_DIR)/usr/lib/libjim.$(JIMTCL_LIB);
>  	ln -s libjim.$(JIMTCL_LIB) $(STAGING_DIR)/usr/lib/libjim.so
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 46/74] live555: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:14 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/live555/live555.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/live555/live555.mk b/package/live555/live555.mk
> index b923388..7dbded3 100644
> --- a/package/live555/live555.mk
> +++ b/package/live555/live555.mk
> @@ -54,7 +54,7 @@ endef
>  
>  define LIVE555_INSTALL_TARGET_CMDS
>  	for i in $(LIVE555_FILES_TO_INSTALL-y); do \
> -		$(INSTALL) -D -m 0755 $(@D)/$$i $(TARGET_DIR)/usr/bin/`basename $$i`; \
> +		$(INSTALL) -D -m 0755 $(@D)/$$i $(TARGET_DIR)/usr/bin/`basename $$i` || exit 1 \
>  	done
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 47/74] lockfile-progs: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:15 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/lockfile-progs/lockfile-progs.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/lockfile-progs/lockfile-progs.mk b/package/lockfile-progs/lockfile-progs.mk
> index e2e0a44..deb9f90 100644
> --- a/package/lockfile-progs/lockfile-progs.mk
> +++ b/package/lockfile-progs/lockfile-progs.mk
> @@ -21,7 +21,7 @@ endef
>  
>  define LOCKFILE_PROGS_INSTALL_TARGET_CMDS
>  	for i in $(LOCKFILE_BINS); do \
> -		$(INSTALL) -D -m 755 $(@D)/bin/$$i $(TARGET_DIR)/usr/bin/$$i; \
> +		$(INSTALL) -D -m 755 $(@D)/bin/$$i $(TARGET_DIR)/usr/bin/$$i || exit 1; \
>  	done
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 48/74] qt5base: add error handling to for loop
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 48/74] qt5base: " Thomas Petazzoni
@ 2014-11-30 17:15   ` Yann E. MORIN
  0 siblings, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:15 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/qt5/qt5base/qt5base.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk
> index 57ea1c8..788b2d7 100644
> --- a/package/qt5/qt5base/qt5base.mk
> +++ b/package/qt5/qt5base/qt5base.mk
> @@ -211,7 +211,7 @@ endef
>  
>  define QT5BASE_INSTALL_TARGET_LIBS
>  	for lib in $(QT5BASE_INSTALL_LIBS_y); do \
> -		cp -dpf $(STAGING_DIR)/usr/lib/lib$${lib}.so.* $(TARGET_DIR)/usr/lib ; \
> +		cp -dpf $(STAGING_DIR)/usr/lib/lib$${lib}.so.* $(TARGET_DIR)/usr/lib || exit 1 ; \
>  	done
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 49/74] qtuio: add error handling to for loop
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 49/74] qtuio: " Thomas Petazzoni
@ 2014-11-30 17:17   ` Yann E. MORIN
  0 siblings, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:17 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  package/qtuio/qtuio.mk | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/package/qtuio/qtuio.mk b/package/qtuio/qtuio.mk
> index 9925f84..9af0136 100644
> --- a/package/qtuio/qtuio.mk
> +++ b/package/qtuio/qtuio.mk
> @@ -19,7 +19,7 @@ QTUIO_EXAMPLES = dials fingerpaint knobs pinchzoom
>  ifeq ($(BR2_QTUIO_EXAMPLES),y)
>  define QTUIO_CONFIGURE_EXAMPLES
>  	for example in $(QTUIO_EXAMPLES) ; do \
> -		(cd $(@D)/examples/$${example} && $(TARGET_MAKE_ENV) $(QT_QMAKE)) ; \
> +		(cd $(@D)/examples/$${example} && $(TARGET_MAKE_ENV) $(QT_QMAKE)) || exit 1; \
>  	done
>  endef
>  endif
> @@ -32,7 +32,7 @@ endef
>  ifeq ($(BR2_QTUIO_EXAMPLES),y)
>  define QTUIO_BUILD_EXAMPLES
>  	for example in $(QTUIO_EXAMPLES) ; do \
> -		($(MAKE) -C $(@D)/examples/$${example}) ; \
> +		($(MAKE) -C $(@D)/examples/$${example}) || exit 1; \

Why is that parenthesised?

>  	done
>  endef
>  endif
> @@ -46,7 +46,7 @@ endef
>  ifeq ($(BR2_QTUIO_EXAMPLES),y)
>  define QTUIO_INSTALL_EXAMPLES
>  	for example in $(QTUIO_EXAMPLES) ; do \
> -		($(INSTALL) -D -m 0755 $(@D)/examples/$${example}/$${example} $(TARGET_DIR)/usr/share/qtuio/$${example}) ; \
> +		($(INSTALL) -D -m 0755 $(@D)/examples/$${example}/$${example} $(TARGET_DIR)/usr/share/qtuio/$${example} || exit 1) ; \

Ditto, why parenthesis?

Besides, that will not work, because the exit is in the parenthesis. So
the sub-shell will indeed exit with a non-zero exit code, but that will
not exit the shell spawned by make.

NAK.

Regards,
Yann E. MORIN.

>  	done
>  endef
>  endif
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 50/74] sound-theme-borealis: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:18 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/sound-theme-borealis/sound-theme-borealis.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/sound-theme-borealis/sound-theme-borealis.mk b/package/sound-theme-borealis/sound-theme-borealis.mk
> index a2f29a9..9242837 100644
> --- a/package/sound-theme-borealis/sound-theme-borealis.mk
> +++ b/package/sound-theme-borealis/sound-theme-borealis.mk
> @@ -11,7 +11,7 @@ SOUND_THEME_BOREALIS_SOURCE = \
>  
>  define SOUND_THEME_BOREALIS_INSTALL_TARGET_CMDS
>  	for f in $(@D)/*.ogg ; do \
> -		$(INSTALL) -D -m 0644 $$f $(TARGET_DIR)/usr/share/sounds/borealis/stereo/`basename $$f` ; \
> +		$(INSTALL) -D -m 0644 $$f $(TARGET_DIR)/usr/share/sounds/borealis/stereo/`basename $$f` || exit 1; \
>  	done
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 51/74] xenomai: add error handling to for loop
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 51/74] xenomai: " Thomas Petazzoni
@ 2014-11-30 17:18   ` Yann E. MORIN
  0 siblings, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:18 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/xenomai/xenomai.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk
> index 740a40b..ccbae35 100644
> --- a/package/xenomai/xenomai.mk
> +++ b/package/xenomai/xenomai.mk
> @@ -99,7 +99,7 @@ XENOMAI_DEPENDENCIES += udev
>  define XENOMAI_INSTALL_UDEV_RULES
>  	if test -d $(TARGET_DIR)/etc/udev/rules.d ; then \
>  		for f in $(@D)/ksrc/nucleus/udev/*.rules ; do \
> -			cp $$f $(TARGET_DIR)/etc/udev/rules.d/ ; \
> +			cp $$f $(TARGET_DIR)/etc/udev/rules.d/ || exit 1 ; \
>  		done ; \
>  	fi;
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 06/74] busybox: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:55   ` Yann E. MORIN
@ 2014-11-30 17:23     ` Yann E. MORIN
  0 siblings, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:23 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:55 +0100, Yann E. MORIN spake thusly:
> 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:
[--SNIP--]

OK, I saw you added a fix for that latter in the series. So:

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 10/74] stunnel: use the <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 15:04   ` Yann E. MORIN
@ 2014-11-30 17:25     ` Yann E. MORIN
  0 siblings, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:25 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 16:04 +0100, Yann E. MORIN spake thusly:
> On 2014-11-30 15:17 +0100, Thomas Petazzoni spake thusly:
> > Since the existing STUNNEL_INSTALL_CONF_SCRIPT hook no longer installs
> > the init script, we rename it to STUNNEL_INSTALL_CONF.
> > 
> > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> > ---
> >  package/stunnel/stunnel.mk | 9 ++++++---
> >  1 file changed, 6 insertions(+), 3 deletions(-)
> > 
> > diff --git a/package/stunnel/stunnel.mk b/package/stunnel/stunnel.mk
> > index dc56261..ac2963e 100644
> > --- a/package/stunnel/stunnel.mk
> > +++ b/package/stunnel/stunnel.mk
> > @@ -18,14 +18,17 @@ else
> >  STUNNEL_CONF_OPTS += --disable-systemd
> >  endif
> >  
> > -define STUNNEL_INSTALL_CONF_SCRIPT
> > -	$(INSTALL) -m 0755 -D package/stunnel/S50stunnel $(TARGET_DIR)/etc/init.d/S50stunnel
> > +define STUNNEL_INSTALL_CONF
> >  	[ -f $(TARGET_DIR)/etc/stunnel/stunnel.conf ] || \
> 
> What is the stance on removing those conditional installs? I thought we
> wanted to get rid oif all of them, in favour of using a post-build
> script or rootfs-overlay.
> 
> Can be done in a separate patch, maybe.

Seen it is done later in the series. Good! :-)

> Otherwise, loks good:
> 
> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Still valid! ;-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 52/74] aiccu: install init script and config file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:30 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/aiccu/aiccu.mk | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/package/aiccu/aiccu.mk b/package/aiccu/aiccu.mk
> index 4413f86..faa861c 100644
> --- a/package/aiccu/aiccu.mk
> +++ b/package/aiccu/aiccu.mk
> @@ -28,14 +28,12 @@ endef
>  define AICCU_INSTALL_TARGET_CMDS
>  	$(INSTALL) -D -m 0755 $(@D)/unix-console/aiccu \
>  		$(TARGET_DIR)/usr/sbin/aiccu
> -	[ -f $(TARGET_DIR)/etc/aiccu.conf ] || \
> -		$(INSTALL) -D -m 0644 $(@D)/doc/aiccu.conf \
> +	$(INSTALL) -D -m 0644 $(@D)/doc/aiccu.conf \
>  		$(TARGET_DIR)/etc/aiccu.conf
>  endef
>  
>  define AICCU_INSTALL_INIT_SYSV
> -	[ -f $(TARGET_DIR)/etc/init.d/S50aiccu ] || \
> -		$(INSTALL) -D -m 0755 $(@D)/doc/aiccu.init \
> +	$(INSTALL) -D -m 0755 $(@D)/doc/aiccu.init \
>  		$(TARGET_DIR)/etc/init.d/S50aiccu
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 53/74] busybox: install init script and config file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:33 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  package/busybox/busybox.mk | 30 ++++++++++++------------------
>  1 file changed, 12 insertions(+), 18 deletions(-)
> 
> diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
> index eb2f3f1..ae60ac1 100644
> --- a/package/busybox/busybox.mk
> +++ b/package/busybox/busybox.mk
[--SNIP--]
> @@ -176,11 +173,10 @@ define BUSYBOX_SET_WATCHDOG
>  	$(call KCONFIG_ENABLE_OPT,CONFIG_WATCHDOG,$(BUSYBOX_BUILD_CONFIG))
>  endef
>  define BUSYBOX_INSTALL_WATCHDOG_SCRIPT
> -	[ -f $(TARGET_DIR)/etc/init.d/S15watchdog ] || \
> -		$(INSTALL) -D -m 0755 package/busybox/S15watchdog \
> -			$(TARGET_DIR)/etc/init.d/S15watchdog && \
> -		$(SED) s/PERIOD/$(call qstrip,$(BR2_PACKAGE_BUSYBOX_WATCHDOG_PERIOD))/ \
> -			$(TARGET_DIR)/etc/init.d/S15watchdog
> +	$(INSTALL) -D -m 0755 package/busybox/S15watchdog \
> +		$(TARGET_DIR)/etc/init.d/S15watchdog && \
                                             ^^^^
Maybe it would be worth removing the '&& \' now?

Otherwise, looks good. With the above fixed:
    Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> +	$(SED) s/PERIOD/$(call qstrip,$(BR2_PACKAGE_BUSYBOX_WATCHDOG_PERIOD))/ \
> +		$(TARGET_DIR)/etc/init.d/S15watchdog
>  endef
>  endif
>  
> @@ -214,10 +210,8 @@ endef
>  
>  define BUSYBOX_INSTALL_TARGET_CMDS
>  	$(BUSYBOX_MAKE_ENV) $(MAKE) $(BUSYBOX_MAKE_OPTS) -C $(@D) install
> -	if [ ! -f $(TARGET_DIR)/usr/share/udhcpc/default.script ]; then \
> -		$(INSTALL) -m 0755 -D package/busybox/udhcpc.script \
> -			$(TARGET_DIR)/usr/share/udhcpc/default.script; \
> -	fi
> +	$(INSTALL) -m 0755 -D package/busybox/udhcpc.script \
> +		$(TARGET_DIR)/usr/share/udhcpc/default.script
>  	$(BUSYBOX_INSTALL_MDEV_CONF)
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 54/74] dmraid: install init script unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:35 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/dmraid/dmraid.mk | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/package/dmraid/dmraid.mk b/package/dmraid/dmraid.mk
> index 024b9b5..a6ed57f 100644
> --- a/package/dmraid/dmraid.mk
> +++ b/package/dmraid/dmraid.mk
> @@ -18,9 +18,8 @@ DMRAID_LICENSE_FILES = $(DMRAID_SUBDIR)/LICENSE_GPL $(DMRAID_SUBDIR)/LICENSE
>  DMRAID_DEPENDENCIES = lvm2
>  
>  define DMRAID_INSTALL_INIT_SYSV
> -	[ -f $(TARGET_DIR)/etc/init.d/S20dmraid ] || \
> -		$(INSTALL) -D -m 0755 package/dmraid/S20dmraid \
> -			$(TARGET_DIR)/etc/init.d/S20dmraid
> +	$(INSTALL) -D -m 0755 package/dmraid/S20dmraid \
> +		$(TARGET_DIR)/etc/init.d/S20dmraid
>  endef
>  
>  $(eval $(autotools-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 55/74] iucode-tool: install init script unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:35 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/iucode-tool/iucode-tool.mk | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/package/iucode-tool/iucode-tool.mk b/package/iucode-tool/iucode-tool.mk
> index 3124c73..081b086 100644
> --- a/package/iucode-tool/iucode-tool.mk
> +++ b/package/iucode-tool/iucode-tool.mk
> @@ -15,9 +15,8 @@ IUCODE_TOOL_LICENSE = GPLv2+
>  IUCODE_TOOL_LICENSE_FILES = COPYING
>  
>  define IUCODE_TOOL_INSTALL_INIT_SYSV
> -	[ -f $(TARGET_DIR)/etc/init.d/S00iucode-tool ] || \
> -		$(INSTALL) -D -m 0755 package/iucode-tool/S00iucode-tool \
> -			$(TARGET_DIR)/etc/init.d/S00iucode-tool
> +	$(INSTALL) -D -m 0755 package/iucode-tool/S00iucode-tool \
> +		$(TARGET_DIR)/etc/init.d/S00iucode-tool
>  endef
>  
>  $(eval $(autotools-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 56/74] lighttpd: install init script and config file unconditionally
  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
  1 sibling, 1 reply; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:38 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  package/lighttpd/lighttpd.mk | 46 +++++++++++++++-----------------------------
>  1 file changed, 16 insertions(+), 30 deletions(-)
> 
> diff --git a/package/lighttpd/lighttpd.mk b/package/lighttpd/lighttpd.mk
> index ef98298..804bdd4 100644
> --- a/package/lighttpd/lighttpd.mk
> +++ b/package/lighttpd/lighttpd.mk
> @@ -62,44 +62,30 @@ endif
>  define LIGHTTPD_INSTALL_CONFIG
>  	$(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/lighttpd/conf.d
>  	$(INSTALL) -d -m 0755 $(TARGET_DIR)/var/www
> -
> -	[ -f $(TARGET_DIR)/etc/lighttpd/lighttpd.conf ] || \
> -		$(INSTALL) -D -m 755 $(@D)/doc/config/lighttpd.conf \
> -			$(TARGET_DIR)/etc/lighttpd/lighttpd.conf
> -
> -	[ -f $(TARGET_DIR)/etc/lighttpd/modules.conf ] || \
> -		$(INSTALL) -D -m 755 $(@D)/doc/config/modules.conf \
> -			$(TARGET_DIR)/etc/lighttpd/modules.conf
> -
> -	[ -f $(TARGET_DIR)/etc/lighttpd/conf.d/access_log.conf ] || \
> -		$(INSTALL) -D -m 755 $(@D)/doc/config/conf.d/access_log.conf \
> -			$(TARGET_DIR)/etc/lighttpd/conf.d/access_log.conf
> -
> -	[ -f $(TARGET_DIR)/etc/lighttpd/conf.d/debug.conf ] || \
> -		$(INSTALL) -D -m 755 $(@D)/doc/config/conf.d/debug.conf \
> -			$(TARGET_DIR)/etc/lighttpd/conf.d/debug.conf
> -
> -	[ -f $(TARGET_DIR)/etc/lighttpd/conf.d/dirlisting.conf ] || \
> -		$(INSTALL) -D -m 755 $(@D)/doc/config/conf.d/dirlisting.conf \
> -			$(TARGET_DIR)/etc/lighttpd/conf.d/dirlisting.conf
> -
> -	[ -f $(TARGET_DIR)/etc/lighttpd/conf.d/mime.conf ] || \
> -		$(INSTALL) -D -m 755 $(@D)/doc/config/conf.d/mime.conf \
> -			$(TARGET_DIR)/etc/lighttpd/conf.d/mime.conf
> +	$(INSTALL) -D -m 755 $(@D)/doc/config/lighttpd.conf \
> +		$(TARGET_DIR)/etc/lighttpd/lighttpd.conf
> +	$(INSTALL) -D -m 755 $(@D)/doc/config/modules.conf \
> +		$(TARGET_DIR)/etc/lighttpd/modules.conf
> +	$(INSTALL) -D -m 755 $(@D)/doc/config/conf.d/access_log.conf \
> +		$(TARGET_DIR)/etc/lighttpd/conf.d/access_log.conf
> +	$(INSTALL) -D -m 755 $(@D)/doc/config/conf.d/debug.conf \
> +		$(TARGET_DIR)/etc/lighttpd/conf.d/debug.conf
> +	$(INSTALL) -D -m 755 $(@D)/doc/config/conf.d/dirlisting.conf \
> +		$(TARGET_DIR)/etc/lighttpd/conf.d/dirlisting.conf
> +	$(INSTALL) -D -m 755 $(@D)/doc/config/conf.d/mime.conf \
> +		$(TARGET_DIR)/etc/lighttpd/conf.d/mime.conf

Config files installed 755, really? Can you fix that too, please?

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

>  endef
>  
>  LIGHTTPD_POST_INSTALL_TARGET_HOOKS += LIGHTTPD_INSTALL_CONFIG
>  
>  define LIGHTTPD_INSTALL_INIT_SYSV
> -	[ -f $(TARGET_DIR)/etc/init.d/S50lighttpd ] || \
> -		$(INSTALL) -D -m 755 package/lighttpd/S50lighttpd \
> -			$(TARGET_DIR)/etc/init.d/S50lighttpd
> +	$(INSTALL) -D -m 755 package/lighttpd/S50lighttpd \
> +		$(TARGET_DIR)/etc/init.d/S50lighttpd
>  endef
>  
>  define LIGHTTPD_INSTALL_INIT_SYSTEMD
> -	[ -f $(TARGET_DIR)/etc/systemd/system/lighttpd.service ] || \
> -		$(INSTALL) -D -m 644 package/lighttpd/lighttpd.service \
> -			$(TARGET_DIR)/etc/systemd/system/lighttpd.service
> +	$(INSTALL) -D -m 644 package/lighttpd/lighttpd.service \
> +		$(TARGET_DIR)/etc/systemd/system/lighttpd.service
>  
>  	mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
>  
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 57/74] rpcbind: install init script unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:43 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/rpcbind/rpcbind.mk | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/package/rpcbind/rpcbind.mk b/package/rpcbind/rpcbind.mk
> index b7c2261..55de3fc 100644
> --- a/package/rpcbind/rpcbind.mk
> +++ b/package/rpcbind/rpcbind.mk
> @@ -17,9 +17,8 @@ RPCBIND_DEPENDENCIES += libtirpc
>  RPCBIND_CONF_OPTS += --with-rpcuser=root
>  
>  define RPCBIND_INSTALL_INIT_SYSV
> -	[ -f $(TARGET_DIR)/etc/init.d/S30rpcbind ] || \
> -		$(INSTALL) -m 0755 -D package/rpcbind/S30rpcbind \
> -			$(TARGET_DIR)/etc/init.d/S30rpcbind
> +	$(INSTALL) -m 0755 -D package/rpcbind/S30rpcbind \
> +		$(TARGET_DIR)/etc/init.d/S30rpcbind
>  endef
>  
>  $(eval $(autotools-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 58/74] rsyslog: install init script and config file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:45 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Also, we take this opportunity to rename RSYSLOG_INSTALL_CONF_SCRIPT
> to RSYSLOG_INSTALL_CONF because it is no longer installing an init
> script.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/rsyslog/rsyslog.mk | 14 ++++++--------
>  1 file changed, 6 insertions(+), 8 deletions(-)
> 
> diff --git a/package/rsyslog/rsyslog.mk b/package/rsyslog/rsyslog.mk
> index d7dc930..6b72bb5 100644
> --- a/package/rsyslog/rsyslog.mk
> +++ b/package/rsyslog/rsyslog.mk
> @@ -39,18 +39,16 @@ else
>  endif
>  
>  define RSYSLOG_INSTALL_INIT_SYSV
> -	[ -f $(TARGET_DIR)/etc/init.d/S01rsyslog ] || \
> -		$(INSTALL) -m 0755 -D package/rsyslog/S01rsyslog \
> -			$(TARGET_DIR)/etc/init.d/S01rsyslog
> +	$(INSTALL) -m 0755 -D package/rsyslog/S01rsyslog \
> +		$(TARGET_DIR)/etc/init.d/S01rsyslog
>  endef
>  
> -define RSYSLOG_INSTALL_CONF_SCRIPT
> -	[ -f $(TARGET_DIR)/etc/rsyslog.conf ] || \
> -		$(INSTALL) -m 0644 -D $(@D)/platform/redhat/rsyslog.conf \
> -			$(TARGET_DIR)/etc/rsyslog.conf
> +define RSYSLOG_INSTALL_CONF
> +	$(INSTALL) -m 0644 -D $(@D)/platform/redhat/rsyslog.conf \
> +		$(TARGET_DIR)/etc/rsyslog.conf
>  	mkdir -p $(TARGET_DIR)/etc/rsyslog.d
>  endef
>  
> -RSYSLOG_POST_INSTALL_TARGET_HOOKS += RSYSLOG_INSTALL_CONF_SCRIPT
> +RSYSLOG_POST_INSTALL_TARGET_HOOKS += RSYSLOG_INSTALL_CONF
>  
>  $(eval $(autotools-package))
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 59/74] transmission: install init script unconditionally
  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:26   ` Peter Korsgaard
  1 sibling, 1 reply; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:46 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: ME

Regards,
Yann E. MORIN.

> ---
>  package/transmission/transmission.mk | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/package/transmission/transmission.mk b/package/transmission/transmission.mk
> index 27ad9d9..b8a5c42 100644
> --- a/package/transmission/transmission.mk
> +++ b/package/transmission/transmission.mk
> @@ -37,9 +37,8 @@ ifeq ($(BR2_PACKAGE_TRANSMISSION_DAEMON),y)
>  	TRANSMISSION_CONF_OPTS += --enable-daemon
>  
>  define TRANSMISSION_INSTALL_INIT_SYSV
> -	[ -f $(TARGET_DIR)/etc/init.d/S92transmission ] || \
> -		$(INSTALL) -m 0755 -D package/transmission/S92transmission \
> -			$(TARGET_DIR)/etc/init.d/S92transmission
> +	$(INSTALL) -m 0755 -D package/transmission/S92transmission \
> +		$(TARGET_DIR)/etc/init.d/S92transmission
>  endef
>  
>  else
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 60/74] stunnel: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:47 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/stunnel/stunnel.mk | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/package/stunnel/stunnel.mk b/package/stunnel/stunnel.mk
> index ac2963e..3d0596d 100644
> --- a/package/stunnel/stunnel.mk
> +++ b/package/stunnel/stunnel.mk
> @@ -19,9 +19,8 @@ STUNNEL_CONF_OPTS += --disable-systemd
>  endif
>  
>  define STUNNEL_INSTALL_CONF
> -	[ -f $(TARGET_DIR)/etc/stunnel/stunnel.conf ] || \
> -		$(INSTALL) -m 0644 -D $(@D)/tools/stunnel.conf \
> -			$(TARGET_DIR)/etc/stunnel/stunnel.conf
> +	$(INSTALL) -m 0644 -D $(@D)/tools/stunnel.conf \
> +		$(TARGET_DIR)/etc/stunnel/stunnel.conf
>  	rm -f $(TARGET_DIR)/etc/stunnel/stunnel.conf-sample
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 61/74] input-event-daemon: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:48 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/input-event-daemon/input-event-daemon.mk | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/package/input-event-daemon/input-event-daemon.mk b/package/input-event-daemon/input-event-daemon.mk
> index 0bafdc4..67b8cc4 100644
> --- a/package/input-event-daemon/input-event-daemon.mk
> +++ b/package/input-event-daemon/input-event-daemon.mk
> @@ -18,9 +18,8 @@ endef
>  define INPUT_EVENT_DAEMON_INSTALL_TARGET_CMDS
>  	$(INSTALL) -m 755 -D $(@D)/input-event-daemon \
>  		$(TARGET_DIR)/usr/bin/input-event-daemon
> -	[ -f $(TARGET_DIR)/etc/input-event-daemon.conf ] || \
> -		$(INSTALL) -m 644 -D $(@D)/docs/sample.conf \
> -			$(TARGET_DIR)/etc/input-event-daemon.conf
> +	$(INSTALL) -m 644 -D $(@D)/docs/sample.conf \
> +		$(TARGET_DIR)/etc/input-event-daemon.conf
>  endef
>  
>  define INPUT_EVENT_DAEMON_INSTALL_INIT_SYSV
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 62/74] fluxbox: install session file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:49 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/fluxbox/fluxbox.mk | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/package/fluxbox/fluxbox.mk b/package/fluxbox/fluxbox.mk
> index 21901d6..a0f9367 100644
> --- a/package/fluxbox/fluxbox.mk
> +++ b/package/fluxbox/fluxbox.mk
> @@ -24,8 +24,8 @@ FLUXBOX_CONF_OPTS += --disable-imlib2
>  endif
>  
>  define FLUXBOX_INSTALL_XSESSION_FILE
> -	[ -f $(TARGET_DIR)/root/.xsession ] || $(INSTALL) -m 0755 -D \
> -		package/fluxbox/xsession $(TARGET_DIR)/root/.xsession
> +	$(INSTALL) -m 0755 -D package/fluxbox/xsession \
> +		$(TARGET_DIR)/root/.xsession
>  endef
>  
>  FLUXBOX_POST_INSTALL_TARGET_HOOKS += FLUXBOX_INSTALL_XSESSION_FILE
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 63/74] proftpd: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:52 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/proftpd/proftpd.mk | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/package/proftpd/proftpd.mk b/package/proftpd/proftpd.mk
> index 65dd84e..ce31276 100644
> --- a/package/proftpd/proftpd.mk
> +++ b/package/proftpd/proftpd.mk
> @@ -48,10 +48,8 @@ PROFTPD_MAKE = $(MAKE1)
>  
>  define PROFTPD_INSTALL_TARGET_CMDS
>  	$(INSTALL) -D -m 0755 $(@D)/proftpd $(TARGET_DIR)/usr/sbin/proftpd
> -	@if [ ! -f $(TARGET_DIR)/etc/proftpd.conf ]; then \
> -		$(INSTALL) -m 0644 -D $(@D)/sample-configurations/basic.conf $(TARGET_DIR)/etc/proftpd.conf; \
> -		$(if $(BR2_INET_IPV6),,$(SED) 's/^UseIPv6/# UseIPv6/' $(TARGET_DIR)/etc/proftpd.conf;) \
> -	fi
> +	$(INSTALL) -m 0644 -D $(@D)/sample-configurations/basic.conf $(TARGET_DIR)/etc/proftpd.conf; \
> +	$(if $(BR2_INET_IPV6),,$(SED) 's/^UseIPv6/# UseIPv6/' $(TARGET_DIR)/etc/proftpd.conf;) \
>  endef
>  
>  define PROFTPD_INSTALL_INIT_SYSV
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 64/74] samba: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:53 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/samba/samba.mk | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/package/samba/samba.mk b/package/samba/samba.mk
> index 92bbe4e..0e4db95 100644
> --- a/package/samba/samba.mk
> +++ b/package/samba/samba.mk
> @@ -177,10 +177,7 @@ SAMBA_POST_INSTALL_TARGET_HOOKS += SAMBA_REMOVE_SWAT_DOCUMENTATION
>  endif
>  
>  define SAMBA_INSTALL_CONFIG
> -	# install config
> -	@if [ ! -f $(TARGET_DIR)/etc/samba/smb.conf ]; then \
> -		$(INSTALL) -m 0644 -D package/samba/simple.conf $(TARGET_DIR)/etc/samba/smb.conf; \
> -	fi
> +	$(INSTALL) -m 0644 -D package/samba/simple.conf $(TARGET_DIR)/etc/samba/smb.conf
>  endef
>  
>  SAMBA_POST_INSTALL_TARGET_HOOKS += SAMBA_INSTALL_CONFIG
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 65/74] logrotate: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 17:54 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/logrotate/logrotate.mk | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/package/logrotate/logrotate.mk b/package/logrotate/logrotate.mk
> index 2e49feb..dc26d85 100644
> --- a/package/logrotate/logrotate.mk
> +++ b/package/logrotate/logrotate.mk
> @@ -17,9 +17,7 @@ endef
>  
>  define LOGROTATE_INSTALL_TARGET_CMDS
>  	$(MAKE) PREFIX=$(TARGET_DIR) -C $(@D) install
> -	if [ ! -f $(TARGET_DIR)/etc/logrotate.conf ]; then \
> -		$(INSTALL) -m 0644 package/logrotate/logrotate.conf $(TARGET_DIR)/etc/logrotate.conf; \
> -	fi
> +	$(INSTALL) -m 0644 package/logrotate/logrotate.conf $(TARGET_DIR)/etc/logrotate.conf
>  	$(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/logrotate.d
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 66/74] nss-mdns: install configuration file unconditionally
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 66/74] nss-mdns: " Thomas Petazzoni
@ 2014-11-30 18:04   ` Yann E. MORIN
  0 siblings, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 18:04 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  package/nss-mdns/nss-mdns.mk | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/package/nss-mdns/nss-mdns.mk b/package/nss-mdns/nss-mdns.mk
> index 9ec9c1a..9a6c5a1 100644
> --- a/package/nss-mdns/nss-mdns.mk
> +++ b/package/nss-mdns/nss-mdns.mk
> @@ -10,9 +10,7 @@ NSS_MDNS_LICENSE = LGPLv2.1+
>  NSS_MDNS_LICENSE_FILES = LICENSE
>  
>  define NSS_MDNS_INSTALL_CONFIG
> -	if [ ! -f "$(TARGET_DIR)/etc/nsswitch.conf" ]; then \
> -		$(INSTALL) -D -m 0644 package/glibc/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf ; \
> -	fi
> +	$(INSTALL) -D -m 0644 package/glibc/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf

In fact, this case is a bit different: nsswitch.conf is not coming from
the skeleton, but from the glibc package.

But then, when using an external toolchain, we only install
nsswitch.conf as a target-finalise hook, which is too late for nss-mdns
to sed it.

That was worked-around by Peter about a month ago, by addind that very
conditional code:
    c7c0ca2: nss-mdns: unbreak after e1eba3d97 (system/skeleton: make
             nsswitch install conditional)

The correct fix would be to make the following sed expression a
TARGET_FINALIZE hook, as Peter said in the commit log above.

However, that would leave us in an uncomofrtable position, in that we
would have to ensure that the hook provided my nss-mdns gets called
agfter the hook that install nsswitch.conf, or we'd be back to square
one...

Sp: NAK.

Regards,
Yann E. MORIN.

>  	sed -r -i -e 's/^(hosts:[[:space:]]+).*/\1files mdns4_minimal [NOTFOUND=return] dns mdns4/' \
>  		$(TARGET_DIR)/etc/nsswitch.conf
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 67/74] ifplugd: install configuration files unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 18:06 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

But see a comment, below...

> ---
>  package/ifplugd/ifplugd.mk | 12 ++++--------
>  1 file changed, 4 insertions(+), 8 deletions(-)
> 
> diff --git a/package/ifplugd/ifplugd.mk b/package/ifplugd/ifplugd.mk
> index 3d0736a..b24c79d 100644
> --- a/package/ifplugd/ifplugd.mk
> +++ b/package/ifplugd/ifplugd.mk
> @@ -21,14 +21,10 @@ ifeq ($(BR2_PACKAGE_BUSYBOX),y)
>  endif
>  
>  define IFPLUGD_INSTALL_FIXUP
> -	if [ ! -f $(TARGET_DIR)/etc/ifplugd/ifplugd.conf ]; then \
> -		$(INSTALL) -D $(@D)/conf/ifplugd.conf $(TARGET_DIR)/etc/ifplugd/ifplugd.conf; \
> -		$(SED) 's^\(ARGS=.*\)w^\1^' $(TARGET_DIR)/etc/ifplugd/ifplugd.conf; \
> -	fi
> -	if [ ! -f $(TARGET_DIR)/etc/ifplugd/ifplugd.action ]; then \
> -		$(INSTALL) -D -m 0755 $(@D)/conf/ifplugd.action \
> -			$(TARGET_DIR)/etc/ifplugd/ifplugd.action ; \
> -	fi
> +	$(INSTALL) -D $(@D)/conf/ifplugd.conf $(TARGET_DIR)/etc/ifplugd/ifplugd.conf; \

Maybe it would be nice to enforce -m 644 on that file, no?

Regards,
Yann E. MORIN.

> +	$(SED) 's^\(ARGS=.*\)w^\1^' $(TARGET_DIR)/etc/ifplugd/ifplugd.conf; \
> +	$(INSTALL) -D -m 0755 $(@D)/conf/ifplugd.action \
> +		$(TARGET_DIR)/etc/ifplugd/ifplugd.action ; \
>  endef
>  
>  IFPLUGD_POST_INSTALL_TARGET_HOOKS += IFPLUGD_INSTALL_FIXUP
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 68/74] sysklogd: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 18:07 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/sysklogd/sysklogd.mk | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/package/sysklogd/sysklogd.mk b/package/sysklogd/sysklogd.mk
> index 2b60b45..1e8652d 100644
> --- a/package/sysklogd/sysklogd.mk
> +++ b/package/sysklogd/sysklogd.mk
> @@ -21,10 +21,8 @@ endef
>  define SYSKLOGD_INSTALL_TARGET_CMDS
>  	$(INSTALL) -D -m 0500 $(@D)/syslogd $(TARGET_DIR)/sbin/syslogd
>  	$(INSTALL) -D -m 0500 $(@D)/klogd $(TARGET_DIR)/sbin/klogd
> -	if [ ! -f $(TARGET_DIR)/etc/syslog.conf ]; then \
> -		$(INSTALL) -D -m 0644 package/sysklogd/syslog.conf \
> -			$(TARGET_DIR)/etc/syslog.conf; \
> -	fi
> +	$(INSTALL) -D -m 0644 package/sysklogd/syslog.conf \
> +		$(TARGET_DIR)/etc/syslog.conf; \
>  endef
>  
>  define SYSKLOGD_INSTALL_INIT_SYSV
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 69/74] screen: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 18:08 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/screen/screen.mk | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/package/screen/screen.mk b/package/screen/screen.mk
> index 461bce2..827e776 100644
> --- a/package/screen/screen.mk
> +++ b/package/screen/screen.mk
> @@ -15,9 +15,7 @@ SCREEN_MAKE = $(MAKE1)
>  SCREEN_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) SCREEN=screen install_bin
>  
>  define SCREEN_INSTALL_SCREENRC
> -	if [ ! -f $(TARGET_DIR)/etc/screenrc ]; then \
> -		$(INSTALL) -m 0755 -D $(@D)/etc/screenrc $(TARGET_DIR)/etc/screenrc; \
> -	fi
> +	$(INSTALL) -m 0755 -D $(@D)/etc/screenrc $(TARGET_DIR)/etc/screenrc
>  endef
>  
>  SCREEN_POST_INSTALL_TARGET_HOOKS += SCREEN_INSTALL_SCREENRC
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 70/74] usbmount: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 18:10 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  package/usbmount/usbmount.mk | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/package/usbmount/usbmount.mk b/package/usbmount/usbmount.mk
> index cc25e4b..76c027f 100644
> --- a/package/usbmount/usbmount.mk
> +++ b/package/usbmount/usbmount.mk
> @@ -20,9 +20,7 @@ define USBMOUNT_INSTALL_TARGET_CMDS
>  		$(TARGET_DIR)/etc/usbmount/usbmount.d/00_remove_model_symlink
>  
>  	$(INSTALL) -m 0644 -D $(@D)/usbmount.rules $(TARGET_DIR)/lib/udev/rules.d/usbmount.rules
> -	@if [ ! -f $(TARGET_DIR)/etc/usbmount/usbmount.conf ]; then \
> -	        $(INSTALL) -m 0644 -D $(@D)/usbmount.conf $(TARGET_DIR)/etc/usbmount/usbmount.conf; \
> -	fi
> +        $(INSTALL) -m 0644 -D $(@D)/usbmount.conf $(TARGET_DIR)/etc/usbmount/usbmount.conf

Leading tabs, not spaces. ;-)

Regards,
Yann E. MORIN.

>  
>  	mkdir -p $(addprefix $(TARGET_DIR)/media/usb,0 1 2 3 4 5 6 7)
>  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 71/74] php: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 18:11 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/php/php.mk | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/package/php/php.mk b/package/php/php.mk
> index 9456f1c..caaf548 100644
> --- a/package/php/php.mk
> +++ b/package/php/php.mk
> @@ -238,10 +238,8 @@ PHP_POST_INSTALL_TARGET_HOOKS += PHP_EXTENSIONS_FIXUP
>  define PHP_INSTALL_FIXUP
>  	rm -rf $(TARGET_DIR)/usr/lib/php
>  	rm -f $(TARGET_DIR)/usr/bin/phpize
> -	if [ ! -f $(TARGET_DIR)/etc/php.ini ]; then \
> -		$(INSTALL) -m 0755  $(PHP_DIR)/php.ini-production \
> -			$(TARGET_DIR)/etc/php.ini; \
> -	fi
> +	$(INSTALL) -m 0755  $(PHP_DIR)/php.ini-production \
> +		$(TARGET_DIR)/etc/php.ini
>  endef
>  
>  PHP_POST_INSTALL_TARGET_HOOKS += PHP_INSTALL_FIXUP
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 72/74] inadyn: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 18:16 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:19 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/inadyn/inadyn.mk | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/package/inadyn/inadyn.mk b/package/inadyn/inadyn.mk
> index 73d95db..b002f94 100644
> --- a/package/inadyn/inadyn.mk
> +++ b/package/inadyn/inadyn.mk
> @@ -20,10 +20,8 @@ INADYN_CONF_OPTS += --disable-ssl
>  endif
>  
>  define INADYN_INSTALL_SAMPLE_CONFIG
> -	@if [ ! -f $(TARGET_DIR)/etc/inadyn.conf ]; then \
> -		$(INSTALL) -D -m 0600 package/inadyn/inadyn.conf \
> -			$(TARGET_DIR)/etc/inadyn.conf; \
> -	fi
> +	$(INSTALL) -D -m 0600 package/inadyn/inadyn.conf \
> +		$(TARGET_DIR)/etc/inadyn.conf
>  endef
>  INADYN_POST_INSTALL_TARGET_HOOKS += INADYN_INSTALL_SAMPLE_CONFIG
>  
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 73/74] mpd: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 18:18 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:19 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

But see a comment below...

> ---
>  package/mpd/mpd.mk | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/package/mpd/mpd.mk b/package/mpd/mpd.mk
> index 1eedcbc..ba3bd59 100644
> --- a/package/mpd/mpd.mk
> +++ b/package/mpd/mpd.mk
> @@ -228,10 +228,7 @@ MPD_CONF_OPTS += --disable-wavpack
>  endif
>  
>  define MPD_INSTALL_EXTRA_FILES
> -	@if [ ! -f $(TARGET_DIR)/etc/mpd.conf ]; then \
> -		$(INSTALL) -D package/mpd/mpd.conf \
> -			$(TARGET_DIR)/etc/mpd.conf; \
> -	fi
> +	$(INSTALL) -D package/mpd/mpd.conf $(TARGET_DIR)/etc/mpd.conf

Maybe nice to make the access rights explicit with -m 0644, no?

Regards,
Yann E. MORIN.

>  endef
>  
>  MPD_POST_INSTALL_TARGET_HOOKS += MPD_INSTALL_EXTRA_FILES
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 74/74] toolchain: install nssswitch.conf configuration file unconditionally
  2014-11-30 14:19 ` [Buildroot] [PATCHv3 74/74] toolchain: install nssswitch.conf " Thomas Petazzoni
@ 2014-11-30 18:19   ` Yann E. MORIN
  0 siblings, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-11-30 18:19 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2014-11-30 15:19 +0100, Thomas Petazzoni spake thusly:
> As discussed, users should use a rootfs overlay or a post-build script
> instead of a custom skeleton to override files installed by Buildroot,
> so there is no point in having conditions when installing init scripts
> or configuration files.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  toolchain/toolchain.mk | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/toolchain/toolchain.mk b/toolchain/toolchain.mk
> index 3f9900b..0fb115b 100644
> --- a/toolchain/toolchain.mk
> +++ b/toolchain/toolchain.mk
> @@ -3,12 +3,10 @@
>  # TARGET_FINALIZE_HOOKS, to be applied just after all packages
>  # have been built.
>  
> -# Install default nsswitch.conf file if the skeleton doesn't provide it
> +# Install default nsswitch.conf file
>  ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y)
>  define GLIBC_COPY_NSSWITCH_FILE
> -	$(Q)if [ ! -f "$(TARGET_DIR)/etc/nsswitch.conf" ]; then \
> -		$(INSTALL) -D -m 0644 package/glibc/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf ; \
> -	fi
> +	$(INSTALL) -D -m 0644 package/glibc/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf

As much as I am tempted to Ack this patch, I think we should revisit the
way we handle nsswitch.conf, especially in the light of my comments on
your previous patch about nss-mdns.

So, Can we get those two patches out of the series for now?

Regards,
Yann E. MORIN.

>  endef
>  TARGET_FINALIZE_HOOKS += GLIBC_COPY_NSSWITCH_FILE
>  endif
> -- 
> 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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 01/74] vsftpd: use <pkg>_INSTALL_INIT_SYSV and rename init script
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:35 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > This commit changes the vsftpd package to use the
 > <pkg>_INSTALL_INIT_SYSV mechanism to install its init script, and
 > renames the init script in the Buildroot source tree to match how it's
 > named on the target.

 > Also, the init script is now installed unconditionally, as is done in
 > most packages.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 02/74] vsftpd: don't install manpages
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:35 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Installing manpages to the target is quite useless, since we don't
 > support installing documentation on the target.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 03/74] vsftpd: rename patches to the new naming convention
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:35 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 04/74] radvd: use <pkg>_INSTALL_INIT_SYSV
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:36 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > This commit changes the radvd to use the <pkg>_INSTALL_INIT_SYSV
 > mechanism instead of using a post install target hook. We also use a
 > full destination path when calling $(INSTALL).

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 05/74] thttpd: use the <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:37 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 06/74] busybox: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:17 ` [Buildroot] [PATCHv3 06/74] busybox: use " Thomas Petazzoni
  2014-11-30 14:55   ` Yann E. MORIN
@ 2014-12-01 21:38   ` Peter Korsgaard
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:38 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 07/74] portmap: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:42 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > We also switch to using a full destination path as the second argument
 > of $(INSTALL).

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
 > ---
 >  package/portmap/portmap.mk | 6 ++++--
 >  1 file changed, 4 insertions(+), 2 deletions(-)

 > diff --git a/package/portmap/portmap.mk b/package/portmap/portmap.mk
 > index 0189597..dd60809 100644
 > --- a/package/portmap/portmap.mk
 > +++ b/package/portmap/portmap.mk
 > @@ -30,8 +30,10 @@ define PORTMAP_INSTALL_TARGET_CMDS
 >  		$(TARGET_DIR)/usr/share/man/man8/pmap_dump.8
 >  	$(INSTALL) -D $(@D)/pmap_set.8 \
 >  		$(TARGET_DIR)/usr/share/man/man8/pmap_set.8
 > -	$(INSTALL) -m 0755 package/portmap/S13portmap \
 > -		$(TARGET_DIR)/etc/init.d
 > +endef
 > +
 > +define PORTMAP_INSTALL_INIT_SYSV
 > +	$(INSTALL) -m 0755 package/portmap/S13portmap $(TARGET_DIR)/etc/init.d/S13portmap
 >  endef

Committed with the -D option added, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 08/74] portmap: don't install manpages
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:44 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > We no longer support having documentation on the target, so there's no
 > point in carrying code to install man pages.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 09/74] portmap: improve installation of binaries
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:45 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > This commit explicits the permissions with which executables are
 > installed, and also makes sure that the build is aborted is one of the
 > binary cannot be installed, instead of silently ignoring the error.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed with the typoes fixed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 10/74] stunnel: use the <pkg>_INSTALL_INIT_SYSV mechanism
  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-12-01 21:46   ` Peter Korsgaard
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:46 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Since the existing STUNNEL_INSTALL_CONF_SCRIPT hook no longer installs
 > the init script, we rename it to STUNNEL_INSTALL_CONF.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 11/74] gdk-pixbuf: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:48 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 12/74] proftpd: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:50 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Also use a complete destination path for the $(INSTALL) command.
 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed with the -D option added as noted by Yann, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 13/74] samba: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:50 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Also makes the installation of the init script unconditional.
 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 14/74] input-event-daemon: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:51 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Also makes the installation of the init script unconditional.
 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 15/74] ifplugd: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:52 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 16/74] nfs-utils: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:53 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Also move back the NFS_UTILS_INSTALL_FIXUP hook registration right
 > after the hook definition.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed with the -D option added as noted by Yann, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 17/74] netatalk: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:54 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Also makes the installation of the init script unconditional.
 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 18/74] mongoose: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:55 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 19/74] gpsd: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 19/74] gpsd: " Thomas Petazzoni
  2014-11-30 15:38   ` Yann E. MORIN
@ 2014-12-01 21:57   ` Peter Korsgaard
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:57 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Also makes the installation of the init script unconditional.
 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 19/74] gpsd: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 15:38   ` Yann E. MORIN
@ 2014-12-01 21:59     ` Peter Korsgaard
  0 siblings, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:59 UTC (permalink / raw)
  To: buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 >> +define GPSD_INSTALL_INIT_SYSV
 >> +	$(INSTALL) -m 0755 -D package/gpsd/S50gpsd $(TARGET_DIR)/etc/init.d/S50gpsd
 >> +	$(SED) 's,^DEVICES=.*,DEVICES=$(BR2_PACKAGE_GPSD_DEVICES),' $(TARGET_DIR)/etc/init.d/S50gpsd

 > Unrelated to your patch, but since the variable is a plural DEVICES, I
 > would expect to be able to set more than one device. In this case, what
 > is the format of this devices list? Is it comma-separated? If so, the
 > sed expression above would break, no?

 > (Cc-ing Simon and Gustavo, since they have contributed significantly to
 > that package.)

I don't know gpsd, but judging from Config.in, S50gpsd and
http://www.catb.org/gpsd/gpsd.html it looks to be space separated, so it
should be OK (unless one of the words ends up with a comma).


-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 20/74] olsr: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 21:59 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 21/74] pango: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:00 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 22/74] xapp_xdm: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:00 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 23/74] tftpd: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:02 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Also make sure we use a full path for the destination of the
 > $(INSTALL) command.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed with the mode added as noted by Yann, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 24/74] openvpn: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 15:45   ` Yann E. MORIN
@ 2014-12-01 22:05     ` Peter Korsgaard
  0 siblings, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:05 UTC (permalink / raw)
  To: buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

Hi,

 > Suddenly, I realise that some packages use 755 while others use 0755.

 > I don't care which we use (even though I have a slight preference for
 > 0755), but we should have some coherence across all packages.

I also prefer 0755, and that's what we mostly do:

git grep -l '\-m 755' **/*.mk|wc -l
55

git grep -l '\-m 0755' **/*.mk|wc -l
158

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 24/74] openvpn: use <pkg>_INSTALL_INIT_SYSV mechanism
  2014-11-30 14:18 ` [Buildroot] [PATCHv3 24/74] openvpn: " Thomas Petazzoni
  2014-11-30 15:45   ` Yann E. MORIN
@ 2014-12-01 22:06   ` Peter Korsgaard
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:06 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 25/74] tinyhttpd: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:06 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 26/74] at: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:07 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 27/74] mpd: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:07 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 28/74] snowball-init: use <pkg>_INSTALL_INIT_SYSV mechanism
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:07 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 29/74] wipe: don't install man pages
  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:09   ` Peter Korsgaard
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:09 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > We don't support installing documentation on the target, so there's no
 > point in having explicit code to do so.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 29/74] wipe: don't install man pages
  2014-11-30 17:00   ` Yann E. MORIN
@ 2014-12-01 22:10     ` Peter Korsgaard
  0 siblings, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:10 UTC (permalink / raw)
  To: buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

Hi,

 >> diff --git a/package/wipe/wipe.mk b/package/wipe/wipe.mk
 >> index 4deabab..ee4682c 100644
 >> --- a/package/wipe/wipe.mk
 >> +++ b/package/wipe/wipe.mk
 >> @@ -13,7 +13,6 @@ WIPE_LICENSE_FILES = LICENSE
 >> 
 >> define WIPE_INSTALL_TARGET_CMDS
 >> $(INSTALL) -D $(@D)/wipe $(TARGET_DIR)/usr/bin/wipe

 > Maybe this should include -m 0755 as well?

I agree. I've added a patch to do this.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 30/74] ndisc6: remove man page related code
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:14 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > The target-finalize target takes care of removing
 > $(TARGET_DIR)/usr/share/man, so there's no point in having package
 > specific code doing this.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 31/74] tree: don't install man page
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:15 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > We don't support installing documentation on the target, so there's no
 > point in having explicit code to do so.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 32/74] iostat: don't install man page
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:16 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > We don't support installing documentation on the target, so there's no
 > point in having explicit code to do so.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 33/74] iostat: remove legacy code
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:17 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Some custom iostat-source target was mistakenly left in place when the
 > iostat package was migrated to gentargets in commit
 > ee77963588b09babfd71befb0b5eb9fd1e776bbc, back 4 years ago. This
 > commit removes this unnecessary custom target.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 34/74] pptp-linux: don't install man page
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:18 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > We don't support installing documentation on the target, so there's no
 > point in having explicit code to do so.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 35/74] gnupg: don't both removing a man page
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:22 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > The target-finalize target in the main Makefile removes
 > $(TARGET_DIR)/usr/share/man entirely, so there's no point in having
 > some package specific logic to remove man pages.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed with the typo fixed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 36/74] rp-pppoe: don't install man pages
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:23 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > We don't support installing documentation on the target, so there's no
 > point in having explicit code to do so.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 37/74] rp-pppoe: bail out of installation fails
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:24 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Add an "|| exit 1" in the installation loop, otherwise if one of the
 > file fails to install, the build doesn't abort.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed with the typo fixed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 38/74] alsa-utils: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:25 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 39/74] coreutils: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:29 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
 > ---
 >  package/coreutils/coreutils.mk | 2 +-
 >  1 file changed, 1 insertion(+), 1 deletion(-)

 > diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk
 > index 391d2cd..fa2db04 100644
 > --- a/package/coreutils/coreutils.mk
 > +++ b/package/coreutils/coreutils.mk
 > @@ -101,7 +101,7 @@ endif
 >  define COREUTILS_POST_INSTALL
 >  	# some things go in root rather than usr
 >  	for f in $(COREUTILS_BIN_PROGS); do \
 > -		mv $(TARGET_DIR)/usr/bin/$$f $(TARGET_DIR)/bin/$$f; \
 > +		mv $(TARGET_DIR)/usr/bin/$$f $(TARGET_DIR)/bin/$$f || exit 1; \

This no longer cleanly applied after the -f option was added on the
18th. I've fixed that up and committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 40/74] ebtables: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:30 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 41/74] flot: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:30 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 42/74] googlefontdirectory: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:31 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 43/74] gptfdisk: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:31 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 44/74] irda-utils: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:31 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 45/74] jimtcl: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:32 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 46/74] live555: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:32 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 47/74] lockfile-progs: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 22:32 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 50/74] sound-theme-borealis: add error handling to for loop
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:14 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 52/74] aiccu: install init script and config file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:15 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 53/74] busybox: install init script and config file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:19 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed with the && conditional removed as noted by Yann, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 54/74] dmraid: install init script unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:19 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 55/74] iucode-tool: install init script unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:20 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 56/74] lighttpd: install init script and config file unconditionally
  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:23   ` Peter Korsgaard
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:23 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 56/74] lighttpd: install init script and config file unconditionally
  2014-11-30 17:38   ` Yann E. MORIN
@ 2014-12-01 23:24     ` Peter Korsgaard
  0 siblings, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:24 UTC (permalink / raw)
  To: buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > Thomas, All,

>> +	$(INSTALL) -D -m 755 $(@D)/doc/config/conf.d/mime.conf \
 >> +		$(TARGET_DIR)/etc/lighttpd/conf.d/mime.conf

 > Config files installed 755, really? Can you fix that too, please?

Yeah, that seems wrong. I've added a commit changing all of these to
0644, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 57/74] rpcbind: install init script unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:24 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 58/74] rsyslog: install init script and config file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:25 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Also, we take this opportunity to rename RSYSLOG_INSTALL_CONF_SCRIPT
 > to RSYSLOG_INSTALL_CONF because it is no longer installing an init
 > script.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 59/74] transmission: install init script unconditionally
  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:26   ` Peter Korsgaard
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:26 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 59/74] transmission: install init script unconditionally
  2014-11-30 17:46   ` Yann E. MORIN
@ 2014-12-01 23:27     ` Peter Korsgaard
  2014-12-01 23:33       ` Yann E. MORIN
  0 siblings, 1 reply; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:27 UTC (permalink / raw)
  To: buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > Thomas, All,
 > On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
 >> As discussed, users should use a rootfs overlay or a post-build script
 >> instead of a custom skeleton to override files installed by Buildroot,
 >> so there is no point in having conditions when installing init scripts
 >> or configuration files.
 >> 
 >> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 > Acked-by: ME

Missing macro expansion? I've fixed that up before committing.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 60/74] stunnel: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:27 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 61/74] input-event-daemon: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:27 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 62/74] fluxbox: install session file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:28 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 63/74] proftpd: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:28 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 64/74] samba: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:29 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 65/74] logrotate: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:32 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 59/74] transmission: install init script unconditionally
  2014-12-01 23:27     ` Peter Korsgaard
@ 2014-12-01 23:33       ` Yann E. MORIN
  0 siblings, 0 replies; 227+ messages in thread
From: Yann E. MORIN @ 2014-12-01 23:33 UTC (permalink / raw)
  To: buildroot

Peter, All,

On 2014-12-02 00:27 +0100, Peter Korsgaard spake thusly:
> >>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
> 
>  > Thomas, All,
>  > On 2014-11-30 15:18 +0100, Thomas Petazzoni spake thusly:
>  >> As discussed, users should use a rootfs overlay or a post-build script
>  >> instead of a custom skeleton to override files installed by Buildroot,
>  >> so there is no point in having conditions when installing init scripts
>  >> or configuration files.
>  >> 
>  >> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> 
>  > Acked-by: ME
> 
> Missing macro expansion? I've fixed that up before committing.

Yup, just press [TAB] for me, will you? Hehe! ;-)

Thank you!

Regards,
Yann E. MORIN.


-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 67/74] ifplugd: install configuration files unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:34 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed with the -m 0644 addition suggested by Yann, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 68/74] sysklogd: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:35 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 69/74] screen: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:36 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 70/74] usbmount: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:38 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed with indentation fixed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 71/74] php: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:40 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
 > ---
 >  package/php/php.mk | 6 ++----
 >  1 file changed, 2 insertions(+), 4 deletions(-)

 > diff --git a/package/php/php.mk b/package/php/php.mk
 > index 9456f1c..caaf548 100644
 > --- a/package/php/php.mk
 > +++ b/package/php/php.mk
 > @@ -238,10 +238,8 @@ PHP_POST_INSTALL_TARGET_HOOKS += PHP_EXTENSIONS_FIXUP
 >  define PHP_INSTALL_FIXUP
 >  	rm -rf $(TARGET_DIR)/usr/lib/php
 >  	rm -f $(TARGET_DIR)/usr/bin/phpize
 > -	if [ ! -f $(TARGET_DIR)/etc/php.ini ]; then \
 > -		$(INSTALL) -m 0755  $(PHP_DIR)/php.ini-production \
 > -			$(TARGET_DIR)/etc/php.ini; \
 > -	fi
 > +	$(INSTALL) -m 0755  $(PHP_DIR)/php.ini-production \
 > +		$(TARGET_DIR)/etc/php.ini

Committed with -D option added / extra space after 0755 removed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 72/74] inadyn: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:41 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

* [Buildroot] [PATCHv3 73/74] mpd: install configuration file unconditionally
  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
  1 sibling, 0 replies; 227+ messages in thread
From: Peter Korsgaard @ 2014-12-01 23:43 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > As discussed, users should use a rootfs overlay or a post-build script
 > instead of a custom skeleton to override files installed by Buildroot,
 > so there is no point in having conditions when installing init scripts
 > or configuration files.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed with -m 0644 as noted by Yann, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 227+ messages in thread

end of thread, other threads:[~2014-12-01 23:43 UTC | newest]

Thread overview: 227+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.