From: Rafał Miłecki
Now that $UPGRADE_BACKUP is set conditionally there is no need to check
the $UPGRADE_OPT_SAVE_CONFIG anymore. All conditions can be simplified.
Signed-off-by: Rafał Miłecki
---
package/base-files/files/lib/upgrade/common.sh | 2 +-
package/base-files/files/lib/upgr
From: Rafał Miłecki
This new attribute allows passing path of the backup archive. It
provides much more flexibility than hardcoding /tmp/sysupgrade.tgz. It
may help avoiding some cp/mv for user-provided backup archive.
Signed-off-by: Rafał Miłecki
---
initd/preinit.c | 2 +-
system.c|
From: Rafał Miłecki
Up to now preserving a backup over sysupgrade required using a magic
path /tmp/sysupgrade.tgz. It was a bad design (hardcoded path) and
required moving/copying already existing backup archives in some cases.
This patchset makes sysupgrade more generic as it allows specifying
From: Rafał Miłecki
This explicitly tells procd what backup file should be used during
sysupgrade (if any). It's much more generic this way compared to the
magic /tmp/sysupgrade.tgz file that had to be created before a call.
Signed-off-by: Rafał Miłecki
---
package/base-files/files/sbin/sysupg
Signed-off-by: David Bauer
---
hardware.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/hardware.txt b/hardware.txt
index cf4d4c1..e85db06 100644
--- a/hardware.txt
+++ b/hardware.txt
@@ -156,6 +156,7 @@
0x168c 0x003c 0x19b6 0xd03c0 0 "Mikrotik" "R11e-5HacT"
0x168c 0x0046 0x16
Signed-off-by: David Bauer
---
hardware.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/hardware.txt b/hardware.txt
index 8950589..cf4d4c1 100644
--- a/hardware.txt
+++ b/hardware.txt
@@ -155,6 +155,7 @@
0x168c 0x003c 0x 0x0 0 "Qualcomm Atheros" "QCA9880"
0x168c 0x003c
Needed for glib2 host build:
gresource-tool.c:32:20: fatal error: libelf.h: No such file or directory
#include
Changed PKG_LICENSE to the SPDX version.
Switched build dependency for argp-standalone to !USE_GLIBC. argp is a
glibc extension. Treat it as such.
Adjusted patch to use strerror_l, w
Needed for glib2 host build:
gresource-tool.c:32:20: fatal error: libelf.h: No such file or directory
#include
Changed PKG_LICENSE to the SPDX version.
Switched build dependency for argp-standalone to !USE_GLIBC. argp is a
glibc extension. Treat it as such.
Signed-off-by: Rosen Penev
---
pa
This fixes two cases were the prefix UPGRADE_OPT_ has been added
three times, so it remained wrong after removing one prefix in
1078de96e315 ("treewide: fix invalid UPGRADE_OPT_SAVE_CONFIG
spellings").
Fixes: 1078de9 ("treewide: fix invalid UPGRADE_OPT_SAVE_CONFIG spellings")
Signed-off-by: Adrian
hi,
I noticed that the Zerotier [0] changed its license from gpl3 to a proprietary
license [1].
While they like Zerotier to remain packaged in openwrt/packages, I wonder if
there is a conflict with any package guidelines.
Anyway, they try to clear up any confusion and like to keep it open and
p
Hello,
I was learning about openWRT and trying to get an ipq4019 to work with
recent openwrt
I forked : d3e832d6fda8a39e7ec262994f75dac67353dcae and create a DTS
file from the templates, tried my build using dhcp/bootm initramfs
Kernel,
The layout of the flash separate the FIT kernel and the ROO
Hi,
if I remember correctly, there is still no mechanism to fix eth0/eth1 for
devices where those have been swapped from ar71xx to ath79.
In principle, this can be done with a relatively small piece of code (not
tested):
diff --git a/target/linux/ath79/base-files/etc/uci-defaults/05_eth_migrat
This removes a useless empty default case.
Signed-off-by: Adrian Schmutzler
---
.../ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac| 2 --
1 file changed, 2 deletions(-)
diff --git
a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
b/target/linux/ath79/base-f
Signed-off-by: Adrian Schmutzler
---
.../base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac| 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
b/target/linux/ath79/base-files/etc/hotplug.d/ieee8021
This converts leading whitespaces to tabs and removes a double
newline at the end of the file.
Signed-off-by: Adrian Schmutzler
---
.../etc/hotplug.d/ieee80211/10_fix_wifi_mac | 15 +++
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git
a/target/linux/ath79/base-files
The actual retrieval of the MAC address in mtd_get_mac_binary_ubi()
is the same as in get_mac_binary(). Thus, use the latter function
in the former to reduce duplicate code.
This will also allow to benefit from the enhanced path check there
and bring mtd_get_mac_binary_ubi() more in line with the
Hi David,
> -Original Message-
> From: David Bauer [mailto:m...@david-bauer.net]
> Sent: Mittwoch, 4. September 2019 23:07
> To: m...@adrianschmutzler.de
> Cc: openwrt-devel@lists.openwrt.org
> Subject: Re: [OpenWrt-Devel] [PATCH] base-files: fix get_mac_address not
> accepting hex offset
From: Rafał Miłecki
This allows platform code to check if firmware image can be used with
preserving a backup. It may be used e.g. when installing vendor
firmwares that won't restore appended backup archive.
Suggested-by: Luis Araneda
Signed-off-by: Rafał Miłecki
---
.../base-files/files/usr/
In 555ca422d1cb ("ramips: fix D-Link DIR-615 H1 switch port
mapping"), port setup for dir-615-h1 was changed without removing
the old one. This was working as the new one was triggered earlier
than the old one.
(In the meantine, changed sorting during ramips rename patches
actually inversed that o
ARC FreeStation5 is present twice in MAC address setup.
>From older commits/changes, it is not possible to reconstruct
the correct choice only by reading the annotations.
Thus, remove the second case and keep the first one, so behavior
stays the same (as nobody seems to have complained about it).
David Bauer wrote:
>
> Git won't let me push to master without a on-matching SoB.
>
> $ git push upstream upstream-master:master
> Enumerating objects: 21, done.
> Counting objects: 100% (21/21), done.
> Delta compression using up to 4 threads
> Compressing objects: 100% (11/11), done.
> Writing
From: Karl Palsson
This enables using the "eTactica" LED during boot, to indicate failsafe,
and during upgrade, while still leaving the LED alone for normal
operation. This brings the device more in line with how other devices
work, and makes the failsafe functionality easier to use and understa
On 05.09.2019 09:13, Rafał Miłecki wrote:
From: Rafał Miłecki
It's a variable set by procd that should replace hardcoded
/tmp/sysupgrade.tgz.
My yesterday explanation & question regarding this work:
[09:44] i'm planning some cleanups for sysupgrade + handling config
backups
[09:44] right
On Thu, 5 Sep 2019, Mathias Kresin wrote:
...
In sysctrl.c, we have:
clkdev_add_pmu("1f203020.gphy", NULL, 1, 0, PMU_GPHY); // OK for GPHY0
clkdev_add_pmu("1f203068.gphy", NULL, 1, 0, PMU_GPHY); //problem for GPHY1
The first parameter of clkdev_add_pmu doesn't match your dts. It has to be
From: Rafał Miłecki
It points to the backup file to use duing sysupgrace process. Right now
it's hardcoded to the /tmp/sysupgrade.tgz. Once all cleanups are in
place "sysupgrade" ubus method should be extended to allow passing any
custom path.
Signed-off-by: Rafał Miłecki
---
sysupgrade.c | 2
From: Rafał Miłecki
It's a variable set by procd that should replace hardcoded
/tmp/sysupgrade.tgz.
Signed-off-by: Rafał Miłecki
---
package/base-files/files/lib/upgrade/common.sh | 2 +-
package/base-files/files/lib/upgrade/stage2 | 1 -
target/linux/apm821xx/base-files
Hi,
I understand that you were exhibited at IBC 2019 (International Trade Show
for Media, Entertainment & Technology Show) and was wondering if you would
be Interested in acquiring the
Attendee Companies List.
We have the most updated records of attendee companies who are participating
In this
27 matches
Mail list logo