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

.github: Handle missing app-emulation/hv-daemons
This commit is contained in:
Krzesimir Nowak 2024-09-16 16:37:42 +02:00 committed by GitHub
commit af3b2d1323
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,10 +32,12 @@ for pkg in sources modules kernel; do
popd
done
# Update hyperv daemons ebuild soft-link to reflect new kernel version
find -D exec app-emulation/hv-daemons/ -type l -exec rm '{}' \;
ln -s app-emulation/hv-daemons/hv-daemons-9999.ebuild \
app-emulation/hv-daemons/hv-daemons-${VERSION_NEW}.ebuild
if [[ -d app-emulation/hv-daemons ]]; then
# Update hyperv daemons ebuild soft-link to reflect new kernel version
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
fi
# Leave ebuild repo section of SDK
popd