Skip to content

add PKG_MIRROR_HASH#4

Open
francoriba wants to merge 3 commits into
javierbrk:masterfrom
fcefyn-testbed:master
Open

add PKG_MIRROR_HASH#4
francoriba wants to merge 3 commits into
javierbrk:masterfrom
fcefyn-testbed:master

Conversation

@francoriba

Copy link
Copy Markdown

openwrt SDK 24.10+ (and openwrt/gh-action-sdk) require packages to declare PKG_MIRROR_HASH. Without it the sdk emits a "WARNING: PKG_MIRROR_HASH is missing" that gh-action-sdk treats as fatal and aborts the build with "Package HASH check failed".

The value 7af9fa14f45bcc19afe6c90aa329e115855cd616498ed3d1794b531e4aa0085b is the sha256 of the tarball produced by make package/vwifi/download for PKG_SOURCE_VERSION 4a9842e646c226a254df3300f1c98b86a947acd8 (upstream Raizo62/vwifi)

Signed-off-by: Franco <franco.riba@mi.unc.edu.ar>
Signed-off-by: Franco <franco.riba@mi.unc.edu.ar>
…onflict

Both `vwifi` and `kmod-mac80211-hwsim` (which `vwifi` DEPENDS on)
ship `/etc/modules.d/mac80211-hwsim`. opkg/apk treats this as a
data-file clash and aborts package_install with:

    check_data_file_clashes: Package vwifi wants to install file
      /etc/modules.d/mac80211-hwsim
    But that file is already provided by package
      kmod-mac80211-hwsim
    opkg_install_cmd: Cannot install package vwifi.

The package already ships `files/etc/uci-defaults/99-vwifi-hwsim`
which writes the desired `mac80211_hwsim radios=0` line at first
boot, so the static file was redundant. Removing it leaves
`kmod-mac80211-hwsim`'s default file in place at install time and
the uci-default overrides it on the first boot — same end state,
no install conflict.

Surfaced by lime-packages CI when building qemu_x86_64 images
against both 24.10.6 (opkg) and 25.12.2 (apk-tools). Fixes the
opkg_install_cmd / apk-tools install failures across both formats.

Made-with: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant