Changes

From SME Server
Jump to navigationJump to search
887 bytes removed ,  07:37, 20 May 2016
Line 263: Line 263:  
===='''Local Only''': Update local mirror as seen by the chroot====
 
===='''Local Only''': Update local mirror as seen by the chroot====
 
'''Local Only'''
 
'''Local Only'''
  rsync -av --delete --progress ~/smeserver/releases/9/ /build/smeserver/repo/9
+
  rsync -av --delete --progress ~/smeserver/releases/10/ /build/smeserver/repo/10
    
====Create release specific folder and link (or rename the folder)====
 
====Create release specific folder and link (or rename the folder)====
 
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.  
   −
  mkdir -p /build/smeserver/stage/9.1/{SRPMS,i386,x86_64}
+
  mkdir -p /build/smeserver/stage/10.0.alpha1/{SRPMS,i386,x86_64}
 
  cd /build/smeserver/stage/
 
  cd /build/smeserver/stage/
  rm -f 9
+
  rm -f 10
  ln -s 9.1 9
+
  ln -s 10.0.alpha1 10
    
'''Local Only'''
 
'''Local Only'''
Line 281: Line 281:  
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/
   −
  rsync -a --delete --delete-excluded --exclude 'CVS/' --exclude 'isolinux/' ~/cdrom.image/sme9/ /build/smeserver/stage/9/x86_64/
+
  rsync -a --delete --delete-excluded --exclude 'CVS/' --exclude 'isolinux/' ~/cdrom.image/sme10/ /build/smeserver/stage/10/x86_64/
rsync -a --delete --delete-excluded --exclude 'CVS/' --exclude 'isolinux/' ~/cdrom.image/sme9/ /build/smeserver/stage/9/i386/
+
  rsync -a --delete --delete-excluded --exclude 'CVS/' ~/cdrom.image/sme10/isolinux/ /build/smeserver/stage/extra/isolinux/10/
  rsync -a --delete --delete-excluded --exclude 'CVS/' ~/cdrom.image/sme9/isolinux/ /build/smeserver/stage/extra/isolinux/9/
      
====OR Refresh cdrom content====
 
====OR Refresh cdrom content====
 
If only refreshing the files, then remove the delete.
 
If only refreshing the files, then remove the delete.
   −
  rsync -a --exclude 'CVS/' --exclude 'isolinux/' ~/cdrom.image/sme9/ /build/smeserver/stage/9/x86_64/
+
  rsync -a --exclude 'CVS/' --exclude 'isolinux/' ~/cdrom.image/sme10/ /build/smeserver/stage/10/x86_64/
rsync -a --exclude 'CVS/' --exclude 'isolinux/' ~/cdrom.image/sme9/ /build/smeserver/stage/9/i386/
+
  rsync -a --exclude 'CVS/' ~/cdrom.image/sme10/isolinux/ /build/smeserver/stage/extra/isolinux/10/
  rsync -a --exclude 'CVS/' ~/cdrom.image/sme9/isolinux/ /build/smeserver/stage/extra/isolinux/9/
      
====Create the remaining folders====
 
====Create the remaining folders====
 
{{Note box|Note: images and isolinux do not need to be created as they are removed anyway in build_installer}}
 
{{Note box|Note: images and isolinux do not need to be created as they are removed anyway in build_installer}}
  −
* i386
  −
cd /build/smeserver/stage/9/i386
  −
ln -s Packages/ SME
  −
mkdir -p /build/smeserver/stage/9/i386/repodata/
  −
mkdir -p /build/smeserver/stage/9/i386/updates/po
  −
mkdir -p /build/smeserver/stage/9/i386/updates/textw
  −
mkdir -p /build/smeserver/stage/9/i386/updates/iw
  −
mkdir -p /build/smeserver/stage/9/i386/updates/storage/devicelibs
      
* x86_64
 
* x86_64
  cd /build/smeserver/stage/9/x86_64
