[PATCH pve-manager v2] d/control: change binary package architecture from `any` to `all`

Jing Luo jing at jing.rocks
Fri Sep 13 12:55:54 CEST 2024


There is no architecture dependent binary files in the final deb
package. There is no shared libs either (says debhelper), so let's remove
that too.

Signed-off-by: Jing Luo <jing at jing.rocks>
Reviewed-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
Changes since v1:
Change the $(DEB) in Makefile too, forgot to add it in v1 somehow.
https://lists.proxmox.com/pipermail/pve-devel/2024-September/065362.html
---
 Makefile       | 2 +-
 debian/control | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 337682b3..fbd75f51 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ export VERSION = $(DEB_VERSION_UPSTREAM_REVISION)
 BUILDDIR = $(PACKAGE)-$(DEB_VERSION_UPSTREAM)
 
 DSC=$(PACKAGE)_$(DEB_VERSION).dsc
-DEB=$(PACKAGE)_$(DEB_VERSION)_$(DEB_HOST_ARCH).deb
+DEB=$(PACKAGE)_$(DEB_VERSION)_all.deb
 
 DESTDIR=
 SUBDIRS = aplinfo PVE bin www services configs network-hooks test templates
diff --git a/debian/control b/debian/control
index d844cc15..a3cb632f 100644
--- a/debian/control
+++ b/debian/control
@@ -34,7 +34,7 @@ Maintainer: Proxmox Support Team <support at proxmox.com>
 Package: pve-manager
 Section: admin
 Priority: optional
-Architecture: any
+Architecture: all
 Depends: apt (>= 1.5~),
          ca-certificates,
          cstream,
@@ -97,7 +97,6 @@ Depends: apt (>= 1.5~),
          zstd,
          ${misc:Depends},
          ${perl:Depends},
-         ${shlibs:Depends},
 Recommends: libpve-network-perl (>= 0.9~),
             proxmox-firewall,
             proxmox-offline-mirror-helper,
-- 
2.46.0





More information about the pve-devel mailing list