+some DT_NEEDED unfinished scripts.
[massrebuild.git] / unpack
diff --git a/unpack b/unpack
new file mode 100755 (executable)
index 0000000..eddb92c
--- /dev/null
+++ b/unpack
@@ -0,0 +1,10 @@
+#! /bin/bash
+repos=rawhide
+all="$(dnf --refresh --disablerepo='*' --enablerepo=$repos repoquery -a --qf '%{name}-%{version}-%{release}.%{arch}')"
+#all="bash-5.0.17-2.fc33.x86_64"
+set -ex
+d=$PWD/unpack.out
+rm -rf $d
+mkdir $d
+# 61970/192 = 322
+echo $all|xargs -P192 -n128 ./unpackone $repos $d