+
  cd /build/smeserver/stage/10/x86_64
 
  ln -s Packages/ SME
 
  ln -s Packages/ SME
  mkdir -p /build/smeserver/stage/9/x86_64/repodata/
+
  mkdir -p /build/smeserver/stage/10/x86_64/repodata/
  mkdir -p /build/smeserver/stage/9/x86_64/updates/po
+
  mkdir -p /build/smeserver/stage/10/x86_64/updates/po
  mkdir -p /build/smeserver/stage/9/x86_64/updates/textw
+
  mkdir -p /build/smeserver/stage/10/x86_64/updates/textw
  mkdir -p /build/smeserver/stage/9/x86_64/updates/iw
+
  mkdir -p /build/smeserver/stage/10/x86_64/updates/iw
  mkdir -p /build/smeserver/stage/9/x86_64/updates/storage/devicelibs
+
  mkdir -p /build/smeserver/stage/10/x86_64/updates/storage/devicelibs
    
* other directories
 
* other directories
  mkdir -p /build/smeserver/stage/iso/9/i386
+
  mkdir -p /build/smeserver/stage/iso/10/i386
  mkdir -p /build/smeserver/stage/iso/9/x86_64
+
  mkdir -p /build/smeserver/stage/iso/10/x86_64
  mkdir -p /build/smeserver/stage/iso/9/source
+
  mkdir -p /build/smeserver/stage/iso/10/source
    
====Copy anaconda translations====
 
====Copy anaconda translations====
 
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/sme9/* /build/smeserver/stage/9/i386/updates/po/
+
  cp -R ~/anaconda-po/translate.koozali.org/anaconda/sme10/* /build/smeserver/stage/10/i386/updates/po/
cp -R ~/anaconda-po/translate.koozali.org/anaconda/sme9/* /build/smeserver/stage/9/x86_64/updates/po/
      
====Copy anaconda content====
 
====Copy anaconda content====
See ~/cdrom.image/sme9/updates/README.txt for details of what to copy. The patched anaconda files from ~/rpms/anaconda/sme9 will go to updates directory. The exact directory depends on the anaconda version, eg  ~/rpms/anaconda/sme9/anaconda-13.21.239
+
See ~/cdrom.image/sme10/updates/README.txt for details of what to copy. The patched anaconda files from ~/rpms/anaconda/sme10 will go to updates directory. The exact directory depends on the anaconda version, eg  ~/rpms/anaconda/sme10/anaconda-13.21.2310
  cd ~/rpms/anaconda/sme9/
+
  cd ~/rpms/anaconda/sme10/
 
  make prep
 
  make prep
  cd ~/rpms/anaconda/sme9/anaconda-13.21.239
+
  cd ~/rpms/anaconda/sme10/anaconda-13.21.2310
cp -R storage /build/smeserver/stage/9/i386/updates/
  −
cp -R textw/*.py /build/smeserver/stage/9/i386/updates/textw
  −
cp -R iw/*.py /build/smeserver/stage/9/i386/updates/iw
  −
cp *.py /build/smeserver/stage/9/i386/updates
  −
cp lang-table /build/smeserver/stage/9/i386/updates
     −
  cp -R storage /build/smeserver/stage/9/x86_64/updates/
+
  cp -R storage /build/smeserver/stage/10/x86_64/updates/
  cp -R textw/*.py /build/smeserver/stage/9/x86_64/updates/textw
+
  cp -R textw/*.py /build/smeserver/stage/10/x86_64/updates/textw
  cp -R iw/*.py /build/smeserver/stage/9/x86_64/updates/iw
+
  cp -R iw/*.py /build/smeserver/stage/10/x86_64/updates/iw
  cp *.py /build/smeserver/stage/9/x86_64/updates
+
  cp *.py /build/smeserver/stage/10/x86_64/updates
  cp lang-table /build/smeserver/stage/9/x86_64/updates
+
  cp lang-table /build/smeserver/stage/10/x86_64/updates
    
===='''Local Only''': Hack: Permission Fixup====
 
===='''Local Only''': Hack: Permission Fixup====
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu