--- rpms/anaconda/sme8/anaconda.spec 2008/06/24 16:12:30 1.6 +++ rpms/anaconda/sme8/anaconda.spec 2009/04/14 14:36:31 1.7 @@ -1,11 +1,11 @@ Name: anaconda -Version: 11.1.2.113 -Release: 1%{?dist}.2 +Version: 11.1.2.168 +Release: 1.el5.centos License: GPL Summary: Graphical system installer Group: Applications/System Source: anaconda-%{PACKAGE_VERSION}.tar.bz2 -BuildPreReq: kudzu-devel >= 1.2.57.1.15, pciutils-devel +BuildPreReq: kudzu-devel >= 1.2.57.1.18, pciutils-devel BuildPreReq: bzip2-devel, e2fsprogs-devel, python-devel, gtk2-devel BuildPreReq: rpm-python >= 4.2-0.61, newt-devel, rpm-devel, gettext >= 0.11 BuildPreReq: rhpl, booty, libxml2-python, zlib-devel, elfutils-devel @@ -16,13 +16,17 @@ BuildPreReq: libsepol-devel BuildPreReq: pango-devel, pirut, libXt-devel, slang-devel >= 2.0.6-2 BuildPreReq: libdhcp-devel >= 1.20-5, mkinitrd-devel >= 5.1.2-1 BuildPreReq: audit-libs-devel, libnl-devel >= 1.0-0.10.pre5.5 +%ifnarch s390 s390x +BuildPreReq: iscsi-initiator-utils >= 6.2.0.868-0.9 +%endif Requires: rpm-python >= 4.2-0.61, rhpl >= 0.170, booty Requires: parted >= 1.7.1, pyparted >= 1.7.2 -Requires: kudzu >= 1.2.42, yum >= 2.9.2, pirut >= 1.1.0 +Requires: kudzu >= 1.2.57.1.18, yum >= 2.9.2, pirut >= 1.1.0 Requires: libxml2-python, python-urlgrabber Requires: system-logos, pykickstart, system-config-date Requires: device-mapper >= 1.01.05-3 Requires: dosfstools >= 2.11-6.2 e2fsprogs +Requires: e4fsprogs Requires: python-pyblock >= 0.26-1 Requires: libbdevid >= 5.1.2-1, libbdevid-python Requires: audit-libs @@ -34,14 +38,13 @@ Url: http://fedora.redhat.com/projects/a Patch1: anaconda-centos-syslinux-msg.patch Patch2: anaconda-centos-installclasses-2.patch Patch3: anaconda-centos-regkey.patch -Patch4: anaconda-centos-centos-branding-po_files_5.1.patch +Patch4: anaconda-centos-centos-branding-po_files_5.3.patch Patch5: anaconda-centos-inst-type.patch Patch6: anaconda-centos-task.patch Patch7: anaconda-centos-removeStatusText.patch Patch8: anaconda-centos-splittree_allow_missing_RPMSdir.patch Patch9: anaconda-centos-pkgorder.patch Patch10: anaconda-centos-additional-repos.patch -Patch100: anaconda-11.1.2.113-smeserver.patch BuildRoot: %{_tmppath}/anaconda-%{PACKAGE_VERSION} @@ -64,6 +67,10 @@ Requires: syslinux Requires: openssh %endif Requires: /usr/bin/strip, xorg-x11-font-utils, netpbm-progs +Requires: xml-common +Requires: libxml2 +Requires(post): /usr/bin/xmlcatalog +Requires(postun): /usr/bin/xmlcatalog %description runtime The anaconda-runtime package contains parts of the installation system which @@ -84,7 +91,8 @@ sets, but are not meant for use on alrea %patch8 -p1 #%patch9 -p1 %patch10 -p1 -%patch100 -p1 + + %build make depend @@ -100,6 +108,22 @@ strip $RPM_BUILD_ROOT/usr/lib/anaconda/* %clean rm -rf $RPM_BUILD_ROOT +%post runtime +CATALOG=/etc/xml/catalog +/usr/bin/xmlcatalog --noout --add "rewriteSystem" \ + "comps.dtd" \ + "/usr/share/xml/comps/1.0/comps.dtd" $CATALOG || : +/usr/bin/xmlcatalog --noout --add "rewriteURI" \ + "comps.dtd" \ + "/usr/share/xml/comps/1.0/comps.dtd" $CATALOG || : + +%postun runtime +if [ $1 = 0 ]; then + CATALOG=/etc/xml/catalog + /usr/bin/xmlcatalog --noout --del \ + "/usr/share/xml/comps/1.0/comps.dtd" $CATALOG || : +fi + %files %defattr(-,root,root) %doc COPYING @@ -121,16 +145,446 @@ rm -rf $RPM_BUILD_ROOT %files runtime %defattr(-,root,root) /usr/lib/anaconda-runtime +/usr/share/xml/comps %triggerun -- anaconda < 8.0-1 /sbin/chkconfig --del reconfig >/dev/null 2>&1 || : %changelog -* Tue Jun 24 2008 Shad L. Lords 11.1.2.113-1.el5.sme.2 -- Apply SME patches +* Sun Mar 1 2009 Karanbir Singh +- Roll in CentOS Branding -* Mon Jun 8 2008 Karanbir Singh 11.1.2.113-1.el5.centos.2 -- Roll in CentOS Modifications +* Thu Dec 18 2008 Joel Granados 11.1.2.168-1 +- Make anaconda work with new API change in YUM (jgranado) + Resolves: rhbz:#476957 + +* Wed Dec 17 2008 Joel Granados 11.1.2.167-1 +- Fix anaconda build (hdegoede). + Related: rhbz:#476739 + +* Tue Dec 16 2008 Joel Granados 11.1.2.166-1 +- Load the raid45 modules at init time (jgranado). + Related: rhbz#475385 +- Make sure the raid45 modules are in the images (jgranado). + Related: rhbz#475385 + +* Mon Dec 15 2008 David Cantrell 11.1.2.165-1 +- Final translations for instnum text (clumens) + Related: rhbz#474375 + +* Fri Dec 12 2008 David Cantrell 11.1.2.164-1 +- Fix non-CHAP iBFT install cases (hdegoede) + Resolves: rhbz#432819 +- More translations for the instnum text (clumens) + Related: rhbz#474375 + +* Wed Dec 10 2008 Chris Lumens 11.1.2.163-1 +- Mark some new translations as fuzzy to fix the build. + Related: rhbz#474375 + +* Wed Dec 10 2008 Chris Lumens 11.1.2.162-1 +- Update translation files for the instnum text change. + Related: rhbz#474375 + +* Wed Dec 3 2008 David Cantrell 11.1.2.161-1 +- Include the libwrap in the initrd image + Resolves: rhbz#473955 + +* Mon Dec 1 2008 Joel Granados 11.1.2.160-1 +- Allow ssh and telnet to the install (jgranado). + Resolves: rhbz:#473955 + +* Mon Dec 1 2008 Joel Granados 11.1.2.159-1 +- The LV size is smaller than the totall sum of the partitions that make it up (jgranado). + Resolves: rhbz:#468944 + +* Tue Nov 25 2008 Chris Lumens 11.1.2.158-1 +- Fix up ibft use cases (pjones). +- Partition requests can be None when populating the tree (dlehman). + Resolves: rhbz#472788 +- Remove the name check on driver disk packages. + Resolves: rhbz#472951 +- Remove missing PVs before removing obsolete VG (rvykydal). + Resolves: rhbz#468431 +- Make the driverdisc label uppercase (msivak). + Related: rhbz#316481 + +* Wed Nov 19 2008 Chris Lumens 11.1.2.157-1 +- Include ide-cs module into initrd (msivak). + Related: rhbz#448009 + +* Wed Nov 12 2008 Chris Lumens 11.1.2.156-1 +- Fix a variety of pychecker errors (clumens, dcantrell, dlehman, rvykydal). + Resolves: rhbz#469734 +- Remove defunct VG before creating new one of the same name (rvykydal). + Resolves: rhbz#469700 +- Fix detection of ext4 on raid in rescue and upgrade (rvykydal). + Resolves: rhbz#470221 + +* Tue Nov 11 2008 Joel Granados 11.1.2.155-1 +- Enable the DD repository if the DD autodetection feature was used (msivak). + Related: rhbz:#316631 +- Call insmod in linuxrc.s390, not insert_module (dcantrell). + Related: rhbz:#184648 +- Load FCP modules early for CD/DVD install (dcantrell). + Related: rhbz:#184648 +- Update mk-s390-cdboot.c to work with large kernel images (dcantrell). + Related: rhbz:#184648 +- Fix all trivial (1 liner fixes) errors found by pychecker (hdegoede). + Related: rhbz:#469730 + +* Wed Nov 05 2008 Chris Lumens 11.1.2.154-1 +- Include the new fnic driver (jgranado). + Related: rhbz#462387 +- Run the busProbe after we have all driver disks loaded (msivak). + Related: rhbz#316481 + +* Wed Nov 5 2008 Joel Granados 11.1.2.153-1 +- Use struct audit_reply instead of struct auditd_reply_list (hdegoede). + Resolves: rhbz:#469873 +- The Encryption button was missing in one migrate case (msivak). + Resolves:#469849 +- kickstart expects --dhcpclass instead of --class (clumens). + Resolves: rhbz:#468972 +- Fix the mounting procedure for autodetected driverdiscs (msivak). + Resolves: rhbz:#316481 + +* Fri Oct 31 2008 Joel Granados 11.1.2.152-1 +- Prepare environemnt so the AutoDD is properly detected (msivak). + Resolves: rhbz:#316481 +- Don't write luks passphrases to anaconda-ks.cfg (dlehman). + Resolves: rhbz:#468907 +- Write zeros to remove metadata before running luksFormat (dlehman). + Resolves: rhbz:#469177 + +* Wed Oct 29 2008 David Cantrell 11.1.2.151-1 +- Write correct OPTIONS line to ifcfg files on s390 for layer2 (dcantrell) + Resolves: rhbz#468755 + +* Wed Oct 29 2008 Joel Granados 11.1.2.150-1 +- Call createrepo in buildinstall only if --pkgorder is present (rvykydal). + Resolves: rhbz:#467341 + +* Tue Oct 28 2008 Joel Granados 11.1.2.149-1 +- Actually use the stderr parameter instead of duping to stdout (dlehman). + Resolves: rhbz:#467289 +- Revert "Specify a default cio_ignore parameter for s390x (#253075)" (dcantrell). + Related: rhbz:#253075 +- Revert "Enable CCW devices used for installation (#253075)" (dcantrell). + Related: rhbz:#253075 +- Revert "Correctly enable ignored CCW devices in linuxrc.s390 (#253075)" (dcantrell). + Related: rhbz:#253075 + +* Fri Oct 24 2008 Joel Granados 11.1.2.148-1 +- Probe the devices to populate cache for DD routines (msivak). + Resolves: rhbz:#316481 + +* Thu Oct 23 2008 Joel Granados 11.1.2.147-1 +- Dont execute the extra information message for all the devices (jgranado). + Resolves: rhbz:#466291 + +* Tue Oct 21 2008 David Cantrell 11.1.2.146-1 +- Fix up CCW device enabling on s390x (dcantrell) + Resolves: rhbz#253075 + +* Mon Oct 20 2008 Dave Lehman 11.1.2.145-1 +- Handle device names containing "/" in LUKS name fixup + Related: rhbz#464769 + +* Thu Oct 16 2008 David Cantrell 11.1.2.144-1 +- Enable CCW devices used for installation (dcantrell) + Resolves: rhbz#253075 + +* Wed Oct 15 2008 Joel Granados 11.1.2.143-1 +- Change order when calling dasdFmt to avoid race condition while formating dasd drives (jgranado). + Resolves: rhbz:#466474 + +* Tue Oct 14 2008 Joel Granados 11.1.2.142-1 +- Add the enic driver (jgranado). + Resolves: rhbz:#462387 +- Get the right list elements for the iscsi text interface (clumens). + Resolves: rhbz:#466902 +- Fix detection of ext4/ext4dev root partitions in rescue (rvykydal). + Resolves: rhbz:#466868 + +* Mon Oct 13 2008 Joel Granados 11.1.2.141-1 +- Prevent creation of encrypted swraid partitions (dlehman). + Resolves: rhbz:#456283 +- Enable the iBFT by default and set the fallbacks to mimic the w/o iBFT behaviour (msivak). + Resolves: rhbz:#445721 + +* Fri Oct 10 2008 Peter Jones - 11.1.2.140-1 +- Don't display errors from nl_set_device_mtu() (dcantrell) + Resolves: rhbz#466305 +- Use a correct path for addnote, since the one in the original patch + wasn't what the kernel group thought they were telling me. + Related: rhbz#462663 + +* Thu Oct 09 2008 Chris Lumens 11.1.2.139-1 +- Handle None in luks device name rectification (pjones). + Resolves: rhbz#466348 + +* Wed Oct 08 2008 Peter Jones - 11.1.2.138-2 +- Start the iBFT configured drives during iSCSI startup (msivak) + Resolves: rhbz#445721 + +* Wed Oct 08 2008 Peter Jones - 11.1.2.138-1 +- Add note to bootable kernel image on ppc64 (dhowells) + Related: rhbz#462663 + +* Mon Oct 06 2008 Chris Lumens 11.1.2.137-2 +- Better error checking when retrieveing info from iBFT (msivak). + Related: rhbz#445721 +- Fix a typo in the anaconda-runtime %post scriptlets. + Resolves: rhbz#465441 + +* Fri Oct 3 2008 Joel Granados 11.1.2.136-2 +- Fix build. + Related: rhbz:#445721 + +* Fri Oct 3 2008 Joel Granados 11.1.2.136-1 +- Rebuild to make brew happy. + Related: rhbz:#445721 + +* Fri Oct 3 2008 Joel Granados 11.1.2.135-1 +- iBFT has MAC addresses with wrong case, use strcasecmp to compare them (msivak). + Resolves: rhbz:#445721 +- Look up correct luks name before trying to decide on our boot device (pjones). + Resolves: rhbz:#464769 +- Add new LUKS devices to partitions.encryptedDevices (dlehman). + Resolves: rhbz:#464769 +- Add a workaround for lvm-on-raid size miscomputation (clumens). + Resolves: rhbz:#463431 +- Do not use labels to specifiy LUKS devices in /etc/fstab (dlehman). + Resolves: rhbz:#461702 + +* Thu Oct 2 2008 Joel Granados 11.1.2.134-1 +- Fix traceback when using kickstart and device encryption (pjones). + Resolves: rhbz:#461700 +- Fix traceback when using encryption with kickstart (pjones). + Resolves: rhbz:#461700 +- Fix ext4/ext4dev detection on existing partitions (rvykydal). + Resolves: rhbz:#465248 + +* Tue Sep 30 2008 Joel Granados 11.1.2.133-1 +- Set a label on /etc/sysconfig/keyboard (clumens). + Resolves: rhbz:#463785 +- Add comps.dtd to anaconda-runtime package (dcantrell). + Resolves: rhbz:#442138 +- Make sure /etc/xml/catalog is updated on package removal (dcantrell). + Resolves: rhbz:#442138 +- Fix a logging traceback in the encryption code (clumens). + Resolves: rhbz:#464771 +- Fix lvm partitioning in gui that was broken (rvykydal). + Resolves: rhbz:#415871 +- Fix computing of lvm partition sizes wrt physical extent size in gui (rvykydal). + Resolves: rhbz:463780 +- Add pointer initialization (rvykydal). + Resolves: rhbz#439461 + +* Fri Sep 26 2008 Joel Granados 11.1.2.132-1 +- When we use kickstart with specified UI mode, do not prompt for VNC (msivak). + Resolves: rhbz##453551 + +* Thu Sep 25 2008 Chris Lumens 11.1.2.131-1 +- Fix rescue mode typo. + Resolves: rhbz#463920 +- Fix traceback accessing obsolete data member (dlehman). + Resolves: rhbz#463778 + +* Tue Sep 23 2008 Chris Lumens 11.1.2.130-1 +- Fix the test for if we should remove the Virt group. + Resolves: rhbz#462907. + +* Mon Sep 22 2008 David Cantrell 11.1.2.129-1 +- Fix mk-s390-cdboot so it doesn't SIGSEGV when generating images (dcantrell) + Related: rhbz#184648 +- Add libfipscheck to initrd for sshd on s390x (clumens) + Resolves: rhbz#463273 + +* Fri Sep 19 2008 Chris Lumens 11.1.2.128-1 +- Include the correct version of the spec file in the source archive. + Related: rhbz#461700 + +* Fri Sep 19 2008 Chris Lumens 11.1.2.127-1 +- Support for system-wide passphrase for encrypted block devices (dlehman). + Resolves: rhbz#461700 + +* Wed Sep 17 2008 David Cantrell 11.1.2.126-1 +- Add a stub to cmdline UI for getLuksPassphrase (dlehman) + Resolves: rhbz#462491 +- Don't add a LUKSDevice to autopart PVs unless we're encrypting (dlehman) + Resolves: rhbz#462640 +- Support upgrade of systems that use encrypted block devices (dlehman) + Resolves: rhbz#461696 +- Disallow use or creation of encrypted software RAID partitions (dlehman) + Resolves: rhbz#456283 +- Use UUIDs instead of device nodes in crypttab (dlehman) + Resolves: rhbz#461702 +- Add support for OSA Express 2 ports per CHPID (rvykydal) + Resolves: rhbz#439461 +- Fix kickstart timezone value checking (rvykydal) + Resolves: rhbz#462595 + Resolves: rhbz#404321 + +* Tue Sep 16 2008 Chris Lumens 11.1.2.125-1 +- Include the programs needed to manage ext4 filesystems (clumens). + Resolves: rhbz#462476 +- Fix a reference to a variable before it exists in network.py (clumens). + Resolves: rhbz#462480 + +* Mon Sep 15 2008 Chris Lumens 11.1.2.124-1 +- Fix blkid_dev_next return value checking (rvykydal). + Resolves: rhbz#462175 +- Add the reverse chap bits for kickstart as well (pjones). + Related: rhbz#432819 +- Make iBFT reading explicit from a higher level (pjones). +- Fix device nodes creating for more than 8 cciss devices (rvykydal). + Resolves: rhbz#445765 +- Disable iBFT support for s390 and s390x (dcantrell). + +* Thu Sep 11 2008 David Cantrell 11.1.2.123-1 +- Disable iBFT support on s390 and s390x (dcantrell) + Related: rhbz#445721 + +* Thu Sep 11 2008 David Cantrell 11.1.2.122-1 +- Add full CHAP support to iSCSI (pjones) + Resolves: rhbz#432819 +- Don't set iscsi devices to autostart (pjones) + Resolves: rhbz#437891 +- Support iSCSI CHAP and Reverse CHAP authentication (pjones) + Resolves: rhbz#402431 + Resolves: rhbz#432819 +- Partitions growing fixed (rvykydal) + Resolves: rhbz#442628 +- Do not traceback when no root partitions are found in upgrade (rvykydal) + Resolves: rhbz#444527 +- Add support for ext4dev/ext4 filesystem (rvykydal) + Resolves: rhbz#444527 +- Add support for reading NIC setup from the iBFT table (msivak) + Resolves: rhbz#445721 +- Add 802.1q driver (rvykydal) + Resolves: rhbz#431915 +- Add libfipscheck to the images (clumens) + Resolves: rhbz#461923 +- Display drive model and size in MB in partitioning UI (dcantrell) + Resolves: rhbz#460697 + +* Wed Sep 03 2008 Chris Lumens 11.1.2.121-1 +- Enable the dlabel=on for RHEL by default (msivak). + Related: rhbz#316481. + +* Thu Aug 28 2008 Chris Lumens 11.1.2.120-2 +- libuuid is provided by e2fsprogs-devel. + Related: rhbz#316481. + +* Thu Aug 28 2008 Chris Lumens 11.1.2.120-1 +- Include the nss libraries that the new RPM is linked against. + Resolves: rhbz#460375. +- Add automatic driver disk detection (msivak). + Resolves: rhbz#316481. + +* Wed Aug 6 2008 Joel Granados 11.1.2.119-1 +- Support VDSK devices on s390x (dcantrell). + Resolves: rhbz#264061 + +* Wed Jul 30 2008 Joel Granados 11.1.2.118-1 +- Use fedorakmod.py plugin from yum-utils package, don't pack it in anaconda (rvykydal). + Resolves: rhbz#434804 +- Make sure bootproto=query settings carry over to stage2 (clumens). + Resolves: rhbz#453863 +- Probe BUS_VIRTIO again after probing BUS_PCI (markmc). + Resolves: rhbz#446232 +- Add virtio drives to multipath blacklist (markmc). + Resolves: rhbz#446232 +- Add virtio max partition count (markmc). + Resolves: rhbz#446232 +- Sort virtio devices first (markmc). + Resolves: rhbz#446232 +- Probe on BUS_VIRTIO for devices (markmc). + Resolves: rhbz#446232 +- Explicitly include virtio_pci in the initrd (markmc). + Resolves: rhbz#446232 +- Add virtio to module-info (markmc). + Resolves: rhbz#446232 +- Add virtio support to devMakeInode() (markmc). + Resolves: rhbz#446232 +- Offer physical NIC identification in stage 1 (dcantrell). + Resolves: rhbz:#261101 +- Suspend the curses interface before calling scripts and resume afterwards (msivak). + Resolves: rhbz#435314 + +* Wed Jul 23 2008 Joel Granados 11.1.2.117-1 +- Fix the build. +- Change the Makefile so it doesn't replace tags. + +* Wed Jul 23 2008 Joel Granados 11.1.2.116-1 +- Specify a default cio_ignore parameter for s390x (dcantrell). + Resolves: rhbz#253075 +- Call dhcpNetDevice() instead of removed pumpNetDevice() (rvykydal). + Resolves: rhbz#452664 +- Add support for the --only-use argument to RHEL5 (rvykydal). + Resolves: rhbz#318351 +- Log a message informing about the critical upgrade error (jgranado). + Resolves: rhbz#436865 +- Support booting from FCP-attached CD/DVD drive on s390 (dcantrell). + Resolves: rhbz#184648 +- The actual size of a logical volume must be rounted down (jgranado). + Resolves: rhbz#415871 +- Set network device MTU if user specified mtu= (dcantrell). + Resolves: rhbz#435874 + +* Wed Jul 16 2008 Joel Granados 11.1.2.115-1 +- Pass the cmdline options to the nfs structure (jgranado). + Resolves: rhbz#432603 +- Remove hicolor-icon-theme>gtk2 from whiteout.py (msivak). + Resolves: rhbz#369251 +- Ask the user if he wants to use VNC instead of text mode (msivak). + Resolves: rhbz#453551 +- Leftover bits of encrypted block device support (dlehman). + Resolves: rhbz#229865 +- Rescue of systems containing encrypted block devices (dlehman). + Resolves: rhbz#229865 +- Support preexisting encrypted block devices (dlehman). + Resolves: rhbz#229865 +- Kickstart support for encrypted block devices (dlehman). + Resolves: rhbz#229865 +- User interface for manipulating encrypted block devices (dlehman). + Resolves: rhbz#229865 +- Partitioning with encrypted block devices (dlehman). + Resolves: rhbz#229865 +- Device-level support for encrypted block devices (dlehman). + Resolves: rhbz#229865 + +* Wed Jul 9 2008 Joel Granados 11.1.2.114-1 +- Enable upgrades for mayor version in rhel5 only (jgranado). + Resolves: rhbz#436865 +- Handling of invalid timezone value in kickstart added (rvykydal). + Resolves: rhbz#404321 +- GCC is complaining about unchecked return value from read call (msivak). + Resolves: rhbz#448009 +- Enable re-IPL on s390x after installation (dcantrell). + Resolves: rhbz#432416 +- Change the maximum recommended swap size to "2000 + (current ram)" (jgranado). + Resolves: rhbz#447372 +- Don't show the virtualization option if we are in Xen or in Vmware (jgranado). + Resolves: rhbz#258441 +- Prepare the system a little before initializing the pcmcia devices (msivak). + Resolves: rhbz#448009 +- Change the total number of processed packages/files/.. to avoid negative counter in remaining packages (msivak). + Resolves: rhbz#436103 +- Create additional /dev/xvda device nodes (clumens). + Resolves: rhbz#437752 +- Don't use error messages from dosfslabel as the label (clumens) + Resolves: rhbz#427457 +- Add nui driver (jgranado). + Resolves: rhbz#444820 +- Allow the use of the "-" character in lvm names (jgranado). + Resolves: rhbz#430907 +- yum.remove removes installed packages, not to be installed packages (msivak). + Resolves: rhbz#442325 +- Allow removing packages by glob now that yum supports it (msivak). + Resolves: rhbz#442325 * Wed Apr 16 2008 Chris Lumens 11.1.2.113-1 - Require the latest version of libnl-devel.