remove sparc support
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This commit is contained in:
parent
e87151c00e
commit
a4cf3c3c7c
@ -45,10 +45,6 @@ Requires: fedup-dracut-plymouth
|
|||||||
Requires: syslinux >= 4.02-5
|
Requires: syslinux >= 4.02-5
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch %{sparc}
|
|
||||||
Requires: silo
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%ifarch ppc ppc64
|
%ifarch ppc ppc64
|
||||||
Requires: kernel-bootwrapper
|
Requires: kernel-bootwrapper
|
||||||
%endif
|
%endif
|
||||||
|
@ -1,38 +0,0 @@
|
|||||||
<%page args="kernels, runtime_img, basearch, outroot, product, isolabel"/>
|
|
||||||
<%
|
|
||||||
configdir="tmp/config_files/sparc"
|
|
||||||
BOOTDIR="boot"
|
|
||||||
LIVEDIR="LiveOS"
|
|
||||||
%>
|
|
||||||
|
|
||||||
mkdir ${LIVEDIR}
|
|
||||||
install ${runtime_img} ${LIVEDIR}/squashfs.img
|
|
||||||
treeinfo stage2 mainimage ${LIVEDIR}/squashfs.img
|
|
||||||
|
|
||||||
## install bootloader and config files
|
|
||||||
install boot/*.b ${BOOTDIR}
|
|
||||||
install ${configdir}/silo.conf ${BOOTDIR}
|
|
||||||
install ${configdir}/boot.msg ${BOOTDIR}
|
|
||||||
|
|
||||||
## configure bootloader
|
|
||||||
replace @VERSION@ ${product.version} ${BOOTDIR}/boot.msg
|
|
||||||
replace @PRODUCT@ '${product.name}' ${BOOTDIR}/boot.msg
|
|
||||||
replace @ROOT@ 'root=live:CDLABEL=${isolabel|udev}' ${BOOTDIR}/silo.conf
|
|
||||||
|
|
||||||
## install kernels
|
|
||||||
## FIXME: this will overwrite if there are multiple sparc kernels
|
|
||||||
%for kernel in kernels:
|
|
||||||
installkernel images-${basearch} ${kernel.path} ${BOOTDIR}/vmlinuz
|
|
||||||
installinitrd images-${basearch} ${kernel.initrd.path} ${BOOTDIR}/initrd.img
|
|
||||||
%endfor
|
|
||||||
|
|
||||||
## make boot.iso
|
|
||||||
runcmd mkisofs -R -J -T -G /${BOOTDIR}/isofs.b -B ... \
|
|
||||||
-s /${BOOTDIR}/silo.conf -r -V '${isolabel}' \
|
|
||||||
-A "${product.name} ${product.version}" \
|
|
||||||
-x Fedora -x repodata \
|
|
||||||
-sparc-label "${product.name} ${product.version} Boot Disc" \
|
|
||||||
-o ${outroot}/images/boot.iso \
|
|
||||||
-graft-points ${BOOTDIR}=${outroot}/${BOOTDIR} \
|
|
||||||
${LIVEDIR}=${outroot}/${LIVEDIR}
|
|
||||||
treeinfo images-${basearch} boot.iso images/boot.iso
|
|
@ -37,9 +37,6 @@ installpkg kernel
|
|||||||
%if basearch == "s390x":
|
%if basearch == "s390x":
|
||||||
installpkg lsscsi modutils s390utils-base s390utils-cmsfs-fuse
|
installpkg lsscsi modutils s390utils-base s390utils-cmsfs-fuse
|
||||||
%endif
|
%endif
|
||||||
%if basearch == "sparc":
|
|
||||||
installpkg silo tilo
|
|
||||||
%endif
|
|
||||||
|
|
||||||
## yay, plymouth
|
## yay, plymouth
|
||||||
installpkg plymouth
|
installpkg plymouth
|
||||||
|
@ -1,38 +0,0 @@
|
|||||||
<%page args="kernels, runtime_img, basearch, outroot, product, isolabel"/>
|
|
||||||
<%
|
|
||||||
configdir="tmp/config_files/sparc"
|
|
||||||
BOOTDIR="boot"
|
|
||||||
LIVEDIR="LiveOS"
|
|
||||||
%>
|
|
||||||
|
|
||||||
mkdir ${LIVEDIR}
|
|
||||||
install ${runtime_img} ${LIVEDIR}/squashfs.img
|
|
||||||
treeinfo stage2 mainimage ${LIVEDIR}/squashfs.img
|
|
||||||
|
|
||||||
## install bootloader and config files
|
|
||||||
install boot/*.b ${BOOTDIR}
|
|
||||||
install ${configdir}/silo.conf ${BOOTDIR}
|
|
||||||
install ${configdir}/boot.msg ${BOOTDIR}
|
|
||||||
|
|
||||||
## configure bootloader
|
|
||||||
replace @VERSION@ ${product.version} ${BOOTDIR}/boot.msg
|
|
||||||
replace @PRODUCT@ '${product.name}' ${BOOTDIR}/boot.msg
|
|
||||||
replace @ROOT@ 'inst.stage2=hd:LABEL=${isolabel|udev}' ${BOOTDIR}/silo.conf
|
|
||||||
|
|
||||||
## install kernels
|
|
||||||
## FIXME: this will overwrite if there are multiple sparc kernels
|
|
||||||
%for kernel in kernels:
|
|
||||||
installkernel images-${basearch} ${kernel.path} ${BOOTDIR}/vmlinuz
|
|
||||||
installinitrd images-${basearch} ${kernel.initrd.path} ${BOOTDIR}/initrd.img
|
|
||||||
%endfor
|
|
||||||
|
|
||||||
## make boot.iso
|
|
||||||
runcmd mkisofs -R -J -T -G /${BOOTDIR}/isofs.b -B ... \
|
|
||||||
-s /${BOOTDIR}/silo.conf -r -V '${isolabel}' \
|
|
||||||
-A "${product.name} ${product.version}" \
|
|
||||||
-x Fedora -x repodata \
|
|
||||||
-sparc-label "${product.name} ${product.version} Boot Disc" \
|
|
||||||
-o ${outroot}/images/boot.iso \
|
|
||||||
-graft-points ${BOOTDIR}=${outroot}/${BOOTDIR} \
|
|
||||||
${LIVEDIR}=${outroot}/${LIVEDIR}
|
|
||||||
treeinfo images-${basearch} boot.iso images/boot.iso
|
|
@ -50,10 +50,9 @@ from discinfo import DiscInfo
|
|||||||
from executils import runcmd, runcmd_output
|
from executils import runcmd, runcmd_output
|
||||||
|
|
||||||
class ArchData(DataHolder):
|
class ArchData(DataHolder):
|
||||||
lib64_arches = ("x86_64", "ppc64", "sparc64", "s390x", "ia64")
|
lib64_arches = ("x86_64", "ppc64", "s390x", "ia64")
|
||||||
bcj_arch = dict(i386="x86", x86_64="x86",
|
bcj_arch = dict(i386="x86", x86_64="x86",
|
||||||
ppc="powerpc", ppc64="powerpc",
|
ppc="powerpc", ppc64="powerpc",
|
||||||
sparc="sparc", sparc64="sparc",
|
|
||||||
arm="arm", armhfp="arm")
|
arm="arm", armhfp="arm")
|
||||||
|
|
||||||
def __init__(self, buildarch):
|
def __init__(self, buildarch):
|
||||||
|
@ -35,8 +35,6 @@ templatemap = {
|
|||||||
'x86_64': 'x86.tmpl',
|
'x86_64': 'x86.tmpl',
|
||||||
'ppc': 'ppc.tmpl',
|
'ppc': 'ppc.tmpl',
|
||||||
'ppc64': 'ppc.tmpl',
|
'ppc64': 'ppc.tmpl',
|
||||||
'sparc': 'sparc.tmpl',
|
|
||||||
'sparc64': 'sparc.tmpl',
|
|
||||||
's390': 's390.tmpl',
|
's390': 's390.tmpl',
|
||||||
's390x': 's390.tmpl',
|
's390x': 's390.tmpl',
|
||||||
'arm': 'arm.tmpl',
|
'arm': 'arm.tmpl',
|
||||||
|
Loading…
Reference in New Issue
Block a user