/[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.7 by slords, Tue Jul 3 17:54:41 2007 UTC Revision 1.9 by slords, Thu Jul 19 19:59:15 2007 UTC
# Line 8  distvers=$(basename $(pwd)) Line 8  distvers=$(basename $(pwd))
8  distarch=$(uname -i)  distarch=$(uname -i)
9    
10  PYTHONPATH=/usr/lib/anaconda/ /usr/lib/anaconda-runtime/genhdlist \  PYTHONPATH=/usr/lib/anaconda/ /usr/lib/anaconda-runtime/genhdlist \
11            --productpath SME \
12          --withnumbers \          --withnumbers \
13          $(pwd)/cdrom.image/          $(pwd)/cdrom.image/
14    
15  PYTHONPATH=/usr/lib/anaconda/ /usr/lib/anaconda-runtime/pkgorder \  PYTHONPATH=/usr/lib/anaconda/ /usr/lib/anaconda-runtime/pkgorder \
16            --product SME \
17          $(pwd)/cdrom.image \          $(pwd)/cdrom.image \
18          $distarch > pkgorder          $distarch > pkgorder
19    
# Line 20  do Line 22  do
22      PKGFILE=$(basename $PKG)      PKGFILE=$(basename $PKG)
23      if [ ! -f $(pwd)/cdrom.image/SME/$PKGFILE ]      if [ ! -f $(pwd)/cdrom.image/SME/$PKGFILE ]
24      then      then
25          ln -sf $PKG  $(pwd)/cdrom.image/SME/          ln -sf $PKG $(pwd)/cdrom.image/SME/RPMS/
26      fi      fi
27  done  done
28    
# Line 28  PYTHONPATH=/usr/lib/anaconda/ sudo /usr/ Line 30  PYTHONPATH=/usr/lib/anaconda/ sudo /usr/
30          --product "$distname" \          --product "$distname" \
31          --version "$distrel.0" \          --version "$distrel.0" \
32          --release "$distname" \          --release "$distname" \
33            --prodpath SME \
34          --pkgorder pkgorder \          --pkgorder pkgorder \
35          $(pwd)/cdrom.image/          $(pwd)/cdrom.image/
36    
37  # Remove previous linked files  # Remove previous linked files
38  find $(pwd)/cdrom.image/CentOS/RPMS/ -type l | xargs rm -f  find $(pwd)/cdrom.image/SME/RPMS/ -type l | xargs rm -f
39    
40  # Copy updated isolinux files  # Copy updated isolinux files
41  sudo cp -f /builds/isolinux/* $(pwd)/cdrom.image/isolinux/  sudo cp -f /builds/isolinux/* $(pwd)/cdrom.image/isolinux/
42    
43  sed -i 's@1,2,3@1@' $(pwd)/cdrom.image/.discinfo  sed -i 's@1,2,3@1@' $(pwd)/cdrom.image/.discinfo
44    
45    sudo chown -R buildcvs:developers $(pwd)/cdrom.image/
46    sudo chmod -R g+w $(pwd)/cdrom.image/
47    
48  echo "You now need to run /builds/bin/build_ISO as non-root"  echo "You now need to run /builds/bin/build_ISO as non-root"
49    
50  # 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