| 
									
										
										
										
											2015-05-13 08:39:22 +02:00
										 |  |  | #!/bin/sh
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # FIXME: include os explorer to name preos | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-05-13 09:10:38 +02:00
										 |  |  | if [ "$#" -ne 2 ]; then | 
					
						
							|  |  |  |     echo "$0 dir-in iso-out" | 
					
						
							|  |  |  |     exit 1 | 
					
						
							|  |  |  | fi | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | indir=$1; shift | 
					
						
							|  |  |  | iso=$1; shift | 
					
						
							| 
									
										
										
										
											2015-05-13 08:39:22 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-05-19 11:39:39 +02:00
										 |  |  | version=0.4 | 
					
						
							| 
									
										
										
										
											2015-05-13 09:10:38 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-05-13 08:39:22 +02:00
										 |  |  | out=preos-${version}.iso | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-05-13 09:10:38 +02:00
										 |  |  |     # -cache-inodes \ | 
					
						
							|  |  |  | genisoimage -r -J -l \
 | 
					
						
							|  |  |  |     -V "cdist PreOS $version" \
 | 
					
						
							|  |  |  |     -b boot/isolinux.bin -no-emul-boot -c boot.cat -boot-load-size 4 -boot-info-table \
 | 
					
						
							|  |  |  |     -o "$iso" "$indir" |