diff --git a/genesis/buildgenesis.sh b/genesis/buildgenesis.sh index f675f415..d058e6c0 100644 --- a/genesis/buildgenesis.sh +++ b/genesis/buildgenesis.sh @@ -13,11 +13,15 @@ rpmbuild -bb confluent-genesis.spec rm -rf /usr/lib/dracut/modules.d/97genesis cd - # getting src rpms would be nice, but centos isn't consistent.. -# skipcpio | xzcat | cpio -dumiv -# rpm -qf $(find . -type f | sed -e 's/^.//') |sort -u|grep -v 'not owned' > rpmlist +# /usr/lib/dracut/skipcpio /opt/confluent/genesis/x86_64/boot/initramfs/distribution | xzcat | cpio -dumiv +# rpm -qf $(find . -type f | sed -e 's/^.//') |sort -u|grep -v 'not owned' > ../rpmlist +# for f in $(find . -type f | sed -e 's/^.//'); do echo -n $f:; rpm -qf $f ; done > ../annotedrprmlist # for i in $(cat rpmlist); do rpm -qi $i|grep Source; done |awk '{print $4}'|sort -u > srcrpmlist -# for i in $(cat ../srcrpmlist); do wget http://vault.centos.org/8.2.2004/BaseOS/Source/SPackages/$i; done -# http://vault.centos.org/8.2.2004/AppStream/Source/SPackages/$i +# for i in $(cat ../srcrpmlist); do wget --continue http://vault.centos.org/8.2.2004/BaseOS/Source/SPackages/$i; done +# ls > downloadedsrcpmlist +# diff -u srcpmlist downloadedsrcrpmlist +# diff -u srcrpmlist downloadedsrcpmrlist |grep ^-|grep -v srcrpmlist +# for i in $(diff -u srcrpmlist downloadedsrcpmrlist |grep ^-|grep -v srcrpmlist|sed -e s/-//); do wget --continue http://vault.centos.org/8.2.2004/AppStream/Source/SPackages/$i; done diff --git a/genesis/confluent-genesis.spec b/genesis/confluent-genesis.spec index 9a121f75..7c0fd5b5 100644 --- a/genesis/confluent-genesis.spec +++ b/genesis/confluent-genesis.spec @@ -1,5 +1,5 @@ %define arch x86_64 -Version: 3.0.0 +Version: 3.1.0 Release: 1 Name: confluent-genesis-%{arch} BuildArch: noarch