Difference between revisions of "User talk:Unnilennium"
From SME Server
Jump to navigationJump to searchUnnilennium (talk | contribs) |
Unnilennium (talk | contribs) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | + | ==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 |
Latest revision as of 15: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