Matthias Schiffer
9d996c495a
generic: reduce squashfs block size to 256KiB
...
In OpenWrt 19.07, the block size was increased to 1024KiB for "tiny"
devices by default to save flash. Unfortunately, this also significantly
increases the cache memory required by squashfs.
In my test, the increased block size reduced the image size by ~64KiB,
but increased the RAM usage by ~2.6MiB. As most tiny devices have only
32MiB of RAM, this is not a reasonable tradeoff.
The ar71xx-generic target already defines an even lower block size of
64KiB.
(cherry picked from commit 7e8af99cf5
)
2020-05-28 21:48:18 +02:00
Matthias Schiffer
58fc1aae63
generic: remove kmod-ipt-offload
...
This is unused by Gluon.
(cherry picked from commit 1cb97ad63e
)
2020-05-28 21:48:11 +02:00
Matthias Schiffer
08d860a2e2
generic: disable urngd by default
...
We already recommend the use of haveged, making urngd redundant. To avoid
incompatible site changes in v2020.1.x, disabled urngd for now.
2020-05-01 16:26:53 +02:00
Matthias Schiffer
af21f912b2
generic: fix GLUON_DEBUG on targets without configurable rootfs size
...
Fixes: c3435607e1
("generic: increase RootFS size when GLUON_DEBUG is enabled")
2020-02-04 02:04:36 +01:00
David Bauer
c3435607e1
generic: increase RootFS size when GLUON_DEBUG is enabled
...
This increases the size of the root filesystem when GLUON_DEBUG is
enabled. Otherwise, the filesystem is too small.
Closes #1907
2020-01-05 19:14:09 +01:00
David Bauer
09780191cb
targets: remove wpad-basic by default
...
This is necessary, as wpad-basic conflicts with hostapd-mini.
2019-10-30 00:06:14 +01:00
Matthias Schiffer
071cf7b20f
Switch to Lua for target definitions
...
The old bash-based parsing code was way too complex. Replace it with Lua.
2019-06-15 23:34:07 +02:00
Matthias Schiffer
134a6460a7
build: move hostapd-mini package from generic target to Makefile
...
By passing the package name through merge_packages, it becomes possible to
override the package choice in GLUON_SITE_PACKAGES again, for example:
GLUON_SITE_PACKAGES += -hostapd-mini hostapd
2019-04-19 13:53:09 +02:00
Matthias Schiffer
1e61e8e897
Disable build of kmod-jool again
...
kmod-jool build is broken with current kernel 4.14.y.
2018-09-30 19:09:23 +02:00
Matthias Schiffer
63c16c01a0
scripts: move DEFAULT_FEEDS definition to a separate file
...
modules.sh can't depend on openwrt/feeds.conf.default, otherwise the
initial update will fail.
2018-07-11 21:47:50 +02:00
Matthias Schiffer
210d97c53e
Switch to OpenWrt 18.06 branch
2018-07-10 22:57:40 +02:00
Matthias Schiffer
d210cfcad9
generic: do not attempt to build kmod-usbip
...
kmod-usbip is broken since the last kernel update.
2018-04-10 20:25:38 +02:00
Matthias Schiffer
07dbfea617
gluon-site: disable multidomain support by default
2018-01-26 12:32:46 +01:00
Matthias Schiffer
faceb3932c
config: check if GLUON_DEBUG is 1 rather than nonempty
2018-01-26 12:32:46 +01:00
Matthias Schiffer
08cbbf9925
build: move all generic config generation to targets/generic
...
As the default package list is now handled using the 'packages' directive,
explicit wpad-mini removals in target definitions can be dropped.
2017-09-07 03:21:42 +02:00
Matthias Schiffer
587c5016cb
build: handle generic and target-specific config in the same run of target_config{,_check}.sh
...
This, together with a new try_config directive, will allow checking the
generic config and make it more flexible.
2017-09-07 00:17:57 +02:00
Linus Lüssing
23a8947628
Revert "generic: batman-adv: disable multicast optimizations for now"
...
This reverts commit 819758f425
.
A proper fix is now available, therefore reverting this workaround.
2017-08-07 22:07:14 +02:00
Matthias Schiffer
6e039911ab
generic: don't explicitly enable busybox sha256sum applet
...
LEDE has sha256sum enabled by default.
2017-07-03 03:49:03 +02:00
Matthias Schiffer
102f6a7244
Revert "generic: busybox: enable sha512sum to workaround segfault issue"
...
This reverts commit dcff68029e
.
2017-07-03 01:45:21 +02:00
Matthias Schiffer
819758f425
generic: batman-adv: disable multicast optimizations for now
...
A bug in batman-adv can lead to a large amount of management traffic being
exchanged between nodes when the multicast optimizations are enabled,
effectively making the mesh unusable. It's safer to disable the feature
for now, until we have a real fix.
2017-06-26 14:37:13 +02:00
Matthias Schiffer
dcff68029e
generic: busybox: enable sha512sum to workaround segfault issue
...
sha512sum doesn't add much code that is not also used by sha256sum, but the
change of the configuration hides the segfault issue described in:
https://bugs.lede-project.org/index.php?do=details&task_id=822
While the issue only seemed to affect dhcpv6.script, it would clutter /tmp
with coredumps, eventually leading to OOM.
2017-06-23 13:12:46 +02:00
Matthias Schiffer
88f2e3e4e2
Revert "generic: revert to OpenWrt CC partition sizes on x86 and similar images for now"
...
This reverts commit fcce9e5295
.
The x86-generic kernel does not fit into 4MB.
2017-06-01 21:10:01 +02:00
Matthias Schiffer
fcce9e5295
generic: revert to OpenWrt CC partition sizes on x86 and similar images for now
...
This will allow upgrading using the broken sysupgrade scripts in OpenWrt
CC without losing the configuration.
Fixes #1010
2017-05-30 03:28:31 +02:00
Matthias Schiffer
a70462ff18
Update Gluon packages
...
Switch sha512sum to sha256sum to match updated autoupdater.
2017-02-25 01:28:07 +01:00
Matthias Schiffer
31d3f08f25
treewide: convert all LuCI-based packages to gluon-web
2017-02-22 01:31:25 +01:00
Christof Schulze
b40d94111e
build: add GLUON_DEBUG flag, if enabled set CONFIG_DEBUG and do not strip binaries ( #1028 )
2017-02-11 23:33:07 +01:00
Matthias Schiffer
78b2775eec
Use LEDE as base for Gluon
2017-01-18 17:21:43 +01:00