User talk:Unnilennium

From SME Server
Jump to navigation Jump to search


build of SME 10 iso

====product====
cd /build/smeserver/stage/10.0.alpha1/images/product/
find . | cpio -c -o | gzip -9cv > ../product.img; cd .. ; cp -a product* ~/

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