mirror of
				https://git.proxmox.com/git/qemu-server
				synced 2025-11-04 09:40:34 +00:00 
			
		
		
		
	Moves the network scripts from /var/lib/qemu-server into /usr/libexec/qemu-server. /usr/libexec is described as binaries run by programs which are not intended to be directly executed by the user on [FHS 4.7]. On the other hand /var/lib corresponds to variable state information, which does not fit the use case here, see [FHS 5.8]. For the sake of preventing race conditions during upgrade we ship both versions until version 9. This is required as package files are first unpacked, including the removal of files not shipped by the new version anymore, and only then configured, which triggers the restart of the services. [FHS 4.7]: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s07.html [FHS 5.8]: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s08.html Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com> Link: https://lore.proxmox.com/20250218133206.318155-1-m.sandoval@proxmox.com
		
			
				
	
	
		
			19 lines
		
	
	
		
			627 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			627 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
DESTDIR=
 | 
						|
LIBEXECDIR=$(DESTDIR)/usr/libexec/qemu-server
 | 
						|
# Remove with version 9
 | 
						|
VARLIBDIR=$(DESTDIR)/var/lib/qemu-server
 | 
						|
 | 
						|
.PHONY: install
 | 
						|
install: pve-bridge pve-bridge-hotplug pve-bridgedown
 | 
						|
	install -d ${LIBEXECDIR}
 | 
						|
	install -m 0755 pve-bridge ${LIBEXECDIR}/pve-bridge
 | 
						|
	install -m 0755 pve-bridge-hotplug ${LIBEXECDIR}/pve-bridge-hotplug
 | 
						|
	install -m 0755 pve-bridgedown ${LIBEXECDIR}/pve-bridgedown
 | 
						|
	install -d ${VARLIBDIR}
 | 
						|
	install -m 0755 pve-bridge ${VARLIBDIR}/pve-bridge
 | 
						|
	install -m 0755 pve-bridge-hotplug ${VARLIBDIR}/pve-bridge-hotplug
 | 
						|
	install -m 0755 pve-bridgedown ${VARLIBDIR}/pve-bridgedown
 | 
						|
 | 
						|
.PHONY: clean
 | 
						|
clean:
 |