2011-05-09 14:47:25 +00:00
|
|
|
<%
|
|
|
|
ANABOOTDIR="usr/share/anaconda/boot"
|
|
|
|
BOOTDIR="boot"
|
|
|
|
KERNELDIR=BOOTDIR
|
|
|
|
%>
|
|
|
|
|
2011-06-23 00:22:24 +00:00
|
|
|
mkdir images
|
|
|
|
install ${runtime} images
|
|
|
|
|
2011-05-09 14:47:25 +00:00
|
|
|
install boot/*.b ${BOOTDIR}
|
|
|
|
install ${ANABOOTDIR}/silo.conf ${BOOTDIR}
|
|
|
|
install ${ANABOOTDIR}/boot.msg ${BOOTDIR}/boot.msg
|
|
|
|
|
|
|
|
replace %VERSION% ${product.version} ${BOOTDIR}/boot.msg
|
|
|
|
replace %PRODUCT% ${product.name} ${BOOTDIR}/boot.msg
|
|
|
|
|
|
|
|
%for kernel in kernels:
|
|
|
|
installkernel images-${basearch} ${kernel.path} ${KERNELDIR}/vmlinuz
|
|
|
|
installinitrd images-${basearch} ${kernel.initrd.path} ${KERNELDIR}/initrd.img
|
|
|
|
%endfor
|
|
|
|
|
|
|
|
runcmd mkisofs -R -J -T -G /${BOOTDIR}/isofs.b -B ... \
|
|
|
|
-s /${BOOTDIR}/silo.conf -r -V "PBOOT" \
|
|
|
|
-A "${product.name} ${product.version}" \
|
|
|
|
-x Fedora -x repodata \
|
|
|
|
-sparc-label "${product.name} ${product.version} Boot Disc" \
|
|
|
|
-o ${outroot}/images/boot.iso \
|
2011-06-23 00:22:24 +00:00
|
|
|
-graft-points boot=${outroot}/${BOOTDIR} \
|
|
|
|
${runtime}=${outroot}/${runtime}
|
2011-05-09 14:47:25 +00:00
|
|
|
treeinfo images-${basearch} boot.iso images/boot.iso
|