mirror of
				https://git.launchpad.net/livecd-rootfs
				synced 2025-11-04 10:54:07 +00:00 
			
		
		
		
	Imported using git-ubuntu import.
Changelog parent: 662c167d12eeb3e43a0dd4b78ccd5de493583a53
New changelog entries:
  * Substitute DEB_HOST_MULTIARCH into hook scripts at build time, rather
    than relying on dpkg-architecture (which is in dpkg-dev) to be present
    in the image.
		
	
			
		
			
				
	
	
		
			13 lines
		
	
	
		
			303 B
		
	
	
	
		
			Makefile
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			303 B
		
	
	
	
		
			Makefile
		
	
	
		
			Executable File
		
	
	
	
	
#! /usr/bin/make -f
 | 
						|
%:
 | 
						|
	dh $@
 | 
						|
 | 
						|
DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 | 
						|
 | 
						|
override_dh_install:
 | 
						|
	dh_install
 | 
						|
	find debian/livecd-rootfs -type f -print0 | \
 | 
						|
		xargs -0r grep -lZ '@DEB_HOST_MULTIARCH@' | \
 | 
						|
		xargs -0r \
 | 
						|
			sed -i 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/g'
 |