[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH v2 13/23] Debian: Pass $ho to debian_overlays



No functional change.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 Osstest/Debian.pm | 6 +++---
 ts-debian-fixup   | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index 2f5135d..019893d 100644
--- a/Osstest/Debian.pm
+++ b/Osstest/Debian.pm
@@ -813,8 +813,8 @@ echo COMPRESS=/usr/sbin/osstest-initramfs-gzip >> \\
 END
 }
 
-sub debian_overlays ($) {
-    my ($func) = @_;
+sub debian_overlays ($$) {
+    my ($ho, $func) = @_;
     $func->($c{OverlayLocal}, 'overlay-local.tar');
     $func->('overlay', 'overlay.tar');
 }
@@ -857,7 +857,7 @@ if [ -f /target$grub ] ; then
 fi
 END
 
-    debian_overlays(sub {
+    debian_overlays($ho, sub {
        my ($srcdir, $tfilename) = @_;
        preseed_hook_overlay($ho, $sfx, $srcdir, $tfilename);
     });
diff --git a/ts-debian-fixup b/ts-debian-fixup
index 52a7c5e..3e5cdb9 100755
--- a/ts-debian-fixup
+++ b/ts-debian-fixup
@@ -192,7 +192,7 @@ savecfg();
 ether();
 target_kernkind_check($gho);
 access();
-debian_overlays(\&overlay);
+debian_overlays($ho, \&overlay);
 console();
 filesystems();
 otherfixupcfg();
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.