1 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/etc/fedora-core-10.packages rinse-1.9.1.cleanup/etc/fedora-core-10.packages
2 --- rinse-1.9.1.fedora-15/etc/fedora-core-10.packages 2011-09-01 06:30:02.000000000 -0700
3 +++ rinse-1.9.1.cleanup/etc/fedora-core-10.packages 1969-12-31 16:00:00.000000000 -0800
111 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/etc/fedora-core-4.packages rinse-1.9.1.cleanup/etc/fedora-core-4.packages
112 --- rinse-1.9.1.fedora-15/etc/fedora-core-4.packages 2011-09-01 06:30:02.000000000 -0700
113 +++ rinse-1.9.1.cleanup/etc/fedora-core-4.packages 1969-12-31 16:00:00.000000000 -0800
116 -# Packages which we'll need to download for a minimal installation
193 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/etc/fedora-core-5.packages rinse-1.9.1.cleanup/etc/fedora-core-5.packages
194 --- rinse-1.9.1.fedora-15/etc/fedora-core-5.packages 2011-09-01 06:30:02.000000000 -0700
195 +++ rinse-1.9.1.cleanup/etc/fedora-core-5.packages 1969-12-31 16:00:00.000000000 -0800
198 -# Packages which we'll need to download for a minimal installation
277 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/etc/fedora-core-6.packages rinse-1.9.1.cleanup/etc/fedora-core-6.packages
278 --- rinse-1.9.1.fedora-15/etc/fedora-core-6.packages 2011-09-01 06:30:02.000000000 -0700
279 +++ rinse-1.9.1.cleanup/etc/fedora-core-6.packages 1969-12-31 16:00:00.000000000 -0800
282 -# Packages which we'll need to download for a minimal installation
363 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/etc/fedora-core-7.packages rinse-1.9.1.cleanup/etc/fedora-core-7.packages
364 --- rinse-1.9.1.fedora-15/etc/fedora-core-7.packages 2011-09-01 06:30:02.000000000 -0700
365 +++ rinse-1.9.1.cleanup/etc/fedora-core-7.packages 1969-12-31 16:00:00.000000000 -0800
368 -# Packages which we'll need to download for a minimal installation
452 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/etc/fedora-core-8.packages rinse-1.9.1.cleanup/etc/fedora-core-8.packages
453 --- rinse-1.9.1.fedora-15/etc/fedora-core-8.packages 2011-09-01 06:30:02.000000000 -0700
454 +++ rinse-1.9.1.cleanup/etc/fedora-core-8.packages 1969-12-31 16:00:00.000000000 -0800
457 -# Packages which we'll need to download for a minimal installation
541 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/etc/fedora-core-9.packages rinse-1.9.1.cleanup/etc/fedora-core-9.packages
542 --- rinse-1.9.1.fedora-15/etc/fedora-core-9.packages 2011-09-01 06:30:02.000000000 -0700
543 +++ rinse-1.9.1.cleanup/etc/fedora-core-9.packages 1969-12-31 16:00:00.000000000 -0800
571 -fedora-release-notes
648 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/etc/opensuse-10.1.packages rinse-1.9.1.cleanup/etc/opensuse-10.1.packages
649 --- rinse-1.9.1.fedora-15/etc/opensuse-10.1.packages 2011-09-01 06:30:02.000000000 -0700
650 +++ rinse-1.9.1.cleanup/etc/opensuse-10.1.packages 1969-12-31 16:00:00.000000000 -0800
653 -# Packages which we'll need to download for a minimal installation
745 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/etc/opensuse-10.2.packages rinse-1.9.1.cleanup/etc/opensuse-10.2.packages
746 --- rinse-1.9.1.fedora-15/etc/opensuse-10.2.packages 2011-09-01 06:30:02.000000000 -0700
747 +++ rinse-1.9.1.cleanup/etc/opensuse-10.2.packages 1969-12-31 16:00:00.000000000 -0800
750 -# Packages which we'll need to download for a minimal installation
850 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/etc/opensuse-10.3.packages rinse-1.9.1.cleanup/etc/opensuse-10.3.packages
851 --- rinse-1.9.1.fedora-15/etc/opensuse-10.3.packages 2011-09-01 06:30:02.000000000 -0700
852 +++ rinse-1.9.1.cleanup/etc/opensuse-10.3.packages 1969-12-31 16:00:00.000000000 -0800
855 -# Packages which we'll need to download for a minimal installation
959 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/etc/opensuse-11.0.packages rinse-1.9.1.cleanup/etc/opensuse-11.0.packages
960 --- rinse-1.9.1.fedora-15/etc/opensuse-11.0.packages 2011-09-01 06:30:02.000000000 -0700
961 +++ rinse-1.9.1.cleanup/etc/opensuse-11.0.packages 1969-12-31 16:00:00.000000000 -0800
964 -# Packages which we'll need to download for a minimal installation
996 -glib2-branding-upstream
1077 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/etc/opensuse-11.1.packages rinse-1.9.1.cleanup/etc/opensuse-11.1.packages
1078 --- rinse-1.9.1.fedora-15/etc/opensuse-11.1.packages 2011-09-01 06:30:02.000000000 -0700
1079 +++ rinse-1.9.1.cleanup/etc/opensuse-11.1.packages 1969-12-31 16:00:00.000000000 -0800
1082 -# Packages which we'll need to download for a minimal installation
1098 -cracklib-dict-small
1115 -glib2-branding-upstream
1128 -libboost_signals1_36_0
1167 -openSUSE-release-ftp
1201 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/etc/rhel-5.packages rinse-1.9.1.cleanup/etc/rhel-5.packages
1202 --- rinse-1.9.1.fedora-15/etc/rhel-5.packages 2011-09-01 06:30:02.000000000 -0700
1203 +++ rinse-1.9.1.cleanup/etc/rhel-5.packages 1969-12-31 16:00:00.000000000 -0800
1206 -# Packages which we'll need to download for a minimal installation
1289 -yum-metadata-parser
1291 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/etc/rinse.conf rinse-1.9.1.cleanup/etc/rinse.conf
1292 --- rinse-1.9.1.fedora-15/etc/rinse.conf 2011-10-31 01:19:52.434846570 -0700
1293 +++ rinse-1.9.1.cleanup/etc/rinse.conf 2011-10-31 01:27:11.808198755 -0700
1298 -# RedHat Enterprise Linux 5 (RHEL-5)
1300 -mirror = http://your.mirror.to.rhel5.repository.here/rhel/5/i386/Server/
1301 -mirror.amd64 = http://your.mirror.to.rhel5.repository.here/rhel/5/x86_64/Server/
1306 -mirror = http://mirror.bytemark.co.uk/centos/4/os/i386/CentOS/RPMS/
1307 -mirror.amd64 = http://mirror.bytemark.co.uk/centos/4/os/x86_64/CentOS/RPMS/
1308 +mirror = http://mirrors.kernel.org/centos/4/os/i386/CentOS/RPMS/
1309 +mirror.amd64 = http://mirrors.kernel.org/centos/4/os/x86_64/CentOS/RPMS/
1312 -mirror = http://mirror.bytemark.co.uk/centos/5/os/i386/CentOS/
1313 -mirror.amd64 = http://mirror.bytemark.co.uk/centos/5/os/x86_64/CentOS/
1314 +mirror = http://mirrors.kernel.org/centos/5/os/i386/CentOS/
1315 +mirror.amd64 = http://mirrors.kernel.org/centos/5/os/x86_64/CentOS/
1318 -mirror = http://mirror.bytemark.co.uk/centos/6/os/i386/Packages/
1319 -mirror.amd64 = http://mirror.bytemark.co.uk/centos/6/os/x86_64/Packages/
1321 -# Scientific Linux CERN 5 (SLC-5)
1323 -mirror = http://linuxsoft.cern.ch/cern/slc5X/i386/SL/
1324 -mirror.amd64 = http://linuxsoft.cern.ch/cern/slc5X/x86_64/SL/
1326 -# Scientific Linux CERN 6 (SLC-6)
1328 -mirror = http://linuxsoft.cern.ch/cern/slc6X/i386/SLC/Packages/
1329 -mirror.amd64 = http://linuxsoft.cern.ch/cern/slc6X/x86_64/SLC/Packages/
1333 -mirror = http://ftp.heanet.ie/pub/fedora/linux/core/4/i386/os/Fedora/RPMS/
1334 -mirror.amd64 = http://ftp.heanet.ie/pub/fedora/linux/core/4/x86_64/os/Fedora/RPMS/
1338 -mirror = http://ftp.heanet.ie/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/
1339 -mirror.amd64 = http://ftp.heanet.ie/pub/fedora/linux/core/5/x86_64/os/Fedora/RPMS/
1343 -mirror = http://ftp.heanet.ie/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/
1344 -mirror.amd64 = http://ftp.heanet.ie/pub/fedora/linux/core/6/x86_64/os/Fedora/RPMS/
1348 -mirror = http://ftp.heanet.ie/pub/fedora-archive/fedora/linux/releases/7/Fedora/i386/os/Fedora/
1349 -mirror.amd64 = http://ftp.heanet.ie/pub/fedora-archive/fedora/linux/releases/7/Fedora/x86_64/os/Fedora/
1353 -mirror = http://ftp.heanet.ie/pub/fedora-archive/fedora/linux/releases/8/Fedora/i386/os/Packages/
1354 -mirror.amd64 = http://ftp.heanet.ie/pub/fedora-archive/fedora/linux/releases/8/Fedora/x86_64/os/Packages/
1356 +mirror = http://mirrors.kernel.org/centos/6/os/i386/Packages/
1357 +mirror.amd64 = http://mirrors.kernel.org/centos/6/os/x86_64/Packages/
1361 -mirror = http://ftp.heanet.ie/pub/fedora-archive/fedora/linux/releases/9/Fedora/i386/os/Packages/
1362 -mirror.amd64 = http://ftp.heanet.ie/pub/fedora-archive/fedora/linux/releases/9/Fedora/x86_64/os/Packages/
1366 -mirror = http://ftp.heanet.ie/pub/fedora-archive/fedora/linux/releases/10/Fedora/i386/os/Packages/
1367 -mirror.amd64 = http://ftp.heanet.ie/pub/fedora-archive/fedora/linux/releases/10/Fedora/x86_64/os/Packages/
1371 mirror = http://mirrors.kernel.org/fedora/releases/15/Fedora/i386/os/Packages/
1372 mirror.amd64 = http://mirrors.kernel.org/fedora/releases/15/Fedora/x86_64/os/Packages/
1375 -mirror = http://ftp.hosteurope.de/mirror/ftp.opensuse.org/discontinued/SL-10.1/inst-source/suse/i686/
1376 -mirror.amd64 = http://ftp.hosteurope.de/mirror/ftp.opensuse.org/discontinued/SL-10.1/inst-source/suse/x86_64/
1380 -mirror = http://download.opensuse.org/distribution/10.2/repo/oss/suse/i686/
1381 -mirror.amd64 = http://download.opensuse.org/distribution/10.2/repo/oss/suse/x86_64/
1385 -mirror = http://download.opensuse.org/distribution/10.3/repo/oss/suse/i686/
1386 -mirror.amd64 = http://download.opensuse.org/distribution/10.3/repo/oss/suse/x86_64/
1390 -mirror = http://download.opensuse.org/distribution/11.0/repo/oss/suse/i686/
1391 -mirror.amd64 = http://download.opensuse.org/distribution/11.0/repo/oss/suse/x86_64/
1395 -mirror = http://download.opensuse.org/distribution/11.1/repo/oss/suse/i686/
1396 -mirror.amd64 = http://download.opensuse.org/distribution/11.1/repo/oss/suse/x86_64/
1399 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/etc/slc-5.packages rinse-1.9.1.cleanup/etc/slc-5.packages
1400 --- rinse-1.9.1.fedora-15/etc/slc-5.packages 2011-09-01 06:30:02.000000000 -0700
1401 +++ rinse-1.9.1.cleanup/etc/slc-5.packages 1969-12-31 16:00:00.000000000 -0800
1404 -# packages which we will need to download for a minimal installation for
1405 -# Scientific Linux CERN 5 (http://linux.web.cern.ch/linux/scientific5/)
1496 -yum-protect-packages
1498 -yum-metadata-parser
1501 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/etc/slc-6.packages rinse-1.9.1.cleanup/etc/slc-6.packages
1502 --- rinse-1.9.1.fedora-15/etc/slc-6.packages 2011-09-01 06:30:02.000000000 -0700
1503 +++ rinse-1.9.1.cleanup/etc/slc-6.packages 1969-12-31 16:00:00.000000000 -0800
1506 -# packages which we will need to download for a minimal installation for
1507 -# Scientific Linux CERN 6 (http://linux.web.cern.ch/linux/scientific6/)
1610 -yum-plugin-fastestmirror
1612 -yum-plugin-protect-packages
1613 -yum-plugin-protectbase
1614 -yum-metadata-parser
1617 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/scripts/fedora-core-10/post-install.sh rinse-1.9.1.cleanup/scripts/fedora-core-10/post-install.sh
1618 --- rinse-1.9.1.fedora-15/scripts/fedora-core-10/post-install.sh 2011-09-01 06:30:02.000000000 -0700
1619 +++ rinse-1.9.1.cleanup/scripts/fedora-core-10/post-install.sh 1969-12-31 16:00:00.000000000 -0800
1623 -# Customise the distribution post-install.
1630 -if [ ! -d "${prefix}" ]; then
1631 - echo "Serious error - the named directory doesn't exist."
1637 -# 2. Copy the cached .RPM files into the yum directory, so that
1638 -# yum doesn't need to make them again.
1640 -echo " Setting up YUM cache"
1641 -if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then
1642 - mkdir -p ${prefix}/var/cache/yum/core/packages/
1644 -if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then
1645 - mkdir -p ${prefix}/var/cache/yum/updates-released/packages/
1648 -for i in ${prefix}/*.rpm ; do
1649 - cp $i ${prefix}/var/cache/yum/core/packages/
1650 - cp $i ${prefix}/var/cache/yum/updates-released/packages/
1656 -# 3. Ensure that Yum has a working configuration file.
1659 -if [ $ARCH = "amd64" ] ; then
1663 -echo " Creating yum.conf"
1664 -cat > ${prefix}/etc/yum.conf <<EOF
1666 -cachedir=/var/cache/yum
1669 -logfile=/var/log/yum.log
1685 -# 4. Run "yum install yum".
1687 -echo " Priming the yum cache"
1688 -if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then
1689 - mkdir -p ${prefix}/var/cache/yum/core/packages
1691 -cp /var/cache/rinse/fedora-core-9.$ARCH/* ${prefix}/var/cache/yum/core/packages/
1693 -echo " Bootstrapping yum"
1694 -chroot ${prefix} /sbin/ldconfig
1695 -chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null
1696 -chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
1697 -chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null
1703 -echo " Cleaning up"
1704 -chroot ${prefix} /usr/bin/yum clean all
1705 -umount ${prefix}/proc
1706 -umount ${prefix}/sys
1710 -# 6. Remove the .rpm files from the prefix root.
1712 -echo " Final tidy..."
1713 -for i in ${prefix}/*.rpm; do
1716 -find ${prefix} -name '*.rpmorig' -delete
1717 -find ${prefix} -name '*.rpmnew' -delete
1718 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/scripts/fedora-core-4/post-install.sh rinse-1.9.1.cleanup/scripts/fedora-core-4/post-install.sh
1719 --- rinse-1.9.1.fedora-15/scripts/fedora-core-4/post-install.sh 2011-09-01 06:30:02.000000000 -0700
1720 +++ rinse-1.9.1.cleanup/scripts/fedora-core-4/post-install.sh 1969-12-31 16:00:00.000000000 -0800
1724 -# Customise the distribution post-install.
1731 -if [ ! -d "${prefix}" ]; then
1732 - echo "Serious error - the named directory doesn't exist."
1737 -# 2. Copy the cached .RPM files into the yum directory, so that
1738 -# yum doesn't need to make them again.
1740 -echo " Setting up YUM cache"
1741 -if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then
1742 - mkdir -p ${prefix}/var/cache/yum/core/packages/
1744 -if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then
1745 - mkdir -p ${prefix}/var/cache/yum/updates-released/packages/
1748 -for i in ${prefix}/*.rpm ; do
1749 - cp $i ${prefix}/var/cache/yum/core/packages/
1750 - cp $i ${prefix}/var/cache/yum/updates-released/packages/
1756 -# 3. Ensure that Yum has a working configuration file.
1759 -if [ $ARCH = "amd64" ] ; then
1763 -echo " Creating yum.conf"
1764 -cat > ${prefix}/etc/yum.conf <<EOF
1766 -cachedir=/var/cache/yum
1769 -logfile=/var/log/yum.log
1779 -mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-4&arch=$arch
1783 -mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc4&arch=$arch
1788 -# 4. Run "yum install yum".
1790 -echo " Bootstrapping yum"
1791 -chroot ${prefix} /sbin/ldconfig
1792 -chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null
1793 -chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
1794 -chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null
1801 -echo " Cleaning up"
1802 -chroot ${prefix} /usr/bin/yum clean all
1803 -umount ${prefix}/proc
1807 -# 6. Remove the .rpm files from the prefix root.
1809 -echo " Final tidy..."
1810 -for i in ${prefix}/*.rpm; do
1813 -find ${prefix} -name '*.rpmorig' -delete
1814 -find ${prefix} -name '*.rpmnew' -delete
1815 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/scripts/fedora-core-5/post-install.sh rinse-1.9.1.cleanup/scripts/fedora-core-5/post-install.sh
1816 --- rinse-1.9.1.fedora-15/scripts/fedora-core-5/post-install.sh 2011-09-01 06:30:02.000000000 -0700
1817 +++ rinse-1.9.1.cleanup/scripts/fedora-core-5/post-install.sh 1969-12-31 16:00:00.000000000 -0800
1821 -# Customise the distribution post-install.
1828 -if [ ! -d "${prefix}" ]; then
1829 - echo "Serious error - the named directory doesn't exist."
1836 -# 2. Copy the cached .RPM files into the yum directory, so that
1837 -# yum doesn't need to make them again.
1839 -echo " Setting up YUM cache"
1840 -if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then
1841 - mkdir -p ${prefix}/var/cache/yum/core/packages/
1843 -if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then
1844 - mkdir -p ${prefix}/var/cache/yum/updates-released/packages/
1847 -for i in ${prefix}/*.rpm ; do
1848 - cp $i ${prefix}/var/cache/yum/core/packages/
1849 - cp $i ${prefix}/var/cache/yum/updates-released/packages/
1855 -# 3. Ensure that Yum has a working configuration file.
1858 -if [ $ARCH = "amd64" ] ; then
1862 -echo " Creating yum.conf"
1863 -cat > ${prefix}/etc/yum.conf <<EOF
1865 -cachedir=/var/cache/yum
1868 -logfile=/var/log/yum.log
1878 -mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-5&arch=$arch
1882 -mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc5&arch=$arch
1887 -# 4. Run "yum install yum".
1889 -echo " Bootstrapping yum"
1890 -chroot ${prefix} /sbin/ldconfig
1891 -chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null
1892 -chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
1893 -chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null
1899 -echo " Cleaning up"
1900 -chroot ${prefix} /usr/bin/yum clean all
1901 -umount ${prefix}/proc
1902 -umount ${prefix}/sys
1906 -# 6. Remove the .rpm files from the prefix root.
1908 -echo " Final tidy..."
1909 -for i in ${prefix}/*.rpm; do
1912 -find ${prefix} -name '*.rpmorig' -delete
1913 -find ${prefix} -name '*.rpmnew' -delete
1916 -if [ -e "${prefix}/etc/modprobe.d/modprobe.conf.dist" ]; then
1917 - cp "${prefix}/etc/modprobe.d/modprobe.conf.dist" "${prefix}/etc/modprobe.conf"
1921 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/scripts/fedora-core-6/post-install.sh rinse-1.9.1.cleanup/scripts/fedora-core-6/post-install.sh
1922 --- rinse-1.9.1.fedora-15/scripts/fedora-core-6/post-install.sh 2011-09-01 06:30:02.000000000 -0700
1923 +++ rinse-1.9.1.cleanup/scripts/fedora-core-6/post-install.sh 1969-12-31 16:00:00.000000000 -0800
1927 -# Customise the distribution post-install.
1934 -if [ ! -d "${prefix}" ]; then
1935 - echo "Serious error - the named directory doesn't exist."
1942 -# 2. Copy the cached .RPM files into the yum directory, so that
1943 -# yum doesn't need to make them again.
1945 -echo " Setting up YUM cache"
1946 -if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then
1947 - mkdir -p ${prefix}/var/cache/yum/core/packages/
1949 -if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then
1950 - mkdir -p ${prefix}/var/cache/yum/updates-released/packages/
1953 -for i in ${prefix}/*.rpm ; do
1954 - cp $i ${prefix}/var/cache/yum/core/packages/
1955 - cp $i ${prefix}/var/cache/yum/updates-released/packages/
1961 -# 3. Ensure that Yum has a working configuration file.
1964 -if [ $ARCH = "amd64" ] ; then
1968 -echo " Creating yum.conf"
1969 -cat > ${prefix}/etc/yum.conf <<EOF
1971 -cachedir=/var/cache/yum
1974 -logfile=/var/log/yum.log
1984 -mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-6&arch=$arch
1988 -mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc6&arch=$arch
1993 -# 4. Run "yum install yum".
1995 -echo " Bootstrapping yum"
1996 -chroot ${prefix} /sbin/ldconfig
1997 -chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null
1998 -chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
1999 -chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null
2005 -echo " Cleaning up"
2006 -chroot ${prefix} /usr/bin/yum clean all
2007 -umount ${prefix}/proc
2008 -umount ${prefix}/sys
2012 -# 6. Remove the .rpm files from the prefix root.
2014 -echo " Final tidy..."
2015 -for i in ${prefix}/*.rpm; do
2018 -find ${prefix} -name '*.rpmorig' -delete
2019 -find ${prefix} -name '*.rpmnew' -delete
2020 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/scripts/fedora-core-7/post-install.sh rinse-1.9.1.cleanup/scripts/fedora-core-7/post-install.sh
2021 --- rinse-1.9.1.fedora-15/scripts/fedora-core-7/post-install.sh 2011-09-01 06:30:02.000000000 -0700
2022 +++ rinse-1.9.1.cleanup/scripts/fedora-core-7/post-install.sh 1969-12-31 16:00:00.000000000 -0800
2026 -# Customise the distribution post-install.
2033 -if [ ! -d "${prefix}" ]; then
2034 - echo "Serious error - the named directory doesn't exist."
2040 -# 2. Copy the cached .RPM files into the yum directory, so that
2041 -# yum doesn't need to make them again.
2043 -echo " Setting up YUM cache"
2044 -if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then
2045 - mkdir -p ${prefix}/var/cache/yum/core/packages/
2047 -if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then
2048 - mkdir -p ${prefix}/var/cache/yum/updates-released/packages/
2051 -for i in ${prefix}/*.rpm ; do
2052 - cp $i ${prefix}/var/cache/yum/core/packages/
2053 - cp $i ${prefix}/var/cache/yum/updates-released/packages/
2059 -# 3. Ensure that Yum has a working configuration file.
2062 -if [ $ARCH = "amd64" ] ; then
2066 -echo " Creating yum.conf"
2067 -cat > ${prefix}/etc/yum.conf <<EOF
2069 -cachedir=/var/cache/yum
2072 -logfile=/var/log/yum.log
2091 -# 4. Run "yum install yum".
2093 -echo " Bootstrapping yum"
2094 -chroot ${prefix} /sbin/ldconfig
2095 -chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null
2096 -chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
2097 -chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null
2103 -echo " Cleaning up"
2104 -chroot ${prefix} /usr/bin/yum clean all
2105 -umount ${prefix}/proc
2106 -umount ${prefix}/sys
2110 -# 6. Remove the .rpm files from the prefix root.
2112 -echo " Final tidy..."
2113 -for i in ${prefix}/*.rpm; do
2116 -find ${prefix} -name '*.rpmorig' -delete
2117 -find ${prefix} -name '*.rpmnew' -delete
2118 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/scripts/fedora-core-8/post-install.sh rinse-1.9.1.cleanup/scripts/fedora-core-8/post-install.sh
2119 --- rinse-1.9.1.fedora-15/scripts/fedora-core-8/post-install.sh 2011-09-01 06:30:02.000000000 -0700
2120 +++ rinse-1.9.1.cleanup/scripts/fedora-core-8/post-install.sh 1969-12-31 16:00:00.000000000 -0800
2124 -# Customise the distribution post-install.
2131 -if [ ! -d "${prefix}" ]; then
2132 - echo "Serious error - the named directory doesn't exist."
2138 -# 2. Copy the cached .RPM files into the yum directory, so that
2139 -# yum doesn't need to make them again.
2141 -echo " Setting up YUM cache"
2142 -if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then
2143 - mkdir -p ${prefix}/var/cache/yum/core/packages/
2145 -if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then
2146 - mkdir -p ${prefix}/var/cache/yum/updates-released/packages/
2149 -for i in ${prefix}/*.rpm ; do
2150 - cp $i ${prefix}/var/cache/yum/core/packages/
2151 - cp $i ${prefix}/var/cache/yum/updates-released/packages/
2157 -# 3. Ensure that Yum has a working configuration file.
2160 -if [ $ARCH = "amd64" ] ; then
2164 -echo " Creating yum.conf"
2165 -cat > ${prefix}/etc/yum.conf <<EOF
2167 -cachedir=/var/cache/yum
2170 -logfile=/var/log/yum.log
2189 -# 4. Run "yum install yum".
2191 -echo " Priming the yum cache"
2192 -if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then
2193 - mkdir -p ${prefix}/var/cache/yum/core/packages
2195 -cp /var/cache/rinse/fedora-core-8.$ARCH/* ${prefix}/var/cache/yum/core/packages/
2197 -echo " Bootstrapping yum"
2198 -chroot ${prefix} /sbin/ldconfig
2199 -chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null
2200 -chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
2201 -chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null
2207 -echo " Cleaning up"
2208 -chroot ${prefix} /usr/bin/yum clean all
2209 -umount ${prefix}/proc
2210 -umount ${prefix}/sys
2214 -# 6. Remove the .rpm files from the prefix root.
2216 -echo " Final tidy..."
2217 -for i in ${prefix}/*.rpm; do
2220 -find ${prefix} -name '*.rpmorig' -delete
2221 -find ${prefix} -name '*.rpmnew' -delete
2222 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/scripts/fedora-core-9/post-install.sh rinse-1.9.1.cleanup/scripts/fedora-core-9/post-install.sh
2223 --- rinse-1.9.1.fedora-15/scripts/fedora-core-9/post-install.sh 2011-09-01 06:30:02.000000000 -0700
2224 +++ rinse-1.9.1.cleanup/scripts/fedora-core-9/post-install.sh 1969-12-31 16:00:00.000000000 -0800
2228 -# Customise the distribution post-install.
2235 -if [ ! -d "${prefix}" ]; then
2236 - echo "Serious error - the named directory doesn't exist."
2242 -# 2. Copy the cached .RPM files into the yum directory, so that
2243 -# yum doesn't need to make them again.
2245 -echo " Setting up YUM cache"
2246 -if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then
2247 - mkdir -p ${prefix}/var/cache/yum/core/packages/
2249 -if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then
2250 - mkdir -p ${prefix}/var/cache/yum/updates-released/packages/
2253 -for i in ${prefix}/*.rpm ; do
2254 - cp $i ${prefix}/var/cache/yum/core/packages/
2255 - cp $i ${prefix}/var/cache/yum/updates-released/packages/
2261 -# 3. Ensure that Yum has a working configuration file.
2264 -if [ $ARCH = "amd64" ] ; then
2268 -echo " Creating yum.conf"
2269 -cat > ${prefix}/etc/yum.conf <<EOF
2271 -cachedir=/var/cache/yum
2274 -logfile=/var/log/yum.log
2290 -# 4. Run "yum install yum".
2292 -echo " Priming the yum cache"
2293 -if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then
2294 - mkdir -p ${prefix}/var/cache/yum/core/packages
2296 -cp /var/cache/rinse/fedora-core-9.$ARCH/* ${prefix}/var/cache/yum/core/packages/
2298 -echo " Bootstrapping yum"
2299 -chroot ${prefix} /sbin/ldconfig
2300 -chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null
2301 -chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
2302 -chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null
2308 -echo " Cleaning up"
2309 -chroot ${prefix} /usr/bin/yum clean all
2310 -umount ${prefix}/proc
2311 -umount ${prefix}/sys
2315 -# 6. Remove the .rpm files from the prefix root.
2317 -echo " Final tidy..."
2318 -for i in ${prefix}/*.rpm; do
2321 -find ${prefix} -name '*.rpmorig' -delete
2322 -find ${prefix} -name '*.rpmnew' -delete
2323 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/scripts/opensuse-10.1/post-install.sh rinse-1.9.1.cleanup/scripts/opensuse-10.1/post-install.sh
2324 --- rinse-1.9.1.fedora-15/scripts/opensuse-10.1/post-install.sh 2011-09-01 06:30:02.000000000 -0700
2325 +++ rinse-1.9.1.cleanup/scripts/opensuse-10.1/post-install.sh 1969-12-31 16:00:00.000000000 -0800
2329 -# Customise the distribution post-install.
2336 -if [ ! -d "${prefix}" ]; then
2337 - echo "Serious error - the named directory doesn't exist."
2343 -# 2. Copy the cached .RPM files into the yum directory, so that
2344 -# yum doesn't need to make them again.
2346 -echo " Setting up YUM cache"
2347 -if [ ! -d ${prefix}/var/cache/yum/core/packages/ ]; then
2348 - mkdir -p ${prefix}/var/cache/yum/core/packages/
2350 -if [ ! -d ${prefix}/var/cache/yum/updates-released/packages/ ]; then
2351 - mkdir -p ${prefix}/var/cache/yum/updates-released/packages/
2354 -for i in ${prefix}/*.rpm ; do
2355 - cp $i ${prefix}/var/cache/yum/core/packages/
2356 - cp $i ${prefix}/var/cache/yum/updates-released/packages/
2362 -# 3. Ensure that Yum has a working configuration file.
2365 -if [ $ARCH = "amd64" ] ; then
2369 -echo " Creating yum.conf"
2370 -cat > ${prefix}/etc/yum.conf <<EOF
2372 -cachedir=/var/cache/yum
2375 -logfile=/var/log/yum.log
2385 -baseurl=$(dirname ${mirror})
2389 -baseurl=$(dirname ${mirror})
2394 -# 4. Run "yum install yum".
2396 -echo " Priming the yum cache"
2397 -if [ ! -d "${prefix}/var/cache/yum/core/packages/" ]; then
2398 - mkdir -p ${prefix}/var/cache/yum/core/packages
2400 -cp ${cache_dir}/${dist}.${ARCH}/* ${prefix}/var/cache/yum/core/packages/
2402 -echo " Bootstrapping yum"
2403 -chroot ${prefix} /sbin/ldconfig
2404 -chroot ${prefix} /usr/bin/yum -y install yum 2>/dev/null
2405 -chroot ${prefix} /usr/bin/yum -y install vim-minimal 2>/dev/null
2406 -chroot ${prefix} /usr/bin/yum -y install dhclient 2>/dev/null
2407 -chroot ${prefix} /usr/bin/yum -y update 2>/dev/null
2413 -echo " Cleaning up"
2414 -chroot ${prefix} /usr/bin/yum clean all
2415 -umount ${prefix}/proc
2416 -umount ${prefix}/sys
2420 -# 6. Remove the .rpm files from the prefix root.
2422 -echo " Final tidy..."
2423 -for i in ${prefix}/*.rpm; do
2426 -find ${prefix} -name '*.rpmorig' -delete
2427 -find ${prefix} -name '*.rpmnew' -delete
2428 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/scripts/opensuse-10.2/post-install.sh rinse-1.9.1.cleanup/scripts/opensuse-10.2/post-install.sh
2429 --- rinse-1.9.1.fedora-15/scripts/opensuse-10.2/post-install.sh 2011-09-01 06:30:02.000000000 -0700
2430 +++ rinse-1.9.1.cleanup/scripts/opensuse-10.2/post-install.sh 1969-12-31 16:00:00.000000000 -0800
2434 -# Customise the distribution post-install.
2439 -if [ ! -d "${prefix}" ]; then
2440 - echo "Serious error - the named directory doesn't exist."
2445 -# 2. Copy the cached .RPM files into the zypper directory, so that
2446 -# zypper doesn't need to fetch them again.
2448 -echo " Setting up zypper cache"
2450 -if [ ! -d "${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}" ]; then
2451 - mkdir -p ${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}
2453 -cp ${cache_dir}/${dist}.${ARCH}/* ${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}
2457 -# 3. Ensure that zypper has a working configuration file.
2460 -if [ $ARCH = "amd64" ] ; then
2464 -echo " Creating zypper repo entry"
2465 -[ -d "${prefix}/etc/zypp/repos.d" ] || mkdir -p ${prefix}/etc/zypp/repos.d
2466 -cat > ${prefix}/etc/zypp/repos.d/${dist}.repo <<EOF
2469 -baseurl=$(dirname $(dirname ${mirror}))
2477 -# 4. Run "zypper install zypper".
2479 -# FIXME - Figure out a better way to bootstrap/prime zypper so it doesn't take so long
2480 -echo " Bootstrapping zypper - this will take some time!"
2481 -chroot ${prefix} /sbin/ldconfig
2482 -chroot ${prefix} /bin/sh -c "/usr/bin/yes | /usr/bin/zypper sa $(dirname $(dirname ${mirror})) ${dist}"
2483 -chroot ${prefix} /bin/sh -c "/usr/bin/yes | /usr/bin/zypper install zypper" 2>/dev/null
2484 -chroot ${prefix} /bin/sh -c "/usr/bin/yes | /usr/bin/zypper install vim-minimal" 2>/dev/null
2485 -chroot ${prefix} /bin/sh -c "/usr/bin/yes | /usr/bin/zypper install dhclient" 2>/dev/null
2486 -chroot ${prefix} /bin/sh -c "/usr/bin/yes | /usr/bin/zypper update" 2>/dev/null
2492 -echo " Cleaning up"
2493 -rm -f ${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}/*.rpm
2494 -umount ${prefix}/proc
2495 -umount ${prefix}/sys
2499 -# 6. Remove the .rpm files from the prefix root.
2501 -echo " Final tidy..."
2502 -rm -f ${prefix}/*.rpm
2504 -find ${prefix} -name '*.rpmorig' -delete
2505 -find ${prefix} -name '*.rpmnew' -delete
2506 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/scripts/opensuse-10.3/post-install.sh rinse-1.9.1.cleanup/scripts/opensuse-10.3/post-install.sh
2507 --- rinse-1.9.1.fedora-15/scripts/opensuse-10.3/post-install.sh 2011-09-01 06:30:02.000000000 -0700
2508 +++ rinse-1.9.1.cleanup/scripts/opensuse-10.3/post-install.sh 1969-12-31 16:00:00.000000000 -0800
2512 -# Customise the distribution post-install.
2517 -if [ ! -d "${prefix}" ]; then
2518 - echo "Serious error - the named directory doesn't exist."
2524 -# 2. Copy the cached .RPM files into the zypper directory, so that
2525 -# zypper doesn't need to fetch them again.
2527 -echo " Setting up zypper cache"
2529 -if [ ! -d "${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}" ]; then
2530 - mkdir -p ${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}
2532 -cp ${cache_dir}/${dist}.${ARCH}/* ${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}
2536 -# 3. Ensure that zypper has a working configuration file.
2539 -if [ $ARCH = "amd64" ] ; then
2543 -echo " Creating zypper repo entry"
2544 -[ -d "${prefix}/etc/zypp/repos.d" ] || mkdir -p ${prefix}/etc/zypp/repos.d
2545 -cat > ${prefix}/etc/zypp/repos.d/${dist}.repo <<EOF
2548 -baseurl=$(dirname $(dirname ${mirror}))
2556 -# 4. Run "zypper install zypper".
2558 -echo " Bootstrapping zypper"
2559 -chroot ${prefix} /sbin/ldconfig
2560 -chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install zypper 2>/dev/null
2561 -chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install vim-minimal 2>/dev/null
2562 -chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install dhclient 2>/dev/null
2563 -chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks update 2>/dev/null
2569 -echo " Cleaning up"
2570 -rm -f ${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}/*.rpm
2571 -umount ${prefix}/proc
2572 -umount ${prefix}/sys
2576 -# 6. Remove the .rpm files from the prefix root.
2578 -echo " Final tidy..."
2579 -for i in ${prefix}/*.rpm; do
2582 -find ${prefix} -name '*.rpmorig' -delete
2583 -find ${prefix} -name '*.rpmnew' -delete
2584 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/scripts/opensuse-11.0/post-install.sh rinse-1.9.1.cleanup/scripts/opensuse-11.0/post-install.sh
2585 --- rinse-1.9.1.fedora-15/scripts/opensuse-11.0/post-install.sh 2011-09-01 06:30:02.000000000 -0700
2586 +++ rinse-1.9.1.cleanup/scripts/opensuse-11.0/post-install.sh 1969-12-31 16:00:00.000000000 -0800
2590 -# Customise the distribution post-install.
2595 -if [ ! -d "${prefix}" ]; then
2596 - echo "Serious error - the named directory doesn't exist."
2601 -# 2. Copy the cached .RPM files into the zypper directory, so that
2602 -# zypper doesn't need to fetch them again.
2604 -echo " Setting up zypper cache"
2606 -if [ ! -d "${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}" ]; then
2607 - mkdir -p ${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}
2609 -cp ${cache_dir}/${dist}.${ARCH}/* ${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}
2613 -# 3. Ensure that zypper has a working configuration file.
2616 -if [ $ARCH = "amd64" ] ; then
2620 -echo " Creating zypper repo entry"
2621 -[ -d "${prefix}/etc/zypp/repos.d" ] || mkdir -p ${prefix}/etc/zypp/repos.d
2622 -cat > ${prefix}/etc/zypp/repos.d/${dist}.repo <<EOF
2625 -baseurl=$(dirname $(dirname ${mirror}))
2633 -# 4. Run "zypper install zypper".
2635 -echo " Bootstrapping zypper"
2636 -chroot ${prefix} /sbin/ldconfig
2637 -chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install zypper 2>/dev/null
2638 -chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install vim-minimal 2>/dev/null
2639 -chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install dhclient 2>/dev/null
2640 -chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks update 2>/dev/null
2646 -echo " Cleaning up"
2647 -chroot ${prefix} /usr/bin/zypper clean
2648 -umount ${prefix}/proc
2649 -umount ${prefix}/sys
2653 -# 6. Remove the .rpm files from the prefix root.
2655 -echo " Final tidy..."
2656 -for i in ${prefix}/*.rpm; do
2659 -find ${prefix} -name '*.rpmorig' -delete
2660 -find ${prefix} -name '*.rpmnew' -delete
2661 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/scripts/opensuse-11.1/post-install.sh rinse-1.9.1.cleanup/scripts/opensuse-11.1/post-install.sh
2662 --- rinse-1.9.1.fedora-15/scripts/opensuse-11.1/post-install.sh 2011-09-01 06:30:02.000000000 -0700
2663 +++ rinse-1.9.1.cleanup/scripts/opensuse-11.1/post-install.sh 1969-12-31 16:00:00.000000000 -0800
2667 -# Customise the distribution post-install.
2672 -if [ ! -d "${prefix}" ]; then
2673 - echo "Serious error - the named directory doesn't exist."
2678 -# 2. Copy the cached .RPM files into the zypper directory, so that
2679 -# zypper doesn't need to fetch them again.
2681 -echo " Setting up zypper cache"
2683 -if [ ! -d "${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}" ]; then
2684 - mkdir -p ${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}
2686 -cp ${cache_dir}/${dist}.${ARCH}/* ${prefix}/var/cache/zypp/packages/opensuse/suse/${arch}
2690 -# 3. Ensure that zypper has a working configuration file.
2693 -if [ $ARCH = "amd64" ] ; then
2697 -echo " Creating zypper repo entry"
2698 -[ -d "${prefix}/etc/zypp/repos.d" ] || mkdir -p ${prefix}/etc/zypp/repos.d
2699 -cat > ${prefix}/etc/zypp/repos.d/${dist}.repo <<EOF
2702 -baseurl=$(dirname $(dirname ${mirror}))
2710 -# 4. Run "zypper install zypper".
2712 -echo " Bootstrapping zypper"
2713 -chroot ${prefix} /sbin/ldconfig
2714 -chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install zypper 2>/dev/null
2715 -chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install vim-minimal 2>/dev/null
2716 -chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks install dhclient 2>/dev/null
2717 -chroot ${prefix} /usr/bin/zypper -n --no-gpg-checks update 2>/dev/null
2723 -echo " Cleaning up"
2724 -chroot ${prefix} /usr/bin/zypper clean
2725 -umount ${prefix}/proc
2726 -umount ${prefix}/sys
2730 -# 6. Remove the .rpm files from the prefix root.
2732 -echo " Final tidy..."
2733 -for i in ${prefix}/*.rpm; do
2736 -find ${prefix} -name '*.rpmorig' -delete
2737 -find ${prefix} -name '*.rpmnew' -delete
2738 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/scripts/rhel-5/post-install.sh rinse-1.9.1.cleanup/scripts/rhel-5/post-install.sh
2739 --- rinse-1.9.1.fedora-15/scripts/rhel-5/post-install.sh 2011-09-01 06:30:02.000000000 -0700
2740 +++ rinse-1.9.1.cleanup/scripts/rhel-5/post-install.sh 1969-12-31 16:00:00.000000000 -0800
2749 -if [ ! -d "${prefix}" ]; then
2750 - echo "Serious error - the named directory doesn't exist."
2754 -# rpm's can now be removed
2755 -rm -f ${prefix}/*.rpm
2758 -# 1. Make sure there is a resolv.conf file present, such that
2759 -# DNS lookups succeed.
2761 -echo " Creating resolv.conf"
2762 -if [ ! -d "${prefix}/etc/" ]; then
2763 - mkdir -p "${prefix}/etc/"
2765 -cp /etc/resolv.conf "${prefix}/etc/"
2772 -mkdir -p ${prefix}/usr/lib/python2.4/site-packages/urlgrabber.skx
2773 -for i in ${prefix}/usr/lib/python2.4/site-packages/urlgrabber/keepalive.*; do
2774 - mv $i ${prefix}/usr/lib/python2.4/site-packages/urlgrabber.skx/
2778 -# Run "yum install yum".
2780 -echo " Mounting /proc"
2781 -if [ ! -d "${prefix}/proc" ]; then
2782 - mkdir -p "${prefix}/proc"
2784 -mount -o bind /proc ${prefix}/proc
2786 -echo " Bootstrapping yum"
2787 -chroot ${prefix} /usr/bin/yum -y install yum vim-minimal dhclient 2>/dev/null
2790 -# make 'passwd' work.
2793 -chroot ${prefix} /usr/bin/yum -y install authconfig
2794 -chroot ${prefix} /usr/bin/authconfig --enableshadow --update
2799 -echo " Cleaning up"
2800 -chroot ${prefix} /usr/bin/yum clean all
2801 -umount ${prefix}/proc
2805 -# 6. Remove the .rpm files from the prefix root.
2807 -echo " Final tidy..."
2808 -find ${prefix} -name '*.rpmorig' -delete
2809 -find ${prefix} -name '*.rpmnew' -delete
2810 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/scripts/slc-5/post-install.sh rinse-1.9.1.cleanup/scripts/slc-5/post-install.sh
2811 --- rinse-1.9.1.fedora-15/scripts/slc-5/post-install.sh 2011-09-01 06:30:02.000000000 -0700
2812 +++ rinse-1.9.1.cleanup/scripts/slc-5/post-install.sh 1969-12-31 16:00:00.000000000 -0800
2817 -# Scientific Linux CERN (SLC5)
2821 -if [ ! -d "${prefix}" ]; then
2822 - echo "Serious error - the named directory doesn't exist."
2826 -# rpm's can now be removed
2827 -rm -f ${prefix}/*.rpm
2829 -touch ${prefix}/etc/mtab
2831 -echo " Bootstrapping yum"
2832 -chroot ${prefix} /usr/bin/yum -y install yum vim-minimal dhclient 2>/dev/null
2834 -echo " cleaning up..."
2835 -chroot ${prefix} /usr/bin/yum clean all
2836 -umount ${prefix}/proc
2837 -umount ${prefix}/sys
2840 -if [ -e "${prefix}/etc/modprobe.d/modprobe.conf.dist" ]; then
2841 - cp "${prefix}/etc/modprobe.d/modprobe.conf.dist" "${prefix}/etc/modprobe.conf"
2844 -echo " post-install.sh : done."
2845 diff -aurN '--exclude=*~' rinse-1.9.1.fedora-15/scripts/slc-6/post-install.sh rinse-1.9.1.cleanup/scripts/slc-6/post-install.sh
2846 --- rinse-1.9.1.fedora-15/scripts/slc-6/post-install.sh 2011-09-01 06:30:02.000000000 -0700
2847 +++ rinse-1.9.1.cleanup/scripts/slc-6/post-install.sh 1969-12-31 16:00:00.000000000 -0800
2852 -# Scientific Linux CERN (SLC-6)
2856 -if [ ! -d "${prefix}" ]; then
2857 - echo "Serious error - the named directory doesn't exist."
2861 -# rpm's can now be removed
2862 -rm -f ${prefix}/*.rpm
2864 -touch ${prefix}/etc/mtab
2866 -echo " Bootstrapping yum"
2867 -chroot ${prefix} /usr/bin/yum -y install yum vim-minimal dhclient 2>/dev/null
2869 -echo " cleaning up..."
2870 -chroot ${prefix} /usr/bin/yum clean all
2871 -umount ${prefix}/proc
2872 -umount ${prefix}/sys
2875 -if [ -e "${prefix}/etc/modprobe.d/modprobe.conf.dist" ]; then
2876 - cp "${prefix}/etc/modprobe.d/modprobe.conf.dist" "${prefix}/etc/modprobe.conf"
2879 -echo " post-install.sh : done."