Merge pull request #2326 from flatcar/krnowak/gh-action-linux-lts

.github: Follow-up fix for missing app-emulation/hv-daemons
This commit is contained in:
Krzesimir Nowak 2024-09-16 16:58:43 +02:00 committed by GitHub
commit e9197a75da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,6 +25,11 @@ if [[ "${VERSION_NEW}" = "${VERSION_OLD}" ]]; then
exit 0
fi
extra_pkgs=(
sys-kernel/coreos-modules
sys-kernel/coreos-kernel
)
for pkg in sources modules kernel; do
pushd "sys-kernel/coreos-${pkg}"
git mv "coreos-${pkg}"-*.ebuild "coreos-${pkg}-${VERSION_NEW}.ebuild"
@ -37,6 +42,7 @@ if [[ -d app-emulation/hv-daemons ]]; then
find -D exec app-emulation/hv-daemons/ -type l -exec rm '{}' \;
ln --relative -s app-emulation/hv-daemons/hv-daemons-9999.ebuild \
app-emulation/hv-daemons/hv-daemons-${VERSION_NEW}.ebuild
extra_pkgs+=( app-emulation/hv-daemons )
fi
# Leave ebuild repo section of SDK
@ -79,10 +85,7 @@ URL=$(get_lwn_link "${VERSION_NEW}")
generate_update_changelog 'Linux' "${VERSION_NEW}" "${URL}" 'linux' "${OLD_VERSIONS_AND_URLS[@]}"
commit_changes sys-kernel/coreos-sources "${VERSION_OLD}" "${VERSION_NEW}" \
sys-kernel/coreos-modules \
sys-kernel/coreos-kernel \
app-emulation/hv-daemons
commit_changes sys-kernel/coreos-sources "${VERSION_OLD}" "${VERSION_NEW}" "${extra_pkgs[@]}"
cleanup_repo