mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 06:01:41 +02:00
Upload dev-key-signed OEM sysext update payload
For release tests and updating a machine to a dev build we already have the dev-key-signed generic update payload but not yet the OEM sysext update payload. Generate the dev-key-signed OEM sysext update payload during build and upload it.
This commit is contained in:
parent
374697ac30
commit
af4daf3516
@ -579,6 +579,11 @@ install_oem_sysext() {
|
|||||||
for to_move in "${built_sysext_dir}/${oem_sysext}"*; do
|
for to_move in "${built_sysext_dir}/${oem_sysext}"*; do
|
||||||
mv "${to_move}" "${upload_dir}/${to_move##*/}"
|
mv "${to_move}" "${upload_dir}/${to_move##*/}"
|
||||||
done
|
done
|
||||||
|
# Generate dev-key-signed update payload for testing
|
||||||
|
delta_generator \
|
||||||
|
-private_key "/usr/share/update_engine/update-payload-key.key.pem" \
|
||||||
|
-new_image "${upload_dir}/${built_sysext_filename}" \
|
||||||
|
-out_file "${upload_dir}/flatcar_test_update-${oem_sysext}.gz"
|
||||||
# Remove sysext_dir if building sysext and installing it
|
# Remove sysext_dir if building sysext and installing it
|
||||||
# succeeded.
|
# succeeded.
|
||||||
rm -rf "${built_sysext_dir}"
|
rm -rf "${built_sysext_dir}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user