From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 13466] creation of bridge interface via interfaces does not work
Date: Wed, 17 Feb 2021 16:26:55 +0000 [thread overview]
Message-ID: <bug-13466-163-n1pmDXSrZM@https.bugs.busybox.net/> (raw)
In-Reply-To: <bug-13466-163@https.bugs.busybox.net/>
https://bugs.busybox.net/show_bug.cgi?id=13466
--- Comment #1 from Ryan Barnett <ryan.barnett@rockwellcollins.com> ---
Hello,
The supports for bridges in the /etc/network/interfaces file is provide by
Debian through the combination of having two packages installed: bridge-utils
and ifupdown. Debian has customized bridge-utils package to provide support for
bridge syntax in the /etc/network/interfaces file with the ifupdown package.
On Debian based distributions, the syntax for bridge in /etc/network/interfaces
is accomplished utilizing if-pre-up.d/bridge and if-post-down.d/bridge hooks as
seen from the list of the Debian package files [1].
Buildroot utilizes the official bridge-utils source from kernel.org which does
not contain any of these ifupdown hooks [2].
In order to support this syntax utilizing buildroot, I'd recommend that the
full version of ifupdown be built. Support for the bridge hooks could be added
by utilizing a BR2_ROOTFS_OVERLAY [3] which installs the hooks for bridge
support in the /etc/network/if-pre-up.d/ and fi-post-down.d/ hook locations
utilizing the Debian source [4]
Thanks,
-Ryan
[1] - https://packages.debian.org/stretch/amd64/bridge-utils/filelist
[2] -
https://git.busybox.net/buildroot/tree/package/bridge-utils/bridge-utils.mk#n9
[3] - https://buildroot.org/downloads/manual/manual.html#rootfs-custom
[4] - https://sources.debian.org/src/bridge-utils/1.6-2/debian/ifupdown.sh/
--
You are receiving this mail because:
You are on the CC list for the bug.
next prev parent reply other threads:[~2021-02-17 16:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-20 14:15 [Buildroot] [Bug 13466] New: creation of bridge interface via interfaces does not work bugzilla at busybox.net
2021-02-17 16:26 ` bugzilla at busybox.net [this message]
2021-02-28 19:47 ` [Buildroot] [Bug 13466] " bugzilla at busybox.net
2021-04-16 16:32 ` bugzilla at busybox.net
2023-01-16 20:18 ` bugzilla
2024-06-15 14:56 ` bugzilla
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=bug-13466-163-n1pmDXSrZM@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--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.