Select Git revision
-
Tom Herbers authored
7d7663dc1 newt: Update to 0.52.23 f64aaa69a dnsproxy: Update to 0.49.1 5d3fc9c5b dnsproxy: Update to 0.49.0 bd2cebf65 xray-core: Update to 1.8.1 f0128ce98 v2ray-core: Update to 5.4.1 4e7f27b21 obfs4proxy: Update to 0.0.14 891299822 ruby: update to 3.0.6 93bd5fad3 htop: update to 3.2.2 698132112 php8: update to 8.1.18 ec321e666 curl: update to 8.0.1
Tom Herbers authored7d7663dc1 newt: Update to 0.52.23 f64aaa69a dnsproxy: Update to 0.49.1 5d3fc9c5b dnsproxy: Update to 0.49.0 bd2cebf65 xray-core: Update to 1.8.1 f0128ce98 v2ray-core: Update to 5.4.1 4e7f27b21 obfs4proxy: Update to 0.0.14 891299822 ruby: update to 3.0.6 93bd5fad3 htop: update to 3.2.2 698132112 php8: update to 8.1.18 ec321e666 curl: update to 8.0.1
generic 1.85 KiB
assert(env.GLUON_LANGS)
config('GLUON_SITEDIR', env.GLUON_SITEDIR)
config('GLUON_RELEASE', env.GLUON_RELEASE)
try_config('GLUON_BRANCH', env.GLUON_BRANCH or '')
for lang in string.gmatch(env.GLUON_LANGS, '%S+') do
try_config('GLUON_WEB_LANG_' .. lang, true)
end
config('TARGET_' .. env.BOARD, true)
if env.SUBTARGET ~= '' then
config(string.format('TARGET_%s_%s', env.BOARD, env.SUBTARGET), true)
end
-- Disable non-default feeds in distfeeds.conf
config('FEED_gluon_base', false)
local default_feeds = {}
for feed in string.gmatch(exec_capture_raw('. scripts/default_feeds.sh && echo "$DEFAULT_FEEDS"'), '%S+') do
default_feeds[feed] = true
end
for feed in string.gmatch(exec_capture_raw('. scripts/modules.sh && echo -n "$FEEDS"'), '%S+') do
if not default_feeds[feed] then
config('FEED_' .. feed, false)
end
end
config('TARGET_ROOTFS_INITRAMFS', false)
config('DEVEL', true)
config('ALL_NONSHARED', true)
config('PACKAGE_usbip', false) -- fails to build
config('PACKAGE_kmod-jool', false) -- fails to build
config('BUSYBOX_CUSTOM', true)
config('BUSYBOX_CONFIG_FEATURE_PREFER_IPV4_ADDRESS', false)
try_config('PACKAGE_ATH_DEBUG', true)
try_config('TARGET_SQUASHFS_BLOCK_SIZE', 256)
config('KERNEL_IP_MROUTE', false)
config('KERNEL_IPV6_MROUTE', false)
config('COLLECT_KERNEL_DEBUG', true)
try_config('TARGET_MULTI_PROFILE', true)
try_config('TARGET_PER_DEVICE_ROOTFS', true)
config('GLUON_MULTIDOMAIN', istrue(env.GLUON_MULTIDOMAIN))
config('AUTOREMOVE', istrue(env.GLUON_AUTOREMOVE))
if istrue(env.GLUON_DEBUG) then
config('DEBUG', true)
config('NO_STRIP', true)
config('USE_STRIP', false)
config('USE_SSTRIP', false)
try_config('TARGET_ROOTFS_PARTSIZE', 500)
end
config('GLUON_MINIFY', istrue(env.GLUON_MINIFY))
packages {
'-kmod-ipt-offload',
'-odhcpd-ipv6only',
'-ppp',
'-ppp-mod-pppoe',
'-wpad-mini',
'-wpad-basic',
'gluon-core',
'ip6tables',
}