Matthias Schiffer
7e8af99cf5
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.
2020-05-28 19:40:29 +02:00
Matthias Schiffer
1cb97ad63e
generic: remove kmod-ipt-offload
...
This is unused by Gluon.
2020-05-28 19:40:29 +02:00
Matthias Schiffer
ab6596115a
build: introduce GLUON_AUTOREMOVE flag
2020-05-13 15:48:06 +02:00
lemoer
57516fe4e7
Add GLUON_MINIFY flag to allow skipping the minification process ( #1916 )
2020-05-13 00:45:06 +02:00
Matthias Schiffer
d7e724ada9
target_lib: replace envtrue with more intuitive istrue helper
...
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2020-03-14 16:51:43 +01: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