freifunk / freifunk/openwrt-packages

packages should have "PKGARCH=all" set

Open
#29 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Shell
Stars
28
Forks
31
PR merge metrics
No merged PRs in 30d

Description

currently there is no binary in any of the packages, so they can safely be set to PKGARCH=all.
For this we rely on the luci.mk if the luci-feed which defines ```LUCI_PKGARCH?=$(if $(realpath src/Makefile),,all)``` (https://github.com/openwrt/luci/blob/c351beea561acafa088a3fd3d82bfec93ee45cd4/luci.mk#L12) for some reason this seems no to be evaluated correctly. So we end up in having ARCH-specifiy packages without any need.

Contributor guide

Open the contributing guide

Research direction

Start by reading the referenced luci.mk definition of LUCI_PKGARCH and its src/Makefile condition, then inspect the package definitions in this repository to see how the value is evaluated. Done means packages without binaries are emitted with PKGARCH=all rather than architecture-specific metadata, with the resulting package metadata verified.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.