Commit Graph

3894 Commits

Author SHA1 Message Date
coolsnowwolf
d9bd5b2df1 x86: add cfdisk to parted gpt 2021-08-13 23:33:19 +08:00
coolsnowwolf
11533a87cc Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-08-13 23:32:08 +08:00
coolsnowwolf
8a4db76249 fstools: enable any device with non-MTD rootfs_data volume 2021-08-13 23:31:58 +08:00
Beginner
f575350b7d
procd: update to git HEAD (#7670)
* procd: update to git HEAD

 2dcefbd jail: add support for cgroup devices as in OCI run-time spec

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 0ee73b2 uxc: implement support for rootfs overlay in containers
 b0a8ea1 jail: do not hack /etc/resolv.conf on container rootfs
 92aba53 jail: increase max additional env records to 64
 15997e6 jail: allow rootfs to be a symbolic link
 0114c6f jail: open() extroot folder before mounting
 ed96eda uxc: check for required blockd mounts

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 0545905 jail: make use of realpath() for rootfs and overlaydir

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 9bd1b7f jail: refactor directory handling for rootfs and overlaydir

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 772292e uxc: don't restart containers when mount shows up
 3a9d910 uxc: resolve volume UUIDs by name of UCI fstab section

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 f26233e watchdog: Add an info message if the watchdog reset the system

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

* procd: update to git HEAD

Fix build on glibc targets and address a bunch of compiler warnings.

 93fc089 jail: cgroups-bpf: don't use sys/reg.h when building with glibc
 548d057 jail: don't ignore return value of seteuid()
 220b716 jail: ignore return value when creating default /dev symlinks
 78d5baa hotplug-dispatch: don't ignore asprintf() return value
 736aee5 uxc: always handle asprintf() return value
 2b20456 hotplug-dispatch: replace wrongly used assert()
 bfc86a2 jail: cgroups: replace wrongly used assert()
 516bdf2 jail: don't ignore return value of write()

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD and add new script helpers

 e10de28 jail: cgroups-bpf: fix compile with musl 1.2
 f5d9b14 hotplug-dispatch: fix rare memory leaks in error paths

Add new init script helpers:
 procd_add_start_mount_trigger
 procd_add_reload_mount_trigger
 procd_get_mountpoints

Both trigger helpers expect a list of paths which are checked against
the mount targets configured in /etc/config/fstab and a trigger for all
mountpoints covered by the list of paths is setup.

procd_get_mountpoints is useful to find out if and which mountpoints
are covered by a list of paths.

Example:
  DATADIRS="/mnt/data/foo /mnt/data/bar /etc/foo/baz /var/lib/doe"

  start_service() {
    [ "$_BOOT" = "1" ] &&
      [ "$(procd_get_mountpoints $DATADIRS)" ] && return 0

    procd_open_instance
    # ...
    procd_close_instance
  }

  boot() {
    _BOOT=1 start
  }

  service_triggers() {
    procd_add_start_mount_trigger $DATADIRS
  }

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: change procd_add_start_mount_trigger to do restart

Change procd_add_start_mount_trigger to procd_add_restart_mount_trigger
and make it call 'restart' instead of 'start'.
This is more useful as it allows to handle both cases, intial start of
a services as well as restarting services. Calling 'restart' on a
service which has not yet been started has the same result as calling
'start'.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* procd: update to git HEAD

 9f233f5 system: make rootfs type accessible through board call

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-08-13 23:17:18 +08:00
蛋炒饭
fc77756bf9
qbittorrent: bump to v4.3.7 (#7667)
* qbittorrent: bump to v4.3.7

* qBittorrent-static: bump to v4.3.7_v1.2.14
2021-08-13 23:16:24 +08:00
Beginner
0a5b74053a
hostapd: fix broken check in radar detection notification (#7663)
This check was accidentally left in after reworking the code,
causing a segfault

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
2021-08-12 16:01:08 +08:00
Beginner
a0a93fb2e0
rpcd: update to latest Git HEAD (#7655)
1fa3576 session: unload rpcd configuration before checking login

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

Co-authored-by: Jo-Philipp Wich <jo@mein.io>
2021-08-12 10:38:01 +08:00
Beginner
339a3a0b07
ethtool: update to v5.13 (#7656)
* ethtool: introduce ethtool-full build variant

Netlink support is required for using the virtual cable tester
functionality.

Remove the pretty print build option and instead create a second package
variant ethtool-full. This allows users to install the full ethtool
featureset using opkg.

Signed-off-by: David Bauer <mail@david-bauer.net>

* ethtool: update to v5.13

Signed-off-by: David Bauer <mail@david-bauer.net>

* ethtool: fix depends

Co-authored-by: David Bauer <mail@david-bauer.net>
Co-authored-by: Chen Minqiang <ptpt52@gmail.com>
2021-08-11 17:29:09 +08:00
然后七年
ed865731cc
Fix Pushbot symbols (#7659) 2021-08-11 17:26:57 +08:00
AmadeusGhost
e80af1955e
kernel: bump 5.4 to 5.4.138 (#7630) 2021-08-10 20:20:42 +08:00
Beginner
690126dd55
kernel: backport mdio_find_bus from 5.10.x (#7633)
mdio-tools (https://github.com/wkz/mdio-tools) requires the use of
mdio_find_bus, which is not present in 5.4.x.

This patch backports the required change from 5.10.x to 5.4.x

The original patch submission for this can be found at
https://patchwork.ozlabs.org/project/netdev/patch/20200201074625.8698-2-jeremy.linton@arm.com/

Signed-off-by: Damien Mascord <tusker@tusker.org>
[Add original patch description]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Co-authored-by: Damien Mascord <tusker@tusker.org>
2021-08-10 14:18:43 +08:00
Beginner
e35805c6ea
kernel: bump 5.10 to 5.10.56 (#7635)
* kernel: bump 5.10 to 5.10.52

Add the new CONFIG_BATTERY_RT5033 to the generic configuration, as reported by
Paul Blazejowski. Resort the kconfig while at it.

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel/generic: add a missing symbol to the 5.10 kconfig

Add CONFIG_HAVE_ARM_ARCH_TIMER (disabled). A make kernel_oldconfig on cortexa9
will otherwise prompt for its selection. The 5.4 configuration already contains
the same symbol.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel/generic: sort the 5.10 kconfig symbols

Sort the kernel configuration using scripts/kconfig.pl.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.53

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.54

Deleted (upstreamed) patches:
mediatek/patches-5.10/000-spi-fix-fifo.patch

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.55

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

* kernel: bump 5.10 to 5.10.56

No patches needed refreshing

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-08-10 14:18:30 +08:00
Beginner
e0f5decd3c
luci-app-pushbot: tidy up Makefile (#7640) 2021-08-10 14:13:45 +08:00
Beginner
06324b679c
kernel/generic: add CONFIG_KCSAN to the 5.10 kconfig (#7634)
Add the missing CONFIG_KCSAN (disabled). Found while making kernel_oldconfig on
an x86-64 subtarget.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-08-10 14:13:20 +08:00
xingkong
0f59ed510f
add luci-app-pushbot (#7638)
luci-app-pushbot跟-luci-app-serverchan不同点如下:
实现了 IOS-bark的通知推送
通知栏:直接显示推送主题,一目了然,按设备不同,分组显示
消息列表:直接显示最新推送的标题
消息内容:直接显示所有推送信息,不用二次点开再查看
2021-08-10 10:45:13 +08:00
Beginner
4885638ce1
libpcap: update to 1.10.1 (#7636)
Switch to AUTORELEASE to avoid manual increments.

Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

Co-authored-by: Rosen Penev <rosenp@gmail.com>
2021-08-10 10:40:51 +08:00
Beginner
5a001287e5
toolchain/gcc: bump gcc 11 to 11.2 (#7579)
Patches automatically refreshed.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Co-authored-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-08-09 22:35:53 +08:00
Beginner
6240e663d4
hostapd: respect fixed channel BW in HE20 mode (#7629)
When using htmode 'HE20' with a radio mode that uses wpa-supplicant
(like mesh or sta), it will default to 40 MHz bw if disable_ht40 is not
set. This commit fixes this behaviour.

Signed-off-by: Jesus Fernandez Manzano <jesus.manzano@galgus.net>

Co-authored-by: Jesus Fernandez Manzano <jesus.manzano@galgus.net>
2021-08-09 22:35:40 +08:00
Beginner
27060c997a
libpcap: add rpcapd as package (#7631)
This enables building of rpcapd and adds it as a package.

It is a daemon that allows remote packet capturing from another machine.
E.g. Wireshark can talk to it using the Remote Capture Protocol (RPCAP).
https://www.tcpdump.org/manpages/rpcapd.8.html

Compile and run tested: OpenWrt SNAPSHOT r17190-2801fe6132 on x86/64

Signed-off-by: Stephan Schmidtmer <hurz@gmx.org>

Co-authored-by: Stephan Schmidtmer <hurz@gmx.org>
2021-08-09 22:34:49 +08:00
coolsnowwolf
fd6b6c4bf2
kmod-r8168: fix kernel dependence 2021-08-09 18:31:50 +08:00
Beginner
8de440368d
r8168: update to 8.049.01 (#7625)
Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2021-08-09 12:07:33 +08:00
coolsnowwolf
5d861ddb20 fstools: disable ubifs extroot functionality 2021-08-07 23:22:05 +08:00
AmadeusGhost
1bd237de15
rockchip: revert upgrade part change (#7540) 2021-08-07 15:56:57 +08:00
coolsnowwolf
e99650c2b3 uboot: add arm-trusted-firmware-rk3328 2021-08-07 00:58:50 +08:00
coolsnowwolf
9baed7e03a Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-08-06 23:06:04 +08:00
coolsnowwolf
2e96602901 rockchip: import patch from immortalwrt 2021-08-06 23:05:53 +08:00
AmadeusGhost
129bfbf305
ipq806x: add support for askey rt4230w 256m nand version (#7595)
The difference between flashing:
  Interrupt U-Boot and run these commands:

  setenv bootcmd "setenv mtdids nand0=nand0 && set mtdparts
  mtdparts=nand0:0xDC00000@0x2400000(firmware) && ubi part firmware &&
  ubi read 0x44000000 kernel 0x6e0000 && bootm"
  saveenv
2021-08-06 18:07:10 +08:00
coolsnowwolf
6f2494ee52 Version update to R21.8.6 2021-08-06 15:24:28 +08:00
coolsnowwolf
f96fa52426 block-mount: fix nand ecc booting delay 2021-08-06 15:16:56 +08:00
coolsnowwolf
3a7ee17ad0
x86: revert to kernel 5.4 2021-08-06 09:51:07 +08:00
Beginner
401af3c26f
base-files: sysupgrade stage2: fix losetup detection (#7601)
If the busybox applet losetup was selected, `command -v` selects that
during sysupgrade. As this applet is in another path and doesn't cover
the '-D' option which is used to make sure user-defined loop devices
are no longer active during sysupgrade.
Detect losetup at the path of the full utility to avoid error messages
in case of the busybox applet being selected.

Reported-by: fda77 <fda77@users.noreply.github.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-08-06 09:29:44 +08:00
coolsnowwolf
a8c2fab607
pcre: revert to 8.45 2021-08-06 09:27:51 +08:00
Beginner
803d6ba7a6
images: squashfs: xattrs should not depend on buld host (#7602)
Enable xattr for the generated squashfs only if needed for SELinux.
This eliminates warnings during boot on target when building
(non-SELinux) OpenWrt on SELinux-enabled hosts like Fedora.

Reported-by: fda77 <fda77@users.noreply.github.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-08-06 09:23:19 +08:00
Beginner
f804e61cca
dnsproxy: update to 0.39.2 (#7600) 2021-08-05 17:35:24 +08:00
Beginner
78d3125aa5
dnsproxy: update to 0.39.2 (#7600) 2021-08-05 09:12:47 +08:00
ricksuzade-maker
0d3f765a1e
bump wireguard-tools to the latest version (#7605) 2021-08-04 14:52:21 +08:00
AmadeusGhost
ec446374ab
ramips: hc5962: switch to use ralink-eth driver (#7580) 2021-08-04 11:38:05 +08:00
Beginner
f5c0cee305
dnsproxy: update to 0.39.1 (#7594) 2021-08-03 18:30:35 +08:00
coolsnowwolf
5ad600f88c Merge branch 'master' of https://github.com/coolsnowwolf/lede 2021-08-01 23:07:39 +08:00
coolsnowwolf
6ca172247d Revert "iproute2: bump to 5.13 (#7545)"
This reverts commit b772877d87.
2021-08-01 23:07:29 +08:00
Beginner
9dc595bade
dnsmasq: reset EXTRA_MOUNT in the right place (#7585)
* dnsmasq: fix more dnsmasq jail issues

 * remove superflus mounts of /dev/null and /dev/urandom
 * reset EXTRA_MOUNTS at the beginning of the script
 * add mount according to ignore_hosts_dir
 * don't add mount for file which is inside a directory already in the
   EXTRA_MOUNTS list

Fixes: 59c63224e1 ("dnsmasq: rework jail mounts")
Reported-by: Hartmut Birr <e9hack@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

* dnsmasq: reset EXTRA_MOUNT in the right place

EXTRA_MOUNT variable should be reset in dnsmasq_start() rather than
just once at the beginning of the script.

Fixes: ac4e8aa2f8 ("dnsmasq: fix more dnsmasq jail issues")
Reported-by: Hartmut Birr <e9hack@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-08-01 22:26:58 +08:00
Beginner
7777b3ad7d
dnsmasq: rework jail mounts (#7578)
* split into multiple lines to improve readability
 * use EXTRA_MOUNT for addnhosts instead of blindly adding /tmp/hosts
 * remove no longer needed mount for /sbin/hotplug-call
 * add dhcp-script.sh dependencies (jshn, ubus)

Fixes: 3a94c2ca5c ("dnsmasq: add /tmp/hosts/ to jail_mount")
Fixes: aed95c4cb8 ("dnsmasq: switch to ubus-based hotplug call")
Reported-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Co-authored-by: Daniel Golle <daniel@makrotopia.org>
2021-08-01 17:50:30 +08:00
coolsnowwolf
ff042839f3 ipq806x: fix boot pages ecc I/O error cause booting slow issue 2021-07-31 17:09:57 +08:00
Beginner
b772877d87
iproute2: bump to 5.13 (#7545)
Drop patch 185-libbpf-add-limits-h merged upstream
Update patch 170-ip_tiny
Update patch 130-no_netem_tpic_dcb...

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>

Co-authored-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-07-31 16:50:20 +08:00
coolsnowwolf
8e247edca9 ipq806x: fix E8350 web upgrade again 2021-07-31 16:49:38 +08:00
coolsnowwolf
0c928423f6 Revert "iwinfo: bump version"
This reverts commit 8c55064b3a.
2021-07-31 16:48:06 +08:00
coolsnowwolf
13dfa7a8b8 ramips: remove eip 5.4 patch 2021-07-31 16:28:33 +08:00
Ailick
aa347717dd
ramips: crypto: Fix with Mediatek EIP93 Crypto Engine for MT7621 SoC (#7568) 2021-07-31 14:46:15 +08:00
AmadeusGhost
27cbdc106d
ramips: cr660x: fix network settings (#7565) 2021-07-31 12:21:02 +08:00
coolsnowwolf
4925397922 ramips: fix some switch target sysupgrade 2021-07-31 00:02:33 +08:00