Changes

From SME Server
Jump to navigationJump to search
Line 31: Line 31:  
  rm -f $VER
 
  rm -f $VER
 
  ln -s $VERSION $VER
 
  ln -s $VERSION $VER
 +
 
Get last LiveOS from centos
 
Get last LiveOS from centos
 
  cd /build/smeserver/stage/$VERSION/x86_64/LiveOS
 
  cd /build/smeserver/stage/$VERSION/x86_64/LiveOS
 
  wget <nowiki>http://mirror.centos.org/centos/7/os/x86_64/LiveOS/squashfs.img</nowiki>
 
  wget <nowiki>http://mirror.centos.org/centos/7/os/x86_64/LiveOS/squashfs.img</nowiki>
 +
 
Get CentOS last images content
 
Get CentOS last images content
 
  cd /build/smeserver/stage/$VERSION/x86_64/Packages/images
 
  cd /build/smeserver/stage/$VERSION/x86_64/Packages/images
Line 48: Line 50:  
  vim .buildstamp  
 
  vim .buildstamp  
   −
those 3 should have been updated via anaconda, if not, do it and return there.
+
those files should be updated via anaconda, if not, do it and return there.
  vim run/install/product/pyanaconda/installclasses/koozali.py
+
  cp ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.159/pyanaconda/installclasses/koozali.py  run/install/product/pyanaconda/installclasses/
vim usr/lib64/python2.7/site-packages/pyanaconda/installclasses/centos.py
+
cp ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.159/pyanaconda/installclasses/koozali.py usr/lib64/python2.7/site-packages/pyanaconda/installclasses/
  vim usr/lib64/python2.7/site-packages/pyanaconda/installclasses/koozali.py
+
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
 
build new product.img and copy it to stage, if you want but it should be done by the build.ISO script
Line 58: Line 61:  
  #cp product.img /build/smeserver/stage/$VER/x86_64/images/
 
  #cp product.img /build/smeserver/stage/$VER/x86_64/images/
    +
Populate isolinux dir:
 
  rsync -arv /mirrors/centos/7/os/x86_64/isolinux/* /build/smeserver/stage/$VERSION/x86_64/isolinux/
 
  rsync -arv /mirrors/centos/7/os/x86_64/isolinux/* /build/smeserver/stage/$VERSION/x86_64/isolinux/
mkdir /build/smeserver/stage/extra/isolinux/
      +
now if you have not updated files for isolinux in smeserver/cdrom.image/sme10/isolinux in cvs it is time, and also to refresh the local copy
 +
pushd ~/smeserver/cdrom.image/sme10/
 +
cvs update
 +
popd
 +
rsync -arv ~/smeserver/cdrom.image/sme10/isolinux/* /build/smeserver/stage/$VERSION/x86_64/isolinux/ --exclude=CVS
 +
 +
Populate EFI
 
  rsync -arv /mirrors/centos/7/os/x86_64/EFI /build/smeserver/stage/$VERSION/x86_64/
 
  rsync -arv /mirrors/centos/7/os/x86_64/EFI /build/smeserver/stage/$VERSION/x86_64/
 
+
  rsync -arv ~/smeserver/cdrom.image/sme10/EFI/* /build/smeserver/stage/$VERSION/x86_64/EFI/ --exclude=CVS
vim /build/smeserver/stage/$VERSION/x86_64/EFI/BOOT/grub.cfg
  −
 
  −
change
  −
search --no-floppy --set=root -l 'CentOS 7 x86_64'
  −
to
  −
search --no-floppy --set=root -l 'SME Server'
  −
 
  −
and (3 times)
  −
linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=SME\x20Server
  −
to
  −
linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=SME\x20Server
      
====Create cdrom content====
 
====Create cdrom content====
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu