Line 92: |
Line 92: |
| + config_opts['chrootuid'] = os.getuid() | | + config_opts['chrootuid'] = os.getuid() |
| | | |
− | * {{Note box|Due to local settings you have to edit each configuration of mock and edit '''smeserver-X-{i386,x86_64}-iso.cfg''' files to include /build in the chroot}} | + | * |
− | :''These are the changes that you need to made if you do not have the nfs mounts on your local machine | + | {{Note box|Due to local settings you have to edit each configuration of mock and edit '''smeserver-X-{i386,x86_64}-iso.cfg''' files to include /build in the chroot}} |
| + | :''These are the changes that you need to made if you do not have the nfs mounts on your local machine'' |
| config_opts['plugin_conf']['mount_opts']['dirs'].append(('storage:/export/build', '/build', 'nfs', 'defaults,noatime,nodiratime,nosuid')) | | config_opts['plugin_conf']['mount_opts']['dirs'].append(('storage:/export/build', '/build', 'nfs', 'defaults,noatime,nodiratime,nosuid')) |
| config_opts['plugin_conf']['mount_opts']['dirs'].append(('storage:/mirrors', '/mirrors', 'nfs', 'defaults,noatime,nodiratime,nosuid')) | | config_opts['plugin_conf']['mount_opts']['dirs'].append(('storage:/mirrors', '/mirrors', 'nfs', 'defaults,noatime,nodiratime,nosuid')) |
Line 310: |
Line 311: |
| [Main] | | [Main] |
| Product=Koozali SME Server | | Product=Koozali SME Server |
− | Version=10alpha2 | + | Version=10alpha3 |
| BugURL=https://bugs.koozali.org | | BugURL=https://bugs.koozali.org |
| IsFinal=False | | IsFinal=False |
− | UUID=alpha2.x86_64 | + | UUID=alpha3.x86_64 |
| [Compose] | | [Compose] |
| Lorax=19.6.66-1 | | Lorax=19.6.66-1 |
Line 348: |
Line 349: |
| 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. |
| VER=10 | | VER=10 |
− | VERSION=$VER.0.alpha3 | + | VERSION=$VER.0.alpha4 |
− | VERPREV=$VER.0.alpha2 | + | VERPREV=$VER.0.alpha3 |
| | | |
| mkdir -p /build/smeserver/stage/$VERSION/{SRPMS,x86_64} | | mkdir -p /build/smeserver/stage/$VERSION/{SRPMS,x86_64} |
Line 363: |
Line 364: |
| build new product.img and copy it to stage | | build new product.img and copy it to stage |
| 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/ |
| cp product.img /build/smeserver/stage/$VER/x86_64/images/ | | cp product.img /build/smeserver/stage/$VER/x86_64/images/ |
| | | |
Line 369: |
Line 371: |
| | | |
| ====Create cdrom content==== | | ====Create cdrom content==== |
| + | |
| + | '''WIP: From there on with SME 10, we are simply copying EFI, LiveOS, isolinux, images folders from CentOS or previous version.''' |
| + | |
| + | '''this has to be done before building product.img and put it in images. Also you will have to update the isolinux.cfg content.''' |
| + | |
| When starting from fresh rsync can copy cdrom.image content, it also generates the folder tree. | | When starting from fresh rsync can copy cdrom.image content, it also generates the folder tree. |
| {{Warning box|'''Note that this would remove everything else out of the target directory, eg translations.'''}} | | {{Warning box|'''Note that this would remove everything else out of the target directory, eg translations.'''}} |
| 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/ |
| + | cd ~/smeserver |
| + | cvs -z3 -d:pserver:anonymous@shell.koozali.org:/cvs/smeserver co -P cdrom.image |
| | | |
− | rsync -a --delete --delete-excluded --exclude 'CVS/' --exclude 'isolinux/' ~/cdrom.image/sme10/ /build/smeserver/stage/10/x86_64/ | + | rsync -av --delete --delete-excluded --exclude 'CVS/' --exclude 'isolinux/' ~/cdrom.image/sme10/ /build/smeserver/stage/10/x86_64/ |
− | rsync -a --delete --delete-excluded --exclude 'CVS/' ~/cdrom.image/sme10/isolinux/ /build/smeserver/stage/extra/isolinux/10/ | + | rsync -av --delete --delete-excluded --exclude 'CVS/' ~/cdrom.image/sme10/isolinux/ /build/smeserver/stage/extra/isolinux/10/ |
| | | |
| ====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. |
| + | cd ~/smeserver |
| + | cvs -z3 -d:pserver:anonymous@shell.koozali.org:/cvs/smeserver co -P cdrom.image |
| | | |
− | rsync -a --exclude 'CVS/' --exclude 'isolinux/' ~/cdrom.image/sme10/ /build/smeserver/stage/10/x86_64/ | + | rsync -av --exclude 'CVS/' --exclude 'isolinux/' cdrom.image/sme10/ /build/smeserver/stage/10/x86_64/ |
− | rsync -a --exclude 'CVS/' ~/cdrom.image/sme10/isolinux/ /build/smeserver/stage/extra/isolinux/10/ | + | rsync -av --exclude 'CVS/' cdrom.image/sme10/isolinux/ /build/smeserver/stage/extra/isolinux/10/ |
| | | |
| ====Create the remaining folders==== | | ====Create the remaining folders==== |
Line 400: |
Line 411: |
| ====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/sme10/* /build/smeserver/stage/10/i386/updates/po/ | + | cp -R ~/anaconda-po/translate.koozali.org/anaconda/sme10/* /build/smeserver/stage/10/x86_64/updates/po/ |
| | | |
| ====Copy anaconda content==== | | ====Copy anaconda content==== |
− | See ~/cdrom.image/sme10/updates/README.txt for details of what to copy. The patched anaconda files from ~/smeserver/rpms/anaconda/sme10 will go to updates directory. The exact directory depends on the anaconda version, eg ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.56 | + | See ~/smeserver/cdrom.image/sme10/updates/README.txt for details of what to copy. The patched anaconda files from ~/smeserver/rpms/anaconda/sme10 will go to updates directory. The exact directory depends on the anaconda version, eg ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.56 |
| + | |
| + | The following needs to be done on builder 7 |
| cd ~/smeserver/rpms/anaconda/sme10/ | | cd ~/smeserver/rpms/anaconda/sme10/ |
| + | cvs update -dPA |
| make prep | | make prep |
| cd ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.56 | | cd ~/smeserver/rpms/anaconda/sme10/anaconda-21.48.22.56 |
Line 529: |
Line 543: |
| | | |
| VER=10 | | VER=10 |
− | VERSION=$VER.0.alpha3 | + | VERSION=$VER.0.alpha4 |
− | VERPREV=$VER.0.alpha2 | + | VERPREV=$VER.0.alpha3 |
| | | |
| You can find logs of the related scripts build_ISO and build_installer<br /> | | You can find logs of the related scripts build_ISO and build_installer<br /> |
Line 625: |
Line 639: |
| | | |
| VER=10 | | VER=10 |
− | VERSION=$VER.0.alpha3 | + | VERSION=$VER.0.alpha4 |
− | VERPREV=$VER.0.alpha2 | + | VERPREV=$VER.0.alpha3 |
| | | |
| =====Prepare directory structure for SME10 release===== | | =====Prepare directory structure for SME10 release===== |
Line 682: |
Line 696: |
| VERFINAL=$VER.2 | | VERFINAL=$VER.2 |
| VERACT=`echo "$VERFINAL - .1"|bc` | | VERACT=`echo "$VERFINAL - .1"|bc` |
− |
| |
| | | |
| SME 9.x test releases will go to /build/smeserver/repo/testing/9. Check that the link points to the correct testing release. Note when uploading Jigdos the ‘9’ link will not be pointing to the new directory. | | SME 9.x test releases will go to /build/smeserver/repo/testing/9. Check that the link points to the correct testing release. Note when uploading Jigdos the ‘9’ link will not be pointing to the new directory. |
Line 743: |
Line 756: |
| | | |
| then you can mv from testing to main folder | | then you can mv from testing to main folder |
− |
| |
− |
| |
− |
| |
| | | |
| [[Category:SME Server Development Framework]] | | [[Category:SME Server Development Framework]] |
| [[Category:Development Tools]] | | [[Category:Development Tools]] |