/[smeserver]/builds_bin/build_installer
ViewVC logotype

Diff of /builds_bin/build_installer

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by gordonr, Mon Oct 10 03:15:53 2005 UTC Revision 1.3 by slords, Wed Nov 23 20:15:08 2005 UTC
# Line 19  Line 19 
19    
20    
21  echo "Checking packages not installed in CentOS workstation group"  echo "Checking packages not installed in CentOS workstation group"
22  for package in anaconda anaconda-runtime bogl booty createrepo mkisofs zsync  for package in anaconda anaconda-runtime bogl booty createrepo mkisofs zsync \
23            xorg-x11-font-utils netpbm-progs netpbm
24  do  do
25      rpm -q $package || exit "$package must be installed"      rpm -q $package || exit "$package must be installed"
26  done  done
# Line 42  PYTHONPATH=/usr/lib/anaconda/ /usr/lib/a Line 43  PYTHONPATH=/usr/lib/anaconda/ /usr/lib/a
43          $(pwd)/cdrom.image \          $(pwd)/cdrom.image \
44          i386 > pkgorder          i386 > pkgorder
45    
46  # Link to necessary rpms to rebuild installer  PACKAGES="acl anaconda anaconda-help anaconda-images anaconda-runtime ash
47  for rpm in anaconda-10.1.1.19-1.centos4.i386.rpm \            atk attr audiofile audit-libs bash beecrypt bitmap-fonts-cjk bogl
48             anaconda-help-10.1.0-1.centos4.noarch.rpm \            bogl-bterm booty busybox-anaconda bzip2 bzip2-libs comps-extras
49             anaconda-runtime-10.1.1.19-1.centos4.i386.rpm \            convertdb1 coreutils cpio device-mapper dmapi dosfstools dump
50             atk-1.8.0-2.i386.rpm \            e2fsprogs elfutils-libelf esound expat fedora-logos findutils
51             audiofile-0.2.6-1.i386.rpm \            fontconfig fonts-arabic fonts-bengali fonts-ISO8859-2 fonts-ISO8859-9
52             bogl-0.1.18-4.i386.rpm \            fonts-xorg-100dpi fonts-xorg-base fonts-xorg-ISO8859-15-75dpi
53             bogl-bterm-0.1.18-4.i386.rpm \            fonts-xorg-ISO8859-2-75dpi fonts-xorg-ISO8859-9-75dpi fonts-xorg-KOI8-R
54             booty-0.44-1.i386.rpm \            fonts-xorg-KOI8-R-75dpi freetype ftp gdk-pixbuf glib2 glibc glibc-common
55             busybox-anaconda-1.00.rc1-5.i386.rpm \            gnome-python2 gnome-python2-canvas gpm gtk2 gzip hdparm hwdata iputils
56             comps-extras-10.1-1.noarch.rpm \            jfsutils joe kernel-pcmcia-cs kernel-utils krb5-libs kudzu less libacl
57             esound-0.2.35-2.i386.rpm \            libart_lgpl libattr libgcc libgnome libgnomecanvas libjpeg libpng
58             fonts-arabic-1.5-3.noarch.rpm \            libselinux libsepol libstdc++ libtermcap libxml2 libxml2-python lvm2
59             fonts-bengali-0.1-3.noarch.rpm \            man mdadm memtest86+ modutils mtools mtr mt-st ncurses net-tools newt
60             fonts-xorg-base-6.8.1.1-1.EL.1.noarch.rpm \            open openssh openssh-clients openssl pam pango parted pciutils policy
61             gdk-pixbuf-0.22.0-16.el4.i386.rpm \            policycoreutils popt prelink procps pygtk2 pyparted python pyxf86config
62             gnome-python2-2.6.0-3.i386.rpm \            raidtools readline redhat-artwork redhat-logos reiserfs-utils rhpl rpm
63             gnome-python2-applet-2.6.0-3.i386.rpm \            rpm-libs rpm-python rsh sed selinux-policy-targeted setup slang specspo
64             gnome-python2-canvas-2.6.0-3.i386.rpm \            syslinux system-config-date system-config-keyboard taipeifonts tar
65             gnome-python2-nautilus-2.6.0-3.i386.rpm \            tcp_wrappers traceroute ttfonts-bn ttfonts-gu ttfonts-hi ttfonts-ja
66             gtk2-2.4.13-14.i386.rpm \            ttfonts-ko ttfonts-pa ttfonts-ta ttfonts-zh_CN ttfonts-zh_TW tzdata
67             joe-3.1-6.i386.rpm \            urw-fonts util-linux vnc-server Xconfigurator XFree86 XFree86-100dpi-fonts
68             libart_lgpl-2.3.16-3.i386.rpm \            XFree86-75dpi-fonts XFree86-base-fonts XFree86-ISO8859-15-75dpi-fonts
69             libgnomecanvas-2.8.0-1.i386.rpm \            XFree86-ISO8859-2-75dpi-fonts XFree86-ISO8859-9-75dpi-fonts
70             memtest86+-1.26-2.i386.rpm \            XFree86-KOI8-R XFree86-KOI8-R-75dpi-fonts XFree86-libs XFree86-libs-data
71             open-1.4-21.i386.rpm \            XFree86-xfs xfsdump xfsprogs Xft xorg-x11 xorg-x11-100dpi-fonts
72             pango-1.6.0-9.i386.rpm \            xorg-x11-base xorg-x11-base-fonts xorg-x11-ISO8859-15-75dpi
73             parted-1.6.19-1.EL.i386.rpm \            xorg-x11-ISO8859-15-75dpi-fonts xorg-x11-ISO8859-2-75dpi-fonts
74             pygtk2-2.4.0-1.i386.rpm \            xorg-x11-ISO8859-9-75dpi-fonts xorg-x11-KOI8-R xorg-x11-KOI8-R-75dpi-fonts
75             pyparted-1.6.8-2.i386.rpm \            xorg-x11-libs xorg-x11-libs-data xorg-x11-xfs zlib"
76             redhat-artwork-0.120-1.1E.centos4.1.i386.rpm \  
77             redhat-logos-1.1.25-1.centos4.3.noarch.rpm \  for PKG in $PACKAGES;
78             rsh-0.17-25.3.i386.rpm \  do
79             system-config-date-1.7.15-0.RHEL4.1.noarch.rpm \      PACKAGEFILE=$(rpm --qf "%{NAME} %{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm\n" --nodigest --nosignature -qp /mirrors/centos/4.2/updates/i386/RPMS/$PKG*{i386,noarch}.rpm | egrep "^$PKG " | sed 's/.* //')
80             ttfonts-bn-1.8-1.noarch.rpm \      if [ -n "$PACKAGEFILE" ];
81             ttfonts-gu-1.8-1.noarch.rpm \      then
82             ttfonts-hi-1.8-1.noarch.rpm \          if [ ! -f $(pwd)/cdrom.image/CentOS/RPMS/$PACKAGEFILE ];
83             ttfonts-ja-1.2-36.EL4.0.noarch.rpm \          then
84             ttfonts-ko-1.0.11-32.2.noarch.rpm \              ln -sf /mirrors/centos/4.2/updates/i386/RPMS/$PACKAGEFILE $(pwd)/cdrom.image/CentOS/RPMS/$PACKAGEFILE
85             ttfonts-pa-1.8-1.noarch.rpm \          fi
86             ttfonts-ta-1.8-1.noarch.rpm \      else
87             ttfonts-zh_CN-2.14-6.noarch.rpm \          PACKAGEFILE=$(rpm --qf "%{NAME} %{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm\n" --nodigest --nosignature -qp /mirrors/centos/4.2/os/i386/CentOS/RPMS/$PKG*{i386,noarch}.rpm | egrep "^$PKG " | sed 's/.* //')
88             ttfonts-zh_TW-2.11-28.noarch.rpm \          if [ -n "$PACKAGEFILE" ];
89             urw-fonts-2.2-6.noarch.rpm \          then
90             vnc-server-4.0-8.1.i386.rpm \              if [ ! -f $(pwd)/cdrom.image/CentOS/RPMS/$PACKAGEFILE ];
91             xorg-x11-6.8.2-1.EL.13.6.i386.rpm; do              then
92      ln -fs /mirrors/centos/4.1/os/i386/CentOS/RPMS/$rpm $(pwd)/cdrom.image/CentOS/RPMS/                  ln -sf /mirrors/centos/4.2/os/i386/CentOS/RPMS/$PACKAGEFILE $(pwd)/cdrom.image/CentOS/RPMS/$PACKAGEFILE
93                fi
94            fi
95        fi
96  done  done
97    
98  PYTHONPATH=/usr/lib/anaconda/ sudo /usr/lib/anaconda-runtime/buildinstall \  PYTHONPATH=/usr/lib/anaconda/ sudo /usr/lib/anaconda-runtime/buildinstall \
# Line 105  find $(pwd)/cdrom.image/CentOS/RPMS/ -ty Line 109  find $(pwd)/cdrom.image/CentOS/RPMS/ -ty
109  # Copy updated isolinux files  # Copy updated isolinux files
110  sudo cp -fR /builds/isolinux/* $(pwd)/cdrom.image/isolinux/  sudo cp -fR /builds/isolinux/* $(pwd)/cdrom.image/isolinux/
111    
112  cd cdrom.image  echo "You now need to run /builds/bin/build_ISO as non-root"
   
 /builds/bin/build_IS0  
113    
114  # That's it.  # That's it.


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed