[ "$BUILD_DIST" = "10.0-i386" ] && dist="10.0" [ "$BUILD_DIST" = "10.1-i386" ] && dist="10.1" # where to store built rpms repository="/media/usbdisk/chroot/$BUILD_DIST" # type of installation source to generate in repository # either plain or yum or both regen_repository="plain yum ul" # additional sources, specify with url_... add_sources="suse" [ "$dist" = "10.0" ] && add_sources="$add_sources java" [ "$dist" = "10.0" ] && add_sources="$add_sources packman" # suse here is the one from $add_sources #url_suse="file:/srv/ftp/pub/suse/$BUILD_DIST/CD1/" url_suse="http://ftp.skynet.be/pub/ftp.opensuse.org/opensuse/distribution/SL-$dist/inst-source/" # add this url as top priority source (needs patches on 9.0) url_repository="file:$repository" # extra directories that will be copied to the buildroot after # packages have been installed. $y2pmbuildconfdir/files/$BUILD_DIST/ # is always copied. Note that rsync is used so you may want to # think about when to append slashes to directory names. extra_copy="" # basename for build root directories. The final name will be # $buildrootbase.$USER.$BUILD_DIST buildrootbase="/media/usbdisk/build-root" # gpg signature to use for signing. Leave empty to not sign packages rpm_sign_name="Quentin Denis " # key file to use for signing. Only used when rpm_sign_name is # defined. Default $y2pmbuildconfdir/signkey.asc # # Create with # gpg -a --export > FILE # gpg -a --export-secret-key >> FILE rpm_sign_key="/etc/y2pmbuild/signkey.asc" # vim:syntax=sh