From: unixmania at gmail.com <unixmania@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/3] package/ifupdown-scripts: always install /etc/network/nfs_check
Date: Sun, 8 Mar 2020 23:50:01 -0300 [thread overview]
Message-ID: <20200309025003.26466-2-unixmania@gmail.com> (raw)
In-Reply-To: <20200309025003.26466-1-unixmania@gmail.com>
From: Carlos Santos <unixmania@gmail.com>
The script is minuscle and can be useful to configure an interface via
DHCP at run-time.
Signed-off-by: Carlos Santos <unixmania@gmail.com>
---
package/ifupdown-scripts/ifupdown-scripts.mk | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/package/ifupdown-scripts/ifupdown-scripts.mk b/package/ifupdown-scripts/ifupdown-scripts.mk
index abb4575777..d387c530f1 100644
--- a/package/ifupdown-scripts/ifupdown-scripts.mk
+++ b/package/ifupdown-scripts/ifupdown-scripts.mk
@@ -25,13 +25,12 @@ define IFUPDOWN_SCRIPTS_DHCP
echo " wait-delay 15"; \
echo " hostname \$$(hostname)"; \
) >> $(TARGET_DIR)/etc/network/interfaces
- $(INSTALL) -m 0755 -D $(IFUPDOWN_SCRIPTS_PKGDIR)/nfs_check \
- $(TARGET_DIR)/etc/network/nfs_check
endef
endif
define IFUPDOWN_SCRIPTS_INSTALL_TARGET_CMDS
- mkdir -p $(TARGET_DIR)/etc/network
+ $(INSTALL) -m 0755 -D $(IFUPDOWN_SCRIPTS_PKGDIR)/nfs_check \
+ $(TARGET_DIR)/etc/network/nfs_check
$(call SYSTEM_RSYNC,$(IFUPDOWN_SCRIPTS_PKGDIR)/network,$(TARGET_DIR)/etc/network)
$(IFUPDOWN_SCRIPTS_LOCALHOST)
$(IFUPDOWN_SCRIPTS_DHCP)
--
2.18.2
next prev parent reply other threads:[~2020-03-09 2:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-09 2:50 [Buildroot] [PATCH 0/3] package/ifupdown-scripts: add openrc support unixmania at gmail.com
2020-03-09 2:50 ` unixmania at gmail.com [this message]
2020-03-11 20:31 ` [Buildroot] [PATCH 1/3] package/ifupdown-scripts: always install /etc/network/nfs_check Yann E. MORIN
2020-03-09 2:50 ` [Buildroot] [PATCH 2/3] package/ifupdown-scripts: relocate the generation the interfaces file unixmania at gmail.com
2020-03-11 21:13 ` Yann E. MORIN
2020-03-09 2:50 ` [Buildroot] [PATCH 3/3] package/ifupdown-scripts: add openrc support unixmania at gmail.com
2020-03-11 21:15 ` Yann E. MORIN
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=20200309025003.26466-2-unixmania@gmail.com \
--to=unixmania@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 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.