mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
.github: Handle missing app-emulation/hv-daemons
LTS channel has no such package, so the action for finding the kernel update was failing. Fix it by updating the package only if it exists.
This commit is contained in:
parent
e46b859e0e
commit
90388548d1
10
.github/workflows/kernel-apply-patch.sh
vendored
10
.github/workflows/kernel-apply-patch.sh
vendored
@ -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 -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user