Line 25: |
Line 25: |
| | | |
| 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,EFI,images,isolinux,LiveOS,repodata,repoview,updates,product} |
| mkdir -p /build/smeserver/stage/$VERSION/x86_64/Packages/base | | mkdir -p /build/smeserver/stage/$VERSION/x86_64/Packages/base |
| mkdir -p /build/smeserver/stage/$VERSION/x86_64/images/pxeboot | | mkdir -p /build/smeserver/stage/$VERSION/x86_64/images/pxeboot |
Line 39: |
Line 39: |
| cd /build/smeserver/stage/$VERSION/x86_64/images/pxeboot | | 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> | | 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 | + | |
| + | Prepare to build the product.img. There should be some pictures to copy from previous builds. SOme modification from anaconda |
| | | |
− | cd /build/smeserver/stage/extra/images/$VER/product/ | + | cd /build/smeserver/stage/$VERSION/x86_64/product/ |
| + | rsync -arv /build/smeserver/repo/testing/$VERPREV/smeos/x86_64/product /build/smeserver/stage/$VERSION/x86_64/ |
| + | |
| + | alter anaconda (considering your have your cvs configured to ~/smeserver/rpms): |
| + | pushd ~/smeserver/rpms/anaconda/sme10/ |
| + | prepa |
| + | popd |
| + | cp ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.158/pyanaconda/bootloader.py /build/smeserver/repo/testing/$VERPREV/smeos/x86_64/product/usr/lib64/python2.7/site-packages/pyanaconda/ |
| + | cp ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.158/pyanaconda/installclasses/{fedora,centos,koozali}.py /build/smeserver/repo/testing/$VERPREV/smeos/x86_64/product/usr/lib64/python2.7/site-packages/pyanaconda/installclasses/ |
| + | cp ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.158/pyanaconda/packaging/yumpayload.py /build/smeserver/repo/testing/$VERPREV/smeos/x86_64/product/usr/lib64/python2.7/site-packages/pyanaconda/packaging/ |
| + | cp ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.158/pyanaconda/installclasses/koozali.py /build/smeserver/repo/testing/$VERPREV/smeos/x86_64/product/run/install/product/pyanaconda/installclasses/ |
| | | |
| 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/custom.py |
− | vim run/install/product/pyanaconda/installclasses/koozali.py | + | |
| + | |
| + | those 3 should have been updated via anaconda, if not, do it and return there. |
| + | 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/centos.py |
| vim usr/lib64/python2.7/site-packages/pyanaconda/installclasses/koozali.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, if you want but it should be done by the build.ISO script |
− | find . | cpio -c -o | gzip -9cv > ../product.img; cd .. | + | #find . | cpio -c -o | gzip -9cv > ../product.img; cd .. |
− | mkdir -p /build/smeserver/stage/$VER/x86_64/images/ | + | #mkdir -p /build/smeserver/stage/$VER/x86_64/images/ |
− | cp product.img /build/smeserver/stage/$VER/x86_64/images/ | + | #cp product.img /build/smeserver/stage/$VER/x86_64/images/ |
| | | |
| rsync -arv /mirrors/centos/7/os/x86_64/isolinux/* /build/smeserver/stage/$VERSION/x86_64/isolinux/ | | rsync -arv /mirrors/centos/7/os/x86_64/isolinux/* /build/smeserver/stage/$VERSION/x86_64/isolinux/ |
Line 144: |
Line 158: |
| '''Local Only''' | | '''Local Only''' |
| /build/smeserver/stage/bin/update_repos | | /build/smeserver/stage/bin/update_repos |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
− |
| |
| | | |
| ==Build & Release SME Server== | | ==Build & Release SME Server== |