X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=debian-backport-cockpit;h=b2db95042c3254d62755dfbc93968ad80b7245ae;hp=b3d34407f6f03814387f41dc96a064051e47a3db;hb=d2ffc770edd7a6050eaf46b9ce58e6745723930f;hpb=1c4d7fe0da9766c29f29b9ab809af0e380e87de7 diff --git a/debian-backport-cockpit b/debian-backport-cockpit index b3d3440..b2db950 100755 --- a/debian-backport-cockpit +++ b/debian-backport-cockpit @@ -3,10 +3,10 @@ set -eu series_ver() { ver=$(wget -q -O- http://ftp.debian.org/debian/dists/${1}/main/source/Sources.xz | xz -d | grep-dctrl -n -sVersion -P cockpit | sort -u | tail -n1) + ver=${ver%~bpo*} } upload() { - debuild -S -sd -nc -v$ver cat ../cockpit_*_source.changes read -p "Upload? [y/N] " answer @@ -26,12 +26,15 @@ cd cockpit-* # stretch series_ver stretch-backports +debian/adjust-for-release stretch dch --local ~bpo9+ --distribution stretch-backports --force-distribution "No-change backport to Debian Stretch" +debuild -S -sd -nc -v$ver upload # jessie -dpkg-source -x *.dsc -cd cockpit-* -series_ver jessie-backports-sloppy -dch --local ~bpo8+ --distribution jessie-backports-sloppy --force-distribution "No-change backport to Debian Jessie" -upload +#dpkg-source -x *.dsc +#cd cockpit-* +#series_ver jessie-backports-sloppy +#dch --local ~bpo8+ --distribution jessie-backports-sloppy --force-distribution "No-change backport to Debian Jessie" +#debuild -S -sd -nc -v$ver +#echo "build this in a jessie schroot and upload"