* [Buildroot] [PATCH 1/1] package/openrc: install sysv-rcs file
@ 2019-12-19 19:01 aduskett at gmail.com
2019-12-19 20:44 ` Thomas Petazzoni
2019-12-25 18:05 ` Peter Korsgaard
0 siblings, 2 replies; 5+ messages in thread
From: aduskett at gmail.com @ 2019-12-19 19:01 UTC (permalink / raw)
To: buildroot
From: Adam Duskett <aduskett@greenlots.com>
package/openrc has the file sysv-rcs which starts sysvinit services
not written for openrc. However, currently it is not installed to
the target.
Install this file to $(TARGET_DIR)/etc/init.d during the
target_install step.
Signed-off-by: Adam Duskett <aduskett@greenlots.com>
---
package/openrc/openrc.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/openrc/openrc.mk b/package/openrc/openrc.mk
index 387962d4d5..c7c8b0461a 100644
--- a/package/openrc/openrc.mk
+++ b/package/openrc/openrc.mk
@@ -35,6 +35,8 @@ endef
define OPENRC_INSTALL_TARGET_CMDS
$(MAKE) $(OPENRC_MAKE_OPTS) DESTDIR=$(TARGET_DIR) -C $(@D) install
+ $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \
+ $(TARGET_DIR)/etc/init.d/
endef
ifeq ($(BR2_PACKAGE_NETIFRC),y)
--
2.24.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] package/openrc: install sysv-rcs file
2019-12-19 19:01 [Buildroot] [PATCH 1/1] package/openrc: install sysv-rcs file aduskett at gmail.com
@ 2019-12-19 20:44 ` Thomas Petazzoni
2019-12-19 20:50 ` Yann E. MORIN
2019-12-25 18:05 ` Peter Korsgaard
1 sibling, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2019-12-19 20:44 UTC (permalink / raw)
To: buildroot
On Thu, 19 Dec 2019 11:01:35 -0800
aduskett at gmail.com wrote:
> From: Adam Duskett <aduskett@greenlots.com>
>
> package/openrc has the file sysv-rcs which starts sysvinit services
> not written for openrc. However, currently it is not installed to
> the target.
>
> Install this file to $(TARGET_DIR)/etc/init.d during the
> target_install step.
>
> Signed-off-by: Adam Duskett <aduskett@greenlots.com>
Michal had what seems like a more elaborate solution:
http://patchwork.ozlabs.org/patch/1098590/
Michal, could you comment ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] package/openrc: install sysv-rcs file
2019-12-19 20:44 ` Thomas Petazzoni
@ 2019-12-19 20:50 ` Yann E. MORIN
2019-12-19 21:24 ` Yann E. MORIN
0 siblings, 1 reply; 5+ messages in thread
From: Yann E. MORIN @ 2019-12-19 20:50 UTC (permalink / raw)
To: buildroot
Thomas, Adam, All,
On 2019-12-19 21:44 +0100, Thomas Petazzoni spake thusly:
> On Thu, 19 Dec 2019 11:01:35 -0800
> aduskett at gmail.com wrote:
>
> > From: Adam Duskett <aduskett@greenlots.com>
> >
> > package/openrc has the file sysv-rcs which starts sysvinit services
> > not written for openrc. However, currently it is not installed to
> > the target.
> >
> > Install this file to $(TARGET_DIR)/etc/init.d during the
> > target_install step.
> >
> > Signed-off-by: Adam Duskett <aduskett@greenlots.com>
>
> Michal had what seems like a more elaborate solution:
>
> http://patchwork.ozlabs.org/patch/1098590/
>
> Michal, could you comment ?
We already have 162044407b (package/skeleton-init-openrc: add support
for starting sysv scripts) which was edited by me, but I missed the fact
that the script was not installed.
Adam, care to investigate what is different between our script, and the
one from the package itself?
I am all in favour of dropping our script, if upstream has a functional
one.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] package/openrc: install sysv-rcs file
2019-12-19 20:50 ` Yann E. MORIN
@ 2019-12-19 21:24 ` Yann E. MORIN
0 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2019-12-19 21:24 UTC (permalink / raw)
To: buildroot
Adam, All,
On 2019-12-19 21:50 +0100, Yann E. MORIN spake thusly:
> On 2019-12-19 21:44 +0100, Thomas Petazzoni spake thusly:
> > On Thu, 19 Dec 2019 11:01:35 -0800
> > aduskett at gmail.com wrote:
> >
> > > From: Adam Duskett <aduskett@greenlots.com>
> > >
> > > package/openrc has the file sysv-rcs which starts sysvinit services
> > > not written for openrc. However, currently it is not installed to
> > > the target.
> > >
> > > Install this file to $(TARGET_DIR)/etc/init.d during the
> > > target_install step.
> > >
> > > Signed-off-by: Adam Duskett <aduskett@greenlots.com>
> > Michal had what seems like a more elaborate solution:
> > http://patchwork.ozlabs.org/patch/1098590/
> We already have 162044407b (package/skeleton-init-openrc: add support
> for starting sysv scripts) which was edited by me, but I missed the fact
> that the script was not installed.
>
> Adam, care to investigate what is different between our script, and the
> one from the package itself?
>
> I am all in favour of dropping our script, if upstream has a functional
> one.
In fact, upstream does not have such a script. It is just that we forgot
to install our own script.
Applied to master, changed the destination to a full path, and not just
the directory, and pushed. Thanks.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH 1/1] package/openrc: install sysv-rcs file
2019-12-19 19:01 [Buildroot] [PATCH 1/1] package/openrc: install sysv-rcs file aduskett at gmail.com
2019-12-19 20:44 ` Thomas Petazzoni
@ 2019-12-25 18:05 ` Peter Korsgaard
1 sibling, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2019-12-25 18:05 UTC (permalink / raw)
To: buildroot
>>>>> "aduskett" == aduskett <aduskett@gmail.com> writes:
> From: Adam Duskett <aduskett@greenlots.com>
> package/openrc has the file sysv-rcs which starts sysvinit services
> not written for openrc. However, currently it is not installed to
> the target.
> Install this file to $(TARGET_DIR)/etc/init.d during the
> target_install step.
> Signed-off-by: Adam Duskett <aduskett@greenlots.com>
Committed to 2019.11.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-12-25 18:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-19 19:01 [Buildroot] [PATCH 1/1] package/openrc: install sysv-rcs file aduskett at gmail.com
2019-12-19 20:44 ` Thomas Petazzoni
2019-12-19 20:50 ` Yann E. MORIN
2019-12-19 21:24 ` Yann E. MORIN
2019-12-25 18:05 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox