]> git.proxmox.com Git - pve-installer.git/commitdiff
split out assistant CLI tool into own debian package
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 18 Apr 2024 18:54:37 +0000 (20:54 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 Apr 2024 12:31:37 +0000 (14:31 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile
debian/control
debian/install
debian/proxmox-auto-install-assistant.install [new file with mode: 0644]

index d07e166b62791259243e2261a1ff7e2d7ccd16e9..e96a0f2166e46405d38033c7ce3086892c337155 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@ PACKAGE = proxmox-installer
 BUILDDIR ?= $(PACKAGE)-$(DEB_VERSION_UPSTREAM)
 
 DEB=$(PACKAGE)_$(DEB_VERSION)_$(DEB_HOST_ARCH).deb
+ASSISTANT_DEB=proxmox-auto-install-assistant_$(DEB_VERSION)_$(DEB_HOST_ARCH).deb
 DSC=$(PACKAGE)_$(DEB_VERSION).dsc
 
 CARGO ?= cargo
@@ -69,6 +70,7 @@ country.dat: country.pl
        mv country.dat.tmp country.dat
 
 deb: $(DEB)
+$(ASSISTANT_DEB): $(DEB)
 $(DEB): $(BUILDDIR)
        cd $(BUILDDIR); dpkg-buildpackage -b -us -uc
        lintian $(DEB)
@@ -137,8 +139,8 @@ cargo-build:
 
 .PHONY: upload
 upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
-upload: $(DEB)
-       tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist $(UPLOAD_DIST)
+upload: $(DEB) $(ASSISTANT_DEB)
+       tar cf - $(DEB) $(ASSISTANT_DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist $(UPLOAD_DIST)
 
 %.img:
        truncate -s 2G $@
index 2c449eb119265bf5980ffb12646a8fdc4a56ba0c..23e9193345869cea60d1f3a5cd5f4ca4ef433328 100644 (file)
@@ -51,3 +51,12 @@ Description: Installer for Proxmox Projects
   * Proxmox VE.
   * Proxmox Mail Gateway.
   * Proxmox Backup Server
+
+Package: proxmox-auto-install-assistant
+Architecture: any
+Depends: ${misc:Depends},
+         ${shlibs:Depends},
+Description: Assistant to help with automated installations
+ Provides a helper that can assist with creating an answer file for a automated
+ installation of a Proxmox project, and preparing a official ISO image to use
+ this answer file.
index b0e29528a50225f1a2a70cc7837f7197acc06c86..bb91da763ba4cef7ad86efe698333ffe992d0aaf 100644 (file)
@@ -1,4 +1,18 @@
+.Xdefaults
+.spice-vdagent.sh
+.xinitrc
 banner/pbs-banner.png /var/lib/proxmox-installer
 banner/pmg-banner.png /var/lib/proxmox-installer
 banner/pve-banner.png /var/lib/proxmox-installer
+etc
 html /var/lib/proxmox-installer/
+sbin
+usr/share
+usr/bin/checktime
+usr/bin/proxinstall
+usr/bin/proxmox-auto-installer
+usr/bin/proxmox-chroot
+usr/bin/proxmox-fetch-answer
+usr/bin/proxmox-low-level-installer
+usr/bin/proxmox-tui-installer
+var
diff --git a/debian/proxmox-auto-install-assistant.install b/debian/proxmox-auto-install-assistant.install
new file mode 100644 (file)
index 0000000..74aa2a9
--- /dev/null
@@ -0,0 +1 @@
+usr/bin/proxmox-auto-install-assistant