public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Jonatan Schlag <jonatan.schlag@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH 1/2] Libvirt search in /sbin for the ebtables binaries but hen binaries are located in /usr/local/sbin. To solve this, 3 symlinks are created and shipped with the ebtables package.
Date: Sun, 20 Mar 2016 16:46:08 +0100	[thread overview]
Message-ID: <1458488769-3157-2-git-send-email-jonatan.schlag@ipfire.org> (raw)
In-Reply-To: <1458488769-3157-1-git-send-email-jonatan.schlag@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]

Signed-off-by: Jonatan Schlag <jonatan.schlag(a)ipfire.org>
---
 config/rootfiles/packages/ebtables | 3 +++
 lfs/ebtables                       | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/config/rootfiles/packages/ebtables b/config/rootfiles/packages/ebtables
index 7e10eee..315e2fb 100644
--- a/config/rootfiles/packages/ebtables
+++ b/config/rootfiles/packages/ebtables
@@ -28,3 +28,6 @@ usr/lib/libebtc.so
 usr/local/sbin/ebtables
 usr/local/sbin/ebtables-restore
 usr/local/sbin/ebtables-save
+sbin/ebtables-save
+sbin/ebtables
+sbin/ebtables-restore
diff --git a/lfs/ebtables b/lfs/ebtables
index 0c55a21..5ec3fd2 100644
--- a/lfs/ebtables
+++ b/lfs/ebtables
@@ -79,5 +79,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
 	cd $(DIR_APP) && make $(MAKETUNING) CFLAGS="$(CFLAGS)"
 	cd $(DIR_APP) && make install
+	ln -s /usr/local/sbin/ebtables-save /sbin/ebtables-save
+	ln -s /usr/local/sbin/ebtables /sbin/ebtables
+	ln -s /usr/local/sbin/ebtables-restore /sbin/ebtables-restore
 	@rm -rf $(DIR_APP)
 	@$(POSTBUILD)
-- 
2.1.4


  reply	other threads:[~2016-03-20 15:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-20 15:46 Libvirt and ebtables Jonatan Schlag
2016-03-20 15:46 ` Jonatan Schlag [this message]
2016-03-20 15:46 ` [PATCH 2/2] bump ebtables version number Jonatan Schlag
2016-03-23 12:07 ` Libvirt and ebtables Michael Tremer

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=1458488769-3157-2-git-send-email-jonatan.schlag@ipfire.org \
    --to=jonatan.schlag@ipfire.org \
    --cc=development@lists.ipfire.org \
    /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