mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-16 04:23:31 +01:00
scripts: Replace standard source path cvs.stable with jw.dev
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
90157c6802
commit
0037554001
4 changed files with 8 additions and 8 deletions
|
|
@ -19,7 +19,7 @@ import re
|
|||
all_deps = Set()
|
||||
dep_tree = {}
|
||||
glob_order = []
|
||||
proj_base=pwd.getpwuid(os.getuid()).pw_dir + "/local/src/cvs.stable/proj"
|
||||
proj_base=pwd.getpwuid(os.getuid()).pw_dir + "/local/src/jw.dev/proj"
|
||||
search_path=[".", "dspc/src", "dspc/src/dspcd-plugins", "dspc/src/io" ]
|
||||
glob_prereq_type="BUILD"
|
||||
dep_cache = {}
|
||||
|
|
|
|||
|
|
@ -630,7 +630,7 @@ cfg_default()
|
|||
/usr/share/syslinux /srv/nfs/boot/pxe/bin auto bind 0 0
|
||||
|
||||
[jcs_conf]
|
||||
jcs_dir=\$HOME/local/src/cvs.stable/conf/jannet.de/minimalix/suse-$suse_version
|
||||
jcs_dir=\$HOME/local/src/jw.dev/conf/jannet.de/minimalix/suse-$suse_version
|
||||
jcs_owner=root
|
||||
jcs_group=root
|
||||
jcs_log_dir=\$jcs_dir/log
|
||||
|
|
@ -824,11 +824,11 @@ kill_chroot_processes()
|
|||
local wait
|
||||
local p
|
||||
for p in $pids; do
|
||||
echo "killing process $pid (`strings /proc/$p/cmdline | sed ':a;N;$!ba;s/\n/ /g'`)"
|
||||
kill $p
|
||||
echo "killing process $p (`strings /proc/$p/cmdline | sed ':a;N;$!ba;s/\n/ /g'`)"
|
||||
kill $p || continue
|
||||
wait=1
|
||||
done
|
||||
[ wait = 1 ] && sleep 1
|
||||
if [ "$wait" = 1 ]; then sleep 1; fi
|
||||
}
|
||||
|
||||
unmount_devices()
|
||||
|
|
@ -842,7 +842,7 @@ unmount_devices()
|
|||
for d in $devices; do
|
||||
check_mount $d && {
|
||||
[ "$sync" -a -e $root$d -a $d != $ssh_auth_sock ] && run $sync -f $root$d
|
||||
[ "$d" = /dev ] && sleep 2 # need to do this, otherwise dev is busy, no idea why
|
||||
#[ "$d" = /dev ] && sleep 2 # need to do this, otherwise dev is busy, no idea why
|
||||
run umount $root$d
|
||||
}
|
||||
done
|
||||
|
|
|
|||
|
|
@ -2031,7 +2031,7 @@ JNT_JCSDIR=/tmp
|
|||
--<<<-- jcs.conf.oldstyle --
|
||||
|
||||
-->>>-- jcs.conf --
|
||||
jcs_dir=$HOME/local/src/cvs.stable/conf/`hostname -d`/`hostname -s`/`/opt/ytools/bin/get_os.sh`
|
||||
jcs_dir=$HOME/local/src/jw.dev/conf/`hostname -d`/`hostname -s`/`/opt/ytools/bin/get_os.sh`
|
||||
jcs_owner=root
|
||||
jcs_group=root
|
||||
jcs_log_dir=$jcs_dir/log
|
||||
|
|
|
|||
|
|
@ -462,7 +462,7 @@ parser.add_argument('--debug', '-d', action='store_true',
|
|||
default=False, help='Output debug information to stderr')
|
||||
parser.add_argument('--topdir', '-t', nargs='?', help='Project Path')
|
||||
parser.add_argument('--prefix', '-p', nargs='?', default = expanduser("~") +
|
||||
'/local/src/cvs.stable/proj', help='Projects Path Prefix')
|
||||
'/local/src/jw.dev/proj', help='Projects Path Prefix')
|
||||
parser.add_argument('arg', nargs='*', help='Command arguments')
|
||||
args=parser.parse_args(global_args)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue