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 64 bit and lite builds #65

Merged
merged 44 commits into from
Dec 2, 2022
Merged

Conversation

m-roberts
Copy link
Contributor

@m-roberts m-roberts commented Nov 9, 2022

This PR adds 64-bit OS build support, in addition to adding support for building a "pi-topOS Lite" version.

Notes

All packages that required packaging changes will need to be released and promoted through the production repos for non-experimental builds to work properly.

pi-topOS Lite/64-bit Changes

  • Installs qemu-user-static >v5 to allow arm64 chroot
  • OS artifacts now include their build type (so that each one has a unique name in the matrix strategy - otherwise they all are added into 1 zip)
  • Generalise QEMU steps (e.g. use qemu-*-static instead of qemu-arm-static)
  • Separate out desktop patches from system patches
  • Add conditional checks for steps that only run on particular OS configurations
  • OS builds will now remove non-release apt sources by default
    • i.e. only able to update from 'release pi-topOS' repo after build
    • e.g. further experimental packages aren't installed during user upgrades
    • makes it so that early builds mimic final build behaviour, and it is easy for a developer to re-add the source for more updates

Other changes

  • Fix GitHub artifact uploading to prevent "zip in a zip"
  • Standardise build pipelines and share environment via dotenv file

Suggested improvements for pi-topOS Lite

Pending Features

Size improvements

@m-roberts m-roberts changed the title Add 64 bit builds Add 64 bit and lite builds Nov 10, 2022
@m-roberts
Copy link
Contributor Author

@jcapona keep_preview_source is still lurking around

.github/workflows/pt-os.yml Outdated Show resolved Hide resolved
.github/workflows/pt-os.yml Outdated Show resolved Hide resolved
@jcapona jcapona marked this pull request as ready for review December 2, 2022 19:59
@jcapona jcapona merged commit 8149fda into pi-top:master Dec 2, 2022
@jcapona
Copy link
Contributor

jcapona commented Dec 2, 2022

thanks @m-roberts! 🙌🏼

@m-roberts m-roberts deleted the add-64-bit-builds branch December 6, 2022 21:57
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

Successfully merging this pull request may close these issues.

2 participants