X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=debian-backport-cockpit;h=d4f4921a3ad1055ea921b73b2c4ee01cc5d8e860;hp=33dd026431b4f2fa8924bcf1ab7f3bf6ac82feea;hb=08f7bdfac720173984d2e6846c5bf780f39916f7;hpb=7010179d5968be907864acfd30d81a77cb484c15 diff --git a/debian-backport-cockpit b/debian-backport-cockpit index 33dd026..d4f4921 100755 --- a/debian-backport-cockpit +++ b/debian-backport-cockpit @@ -3,6 +3,7 @@ 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() { @@ -23,16 +24,9 @@ cd /tmp/backport apt-get source cockpit cd cockpit-* -# stretch -series_ver stretch-backports -dch --local ~bpo9+ --distribution stretch-backports --force-distribution "No-change backport to Debian Stretch" +# buster +series_ver buster-backports +debian/adjust-for-release buster +dch --local ~bpo10+ --distribution buster-backports --force-distribution "No-change backport to Debian Buster" 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" -debuild -S -sd -nc -v$ver -echo "build this in a jessie schroot and upload"