add PKG_MIRROR_HASH#4
Open
francoriba wants to merge 3 commits into
Open
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)