From a51740b04893dad003bf9401a6ff7ced5a96dfa2 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 16 Oct 2015 21:41:19 +0200 Subject: reproducible arch: enable simple scheduler, with hardcoded list of all core packages (WIP) --- bin/reproducible_build_arch_pkg.sh | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/bin/reproducible_build_arch_pkg.sh b/bin/reproducible_build_arch_pkg.sh index 0909e72b..315cdddb 100755 --- a/bin/reproducible_build_arch_pkg.sh +++ b/bin/reproducible_build_arch_pkg.sh @@ -160,20 +160,20 @@ fi #PACKAGES="$(schroot --run-session -c $SESSION --directory /var/abs/core -- ls -1|sort -R|xargs echo)" #schroot --end-session -c $SESSION #SRCPACKAGE="" -#for PKG in $PACKAGES ; do -# if [ ! -f $BASE/archlinux/$PKG.html ] ; then -# SRCPACKAGE=$PKG -# echo "Would build $PKG now but let's continue testing with sudo…" - SRCPACKAGE="sudo" -# break -# fi -#done -#if [ -z $SRCPACKAGE ] ; then -# echo "No package found to be build, sleeping 30m." -# sleep 30m -# exec /srv/jenkins/bin/abort.sh -# exit 0 -#fi +PACKAGES="acl archlinux-keyring attr autoconf automake b43-fwcutter bash binutils bison bridge-utils btrfs-progs bzip2 ca-certificates ca-certificates-cacert coreutils cracklib crda cronie cryptsetup curl dash db dbus dhcpcd dialog diffutils ding-libs dmraid dnssec-anchors dosfstools e2fsprogs ed efibootmgr efivar elfutils expat fakeroot file filesystem findutils flex gawk gcc gdbm gettext glib2 glibc gmp gnupg gnutls gpgme gpm grep groff grub gssproxy gzip hdparm hwids iana-etc ifenslave inetutils iproute2 iptables iputils ipw2100-fw ipw2200-fw isdn4k-utils iw jfsutils kbd keyutils kmod krb5 ldns less libaio libarchive libassuan libcap libedit libevent libffi libgcrypt libgpg-error libgssglue libidn libksba libmpc libnl libpcap libpipeline librpcsecgss libsasl libseccomp libssh2 libtasn1 libtirpc libtool libunistring libusb licenses links linux linux-api-headers linux-atm linux-firmware linux-lts logrotate lvm2 lz4 lzo m4 make man-db man-pages mdadm mkinitcpio mkinitcpio-busybox mkinitcpio-nfs-utils mlocate mpfr nano ncurses net-tools netctl nettle nfs-utils nfsidmap nilfs-utils npth nspr nss openldap openresolv openssh openssl openvpn p11-kit pacman pacman-mirrorlist pam pambase patch pciutils pcmciautils pcre perl pinentry pkg-config popt ppp pptpclient procinfo-ng procps-ng psmisc pth readline reiserfsprogs rfkill rpcbind run-parts s-nail sdparm sed shadow sqlite sudo sysfsutils syslinux systemd tar texinfo thin-provisioning-tools traceroute tzdata usbutils util-linux vi which wireless-regdb wireless_tools wpa_actiond wpa_supplicant xfsprogs xinetd xz zd1211-firmware zlib" # this is hard coded here, because of running jobs on remote nodes, basically… WIP :) +for PKG in $PACKAGES ; do + if [ ! -f $BASE/archlinux/$PKG.html ] ; then + SRCPACKAGE=$PKG + echo "Building $PKG now..." + break + fi +done +if [ -z $SRCPACKAGE ] ; then + echo "No package found to be build, sleeping 30m." + sleep 30m + exec /srv/jenkins/bin/abort.sh + exit 0 +fi # build package twice build_rebuild # run diffoscope on the results -- cgit v1.2.3-70-g09d2