mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-20 21:37:39 +01:00
create-mkdebian.sh, pkg.sh: Upload to debian stable
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
a351f07bc5
commit
fbd7115174
2 changed files with 7 additions and 12 deletions
|
|
@ -128,7 +128,7 @@ done
|
||||||
chmod 755 rules
|
chmod 755 rules
|
||||||
|
|
||||||
cd ..
|
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."
|
echo "Produced by $0, the output should be in the \"debian\" sub-directory."
|
||||||
EOT
|
EOT
|
||||||
|
|
|
||||||
|
|
@ -66,12 +66,12 @@ abspath()
|
||||||
|
|
||||||
read_map()
|
read_map()
|
||||||
{
|
{
|
||||||
cmd_version -m $MOD_SCRIPT_DIR -p `platform` $@ read | sed 's/-dev//'
|
cmd_version -p `platform` $@ read | sed 's/-dev//'
|
||||||
}
|
}
|
||||||
|
|
||||||
write_map()
|
write_map()
|
||||||
{
|
{
|
||||||
cmd_version -m $MOD_SCRIPT_DIR -p `platform` $1 write $2
|
cmd_version -p `platform` $1 write $2
|
||||||
}
|
}
|
||||||
|
|
||||||
find_path()
|
find_path()
|
||||||
|
|
@ -308,14 +308,14 @@ cmd_version()
|
||||||
}
|
}
|
||||||
|
|
||||||
# -- here we go
|
# -- here we go
|
||||||
local mod_script_dir=/opt/ytools/bin/get_os.sh
|
|
||||||
local strip_dev=cmd_version_strip_dev_dummy
|
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 no_compat=
|
||||||
|
local platform=`platform`
|
||||||
|
|
||||||
[ $# -lt 2 ] && cmd_version_usage 1
|
[ $# -lt 2 ] && cmd_version_usage 1
|
||||||
|
|
||||||
set -- `getopt 'hsnp:m:' "$@"`
|
set -- `getopt 'hsnp:' "$@"`
|
||||||
while [ "$1" != -- ] ; do
|
while [ "$1" != -- ] ; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-n)
|
-n)
|
||||||
|
|
@ -324,8 +324,6 @@ cmd_version()
|
||||||
strip_dev=cmd_version_strip_dev_real;;
|
strip_dev=cmd_version_strip_dev_real;;
|
||||||
-p)
|
-p)
|
||||||
platform="$2"; shift;;
|
platform="$2"; shift;;
|
||||||
-m)
|
|
||||||
mod_script_dir="$2"; shift;;
|
|
||||||
-h)
|
-h)
|
||||||
cmd_version_usage 0;;
|
cmd_version_usage 0;;
|
||||||
*)
|
*)
|
||||||
|
|
@ -341,9 +339,6 @@ cmd_version()
|
||||||
local cmd=$1
|
local cmd=$1
|
||||||
shift
|
shift
|
||||||
|
|
||||||
local platform
|
|
||||||
[ "$platform" ] || platform=`bash $mod_script_dir/get_os.sh`/`arch`
|
|
||||||
|
|
||||||
case $cmd in
|
case $cmd in
|
||||||
read)
|
read)
|
||||||
local p=`echo $platform | sed 's%/%\\\/%g'`
|
local p=`echo $platform | sed 's%/%\\\/%g'`
|
||||||
|
|
@ -539,7 +534,7 @@ upload_pkg()
|
||||||
hash = sha
|
hash = sha
|
||||||
allow_unsigned_uploads = yes
|
allow_unsigned_uploads = yes
|
||||||
distributions = debian-8
|
distributions = debian-8
|
||||||
allowed_distributions = unstable
|
allowed_distributions = stable
|
||||||
delayed =
|
delayed =
|
||||||
run_lintian = no
|
run_lintian = no
|
||||||
run_dinstall = no
|
run_dinstall = no
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue