linux: move wireless-regdb to virtual/network

This commit is contained in:
spycat88 2024-04-03 20:23:04 +01:00
parent 340f0c9784
commit 02a9a1b3ec
2 changed files with 2 additions and 14 deletions

View file

@ -6,7 +6,7 @@ PKG_NAME="linux"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kernel.org"
PKG_DEPENDS_HOST="ccache:host rsync:host openssl:host"
PKG_DEPENDS_TARGET="toolchain linux:host kmod:host cpio:host xz:host keyutils ncurses openssl:host wireless-regdb ${KERNEL_EXTRA_DEPENDS_TARGET}"
PKG_DEPENDS_TARGET="toolchain linux:host kmod:host cpio:host xz:host keyutils ncurses openssl:host ${KERNEL_EXTRA_DEPENDS_TARGET}"
PKG_NEED_UNPACK="${LINUX_DEPENDS} $(get_pkg_directory initramfs) $(get_pkg_variable initramfs PKG_NEED_UNPACK)"
PKG_LONGDESC="This package contains a precompiled kernel image and the modules."
PKG_IS_KERNEL_PKG="yes"
@ -313,15 +313,3 @@ makeinstall_target() {
fi
makeinstall_host
}
post_install() {
if [ ! -d ${INSTALL}/$(get_full_firmware_dir) ]
then
mkdir -p ${INSTALL}/$(get_full_firmware_dir)/
fi
# regdb and signature is now loaded as firmware by 4.15+
if grep -q ^CONFIG_CFG80211_REQUIRE_SIGNED_REGDB= ${PKG_BUILD}/.config; then
cp $(get_build_dir wireless-regdb)/regulatory.db{,.p7s} ${INSTALL}/$(get_full_firmware_dir)
fi
}

View file

@ -7,7 +7,7 @@ PKG_VERSION=""
PKG_LICENSE="various"
PKG_SITE="https://libreelec.tv"
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain connman rfkill hostapd netbase ethtool openssh iw rsync tailscale avahi miniupnpc nss-mdns bluetool speedtest-cli"
PKG_DEPENDS_TARGET="toolchain connman rfkill hostapd netbase ethtool openssh iw wireless-regdb rsync tailscale avahi miniupnpc nss-mdns bluetool speedtest-cli"
PKG_SECTION="virtual"
PKG_LONGDESC="Metapackage for various packages to install network support"