Change the squashfs image section in .treeinfo
Related: rhbz#782108
This commit is contained in:
		
							parent
							
								
									cb6d0758d9
								
							
						
					
					
						commit
						bbd758d998
					
				| @ -23,9 +23,7 @@ rootarg = "root=live:CDLABEL=%s" % isolabel | ||||
| 
 | ||||
| mkdir ${LIVEDIR} | ||||
| install ${runtime_img} ${LIVEDIR}/squashfs.img | ||||
| %for kernel in kernels: | ||||
|     treeinfo images-${kernel.arch} LiveOS ${LIVEDIR}/squashfs.img | ||||
| %endfor | ||||
| treeinfo stage2 mainimage ${LIVEDIR}/squashfs.img | ||||
| 
 | ||||
| ## install bootloaders. | ||||
| ## NOTE: there's two different bootloader setups here: | ||||
|  | ||||
| @ -11,7 +11,7 @@ kernel = kernels[0] | ||||
| 
 | ||||
| mkdir images | ||||
| install ${runtime_img} images | ||||
| treeinfo images-${basearch} LiveOS images/${runtime_base} | ||||
| treeinfo stage2 mainimage images/${runtime_base} | ||||
| 
 | ||||
| ## install bootloader (such as it is) and bootloader config | ||||
| install ${configdir}/redhat.exec ${BOOTDIR} | ||||
|  | ||||
| @ -7,7 +7,7 @@ LIVEDIR="LiveOS" | ||||
| 
 | ||||
| mkdir ${LIVEDIR} | ||||
| install ${runtime_img} ${LIVEDIR}/squashfs.img | ||||
| treeinfo images-${basearch} LiveOS ${LIVEDIR}/squashfs.img | ||||
| treeinfo stage2 mainimage ${LIVEDIR}/squashfs.img | ||||
| 
 | ||||
| ## install bootloader and config files | ||||
| install boot/*.b ${BOOTDIR} | ||||
|  | ||||
| @ -10,7 +10,7 @@ LIVEDIR="LiveOS" | ||||
| 
 | ||||
| mkdir ${LIVEDIR} | ||||
| install ${runtime_img} ${LIVEDIR}/squashfs.img | ||||
| treeinfo images-${basearch} LiveOS ${LIVEDIR}/squashfs.img | ||||
| treeinfo stage2 mainimage ${LIVEDIR}/squashfs.img | ||||
| 
 | ||||
| ## install bootloader and config files | ||||
| mkdir ${BOOTDIR} | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user