mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-27 00:21:44 +02:00
Merge pull request #919 from flatcar/kai/sign-test-oem-sysext
Upload dev-key-signed OEM sysext update payload
This commit is contained in:
commit
b56a49a2af
@ -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