target: remove core feed on unsupported target

This commit is contained in:
jjm2473 2022-12-14 14:19:20 +08:00
parent b088e4f80e
commit 6c0a7f4ee2
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ HOST_SED="$(subst ${STAGING_DIR_HOST},$${STAGING_DIR_HOST},$(SED))"
HOST_LN="$(subst ${STAGING_DIR_HOST},$${STAGING_DIR_HOST},$(LN))"
[ -n "$${IPKG_INSTROOT}" ] && {
$${HOST_SED} '/^src\/gz openwrt_core /d' "$${IPKG_INSTROOT}/etc/opkg/distfeeds.conf"
$${HOST_SED} '/targets\/realtek\/rtd129x/d' "$${IPKG_INSTROOT}/etc/opkg/distfeeds.conf"
}
true

View File

@ -6,7 +6,7 @@ HOST_SED="$(subst ${STAGING_DIR_HOST},$${STAGING_DIR_HOST},$(SED))"
HOST_LN="$(subst ${STAGING_DIR_HOST},$${STAGING_DIR_HOST},$(LN))"
[ -n "$${IPKG_INSTROOT}" ] && {
$${HOST_SED} '/^src\/gz openwrt_core /d' "$${IPKG_INSTROOT}/etc/opkg/distfeeds.conf"
$${HOST_SED} '/targets\/rockchip\/rk3568/d' "$${IPKG_INSTROOT}/etc/opkg/distfeeds.conf"
}
true