Changes

From SME Server
Jump to navigationJump to search
Line 49: Line 49:  
make any needed modification in the product image. at least update the release version
 
make any needed modification in the product image. at least update the release version
 
  vim .buildstamp  
 
  vim .buildstamp  
  −
those files should be updated via anaconda, if not, do it and return there.
  −
cp ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.159/pyanaconda/installclasses/koozali.py  run/install/product/pyanaconda/installclasses/
  −
cp ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.159/pyanaconda/installclasses/koozali.py usr/lib64/python2.7/site-packages/pyanaconda/installclasses/
  −
cp ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.159/pyanaconda/installclasses/centos.py usr/lib64/python2.7/site-packages/pyanaconda/installclasses/
  −
cp ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.159/pyanaconda/installclasses/fedora.py usr/lib64/python2.7/site-packages/pyanaconda/installclasses/
  −
  −
build new product.img and copy it to stage, if you want but it should be done by the build.ISO script
  −
#find . | cpio -c -o | gzip -9cv > ../product.img; cd ..
  −
#mkdir -p /build/smeserver/stage/$VER/x86_64/images/
  −
#cp product.img /build/smeserver/stage/$VER/x86_64/images/
      
Populate isolinux dir:
 
Populate isolinux dir:
Line 112: Line 101:  
  mkdir -p /build/smeserver/stage/iso/$VER/{x86_64,source}
 
  mkdir -p /build/smeserver/stage/iso/$VER/{x86_64,source}
   −
====Copy anaconda translations====
+
====Copy anaconda translations to create updates.img====
 
Anaconda translations need copying to /updates/po from ~/anaconda-po
 
Anaconda translations need copying to /updates/po from ~/anaconda-po
 
  cp -R ~/anaconda-po/translate.koozali.org/anaconda/sme10/* /build/smeserver/stage/10/x86_64/updates/po/
 
  cp -R ~/anaconda-po/translate.koozali.org/anaconda/sme10/* /build/smeserver/stage/10/x86_64/updates/po/
   −
====Copy anaconda content====
+
====Copy anaconda content to create product.img ====
 
See ~/smeserver/cdrom.image/sme10/updates/README.txt for details of what to copy. The patched anaconda files from ~/smeserver/rpms/anaconda/sme10 will go to updates directory. The exact directory depends on the anaconda version, eg  ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.56
 
See ~/smeserver/cdrom.image/sme10/updates/README.txt for details of what to copy. The patched anaconda files from ~/smeserver/rpms/anaconda/sme10 will go to updates directory. The exact directory depends on the anaconda version, eg  ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.56
   Line 130: Line 119:  
  make prep
 
  make prep
 
  popd
 
  popd
  cp ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.158/pyanaconda/bootloader.py /build/smeserver/stage/$VERSION/x86_64/product/usr/lib64/python2.7/site-packages/pyanaconda/
+
pushd /build/smeserver/stage/$VERSION/x86_64/product/
  cp ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.158/pyanaconda/installclasses/{fedora,centos,koozali}.py /build/smeserver/stage/$VERSION/x86_64/product/usr/lib64/python2.7/site-packages/pyanaconda/installclasses/
+
  cp ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.159/pyanaconda/installclasses/koozali.py run/install/product/pyanaconda/installclasses/
  cp ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.158/pyanaconda/packaging/yumpayload.py /build/smeserver/stage/$VERSION/x86_64/product/usr/lib64/python2.7/site-packages/pyanaconda/packaging/
+
  cp ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.159/pyanaconda/installclasses/koozali.py usr/lib64/python2.7/site-packages/pyanaconda/installclasses/
  cp ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.158/pyanaconda/installclasses/koozali.py /build/smeserver/stage/$VERSION/x86_64/product/run/install/product/pyanaconda/installclasses/
+
  cp ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.159/pyanaconda/installclasses/centos.py usr/lib64/python2.7/site-packages/pyanaconda/installclasses/
 +
  cp ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.159/pyanaconda/installclasses/fedora.py usr/lib64/python2.7/site-packages/pyanaconda/installclasses/
 +
popd
 +
 
 +
For testing purpose you can do this, but BUILD SCIPT DOES IT !
 +
build new product.img and copy it to stage, if you want but it should be done by the build.ISO script
 +
#find . | cpio -c -o | gzip -9cv > ../product.img; cd ..
 +
#mkdir -p /build/smeserver/stage/$VER/x86_64/images/
 +
#cp product.img /build/smeserver/stage/$VER/x86_64/images/
    
===='''Local Only''': Hack: Permission Fixup====
 
===='''Local Only''': Hack: Permission Fixup====
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu