X-Git-Url: https://git.jankratochvil.net/?p=massrebuild.git;a=blobdiff_plain;f=runone;h=1ac986d79681a40ad6833e1363b4ec3385f47507;hp=70746e9d030212d8144889ac0834fed103162f64;hb=380847aaf5e4609066d7cee35f8cbb8d418a494a;hpb=656a3e93403f216dd634d2ba81c8af8601650022 diff --git a/runone b/runone index 70746e9..1ac986d 100755 --- a/runone +++ b/runone @@ -5,6 +5,9 @@ shift mock="mock -v -r fedora-rawhide-x86_64 --uniqueext=mass$$ --no-bootstrap-chroot --disable-plugin=yum_cache" # https://bugzilla.redhat.com/show_bug.cgi?id=1869030 glibc 2.32.9000-1 snapshot build in rawhide breaks systemd-nspawn based chroots mock="$mock --isolation=simple" +# (1) inaccessible plugin file plugin/annobin.so expanded from short plugin name annobin +# (2) -a gets ignored. +mock="$mock --disable-plugin=root_cache" mkdir -p build cd build for pkg in "$@";do @@ -21,6 +24,7 @@ for pkg in "$@";do continue fi #rpm -q --requires -p $srcrpm|egrep '^(gcc|clang)' || continue +if false;then rpm2archive $srcrpm rm -rf $srcrpm.d mkdir $srcrpm.d @@ -54,6 +58,9 @@ for pkg in "$@";do cd .. test -e $srcrpm.nc.rpm rm -rf $srcrpm.d +else + ln $srcrpm $srcrpm.nc.rpm +fi for ext in "" ".nc.rpm";do resultdir=$PWD/$srcrpm$ext.resultdir test ! -e $resultdir