All of lore.kernel.org
 help / color / mirror / Atom feed
* [OSSTEST PATCH] echo to stderr in mg-debian-installer-update
@ 2014-06-13 16:56 Dario Faggioli
  0 siblings, 0 replies; only message in thread
From: Dario Faggioli @ 2014-06-13 16:56 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian Jackson, Ian Campbell

Otherwise the script would 'return' an array of strings which results,
when called from standalone-reset, in something like this:

+ ln -s http://ftp.debian.org/debian//dists/wheezy/main/installer-amd64/current/images/netboot//debian-installer/amd64/initrd.gz '=>' initrd.gz.new http://ftp.debian.org/debian//dists/wheezy/main/installer-amd64/current/images/netboot//debian-installer/amd64/linux '=>' linux.new http://ftp.debian.org/debian//dists/wheezy/main/installer-amd64/current/images/netboot//xen/vmlinuz '=>' vmlinuz-xen.new http://ftp.debian.org/debian//dists/wheezy/main/installer-amd64/current/images/netboot//xen/initrd.gz '=>' initrd.gz-xen.new s=debian-installer/amd64/initrd.gz d=initrd.gz s=debian-installer/amd64/linux d=linux s=xen/vmlinuz d=vmlinuz-xen s=xen/initrd.gz d=initrd.gz-xen 2014-06-13-wheezy /usr/groups/netboot//dariof/osstest/debian-installer/amd64/current-wheezy
ln: target `/usr/groups/netboot//dariof/osstest/debian-installer/amd64/current-wheezy' is not a directory

This was introduced in commit 20e98de815870b879157bb79559a70a0c058259a
(mg-debian-installer-update: grab Xen PV domU capable images too).

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
---
diff --git a/mg-debian-installer-update b/mg-debian-installer-update
index d6b688e..b964f95 100755
--- a/mg-debian-installer-update
+++ b/mg-debian-installer-update
@@ -62,7 +62,7 @@ cd $dst
 for f in $files; do
         echo >&2 "fetching $f"
         s=${f/:*} ; d=${f/*:}
-        echo "$src/$s => $d.new"
+        echo >&2 "$src/$s => $d.new"
         curl -s $src/$s >$d.new
 done
 

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-13 16:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-13 16:56 [OSSTEST PATCH] echo to stderr in mg-debian-installer-update Dario Faggioli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.