fix pxcloud mirrors

This commit is contained in:
jiangcuo 2024-12-24 18:37:58 +08:00
parent be0112ae79
commit 30c005c6f3
5 changed files with 43 additions and 3 deletions

View File

@ -0,0 +1,42 @@
diff --git a/configs/Makefile b/configs/Makefile
index fa586e28..d72a466b 100644
--- a/configs/Makefile
+++ b/configs/Makefile
@@ -6,9 +6,9 @@ country.dat: country.pl
./country.pl > country.dat
.PHONY: install
-install: country.dat vzdump.conf pve-sources.list pve-initramfs.conf pve-blacklist.conf pve.logrotate
+install: country.dat vzdump.conf pveport.list pve-initramfs.conf pve-blacklist.conf pve.logrotate
install -D -m 0644 pve.logrotate $(DESTDIR)/etc/logrotate.d/pve
- install -D -m 0644 pve-sources.list $(DESTDIR)/etc/apt/sources.list.d/pve-enterprise.list
+ install -D -m 0644 pveport.list $(DESTDIR)/etc/apt/sources.list.d/pveport.list
install -D -m 0644 pve-blacklist.conf $(DESTDIR)/etc/modprobe.d/pve-blacklist.conf
install -D -m 0644 vzdump.conf $(DESTDIR)/etc/vzdump.conf
install -D -m 0644 pve-initramfs.conf $(DESTDIR)/etc/initramfs-tools/conf.d/pve-initramfs.conf
diff --git a/configs/pve-sources.list b/configs/pve-sources.list
deleted file mode 100644
index 010385a9..00000000
--- a/configs/pve-sources.list
+++ /dev/null
@@ -1 +0,0 @@
-deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
diff --git a/configs/pveport.list b/configs/pveport.list
new file mode 100644
index 00000000..635f88c7
--- /dev/null
+++ b/configs/pveport.list
@@ -0,0 +1 @@
+deb https://mirrors.lierfang.com/pxcloud/pve bookworm main
\ No newline at end of file
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
index fb9cc49d..f9731f49 100644
--- a/debian/lintian-overrides
+++ b/debian/lintian-overrides
@@ -3,5 +3,5 @@ pve-manager: no-manual-page [usr/bin/pvebanner]
pve-manager: no-manual-page [usr/bin/pveupdate]
pve-manager: non-standard-dir-perm 0700 != 0755 [var/log/pveproxy/]
pve-manager: systemd-service-file-refers-to-unusual-wantedby-target getty.target [lib/systemd/system/pvebanner.service]
-pve-manager: package-installs-apt-sources [etc/apt/sources.list.d/pve-enterprise.list]
+pve-manager: package-installs-apt-sources [etc/apt/sources.list.d/pveport.list]
pve-manager: privacy-breach-generic usr/share/pve-manager/touch/sencha-touch-all-debug.js *

View File

@ -9,3 +9,4 @@ patches/changelog/004-add-changelog-8.3.1+port1.patch
patches/010-set-architecture-to-any.patch
patches/pxcloud/001-add-pxcloud-support.patch
patches/pxcloud/002-add-pxcloud-maintainer.patch
patches/pxcloud/003-set-pxcloud-mirror.patch

View File

@ -1 +0,0 @@
patches/003-add-pveport-source.patch

View File

@ -1 +0,0 @@
patches/other/003-add-pveport-source-looon64-riscv64.patch

View File

@ -1 +0,0 @@
patches/other/003-add-pveport-source-looon64-riscv64.patch