-PKGVER=5.0
-PKGREL=24
+include /usr/share/dpkg/pkg-info.mk
-PVE_DEB=pve-installer_${PKGVER}-${PKGREL}_all.deb
-PMG_DEB=pmg-installer_${PKGVER}-${PKGREL}_all.deb
+PVE_DEB=pve-installer_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
+PMG_DEB=pmg-installer_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
DEBS = ${PVE_DEB} ${PMG_DEB}
install: ${INSTALLER_SOURCES} ${HTML_COMMON_SOURCES} ${HTML_SOURCES}
make -C html-common install
install -D -m 644 interfaces ${DESTDIR}/etc/network/interfaces
- mkdir -p ${DESTDIR}/var/lib/dhcp3/
- ln -s /tmp/resolv.conf.dhclient-new ${DESTDIR}/etc/resolv.conf
- ln -s /tmp/resolv.conf.dhclient-new ${DESTDIR}/etc/resolv.conf.dhclient-new
install -D -m 755 fake-start-stop-daemon ${DESTDIR}/var/lib/pve-installer/fake-start-stop-daemon
install -D -m 755 policy-disable-rc.d ${DESTDIR}/var/lib/pve-installer/policy-disable-rc.d
install -D -m 644 country.dat ${DESTDIR}/var/lib/pve-installer/country.dat
.phony: upload-pve
upload-pve: ${PVE_DEB}
- tar cf - ${PVE_DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist stretch
+ tar cf - ${PVE_DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist buster
%.img:
truncate -s 2G $@