<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/ynezz/package/base-files, branch master</title>
<subtitle>Staging tree of Petr Stetiar</subtitle>
<id>https://git.openwrt.org/openwrt/staging/ynezz/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/ynezz/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ynezz/'/>
<updated>2021-05-28T13:35:32Z</updated>
<entry>
<title>base-files: simplify setting device MAC</title>
<updated>2021-05-28T13:35:32Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2021-05-28T06:18:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ynezz/commit/?id=e002179a6d2eea8640e262160030336bea54ec26'/>
<id>urn:sha1:e002179a6d2eea8640e262160030336bea54ec26</id>
<content type='text'>
1. Move code above interface generation
   It results in more logical order. Device gets its config section
   above interface section.
2. Drop the loop
   We have separated code handling bridges now so $device should be
   guaranteed to contain a single device name.
3. Drop section name
   It's not required by netifd or LuCI &amp; it's not needed by this script
   as $device contains a single device name now.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
</entry>
<entry>
<title>base-files: generate network config with "device" options</title>
<updated>2021-05-27T08:58:49Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2021-05-24T14:45:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ynezz/commit/?id=4b9a67362d70c544b85078b8d5c661f43f7472d9'/>
<id>urn:sha1:4b9a67362d70c544b85078b8d5c661f43f7472d9</id>
<content type='text'>
Replace "ifname" with "device" as netifd has been recently patches to
used the later one. It's more clear and accurate.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
</entry>
<entry>
<title>base-files: fix configuration generation of network if "bridge" exists</title>
<updated>2021-05-24T07:09:00Z</updated>
<author>
<name>INAGAKI Hiroshi</name>
</author>
<published>2021-05-23T11:30:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ynezz/commit/?id=8cc4e87a2f81df02dbe481759ae6c36cf056c13b'/>
<id>urn:sha1:8cc4e87a2f81df02dbe481759ae6c36cf056c13b</id>
<content type='text'>
After the commit 43fc720657c6e3b30c6ed89d7227ee6e646c158b
("base-files: generate "device UCI type section for bridge"), the wrong
network configuration is generated for the devices that already have the
bridge device section for VLAN, such as the devices in realtek target.

As a result, the bridge device by additional "device" section is
specified to the "ports" option in the "bridge-vlan" section and netifd
shuts down the switch and the ethernet when the network service started.

Fixes: 43fc720657 ("base-files: generate "device" UCI type section for bridge")
Signed-off-by: INAGAKI Hiroshi &lt;musashino.open@gmail.com&gt;
[rmilecki: use $ports for generate_bridge_vlan argument]
Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
</entry>
<entry>
<title>base-files: support setting bridge MAC address</title>
<updated>2021-05-24T05:48:17Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2021-05-24T05:46:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ynezz/commit/?id=7a90ad3c431031191afe51b163bf97d3ec820d54'/>
<id>urn:sha1:7a90ad3c431031191afe51b163bf97d3ec820d54</id>
<content type='text'>
Fixes: 43fc720657c6 ("base-files: generate "device" UCI type section for bridge")
Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
</entry>
<entry>
<title>Revert "base-files: migrate old UCI network bridge ports syntax"</title>
<updated>2021-05-20T10:25:25Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2021-05-20T10:23:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ynezz/commit/?id=80be798d4a4fa4a3b3413a0a0ff42dd8ac88574d'/>
<id>urn:sha1:80be798d4a4fa4a3b3413a0a0ff42dd8ac88574d</id>
<content type='text'>
This reverts commit f716c30241d5fd9d821560f58d0af0c3ffe78600.

Migrating everyone to the new syntax could break downgrades. We may
reintroduce it way later if needed.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
</entry>
<entry>
<title>base-files: generate bridge device sections with br- name prefix</title>
<updated>2021-05-20T08:40:59Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2021-05-20T08:32:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ynezz/commit/?id=0e459668c5b3b158991803204f628b1b7dce9034'/>
<id>urn:sha1:0e459668c5b3b158991803204f628b1b7dce9034</id>
<content type='text'>
Missing br- prefix could result in name conflict between DSA port
interface and bridge interface. Some devices with just one LAN port use
"lan" interface name for DSA port. Trying to create bridge with the same
"lan" name was failing.

Reported-by: David Bauer &lt;mail@david-bauer.net&gt;
Fixes: 43fc720657c6 ("base-files: generate "device" UCI type section for bridge")
Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
</entry>
<entry>
<title>busybox: preserve crontabs</title>
<updated>2021-05-19T13:50:50Z</updated>
<author>
<name>Philip Prindeville</name>
</author>
<published>2021-05-05T23:43:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ynezz/commit/?id=b810d649fb276e7bea276ebf73cd2a76a089082b'/>
<id>urn:sha1:b810d649fb276e7bea276ebf73cd2a76a089082b</id>
<content type='text'>
/etc/syslog.conf is used by sysklogd, and /etc/crontabs is used
by crond, both features of busybox.  Given this, ownership for
these files should be bound to busybox, especially if one day
there's a way to do an in-place opkg update of busybox.

There's also the busybox provided syslogd which uses this file
if CONFIG_BUSYBOX_FEATURE_SYSLOGD_CFG is set.

Signed-off-by: Philip Prindeville &lt;philipp@redfish-solutions.com&gt;
</content>
</entry>
<entry>
<title>base-files: migrate old UCI network bridge ports syntax</title>
<updated>2021-05-18T18:07:56Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2021-05-15T21:04:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ynezz/commit/?id=f716c30241d5fd9d821560f58d0af0c3ffe78600'/>
<id>urn:sha1:f716c30241d5fd9d821560f58d0af0c3ffe78600</id>
<content type='text'>
netifd has been recently patched to use more accurate "ports" option
instead of "ifname". This is a simple translation between two UCI
options.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
</entry>
<entry>
<title>base-files: generate "device" UCI type section for bridge</title>
<updated>2021-05-18T18:07:51Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2021-05-15T19:06:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ynezz/commit/?id=43fc720657c6e3b30c6ed89d7227ee6e646c158b'/>
<id>urn:sha1:43fc720657c6e3b30c6ed89d7227ee6e646c158b</id>
<content type='text'>
This switches from the old way of defining bridges in an "interface" UCI
section type (that should be used for layer 3 only). From now a defualt
board switch will have its own "device" UCI section type. It's a new &amp;
preferred way of defining L2 devices.

Before:

config interface 'lan'
        option type 'bridge'
        option ifname 'lan1 lan2 lan3 lan4'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'

After:

config device
        option name 'lan'
        option type 'bridge'
        list ports 'lan1'
        list ports 'lan2'
        list ports 'lan3'
        list ports 'lan4'

config interface 'lan'
        option ifname 'lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
</entry>
<entry>
<title>base-files: use "ports" array in board.json network for bridges</title>
<updated>2021-05-18T10:30:16Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2021-05-14T09:09:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ynezz/commit/?id=d42640e389a8b22a31fb0061c12cd9dfbddb87b8'/>
<id>urn:sha1:d42640e389a8b22a31fb0061c12cd9dfbddb87b8</id>
<content type='text'>
Bridge aggregates multiple ports so use a more accurate name ("ports")
and format (array) for storing them in board.json.

Example:

"network": {
	"lan": {
		"ports": [
			"lan1",
			"lan2",
			"lan3",
			"lan4"
		],
		"protocol": "static"
	},
	"wan": {
		"ifname": "wan",
		"protocol": "dhcp"
	}
}

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
</entry>
</feed>
