Difference between revisions of "User talk:Unnilennium"

From SME Server
Jump to navigationJump to search
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
==build of SME 10 iso==
 
==build of SME 10 iso==
 +
  VER=10
 +
VERSION=$VER.0.alpha2
 +
VERPREV=$VER.0.alpha1
  
 +
====product====
 +
cd /build/smeserver/stage/extra/images/10/product/
 +
find . | cpio -c -o | gzip -9cv > ../product.img; cd .. ;
 +
cp -a /build/smeserver/stage/extra/images/10/product.img /build/smeserver/stage/$VERSION/images/
 +
 +
====other====
 +
 +
VER=10
 +
VERSION=$VER.0.alpha2
 +
VERPREV=$VER.0.alpha1
  
 
first rsync from primary mirror without the isos
 
first rsync from primary mirror without the isos
Line 11: Line 24:
 
  cd /build/smeserver/stage/
 
  cd /build/smeserver/stage/
 
  rm -f 10
 
  rm -f 10
  ln -s 10.0.alpha1 10
+
  ln -s $VERPREV 10
  
  
Line 25: Line 38:
  
 
  VER=10
 
  VER=10
  VERSION=$VER.0.alpha1
+
  VERSION=$VER.0.alpha2
  VERPREV=$VER.0.alpha0
+
  VERPREV=$VER.0.alpha1
  
 
  pushd /build/smeserver/stage/$VER/x86_64/
 
  pushd /build/smeserver/stage/$VER/x86_64/

Latest revision as of 16:42, 1 August 2016


build of SME 10 iso

 VER=10
VERSION=$VER.0.alpha2
VERPREV=$VER.0.alpha1

product

cd /build/smeserver/stage/extra/images/10/product/
find . | cpio -c -o | gzip -9cv > ../product.img; cd .. ; 
cp -a /build/smeserver/stage/extra/images/10/product.img /build/smeserver/stage/$VERSION/images/

other

VER=10
VERSION=$VER.0.alpha2
VERPREV=$VER.0.alpha1

first rsync from primary mirror without the isos

rsync -av --delete --progress mirror.canada.pialasse.com::smeserver/releases/testing/10/ /build/smeserver/repo/10 --exclude=*.iso

Create release specific folder and link (or rename the folder)

mkdir -p /build/smeserver/stage/10.0.alpha1/{SRPMS,x86_64}
cd /build/smeserver/stage/
rm -f 10
ln -s $VERPREV 10


here there are some things we do not do currently


prepare and cp the new product.img in /build/smeserver/stage/10.0.alpha1/x86_64/images/

sudo chmod -R a+w /build/smeserver/stage



VER=10
VERSION=$VER.0.alpha2
VERPREV=$VER.0.alpha1
pushd /build/smeserver/stage/$VER/x86_64/
ln -s Packages SME
popd
 /build/smeserver/stage/bin/update_repos

we do not do the build installer currently, then just build iso

rm -f /build/smeserver/stage/$VER/x86_64/SME
mock -r smeserver-$VER-x86_64-iso --init
sudo chmod -R a+w /build/smeserver/stage
mock -r smeserver-$VER-x86_64-iso --mount --cwd /build/smeserver/stage/$VER --unpriv --chroot /build/smeserver/stage/bin/build_ISO
pushd /build/smeserver/stage/$VER/x86_64/
ln -s Packages SME
popd