mirror of
				https://git.proxmox.com/git/proxmox-backup
				synced 2025-11-02 15:18:42 +00:00 
			
		
		
		
	d/control: set R-R-R to run binary d/rules targets as root
the build still requires root to make helper binaries setuid Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
		
							parent
							
								
									90ff75f85c
								
							
						
					
					
						commit
						c7024b282a
					
				
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@ -92,6 +92,8 @@ build:
 | 
			
		||||
	sed -e '1,/^$$/ ! d' build/debian/control > build/debian/control.src
 | 
			
		||||
	cat build/debian/control.src build/debian/control.in > build/debian/control
 | 
			
		||||
	rm build/debian/control.in build/debian/control.src
 | 
			
		||||
	# not yet settable via debcargo.toml, required for setuid binaries in `make install`
 | 
			
		||||
	sed -i -e 's/^Rules-Requires-Root: no/Rules-Requires-Root: binary-targets/g' build/debian/control
 | 
			
		||||
	cp build/debian/control debian/control
 | 
			
		||||
	rm build/Cargo.lock
 | 
			
		||||
	find build/debian -name "*.hint" -delete
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										7
									
								
								debian/control
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								debian/control
									
									
									
									
										vendored
									
									
								
							@ -1,8 +1,8 @@
 | 
			
		||||
Source: rust-proxmox-backup
 | 
			
		||||
Section: admin
 | 
			
		||||
Priority: optional
 | 
			
		||||
Build-Depends: debhelper (>= 11),
 | 
			
		||||
 dh-cargo (>= 18),
 | 
			
		||||
Build-Depends: debhelper (>= 12),
 | 
			
		||||
 dh-cargo (>= 24),
 | 
			
		||||
 cargo:native,
 | 
			
		||||
 rustc:native,
 | 
			
		||||
 libstd-rust-dev,
 | 
			
		||||
@ -106,10 +106,11 @@ Build-Depends: debhelper (>= 11),
 | 
			
		||||
 texlive-xetex <!nodoc>,
 | 
			
		||||
 xindy <!nodoc>
 | 
			
		||||
Maintainer: Proxmox Support Team <support@proxmox.com>
 | 
			
		||||
Standards-Version: 4.4.1
 | 
			
		||||
Standards-Version: 4.5.1
 | 
			
		||||
Vcs-Git: git://git.proxmox.com/git/proxmox-backup.git
 | 
			
		||||
Vcs-Browser: https://git.proxmox.com/?p=proxmox-backup.git;a=summary
 | 
			
		||||
Homepage: https://www.proxmox.com
 | 
			
		||||
Rules-Requires-Root: binary-targets
 | 
			
		||||
 | 
			
		||||
Package: proxmox-backup-server
 | 
			
		||||
Architecture: any
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user