Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: aduskett at gmail.com <aduskett@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/openrc: install sysv-rcs file
Date: Thu, 19 Dec 2019 11:01:35 -0800	[thread overview]
Message-ID: <20191219190135.7013-1-aduskett@gmail.com> (raw)

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

             reply	other threads:[~2019-12-19 19:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-19 19:01 aduskett at gmail.com [this message]
2019-12-19 20:44 ` [Buildroot] [PATCH 1/1] package/openrc: install sysv-rcs file 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191219190135.7013-1-aduskett@gmail.com \
    --to=aduskett@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox