/[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.2 by gordonr, Thu Nov 10 19:43:51 2005 UTC Revision 1.4 by gordonr, Fri Jun 30 00:18:36 2006 UTC
# Line 27  done Line 27  done
27    
28  distname='SME Server'  distname='SME Server'
29  distvers=$(basename $(pwd))  distvers=$(basename $(pwd))
30    distarch=i386
31    
32  for img in product updates  for img in product updates
33  do  do
# Line 41  PYTHONPATH=/usr/lib/anaconda/ /usr/lib/a Line 42  PYTHONPATH=/usr/lib/anaconda/ /usr/lib/a
42    
43  PYTHONPATH=/usr/lib/anaconda/ /usr/lib/anaconda-runtime/pkgorder \  PYTHONPATH=/usr/lib/anaconda/ /usr/lib/anaconda-runtime/pkgorder \
44          $(pwd)/cdrom.image \          $(pwd)/cdrom.image \
45          i386 > pkgorder          $distarch > pkgorder
46    
47  # Link to necessary rpms to rebuild installer  PACKAGES="acl anaconda anaconda-help anaconda-images anaconda-runtime ash
48  for rpm in anaconda-10.1.1.19-1.centos4.i386.rpm \            atk attr audiofile audit-libs bash beecrypt bitmap-fonts-cjk bogl
49             anaconda-help-10.1.0-1.centos4.noarch.rpm \            bogl-bterm booty busybox-anaconda bzip2 bzip2-libs comps-extras
50             anaconda-runtime-10.1.1.19-1.centos4.i386.rpm \            convertdb1 coreutils cpio device-mapper dmapi dosfstools dump
51             atk-1.8.0-2.i386.rpm \            e2fsprogs elfutils-libelf esound expat fedora-logos findutils
52             audiofile-0.2.6-1.i386.rpm \            fontconfig fonts-arabic fonts-bengali fonts-ISO8859-2 fonts-ISO8859-9
53             bogl-0.1.18-4.i386.rpm \            fonts-xorg-100dpi fonts-xorg-base fonts-xorg-ISO8859-15-75dpi
54             bogl-bterm-0.1.18-4.i386.rpm \            fonts-xorg-ISO8859-2-75dpi fonts-xorg-ISO8859-9-75dpi fonts-xorg-KOI8-R
55             booty-0.44-1.i386.rpm \            fonts-xorg-KOI8-R-75dpi freetype ftp gdk-pixbuf glib2 glibc glibc-common
56             busybox-anaconda-1.00.rc1-5.i386.rpm \            gnome-python2 gnome-python2-canvas gpm gtk2 gzip hdparm hwdata iputils
57             comps-extras-10.1-1.noarch.rpm \            jfsutils joe kernel-pcmcia-cs kernel-utils krb5-libs kudzu less libacl
58             esound-0.2.35-2.i386.rpm \            libart_lgpl libattr libgcc libgnome libgnomecanvas libjpeg libpng
59             fonts-arabic-1.5-3.noarch.rpm \            libselinux libsepol libstdc++ libtermcap libxml2 libxml2-python lvm2
60             fonts-bengali-0.1-3.noarch.rpm \            man mdadm memtest86+ modutils mtools mtr mt-st ncurses net-tools newt
61             fonts-xorg-base-6.8.1.1-1.EL.1.noarch.rpm \            open openssh openssh-clients openssl pam pango parted pciutils policy
62             gdk-pixbuf-0.22.0-16.el4.i386.rpm \            policycoreutils popt prelink procps pygtk2 pyparted python pyxf86config
63             gnome-python2-2.6.0-3.i386.rpm \            raidtools readline redhat-artwork redhat-logos reiserfs-utils rhpl rpm
64             gnome-python2-applet-2.6.0-3.i386.rpm \            rpm-libs rpm-python rsh sed selinux-policy-targeted setup slang specspo
65             gnome-python2-canvas-2.6.0-3.i386.rpm \            syslinux system-config-date system-config-keyboard taipeifonts tar
66             gnome-python2-nautilus-2.6.0-3.i386.rpm \            tcp_wrappers traceroute ttfonts-bn ttfonts-gu ttfonts-hi ttfonts-ja
67             gtk2-2.4.13-14.i386.rpm \            ttfonts-ko ttfonts-pa ttfonts-ta ttfonts-zh_CN ttfonts-zh_TW tzdata
68             joe-3.1-6.i386.rpm \            urw-fonts util-linux vnc-server Xconfigurator XFree86 XFree86-100dpi-fonts
69             libart_lgpl-2.3.16-3.i386.rpm \            XFree86-75dpi-fonts XFree86-base-fonts XFree86-ISO8859-15-75dpi-fonts
70             libgnomecanvas-2.8.0-1.i386.rpm \            XFree86-ISO8859-2-75dpi-fonts XFree86-ISO8859-9-75dpi-fonts
71             memtest86+-1.26-2.i386.rpm \            XFree86-KOI8-R XFree86-KOI8-R-75dpi-fonts XFree86-libs XFree86-libs-data
72             open-1.4-21.i386.rpm \            XFree86-xfs xfsdump xfsprogs Xft xorg-x11 xorg-x11-100dpi-fonts
73             pango-1.6.0-9.i386.rpm \            xorg-x11-base xorg-x11-base-fonts xorg-x11-ISO8859-15-75dpi
74             parted-1.6.19-1.EL.i386.rpm \            xorg-x11-ISO8859-15-75dpi-fonts xorg-x11-ISO8859-2-75dpi-fonts
75             pygtk2-2.4.0-1.i386.rpm \            xorg-x11-ISO8859-9-75dpi-fonts xorg-x11-KOI8-R xorg-x11-KOI8-R-75dpi-fonts
76             pyparted-1.6.8-2.i386.rpm \            xorg-x11-libs xorg-x11-libs-data xorg-x11-xfs zlib"
77             redhat-artwork-0.120-1.1E.centos4.1.i386.rpm \  
78             redhat-logos-1.1.25-1.centos4.3.noarch.rpm \  for PKG in $PACKAGES
79             rsh-0.17-25.3.i386.rpm \  do
80             system-config-date-1.7.15-0.RHEL4.1.noarch.rpm \      PACKAGEFILES=$(rpm --qf "%{NAME} %{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm\n" --nodigest --nosignature -qp /mirrors/centos/4/updates/$distarch/RPMS/$PKG*.rpm | grep "^$PKG " | sed 's/.* //')
81             ttfonts-bn-1.8-1.noarch.rpm \      if [ -n "$PACKAGEFILES" ];
82             ttfonts-gu-1.8-1.noarch.rpm \      then
83             ttfonts-hi-1.8-1.noarch.rpm \          for PKGFILE in $PACKAGEFILES
84             ttfonts-ja-1.2-36.EL4.0.noarch.rpm \          do
85             ttfonts-ko-1.0.11-32.2.noarch.rpm \              if [ ! -f $(pwd)/cdrom.image/CentOS/RPMS/$PKGFILE ];
86             ttfonts-pa-1.8-1.noarch.rpm \              then
87             ttfonts-ta-1.8-1.noarch.rpm \                  ln -sf /mirrors/centos/4/updates/$distarch/RPMS/$PKGFILE $(pwd)/cdrom.image/CentOS/RPMS/$PKGFILE
88             ttfonts-zh_CN-2.14-6.noarch.rpm \              fi
89             ttfonts-zh_TW-2.11-28.noarch.rpm \          done
90             urw-fonts-2.2-6.noarch.rpm \      else
91             vnc-server-4.0-8.1.i386.rpm \          PACKAGEFILES=$(rpm --qf "%{NAME} %{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm\n" --nodigest --nosignature -qp /mirrors/centos/4/os/$distarch/CentOS/RPMS/$PKG*.rpm | grep "^$PKG " | sed 's/.* //')
92             xorg-x11-6.8.2-1.EL.13.6.i386.rpm; do          if [ -n "$PACKAGEFILES" ];
93      ln -fs /mirrors/centos/4.1/os/i386/CentOS/RPMS/$rpm $(pwd)/cdrom.image/CentOS/RPMS/          then
94                for PKGFILE in $PACKAGEFILES
95                do
96                    if [ ! -f $(pwd)/cdrom.image/CentOS/RPMS/$PKGFILE ];
97                    then
98                        ln -sf /mirrors/centos/4/os/$distarch/CentOS/RPMS/$PKGFILE $(pwd)/cdrom.image/CentOS/RPMS/$PKGFILE
99                    fi
100                done
101            fi
102        fi
103  done  done
104    
105  PYTHONPATH=/usr/lib/anaconda/ sudo /usr/lib/anaconda-runtime/buildinstall \  PYTHONPATH=/usr/lib/anaconda/ sudo /usr/lib/anaconda-runtime/buildinstall \
106          --comp dist-4.1 \          --comp dist-4.3 \
107          --pkgorder pkgorder \          --pkgorder pkgorder \
108          --release "$distname" \          --release "$distname" \
109          --product "$distname" \          --product "$distname" \


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