|
|
|
@ -45,10 +45,10 @@ RUN set -e -x; \ |
|
|
|
|
mkdir -p /root/build/vitastor-$REL; \ |
|
|
|
|
rm -rf /root/build/vitastor-$REL/*; \ |
|
|
|
|
cd /root/build/vitastor-$REL; \ |
|
|
|
|
cp -r /root/vitastor vitastor-0.5.1; \ |
|
|
|
|
ln -s /root/build/qemu-$REL/qemu-*/ vitastor-0.5.1/qemu; \ |
|
|
|
|
ln -s /root/fio-build/fio-*/ vitastor-0.5.1/fio; \ |
|
|
|
|
cd vitastor-0.5.1; \ |
|
|
|
|
cp -r /root/vitastor vitastor-0.5.3; \ |
|
|
|
|
ln -s /root/build/qemu-$REL/qemu-*/ vitastor-0.5.3/qemu; \ |
|
|
|
|
ln -s /root/fio-build/fio-*/ vitastor-0.5.3/fio; \ |
|
|
|
|
cd vitastor-0.5.3; \ |
|
|
|
|
FIO=$(head -n1 fio/debian/changelog | perl -pe 's/^.*\((.*?)\).*$/$1/'); \ |
|
|
|
|
QEMU=$(head -n1 qemu/debian/changelog | perl -pe 's/^.*\((.*?)\).*$/$1/'); \ |
|
|
|
|
sh copy-qemu-includes.sh; \ |
|
|
|
@ -64,8 +64,8 @@ RUN set -e -x; \ |
|
|
|
|
echo "dep:fio=$FIO" > debian/substvars; \ |
|
|
|
|
echo "dep:qemu=$QEMU" >> debian/substvars; \ |
|
|
|
|
cd /root/build/vitastor-$REL; \ |
|
|
|
|
tar --sort=name --mtime='2020-01-01' --owner=0 --group=0 --exclude=debian -cJf vitastor_0.5.1.orig.tar.xz vitastor-0.5.1; \ |
|
|
|
|
cd vitastor-0.5.1; \ |
|
|
|
|
tar --sort=name --mtime='2020-01-01' --owner=0 --group=0 --exclude=debian -cJf vitastor_0.5.3.orig.tar.xz vitastor-0.5.3; \ |
|
|
|
|
cd vitastor-0.5.3; \ |
|
|
|
|
V=$(head -n1 debian/changelog | perl -pe 's/^.*\((.*?)\).*$/$1/'); \ |
|
|
|
|
DEBFULLNAME="Vitaliy Filippov <vitalif@yourcmc.ru>" dch -D $REL -v "$V""$REL" "Rebuild for $REL"; \ |
|
|
|
|
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage --jobs=auto -sa; \ |
|
|
|
|