This wiki was updated to MediaWiki 1.37. If you notice any issues, please report them to admin[at]

SDB:How to setup a build server

Jump to: navigation, search

Created with the help of SUSE Build Tutorial.

1.) install standard KDE install + y2pmsh + yast2-instserver

mkdir -p /work/dist/opensuse/10.0/

2.) Use yast --> Misc yast2instserver to create an installation source in /work/dist/opensuse/ and create an installsource called 10.0

3.) Change the Yast --> Software --> Installation Source to this new local source and also add one of these online sources

to be able to access some missing packs.

mkdir -p /work/build/
mkdir -p /work/repository/10.0

4.) vi /etc/y2pmbuild/dists/10.0 and change the email and locations.

defaultpackages="aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv klogd less libacl libattr libgcc libnscd libselinux libstdc++ libxcrypt libzio m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt procinfo procps psmisc pwdutils rcs readline sed strace syslogd sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils gcc gdbm gettext libtool perl rpm"

add_sources="opensuse remote updates"
rpm_sign_name="Example user <>"

5.) use your own email address

cd /etc/y2pmbuild
gpg --gen-key
gpg -a --export > signkey.asc
gpg -a --export-secret-key >> signkey.asc

6.) Put export BUILD_DIST=10.0 into /etc/profile

cd /etc/y2pmbuild/dists
ln -s 10.0 10.0-i386