Commit Graph

114 Commits

Author SHA1 Message Date
Rui Salvaterra
f4aec13ba4 zram-swap: correctly express the required dependencies
The block-mount swapon implementation doesn't support discard, so make zram-swap
depend only on the default BusyBox implementation or, when unavailable, on the
one present in the swap-utils package.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2020-07-12 12:11:14 +08:00
Rui Salvaterra
002cabbae2 zram-swap: enable swap discard
Zram block devices have supported trim/discard for over six years, let's
enable it. This allows the zram device to actually free up allocated memory
when it's marked as unused in the filesystem metadata, as explained in more
detail in the original commit message [1].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/block/zram/zram_drv.c?h=linux-4.14.y&id=f4659d8e620d08bd1a84a8aec5d2f5294a242764

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2020-07-12 12:03:45 +08:00
AmadeusGhost
4ef0a8f886 Revert "rpcd: update to latest snapshot version"
Revert this commit due to it relies on a changed libiwinfo API, and will broke the compilation.
2020-07-07 11:50:16 +08:00
coolsnowwolf
0c494e6b73
uci: add uci_add_list method 2020-07-07 10:19:43 +08:00
CN_SZTL
c4faaf2a74
rpcd/ubox/procd: sync with upstream source 2020-07-07 10:08:43 +08:00
CN_SZTL
9df7545904
uci: roll back to 2019-05-17 2020-07-06 12:01:34 +08:00
coolsnowwolf
43a19e02d8 ubox/ubus/uci: bump version 2020-07-05 21:21:00 +08:00
Rui Salvaterra
72dfb98714 zram-swap: init: replace backticks with $()
This replaces deprecated backticks by more versatile $(...) syntax.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
[add commit description]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-01 12:15:48 +08:00
Christian Lamparter
6b2a906332 ca-certificates: update to version 20200601
This patch updates the ca-certificates and ca-bundle package.
This version changed the files directory again, to work/, so
PKG_BUILD_DIR was brought back.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2020-06-11 11:59:07 +08:00
AmadeusGhost
50f3cf27ef mtd: sync upstream source code 2020-05-31 20:01:05 +08:00
Jo-Philipp Wich
28e2d9aa83
rpcd: update to latest openwrt-18.06 Git HEAD
7be1f17 file: exec: properly free memory on error
313964c file: avoid closing stdio descriptors in rpc_file_exec_run
cd09c5f file: patch process stdin to /dev/null
efbcedb file: remove unused members from struct rpc_file_exec_context
71b00ab file: rpc_file_exec_run: fix potential memory leak and integer overflow
c7bb956 plugin: fix double free in finish callback
16de3fa plugin: do not free method name separately
29c9c11 exec: properly free memory on rpc_exec() error
5cd4f4e plugin: exec: properly free memory on parse error
d80f70e plugin: fix leaking invoked method name for exec plugins
53a0952 session: deny access if password login is disabled
662d034 uci: reset uci_ptr flags when merging options during section add
dd46d6d uci: free configs list memory on return
abbc302 uci: reset uci_ptr flags when merging set operations

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-05-30 18:25:44 +08:00
AmadeusGhost
a273d13857 Merge Lean's source 2020-05-30 12:25:05 +08:00
AmadeusGhost
6105915786
Wireless: rollback with mac80211 (#4683)
mt76: fix build
ath10k-ct: rollback to 4.19
Revert "iw/iwinfo/mwlwifi: bump version"
Revert "mac80211/5.4: fix build on kernel 4.9"
Revert "mac80211: switch to upstream owl-loader driver"
2020-05-27 11:45:56 +08:00
Matthias Schiffer
30bb3cb5f0
usign: update to latest git HEAD
f1f65026a941 Always pad fingerprints to 16 characters

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2020-05-24 20:43:42 +08:00
CN_SZTL
462b2e1b36
Merge Lean's source 2020-05-24 20:29:02 +08:00
NivalXer
5ae70efb04
ramips: add support for Linksys EA7500 v2 (#4646)
* ramips: add support for Linksys EA7500 v2

* fix build

* fix build

* update build config
2020-05-22 10:53:12 +08:00
Jo-Philipp Wich
93aaa021e1
opkg: update to latest Git HEAD
f2166a8 libopkg: implement lightweight package listing logic
cf4554d libopkg: support passing callbacks to feed parsing functions
2a0210f opkg-cl: don't read feeds on opkg update
b6f1967 libopkg: use xsystem() to spawn opkg-key
60b9af2 file_util.c: refactor and fix checksum_hex2bin()
206ebae file_util.c: fix possible bad memory access in file_read_line_alloc()

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-05-10 12:06:43 +08:00
CN_SZTL
7613a26543
procd: fix jail when running on glibc 2020-04-20 18:46:46 +08:00
CN_SZTL
12a818201e
rpcd: bump version 2020-04-09 14:17:36 +08:00
CN_SZTL
019f5cfeed
Merge Lean's source 2020-03-26 00:40:44 +08:00
lean
1f040092ce procd: update to latest git HEAD 2020-03-25 22:23:34 +08:00
CN_SZTL
289aa4b958
Merge Lean's source 2020-03-25 21:42:25 +08:00
CN_SZTL
3589c240de
ubus: fix ABI_VERSION 2020-03-25 21:29:44 +08:00
CN_SZTL
79c735cf81
rpcd/ubus: active PIE by default 2020-03-25 20:20:15 +08:00
CN_SZTL
a696ac5392
System: revert some packages for OpenWrt-18.06 2020-03-25 20:16:17 +08:00
lean
5ee7b8ac82 Revert "libubox:fix array out of bounds GCC 10 warning"
This reverts commit 2c95a9f5e6.
2020-03-25 20:13:16 +08:00
CN_SZTL
983bd2d46f
Merge Lean's source 2020-03-25 19:11:35 +08:00
lean
334f365c2b rpcd: activate PIE ASLR by default 2020-03-25 12:59:53 +08:00
lean
2c95a9f5e6 libubox:fix array out of bounds GCC 10 warning 2020-03-25 12:17:48 +08:00
CN_SZTL
a225a908b2
Merge Lean's source 2020-03-22 19:07:54 +08:00
lean
a6c59c9fb3 procd: actually wire-up netns support 2020-03-22 17:38:19 +08:00
CN_SZTL
14609a8f8a
Merge Lean's source 2020-02-21 02:50:38 +08:00
coolsnowwolf
9f8000a6d6 sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
CN_SZTL
951a74ad69
opkg: bump to latest git HEAD (#2914)
* opkg: bump to latest git HEAD

Signed-off-by: CN_SZTL <cnsztl@gmail.com>

* config: add option for opkg
2020-02-03 12:00:39 +08:00
CN_SZTL
fb220578c6
Merge Lean's source 2020-02-01 19:01:52 +08:00
coolsnowwolf
bffe4e4f82 import urandom-seed and urngd for v19.07 2020-02-01 18:35:27 +08:00
CN_SZTL
51e7418d7f
opkg: update to latest Git HEAD 2020-01-30 17:14:56 +08:00
CN_SZTL
6686dbcf04
ethtool: bump to 5.4 2020-01-15 01:55:17 +08:00
CN_SZTL
83e1c33c6b
Merge Lean's source 2020-01-13 13:02:30 +08:00
AmadeusGhost
5e942cf804 update some packages to latest version (#2760) 2020-01-13 09:47:13 +08:00
CN_SZTL
be3f1d1460
Merge Lean's source 2020-01-06 13:08:05 +08:00
Texot
db9b77a624 fstools: make extroot mount preparation more robust (#2675) 2020-01-04 22:20:11 +08:00
CN_SZTL
590161937a
Revert "ucert: update to version 2019-12-19"
This reverts commit ceae19c889.
2020-01-01 21:47:52 +08:00
CN_SZTL
ceae19c889
ucert: update to version 2019-12-19 2020-01-01 16:02:25 +08:00
CN_SZTL
0e368dd9e7
ca-certificates: provide ca-certs by both ca-certificates and ca-bundle 2020-01-01 16:02:01 +08:00
CN_SZTL
d15cc1c944
fstools: downgrade to 2019-03-28 2019-12-22 10:23:10 +08:00
CN_SZTL
36c4e6c2ec
uci: downgrade to 2018-08-11 (ref #14) 2019-12-13 13:51:17 +08:00
CN_SZTL
af589c345a
Merge Lean's source 2019-12-09 13:13:14 +08:00
LEAN-ESX
7655ad367f fstool: mount/umount fs without reboot 2019-12-08 09:30:10 -08:00
CN_SZTL
4fbd9e99ef
Revert 'rpcd: update to latest Git HEAD' 2019-11-30 20:14:25 +08:00