You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			37 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Bash
		
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Bash
		
	
#!/bin/sh
 | 
						|
 | 
						|
# Various comments
 | 
						|
# live-build doesn't work if --parent-debian-distribution is unknown of
 | 
						|
# debian-cd => we have to put a symlink so that it deals with kali like wheezy
 | 
						|
 | 
						|
if [ ! -e /usr/share/live/build/data/debian-cd/kali ]; then
 | 
						|
       echo "ERROR: Run this first"
 | 
						|
       echo "ln -sf wheezy /usr/share/live/build/data/debian-cd/kali"
 | 
						|
       exit 1
 | 
						|
fi
 | 
						|
 | 
						|
lb config noauto \
 | 
						|
	--distribution "kali" \
 | 
						|
	--debian-installer-distribution "kali" \
 | 
						|
	--archive-areas "main contrib non-free" \
 | 
						|
	--bootstrap cdebootstrap \
 | 
						|
	--cdebootstrap-options "--keyring=/usr/share/keyrings/kali-archive-keyring.gpg --suite-config=wheezy" \
 | 
						|
	--keyring-packages kali-archive-keyring \
 | 
						|
	--updates false \
 | 
						|
	--backports false \
 | 
						|
	--source false \
 | 
						|
	--firmware-binary true \
 | 
						|
	--firmware-chroot true \
 | 
						|
	--mirror-bootstrap http://repo.kali.org/kali \
 | 
						|
	--mirror-debian-installer http://repo.kali.org/kali \
 | 
						|
	--mirror-chroot-security http://repo.kali.org/security \
 | 
						|
	--mirror-binary http://repo.kali.org/kali \
 | 
						|
	--mirror-binary-security http://repo.kali.org/security \
 | 
						|
	--iso-application "Kali Linux" \
 | 
						|
	--iso-publisher "Kali" \
 | 
						|
	--iso-volume "Kali Live" \
 | 
						|
	--debian-installer live \
 | 
						|
	--linux-packages linux-image \
 | 
						|
	--bootappend-live "boot=live config live-config.username=root persistent" \
 | 
						|
	"$@"
 |