This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:development:build-server [2011/09/30 07:39] sunweaver |
wiki:development:build-server [2016/11/10 10:33] (current) gratuxri New versions from buildscripts |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Build-Server: X2go Packages for Debian | + | ====== Build Server ====== |
- | X2go developers can login to: | + | ===== Automatic Package Builds ===== |
+ | |||
+ | The upstream X2Go project provides X2Go packages for several GNU/Linux distributions. For building our packages automatically, | ||
+ | |||
+ | However, the Ubuntu packages we provide are built on [[http:// | ||
+ | |||
+ | ===== Manual Package Builds ===== | ||
+ | |||
+ | ==== Build Server Logon ==== | ||
+ | |||
+ | X2Go developers can logon to... | ||
< | < | ||
- | $ ssh -lx2go-admin -p32032 code.x2go.org | + | $ ssh -lx2go-admin -p9175 japsand.x2go.org |
</ | </ | ||
- | and launch a package build process: | + | ==== Build X2Go Packages for Debian ==== |
+ | |||
+ | === Run a ,, | ||
+ | |||
+ | ... and launch a package build process: | ||
< | < | ||
- | $ x2go-build+upload-package < | + | $ x2go-build+upload-deb-package < |
</ | </ | ||
- | The build server does currently not supported | + | The build scripts use qemubuilder. The packages are built in clean chroot environments of the corresponding distro version. Packages are regularly built for amd64 and i386 archictectures, |
+ | |||
+ | === Run a test build === | ||
+ | |||
+ | If you just want to trigger a test build from Git master, do this for Debian sid and do not upload to the .deb repository... | ||
+ | |||
+ | < | ||
+ | $ x2go-build-deb-package < | ||
+ | </ | ||
+ | |||
+ | === Other architectures === | ||
+ | |||
+ | With | ||
+ | |||
+ | < | ||
+ | $ EXTRA_ARCHS=armel EXTRA_ARCHS_ONLY=yes x2go-build+upload-deb-package < | ||
+ | </ | ||
+ | |||
+ | you can build X2Go components for the ARM(el) architecture. This uses qemu soft emulation and will be quite slow and it will also create quite a CPU load. | ||
+ | |||
+ | Currently, only ARM(el) builds (and of course i386, amd64) are supported. | ||
+ | |||
+ | We normally do only build the stable X2Go code base for ARM(el). | ||
+ | === Upload packages === | ||
+ | |||
+ | After the package build follows the package uploaded. Packages are currently | ||
+ | |||
+ | Uploaded packages normally get integrated into the repository by a CRON job. The impatient developer can trigger that command manually with this line at the command line shell of the user '' | ||
+ | < | ||
+ | ssh -lx2go-admin packages.x2go.org -p32032 | ||
+ | REPREPRO_BASE_DIR=/ | ||
+ | </ | ||
+ | |||
+ | ==== Build X2Go Packages for Ubuntu ==== | ||
+ | |||
+ | Ubuntu packages of X2Go (amd64, i386) are built fully automatically via Launchpad: http:// | ||
+ | |||
+ | |||
+ | ==== Build X2Go Packages for Fedora/EPEL ==== | ||
+ | |||
+ | |||
+ | === Run a ,, | ||
+ | |||
+ | ... and launch a package build process: | ||
+ | |||
+ | < | ||
+ | $ RPM_BUILD_FOR=" | ||
+ | </ | ||
+ | |||
+ | The build scripts use mock. The packages are built in clean chroot environments of the corresponding distro version. Packages are built for amd64 and i386 archictectures. | ||
+ | |||
+ | === Run a test build === | ||
+ | |||
+ | If you just want to trigger a test build from Git master, do this for Fedora rawhide and do not upload to the .rpm repository... | ||
+ | |||
+ | < | ||
+ | $ x2go-build-rpm-package < | ||
+ | </ | ||
+ | |||
+ |