wofferl / proxmox-backup-arm64

Script for building Proxmox Backup Server 3.x (Bookworm) for Armbian64
161 stars 12 forks source link

[RFC] download arch-independent packages from proxmox #21

Closed MAFLO321 closed 1 year ago

MAFLO321 commented 1 year ago

Why?

Because of the idea to reduce build dependencies that @wofferl posted in https://github.com/wofferl/proxmox-backup-arm64/issues/20#issuecomment-1333461613, I thought about how we can improve dependency hell a bit more.

What?

We could download all architecture-independent packages directly from the Proxmox repo server ([1], [2]) instead of building them manually.

Packages that are architecture independent:

Remaining packages that still need to be built:

How?

  1. use curl to download the packages to a temporary directory.
  2. install packages that are needed as build dependencies (proxmox-widget-toolkit-dev).
  3. copy the packages needed for installation on a target machine to the packages directory.

Next steps

If this RFC is accepted, I would implement a PoC and create a PR in the next few days.

wofferl commented 1 year ago

Sure, good idea.