buildsys: derive upload dist automatically
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
		
							parent
							
								
									9374c29828
								
							
						
					
					
						commit
						6d345395f3
					
				
							
								
								
									
										5
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								Makefile
									
									
									
									
									
								
							| @ -1,3 +1,5 @@ | |||||||
|  | include /usr/share/dpkg/pkg-info.mk | ||||||
|  | 
 | ||||||
| # also bump pve-kernel-meta if either of MAJ.MIN, PATCHLEVEL or KREL change
 | # also bump pve-kernel-meta if either of MAJ.MIN, PATCHLEVEL or KREL change
 | ||||||
| KERNEL_MAJ=6 | KERNEL_MAJ=6 | ||||||
| KERNEL_MIN=2 | KERNEL_MIN=2 | ||||||
| @ -116,8 +118,9 @@ $(ZFSDIR).prepared: $(ZFSONLINUX_SUBMODULE) | |||||||
| 	touch $(ZFSDIR).prepared | 	touch $(ZFSDIR).prepared | ||||||
| 
 | 
 | ||||||
| .PHONY: upload | .PHONY: upload | ||||||
|  | upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) | ||||||
| upload: $(DEBS) | upload: $(DEBS) | ||||||
| 	tar cf - $(DEBS)|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist bullseye --arch $(ARCH) | 	tar cf - $(DEBS)|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist $(UPLOAD_DIST) --arch $(ARCH) | ||||||
| 
 | 
 | ||||||
| .PHONY: distclean | .PHONY: distclean | ||||||
| distclean: clean | distclean: clean | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Thomas Lamprecht
						Thomas Lamprecht