forked from ungleich-public/cdist
		
	preos 0.4
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								7d7aa60e19
							
						
					
				
			
			
				commit
				
					
						50bca7891f
					
				
			
		
					 3 changed files with 6 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -3,6 +3,7 @@
 | 
			
		|||
rm -rf preos
 | 
			
		||||
mkdir -p preos/boot
 | 
			
		||||
 | 
			
		||||
./generate.sh > preos/boot/initramfs
 | 
			
		||||
./create_initramfs.sh > preos/boot/initramfs
 | 
			
		||||
./add_kernel_isolinux.sh preos
 | 
			
		||||
./create_iso.sh preos preos.iso
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,7 +10,7 @@ fi
 | 
			
		|||
indir=$1; shift
 | 
			
		||||
iso=$1; shift
 | 
			
		||||
 | 
			
		||||
version=0.3
 | 
			
		||||
version=0.4
 | 
			
		||||
 | 
			
		||||
out=preos-${version}.iso
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										5
									
								
								hacking/v3-busybox/init
									
										
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										5
									
								
								hacking/v3-busybox/init
									
										
									
									
									
										
										
										Normal file → Executable file
									
								
							| 
						 | 
				
			
			@ -1,5 +1,8 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
#Create all the symlinks to /bin/busybox
 | 
			
		||||
/bin/busybox --install -s
 | 
			
		||||
 | 
			
		||||
#Mount things needed by this script
 | 
			
		||||
mount -t proc proc /proc
 | 
			
		||||
mount -t sysfs sysfs /sys
 | 
			
		||||
| 
						 | 
				
			
			@ -7,8 +10,6 @@ mount -t sysfs sysfs /sys
 | 
			
		|||
#Disable kernel messages from popping onto the screen
 | 
			
		||||
echo 0 > /proc/sys/kernel/printk
 | 
			
		||||
 | 
			
		||||
#Create all the symlinks to /bin/busybox
 | 
			
		||||
busybox --install -s
 | 
			
		||||
 | 
			
		||||
#Create device nodes
 | 
			
		||||
mknod /dev/null c 1 3
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue