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

Add branch/version with packages from Fedora #1

Closed
umarcor opened this issue Jul 11, 2019 · 0 comments
Closed

Add branch/version with packages from Fedora #1

umarcor opened this issue Jul 11, 2019 · 0 comments

Comments

@umarcor
Copy link
Member

umarcor commented Jul 11, 2019

Fedora packages are updated faster than Debian packages, but the list of supported architectures is shorter (arm32v6 is missing): https://kojipkgs.fedoraproject.org/packages/qemu/4.0.0/5.fc31/x86_64/

It would be interesting to publish images with Fedora binaries too. In order to do this, several changes are required:

  • Introduce image versioning. Currently all the images/manifests are 'rolling'.
  • Adapt run.sh to support two source URL and filename formats.

Extract binaries from Fedora packages:

sudo apt-get install rpm2cpio cpio

curl -fsSL "$PACKAGE_URI" | rpm2cpio - | cpio -dimv "*usr/bin*qemu-*-static"
mv ./usr/bin/* ./
rm -rf ./usr/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant