Changes

From SME Server
Jump to navigationJump to search
1,505 bytes added ,  11:02, 22 May 2020
Line 311: Line 311:  
  [Main]
 
  [Main]
 
  Product=Koozali SME Server
 
  Product=Koozali SME Server
  Version=10alpha3
+
  Version=10alpha5
 
  BugURL=https://bugs.koozali.org
 
  BugURL=https://bugs.koozali.org
 
  IsFinal=False
 
  IsFinal=False
  UUID=alpha3.x86_64
+
  UUID=alpha5.x86_64
 
  [Compose]
 
  [Compose]
 
  Lorax=19.6.66-1
 
  Lorax=19.6.66-1
Line 349: Line 349:  
The build_installer and build_ISO expect to be run from a directory that points to the head of the stage (ex. /build/stage/8). This is usually a symlink to 8.1 or 8.1beta1. The script fully expands the symlink and pulls off the last element to figure out what version we are going to build.  
 
The build_installer and build_ISO expect to be run from a directory that points to the head of the stage (ex. /build/stage/8). This is usually a symlink to 8.1 or 8.1beta1. The script fully expands the symlink and pulls off the last element to figure out what version we are going to build.  
 
  VER=10
 
  VER=10
  VERSION=$VER.0.alpha4
+
  VERSION=$VER.0.alpha5
  VERPREV=$VER.0.alpha3
+
  VERPREV=$VER.0.alpha4
    
  mkdir -p /build/smeserver/stage/$VERSION/{SRPMS,x86_64}
 
  mkdir -p /build/smeserver/stage/$VERSION/{SRPMS,x86_64}
 +
mkdir -p /build/smeserver/stage/$VERSION/x86_64/{Packages,EFI,images,isolinux,LiveOS,repodata,repoview,updates}
 +
mkdir -p /build/smeserver/stage/$VERSION/x86_64/Packages/base
 +
mkdir -p /build/smeserver/stage/$VERSION/x86_64/images/pxeboot
 
  cd /build/smeserver/stage/
 
  cd /build/smeserver/stage/
 
  rm -f $VER
 
  rm -f $VER
 
  ln -s $VERSION $VER
 
  ln -s $VERSION $VER
 
+
Get last LiveOS from centos
 +
cd /build/smeserver/stage/$VERSION/x86_64/LiveOS
 +
wget <nowiki>http://mirror.centos.org/centos/7/os/x86_64/LiveOS/squashfs.img</nowiki>
 +
Get CentOS last images content
 +
cd /build/smeserver/stage/$VERSION/x86_64/Packages/images
 +
wget <nowiki>http://mirror.centos.org/centos/7/os/x86_64/images/boot.iso</nowiki> <nowiki>http://mirror.centos.org/centos/7/os/x86_64/images/efiboot.img</nowiki>
 +
cd /build/smeserver/stage/$VERSION/x86_64/images/pxeboot
 +
wget <nowiki>http://mirror.centos.org/centos/7/os/x86_64/images/pxeboot/initrd.img</nowiki> <nowiki>http://mirror.centos.org/centos/7/os/x86_64/images/pxeboot/vmlinuz</nowiki>
 +
Prepare to build the product.img
 +
 
  cd  /build/smeserver/stage/extra/images/$VER/product/
 
  cd  /build/smeserver/stage/extra/images/$VER/product/
    
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  
 +
vim run/install/product/pyanaconda/installclasses/custom.py
 +
vim run/install/product/pyanaconda/installclasses/koozali.py
 +
vim usr/lib64/python2.7/site-packages/pyanaconda/installclasses/centos.py
 +
vim usr/lib64/python2.7/site-packages/pyanaconda/installclasses/koozali.py
    
build new product.img and copy it to stage
 
build new product.img and copy it to stage
Line 367: Line 383:  
  cp product.img /build/smeserver/stage/$VER/x86_64/images/
 
  cp product.img /build/smeserver/stage/$VER/x86_64/images/
   −
'''Local Only'''
+
rsync -arv /mirrors/centos/7/os/x86_64/isolinux/* /build/smeserver/stage/$VERSION/x86_64/isolinux/
  mkdir -p /build/smeserver/stage/extra/isolinux/
+
  mkdir /build/smeserver/stage/extra/isolinux/
    
====Create cdrom content====
 
====Create cdrom content====
Line 377: Line 393:     
When starting from fresh rsync can copy cdrom.image content, it also generates the folder tree.
 
When starting from fresh rsync can copy cdrom.image content, it also generates the folder tree.
 +
{{Warning box|'''Before doing this, you should use an account with CVS write access to bump the version or alter  the following files:
 +
#Packages/base/comp.xml
 +
#isolinux{boot.msg, help.txt,isolinux.cfg}
 +
#updates/README.txt'''}}
 
{{Warning box|'''Note that this would remove everything else out of the target directory, eg translations.'''}}
 
{{Warning box|'''Note that this would remove everything else out of the target directory, eg translations.'''}}
 
Also note that the isolinux content goes into a temporary directory, /build/smeserver/stage/extra/isolinux/
 
Also note that the isolinux content goes into a temporary directory, /build/smeserver/stage/extra/isolinux/
Line 382: Line 402:  
  cvs -z3 -d:pserver:anonymous@shell.koozali.org:/cvs/smeserver co -P cdrom.image
 
  cvs -z3 -d:pserver:anonymous@shell.koozali.org:/cvs/smeserver co -P cdrom.image
   −
  rsync -av --delete --delete-excluded --exclude 'CVS/' --exclude 'isolinux/' ~/cdrom.image/sme10/ /build/smeserver/stage/10/x86_64/
+
  rsync -av --delete --delete-excluded --exclude 'CVS/' --exclude 'isolinux/' ~/smeserver/cdrom.image/sme10/ /build/smeserver/stage/$VER/x86_64/
  rsync -av --delete --delete-excluded --exclude 'CVS/' ~/cdrom.image/sme10/isolinux/ /build/smeserver/stage/extra/isolinux/10/
+
  rsync -av --delete --delete-excluded --exclude 'CVS/' ~/smeserver/cdrom.image/sme10/isolinux/ /build/smeserver/stage/extra/isolinux/$VER/
    
====OR Refresh cdrom content====
 
====OR Refresh cdrom content====
Line 390: Line 410:  
  cvs -z3 -d:pserver:anonymous@shell.koozali.org:/cvs/smeserver co -P cdrom.image
 
  cvs -z3 -d:pserver:anonymous@shell.koozali.org:/cvs/smeserver co -P cdrom.image
   −
  rsync -av --exclude 'CVS/' --exclude 'isolinux/' cdrom.image/sme10/ /build/smeserver/stage/10/x86_64/
+
  rsync -av --exclude 'CVS/' --exclude 'isolinux/' ~/smeserver/cdrom.image/sme10/ /build/smeserver/stage/$VER/x86_64/
  rsync -av --exclude 'CVS/' cdrom.image/sme10/isolinux/ /build/smeserver/stage/extra/isolinux/10/
+
  rsync -av --exclude 'CVS/' ~/smeserver/cdrom.image/sme10/isolinux/ /build/smeserver/stage/extra/isolinux/$VER/
    
====Create the remaining folders====
 
====Create the remaining folders====
Line 398: Line 418:  
* x86_64
 
* x86_64
 
  cd /build/smeserver/stage/10/x86_64
 
  cd /build/smeserver/stage/10/x86_64
ln -s Packages/ SME
   
  mkdir -p /build/smeserver/stage/10/x86_64/repodata/
 
  mkdir -p /build/smeserver/stage/10/x86_64/repodata/
 
  mkdir -p /build/smeserver/stage/10/x86_64/updates/po
 
  mkdir -p /build/smeserver/stage/10/x86_64/updates/po
Line 406: Line 425:     
* other directories
 
* other directories
  mkdir -p /build/smeserver/stage/iso/10/x86_64
+
  mkdir -p /build/smeserver/stage/iso/$VER/{x86_64,source}
mkdir -p /build/smeserver/stage/iso/10/source
      
====Copy anaconda translations====
 
====Copy anaconda translations====
Line 543: Line 561:     
  VER=10
 
  VER=10
  VERSION=$VER.0.alpha4
+
  VERSION=$VER.0.alpha5
  VERPREV=$VER.0.alpha3
+
  VERPREV=$VER.0.alpha4
    
You can find logs of the related scripts build_ISO and build_installer<br />
 
You can find logs of the related scripts build_ISO and build_installer<br />
Line 639: Line 657:     
  VER=10
 
  VER=10
  VERSION=$VER.0.alpha4
+
  VERSION=$VER.0.alpha5
  VERPREV=$VER.0.alpha3
+
  VERPREV=$VER.0.alpha4
    
=====Prepare directory structure for SME10 release=====
 
=====Prepare directory structure for SME10 release=====
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,221

edits

Navigation menu