From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Sun, 30 Nov 2014 18:25:32 +0100 Subject: [Buildroot] [PATCHv3 10/74] stunnel: use the _INSTALL_INIT_SYSV mechanism In-Reply-To: <20141130150433.GO4124@free.fr> References: <1417357142-14307-1-git-send-email-thomas.petazzoni@free-electrons.com> <1417357142-14307-11-git-send-email-thomas.petazzoni@free-electrons.com> <20141130150433.GO4124@free.fr> Message-ID: <20141130172532.GG4124@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 > > --- > > 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" 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. | '------------------------------^-------^------------------^--------------------'