Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flatcar-postinst: Make use of ue-rs download_sysext binary #34

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

pothos
Copy link
Member

@pothos pothos commented Jan 3, 2024

The ue-rs download_sysext binary can now do what was done in bash with curl plus decode_payload before.
Switch to make use of the binary.

How to use

Needs flatcar/ue-rs#47
Partly addresses flatcar/Flatcar#1028

Testing done

see scripts PR flatcar/scripts#1541

pothos added a commit to flatcar/scripts that referenced this pull request Jan 3, 2024
This pulls in
flatcar/update_engine#34 to switch from bash
with curl and decode_payload to the ue-rs download_sysext binary.
pothos added a commit to flatcar/scripts that referenced this pull request Jan 4, 2024
This pulls in
flatcar/update_engine#34 to switch from bash
with curl and decode_payload to the ue-rs download_sysext binary.
pothos added a commit to flatcar/scripts that referenced this pull request Jan 4, 2024
This pulls in
flatcar/update_engine#34 to switch from bash
with curl and decode_payload to the ue-rs download_sysext binary.
pothos added a commit to flatcar/scripts that referenced this pull request Jan 4, 2024
This pulls in
flatcar/update_engine#34 to switch from bash
with curl and decode_payload to the ue-rs download_sysext binary.
@pothos pothos requested a review from a team January 4, 2024 20:30
pothos added a commit to flatcar/scripts that referenced this pull request Jan 5, 2024
This pulls in
flatcar/update_engine#34 to switch from bash
with curl and decode_payload to the ue-rs download_sysext binary.
pothos added a commit to flatcar/scripts that referenced this pull request Jan 5, 2024
This pulls in
flatcar/update_engine#34 to switch from bash
with curl and decode_payload to the ue-rs download_sysext binary.
flatcar-postinst Outdated Show resolved Hide resolved
flatcar-postinst Outdated Show resolved Hide resolved
@pothos pothos requested a review from krnowak January 5, 2024 14:13
pothos added a commit to flatcar/scripts that referenced this pull request Jan 5, 2024
This pulls in
flatcar/update_engine#34 to switch from bash
with curl and decode_payload to the ue-rs download_sysext binary.
@pothos
Copy link
Member Author

pothos commented Jan 5, 2024

I still see a test failure in http://jenkins.infra.kinvolk.io:8080/job/container/job/test/18231/console when updating from the old LTS, will check.

@pothos
Copy link
Member Author

pothos commented Jan 5, 2024

I still see a test failure in http://jenkins.infra.kinvolk.io:8080/job/container/job/test/18231/console when updating from the old LTS, will check.

Oh, /tmp/au_postint_mount.Jofyyj/bin/download_sysext: symbol lookup error: /tmp/au_postint_mount.Jofyyj/lib64/libc.so.6: undefined symbol: _dl_audit_symbind_alt, version GLIBC_PRIVATE - this is even with LD_LIBRARY_PATH. Maybe we need a full chroot.

The ue-rs download_sysext binary can now do what was done in bash with
curl plus decode_payload before.
Switch to make use of the binary.
pothos added a commit to flatcar/scripts that referenced this pull request Jan 5, 2024
This pulls in
flatcar/update_engine#34 to switch from bash
with curl and decode_payload to the ue-rs download_sysext binary.
@pothos
Copy link
Member Author

pothos commented Jan 5, 2024

Oh, /tmp/au_postint_mount.Jofyyj/bin/download_sysext: symbol lookup error: /tmp/au_postint_mount.Jofyyj/lib64/libc.so.6: undefined symbol: _dl_audit_symbind_alt, version GLIBC_PRIVATE - this is even with LD_LIBRARY_PATH.

Switched to invoking the new loader.

@pothos
Copy link
Member Author

pothos commented Jan 5, 2024

Seems to work: I've updated from the first dual-arch Stable release and the extraction worked.
Jenkins and GitHub Action tests also passed.

@pothos pothos merged commit 43bb354 into flatcar-master Jan 5, 2024
1 check passed
@pothos pothos deleted the kai/use-ue-rs branch January 5, 2024 19:26
pothos added a commit to flatcar/scripts that referenced this pull request Jan 5, 2024
This pulls in
flatcar/update_engine#34 to switch from bash
with curl and decode_payload to the ue-rs download_sysext binary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants