mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-12 15:36:58 +02:00
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:
commit
e9197a75da
11
.github/workflows/kernel-apply-patch.sh
vendored
11
.github/workflows/kernel-apply-patch.sh
vendored
@ -25,6 +25,11 @@ if [[ "${VERSION_NEW}" = "${VERSION_OLD}" ]]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
extra_pkgs=(
|
||||||
|
sys-kernel/coreos-modules
|
||||||
|
sys-kernel/coreos-kernel
|
||||||
|
)
|
||||||
|
|
||||||
for pkg in sources modules kernel; do
|
for pkg in sources modules kernel; do
|
||||||
pushd "sys-kernel/coreos-${pkg}"
|
pushd "sys-kernel/coreos-${pkg}"
|
||||||
git mv "coreos-${pkg}"-*.ebuild "coreos-${pkg}-${VERSION_NEW}.ebuild"
|
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 '{}' \;
|
find -D exec app-emulation/hv-daemons/ -type l -exec rm '{}' \;
|
||||||
ln --relative -s app-emulation/hv-daemons/hv-daemons-9999.ebuild \
|
ln --relative -s app-emulation/hv-daemons/hv-daemons-9999.ebuild \
|
||||||
app-emulation/hv-daemons/hv-daemons-${VERSION_NEW}.ebuild
|
app-emulation/hv-daemons/hv-daemons-${VERSION_NEW}.ebuild
|
||||||
|
extra_pkgs+=( app-emulation/hv-daemons )
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Leave ebuild repo section of SDK
|
# 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[@]}"
|
generate_update_changelog 'Linux' "${VERSION_NEW}" "${URL}" 'linux' "${OLD_VERSIONS_AND_URLS[@]}"
|
||||||
|
|
||||||
commit_changes sys-kernel/coreos-sources "${VERSION_OLD}" "${VERSION_NEW}" \
|
commit_changes sys-kernel/coreos-sources "${VERSION_OLD}" "${VERSION_NEW}" "${extra_pkgs[@]}"
|
||||||
sys-kernel/coreos-modules \
|
|
||||||
sys-kernel/coreos-kernel \
|
|
||||||
app-emulation/hv-daemons
|
|
||||||
|
|
||||||
cleanup_repo
|
cleanup_repo
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user