create-mkdebian.sh, pkg.sh: Upload to debian stable

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2015-05-31 15:29:41 +00:00
commit fbd7115174
2 changed files with 7 additions and 12 deletions

View file

@ -128,7 +128,7 @@ done
chmod 755 rules
cd ..
dch --create --newversion \$VERSION-\$RELEASE --controlmaint --package \$NAME --distribution unstable "Release built by $0"
dch --create --newversion \$VERSION-\$RELEASE --controlmaint --package \$NAME --distribution stable "Release built by $0"
echo "Produced by $0, the output should be in the \"debian\" sub-directory."
EOT

View file

@ -66,12 +66,12 @@ abspath()
read_map()
{
cmd_version -m $MOD_SCRIPT_DIR -p `platform` $@ read | sed 's/-dev//'
cmd_version -p `platform` $@ read | sed 's/-dev//'
}
write_map()
{
cmd_version -m $MOD_SCRIPT_DIR -p `platform` $1 write $2
cmd_version -p `platform` $1 write $2
}
find_path()
@ -308,14 +308,14 @@ cmd_version()
}
# -- here we go
local mod_script_dir=/opt/ytools/bin/get_os.sh
local strip_dev=cmd_version_strip_dev_dummy
local platform_patt="\(^debian-[0-9.]\+\|^suse-[0-9.]\+\)/\(i.86\|x86_64\): *"
local platform_patt="\(^debian-[0-9.]\+\|^suse-[0-9.]\+\)/\(i.86\|x86_64\|amd64\): *"
local no_compat=
local platform=`platform`
[ $# -lt 2 ] && cmd_version_usage 1
set -- `getopt 'hsnp:m:' "$@"`
set -- `getopt 'hsnp:' "$@"`
while [ "$1" != -- ] ; do
case "$1" in
-n)
@ -324,8 +324,6 @@ cmd_version()
strip_dev=cmd_version_strip_dev_real;;
-p)
platform="$2"; shift;;
-m)
mod_script_dir="$2"; shift;;
-h)
cmd_version_usage 0;;
*)
@ -341,9 +339,6 @@ cmd_version()
local cmd=$1
shift
local platform
[ "$platform" ] || platform=`bash $mod_script_dir/get_os.sh`/`arch`
case $cmd in
read)
local p=`echo $platform | sed 's%/%\\\/%g'`
@ -539,7 +534,7 @@ upload_pkg()
hash = sha
allow_unsigned_uploads = yes
distributions = debian-8
allowed_distributions = unstable
allowed_distributions = stable
delayed =
run_lintian = no
run_dinstall = no