mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-29 15:24:32 +00:00
new make upload target
This commit is contained in:
parent
dae9b620be
commit
0622ddfbbe
8
Makefile
8
Makefile
@ -109,13 +109,7 @@ deb ${DEB}: ${PKGSOURCES}
|
|||||||
|
|
||||||
.PHONY: upload
|
.PHONY: upload
|
||||||
upload: ${DEB}
|
upload: ${DEB}
|
||||||
umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw
|
tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload
|
||||||
mkdir -p /pve/${RELEASE}/extra
|
|
||||||
rm -rf /pve/${RELEASE}/extra/${PACKAGE}_*.deb
|
|
||||||
rm -rf /pve/${RELEASE}/extra/Packages*
|
|
||||||
cp ${DEB} /pve/${RELEASE}/extra
|
|
||||||
cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz
|
|
||||||
umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro
|
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user