[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 11/35] backports handling: Make backports initramfs-tools optional
If mg-debian-installer-update decided not to provide an initramfs.deb, just skip that. No functional change with earlier d-i fetches produced by existing versions of mg-debian-installer-update. Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> --- Osstest/Debian.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 5a083c2..dacefb3 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -1142,7 +1142,11 @@ END $kdeb->("kernel", $kern); my $ird = "$d_i/initramfs-tools.deb"; - $kdeb->("initramfs-tools", $ird); + if (stat $ird) { + $kdeb->("initramfs-tools", $ird); + } else { + die "$ird $!" unless $!==ENOENT; + } $cmds .= <<END; -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |