mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-01 18:42:22 +02:00
.github: Simplify vmware package updates
Create just one commit that updates both open-vm-tools and coreos-base/oem-vmware.
This commit is contained in:
parent
d4f30c7274
commit
4e58c5a422
@ -31,23 +31,13 @@ git mv "${EBUILD_FILENAME_OVT}" "app-emulation/open-vm-tools/open-vm-tools-${VER
|
||||
# We need to also replace the old build number with the new build number in the ebuild.
|
||||
sed -i -e "s/^\(MY_P=.*-\)[0-9]*\"$/\1${BUILD_NUMBER}\"/" app-emulation/open-vm-tools/open-vm-tools-${VERSION_NEW}.ebuild
|
||||
|
||||
popd >/dev/null || exit
|
||||
|
||||
generate_patches app-emulation open-vm-tools open-vm-tools
|
||||
|
||||
apply_patches
|
||||
|
||||
|
||||
# Update coreos-base/oem-vmware
|
||||
|
||||
pushd "${SDK_OUTER_SRCDIR}/third_party/coreos-overlay" >/dev/null || exit
|
||||
|
||||
# Also update coreos-base/oem-vmware
|
||||
EBUILD_FILENAME_OEM=$(get_ebuild_filename "coreos-base" "oem-vmware" "${VERSION_OLD}")
|
||||
git mv "${EBUILD_FILENAME_OEM}" "coreos-base/oem-vmware/oem-vmware-${VERSION_NEW}.ebuild"
|
||||
|
||||
popd >/dev/null || exit
|
||||
|
||||
generate_patches coreos-base oem-vmware oem-vmware
|
||||
generate_patches app-emulation open-vm-tools open-vm-tools coreos-base/oem-vmware
|
||||
|
||||
apply_patches
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user