summaryrefslogtreecommitdiffstats
path: root/genome-respin
diff options
context:
space:
mode:
authorMatt Hicks <mhicks@redhat.com>2008-07-08 08:16:56 -0400
committerGreg <gblomqui@redhat.com>2008-07-08 08:18:59 -0400
commitdcb64a7101836b4942b28f2cec8034767e54bb1a (patch)
tree052645a9de53dd481b8484c5b5e760a76ef786d0 /genome-respin
parentf863420378f5c719b64e1d0be921c89f9f378a69 (diff)
downloadtools-dcb64a7101836b4942b28f2cec8034767e54bb1a.tar.gz
tools-dcb64a7101836b4942b28f2cec8034767e54bb1a.tar.xz
tools-dcb64a7101836b4942b28f2cec8034767e54bb1a.zip
Adding Genome Respin support using Revisor
Diffstat (limited to 'genome-respin')
-rw-r--r--genome-respin/Makefile36
-rw-r--r--genome-respin/README9
-rw-r--r--genome-respin/genome-respin.spec42
-rw-r--r--genome-respin/repo/conf.d/genome-f8-i386.conf91
-rw-r--r--genome-respin/repo/conf.d/genome-f8-x86_64.conf91
-rw-r--r--genome-respin/repo/conf.d/genome-ks.cfg60
-rw-r--r--genome-respin/repo/genome.conf247
7 files changed, 576 insertions, 0 deletions
diff --git a/genome-respin/Makefile b/genome-respin/Makefile
new file mode 100644
index 0000000..c075df6
--- /dev/null
+++ b/genome-respin/Makefile
@@ -0,0 +1,36 @@
+NAME := genome-respin
+SPECFILE = $(NAME).spec
+VERSION := $(shell rpm -q --qf "%{VERSION}\n" --specfile $(SPECFILE)| head -1)
+RELEASE := $(shell rpm -q --qf "%{RELEASE}\n" --specfile $(SPECFILE)| head -1)
+UPSTREAM_NAME = $(PROJECT)
+
+TAG = $(subst .,_,$(NAME)-$(VERSION)-$(RELEASE))
+
+CVS = cvs
+RPMBUILD = rpmbuild
+INSTALL = /usr/bin/install
+INSTALL_DIR = $(INSTALL) --verbose -d -m 755
+ARCHIVE = $(NAME)-bin.tar.gz
+
+RPM_TOPDIR = /tmp/$(NAME)-$(VERSION)-$(RELEASE)-build
+_RPM_OPTS = --define "_topdir $(RPM_TOPDIR)" \
+ --define "_builddir %{_topdir}" \
+ --define "_sourcedir $(shell pwd)" \
+ --define "_specdir $(shell pwd)" \
+ --define "_rpmdir $(shell pwd)" \
+ --define "_srcrpmdir $(shell pwd)" \
+ --define '_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
+RPM_OPTS = $(strip $(_RPM_OPTS))
+
+rpm: clean $(RPM_TOPDIR) $(SPECFILE) $(ARCHIVE)
+ $(RPMBUILD) --clean $(RPM_OPTS) -bb $(SPECFILE)
+ rm -f $(ARCHIVE)
+
+clean:
+ @rm -rfv *~ *.rpm $(RPM_TOPDIR) $(ARCHIVE)
+
+$(ARCHIVE):
+ cd repo; tar cvzf ../$(ARCHIVE) ./*; cd ..
+
+$(RPM_TOPDIR):
+ @$(INSTALL_DIR) $@
diff --git a/genome-respin/README b/genome-respin/README
new file mode 100644
index 0000000..5007cf1
--- /dev/null
+++ b/genome-respin/README
@@ -0,0 +1,9 @@
+After installing the genome-respin RPM, the follow commands can be used to build the DVD ISO distribution:
+
+32 Bit Distro (Fedora 8):
+ revisor --cli --yes --config /etc/revisor/genome.conf --model genome-f8-i386
+
+64 Bit Distro (Fedora 8):
+ revisor --cli --yes --config /etc/revisor/genome.conf --model genome-f8-x86_84
+
+Adding more distros is pretty simple but we have stuck to Fedora 8 mainly because we have tested that the most.
diff --git a/genome-respin/genome-respin.spec b/genome-respin/genome-respin.spec
new file mode 100644
index 0000000..3c87e48
--- /dev/null
+++ b/genome-respin/genome-respin.spec
@@ -0,0 +1,42 @@
+Summary: Genome Respins
+Name: genome-respin
+Source: genome-respin-bin.tar.gz
+Version: 1.0.0
+Release: 1
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+Group: Applications/System
+URL: https://fedorahosting.org/genome
+License: GPLv2
+Requires: httpd
+
+%description
+The configurations that support building Genome respins
+using Revisor.
+
+%prep
+
+%setup -c
+
+%build
+
+%install
+# Cleaning up the build root
+rm -rf $RPM_BUILD_ROOT
+
+# Create the directory structure required to lay down our files
+mkdir -p $RPM_BUILD_ROOT/etc/revisor
+
+cp -R . $RPM_BUILD_ROOT/etc/revisor
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+/etc/revisor/genome.conf
+/etc/revisor/conf.d/genome-ks.cfg
+/etc/revisor/conf.d/genome-f8-i386.conf
+/etc/revisor/conf.d/genome-f8-x86_64.conf
+
+%doc
diff --git a/genome-respin/repo/conf.d/genome-f8-i386.conf b/genome-respin/repo/conf.d/genome-f8-i386.conf
new file mode 100644
index 0000000..a34568c
--- /dev/null
+++ b/genome-respin/repo/conf.d/genome-f8-i386.conf
@@ -0,0 +1,91 @@
+[main]
+cachedir=-yumcache
+reposdir=
+keepcache=1
+debuglevel=1
+logfile=revisor-yum.log
+pkgpolicy=newest
+distroverpkg=redhat-release
+tolerant=1
+exactarch=1
+obsoletes=1
+gpgcheck=1
+plugins=0
+metadata_expire=15
+installroot=/var/tmp/revisor
+
+[genome]
+name=Genome
+baseurl=http://oss1-repo.usersys.redhat.com/cobbler/repo_mirror/f8-everest-noarch
+enabled=1
+gpgcheck=0
+
+[fedora]
+name=Fedora 8 - Werewolf - i386
+#baseurl=http://localrepo/fedora/releases/8/Everything/i386/os/
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-8&arch=i386
+enabled=1
+gpgcheck=1
+
+[fedora-debuginfo]
+name=Fedora 8 - Werewolf - Debug - i386
+#baseurl=http://localrepo/fedora/releases/8/Everything/i386/debug/
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-8&arch=i386
+enabled=0
+gpgcheck=1
+
+[fedora-source]
+name=Fedora 8 - Werewolf - Source
+#baseurl=http://localrepo/fedora/releases/8/Everything/source/SRPMS/
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-8&arch=i386
+enabled=0
+gpgcheck=1
+
+[updates]
+name=Fedora 8 - i386 - Updates
+#baseurl=http://localrepo/fedora/updates/8/i386/
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f8&arch=i386
+enabled=1
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
+
+[updates-debuginfo]
+name=Fedora 8 - i386 - Updates - Debug
+#baseurl=http://localrepo/fedora/updates/8/i386/debug/
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f8&arch=i386
+enabled=0
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
+
+[updates-source]
+name=Fedora 8 - Updates Source
+#baseurl=http://localrepo/fedora/updates/8/SRPMS/
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-f8&arch=i386
+enabled=0
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
+
+[updates-testing]
+name=Fedora 8 - i386 - Test Updates
+#baseurl=http://localrepo/fedora/updates/testing/8/i386/
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f8&arch=i386
+enabled=0
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test
+
+[updates-testing-debuginfo]
+name=Fedora 8 - i386 - Test Updates Debug
+#baseurl=http://localrepo/fedora/updates/testing/8/i386/debug/
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-debug-f8&arch=i386
+enabled=0
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test
+
+[updates-testing-source]
+name=Fedora 8 - Test Updates Source
+#baseurl=http://localrepo/fedora/updates/testing/8/SRPMS/
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-source-f8&arch=i386
+enabled=0
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test
+
diff --git a/genome-respin/repo/conf.d/genome-f8-x86_64.conf b/genome-respin/repo/conf.d/genome-f8-x86_64.conf
new file mode 100644
index 0000000..b7e3bcd
--- /dev/null
+++ b/genome-respin/repo/conf.d/genome-f8-x86_64.conf
@@ -0,0 +1,91 @@
+[main]
+cachedir=-yumcache
+reposdir=
+keepcache=1
+debuglevel=1
+logfile=revisor-yum.log
+pkgpolicy=newest
+distroverpkg=redhat-release
+tolerant=1
+exactarch=1
+obsoletes=1
+gpgcheck=1
+plugins=0
+metadata_expire=15
+installroot=/var/tmp/revisor
+
+[genome]
+name=Genome
+baseurl=http://oss1-repo.usersys.redhat.com/cobbler/repo_mirror/f8-everest-noarch
+enabled=1
+gpgcheck=0
+
+[fedora]
+name=Fedora 8 - Werewolf - x86_64
+#baseurl=http://localrepo/fedora/releases/8/Everything/x86_64/os/
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-8&arch=x86_64
+enabled=1
+gpgcheck=1
+
+[fedora-debuginfo]
+name=Fedora 8 - Werewolf - Debug - x86_64
+#baseurl=http://localrepo/fedora/releases/8/Everything/x86_64/debug/
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-8&arch=x86_64
+enabled=0
+gpgcheck=1
+
+[fedora-source]
+name=Fedora 8 - Werewolf - Source
+#baseurl=http://localrepo/fedora/releases/8/Everything/source/SRPMS/
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-8&arch=x86_64
+enabled=0
+gpgcheck=1
+
+[updates]
+name=Fedora 8 - x86_64 - Updates
+#baseurl=http://localrepo/fedora/updates/8/x86_64/
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f8&arch=x86_64
+enabled=1
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
+
+[updates-debuginfo]
+name=Fedora 8 - x86_64 - Updates - Debug
+#baseurl=http://localrepo/fedora/updates/8/x86_64/debug/
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f8&arch=x86_64
+enabled=0
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
+
+[updates-source]
+name=Fedora 8 - Updates Source
+#baseurl=http://localrepo/fedora/updates/8/SRPMS/
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-f8&arch=x86_64
+enabled=0
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
+
+[updates-testing]
+name=Fedora 8 - x86_64 - Test Updates
+#baseurl=http://localrepo/fedora/updates/testing/8/x86_64/
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f8&arch=x86_64
+enabled=0
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test
+
+[updates-testing-debuginfo]
+name=Fedora 8 - x86_64 - Test Updates Debug
+#baseurl=http://localrepo/fedora/updates/testing/8/x86_64/debug/
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-debug-f8&arch=x86_64
+enabled=0
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test
+
+[updates-testing-source]
+name=Fedora 8 - Test Updates Source
+#baseurl=http://localrepo/fedora/updates/testing/8/SRPMS/
+mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-source-f8&arch=x86_64
+enabled=0
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test
+
diff --git a/genome-respin/repo/conf.d/genome-ks.cfg b/genome-respin/repo/conf.d/genome-ks.cfg
new file mode 100644
index 0000000..553934b
--- /dev/null
+++ b/genome-respin/repo/conf.d/genome-ks.cfg
@@ -0,0 +1,60 @@
+#platform=x86, AMD64, or Intel EM64T
+# System authorization information
+auth --useshadow --enablemd5
+# System bootloader configuration
+bootloader --location=mbr
+# Use text install
+text
+# Firewall configuration
+firewall --disabled
+# Run the Setup Agent on first boot
+firstboot --disable
+# System keyboard
+keyboard us
+# System language
+lang en_US
+# Use CDROM installation media
+cdrom
+# Network information
+network --bootproto=dhcp --device=eth0 --onboot=on
+# Reboot after installation
+reboot
+# Root password
+rootpw password
+
+# SELinux configuration
+selinux --disabled
+# Skip X Configuration
+skipx
+# System timezone
+timezone America/New_York
+# Install OS instead of upgrade
+install
+
+# Clear the Master Boot Record
+zerombr
+# Partition clearing information
+clearpart --all --initlabel
+partition /boot --fstype=ext3 --size=200
+partition swap --size=2000
+partition pv.01 --size=1000 --grow
+volgroup HostVolGroup00 pv.01
+logvol swap --fstype swap --name=Swap --vgname=HostVolGroup00 --size=1024
+logvol / --fstype ext3 --name=Root --vgname=HostVolGroup00 --size=10240
+logvol /home --fstype ext3 --name=Home --vgname=HostVolGroup00 --size=2048
+
+%packages
+# Let's put something a little more interesting here
+# just to show off some of the power of kickstart
+kernel
+kernel-devel
+vim-enhanced
+yum
+-yum-updatesd
+everest-repo
+
+%post
+/sbin/chkconfig --add everest-repo-bootstrap
+/sbin/chkconfig everest-repo-bootstrap on
+
+%end
diff --git a/genome-respin/repo/genome.conf b/genome-respin/repo/genome.conf
new file mode 100644
index 0000000..f21fe15
--- /dev/null
+++ b/genome-respin/repo/genome.conf
@@ -0,0 +1,247 @@
+# Revisor base config file
+# This file will be updated, so make sure to watch .rpmnew stuff
+
+[revisor]
+# Some revisor options to eliminate the need for CLI parameters,
+# or save clicks in the GUI
+
+# Types of Installation Media to build
+media_installation_dvd=1
+media_installation_cd=0
+# Types of Live Media to build
+media_live_optical=0
+media_live_thumb=0
+
+repos_enabledevelopment=0
+repos_enabletesting=0
+repos_enablesource=0
+repos_enabledebuginfo=0
+
+# These are more advanced options
+dependency_resolve_allow_conflicts=0
+mode_respin=0
+clean_up=1
+
+##
+## Models
+##
+[genome-f8-i386]
+main = /etc/revisor/conf.d/genome-f8-i386.conf
+product_name = Genome
+product_path = Packages
+comps = /usr/share/revisor/comps/comps-f8.xml
+architecture = i386
+version = 8
+getsource = 0
+kickstart_include=1
+kickstart_default=1
+kickstart_file=/etc/revisor/conf.d/genome-ks.cfg
+iso_label=Genome
+iso_basename=Genome
+
+[genome-f8-x86_64]
+main = /etc/revisor/conf.d/genome-f8-x86_64.conf
+product_name = Genome
+product_path = Packages
+comps = /usr/share/revisor/comps/comps-f8.xml
+architecture = x86_64
+version = 8
+getsource = 0
+kickstart_include=1
+kickstart_default=1
+kickstart_file=/etc/revisor/conf.d/genome-ks.cfg
+iso_label=Genome
+iso_basename=Genome
+
+[fc6-i386]
+# Point here to the yum configuration file
+# Remember to use a yum configuration file with expanded
+# $basearch and $releasever variables
+main = /etc/revisor/conf.d/revisor-fc6-i386.conf
+
+# Installation Media specific settings
+# Set the product name
+product_name = Fedora Core
+
+# Set the product path
+product_path = Fedora
+
+# The base name for the ISO
+iso_basename = FC
+
+# The comps file to use
+comps = /usr/share/revisor/comps/comps-fc6.xml
+
+# The architecture to use for this model
+architecture = i386
+
+# The version number
+version = 6
+
+# Whether to include the creation of source media
+# 0 = No
+# 1 = Yes
+getsource = 0
+
+## End of fc-i386 model
+
+[fc6-x86_64]
+main = /etc/revisor/conf.d/revisor-fc6-x86_64.conf
+product_name = Fedora Core
+product_path = Fedora
+iso_basename = FC
+comps = /usr/share/revisor/comps/comps-fc6.xml
+architecture = x86_64
+version = 6
+getsource = 0
+
+[fc6-ppc]
+main = /etc/revisor/conf.d/revisor-fc6-ppc.conf
+product_name = Fedora Core
+product_path = Fedora
+iso_basename = FC
+comps = /usr/share/revisor/comps/comps-fc6.xml
+architecture = ppc
+version = 6
+getsource = 0
+
+[f7-i386]
+main = /etc/revisor/conf.d/revisor-f7-i386.conf
+product_name = Fedora
+product_path = Fedora
+iso_basename = F
+comps = /usr/share/revisor/comps/comps-f7.xml
+architecture = i386
+version = 7
+getsource = 0
+
+[f7-x86_64]
+main = /etc/revisor/conf.d/revisor-f7-x86_64.conf
+product_name = Fedora
+product_path = Fedora
+iso_basename = F
+comps = /usr/share/revisor/comps/comps-f7.xml
+architecture = x86_64
+version = 7
+getsource = 0
+
+[f7-ppc]
+main = /etc/revisor/conf.d/revisor-f7-ppc.conf
+product_name = Fedora
+product_path = Fedora
+iso_basename = F
+comps = /usr/share/revisor/comps/comps-f7.xml
+architecture = ppc
+version = 7
+getsource = 0
+
+[f8-i386]
+main = /etc/revisor/conf.d/revisor-f8-i386.conf
+product_name = Fedora
+product_path = Packages
+iso_basename = F
+comps = /usr/share/revisor/comps/comps-f8.xml
+architecture = i386
+version = 8
+getsource = 0
+
+[f8-x86_64]
+main = /etc/revisor/conf.d/revisor-f8-x86_64.conf
+product_name = Fedora
+product_path = Packages
+iso_basename = F
+comps = /usr/share/revisor/comps/comps-f8.xml
+architecture = x86_64
+version = 8
+getsource = 0
+
+[f8-ppc]
+main = /etc/revisor/conf.d/revisor-f8-ppc.conf
+product_name = Fedora
+product_path = Packages
+iso_basename = F
+comps = /usr/share/revisor/comps/comps-f8.xml
+architecture = ppc
+version = 8
+getsource = 0
+
+[rawhide-i386]
+main = /etc/revisor/conf.d/revisor-rawhide-i386.conf
+product_name = Fedora
+product_path = Fedora
+iso_basename = F
+comps = /usr/share/revisor/comps/comps-f8.xml
+architecture = i386
+version = rawhide
+getsource = 0
+repos_enabledevelopment=1
+repos_enabletesting=0
+repos_enablesource=0
+repos_enabledebuginfo=0
+
+[rawhide-x86_64]
+main = /etc/revisor/conf.d/revisor-rawhide-x86_64.conf
+product_name = Fedora
+product_path = Fedora
+iso_basename = F
+comps = /usr/share/revisor/comps/comps-f8.xml
+architecture = x86_64
+version = rawhide
+getsource = 0
+repos_enabledevelopment=1
+repos_enabletesting=0
+repos_enablesource=0
+repos_enabledebuginfo=0
+
+[rawhide-ppc]
+main = /etc/revisor/conf.d/revisor-rawhide-ppc.conf
+product_name = Fedora
+product_path = Fedora
+iso_basename = F
+comps = /usr/share/revisor/comps/comps-f8.xml
+architecture = ppc
+version = rawhide
+getsource = 0
+repos_enabledevelopment=1
+repos_enabletesting=0
+repos_enablesource=0
+repos_enabledebuginfo=0
+
+[c5-i386]
+main = /etc/revisor/conf.d/revisor-c5-i386.conf
+product_name = CentOS
+product_path = CentOS
+iso_basename = CentOS
+iso_label = CentOS
+comps = /usr/share/revisor/comps/comps-c5.xml
+architecture = i386
+version = 5
+getsource = 0
+release_pkgs = ^centos-release.*
+release_files = eula.txt fedora.css GPL README-BURNING-ISOS-en_US.txt RELEASE-NOTES-en_US.html ^RPM-GPG img images stylesheet-images
+
+[c5-x86_64]
+main = /etc/revisor/conf.d/revisor-c5-x86_64.conf
+product_name = CentOS
+product_path = CentOS
+iso_basename = CentOS
+iso_label = CentOS
+comps = /usr/share/revisor/comps/comps-c5.xml
+architecture = x86_64
+version = 5
+getsource = 0
+release_pkgs = ^centos-release.*
+release_files = eula.txt fedora.css GPL README-BURNING-ISOS-en_US.txt RELEASE-NOTES-en_US.html ^RPM-GPG img images stylesheet-images
+
+[c5-ppc]
+main = /etc/revisor/conf.d/revisor-c5-ppc.conf
+product_name = CentOS
+product_path = CentOS
+iso_basename = CentOS
+iso_label = CentOS
+comps = /usr/share/revisor/comps/comps-c5.xml
+architecture = ppc
+version = 5
+getsource = 0
+release_pkgs = ^centos-release.*
+release_files = eula.txt fedora.css GPL README-BURNING-ISOS-en_US.txt RELEASE-NOTES-en_US.html ^RPM-GPG img images stylesheet-images