missing part for image repack support
authorAdrian Schröter <adrian@suse.de>
Fri, 6 Feb 2009 10:39:33 +0000 (10:39 +0000)
committerAdrian Schröter <adrian@suse.de>
Fri, 6 Feb 2009 10:39:33 +0000 (10:39 +0000)
Build/Kiwi.pm

index 03a58de..50f2001 100644 (file)
@@ -101,6 +101,7 @@ sub kiwiparse {
   my $kiwi = parsexml($xml);
   die("not a kiwi config\n") unless $kiwi && $kiwi->{'image'};
   $kiwi = $kiwi->{'image'}->[0];
+  $ret->{'filename'} = $kiwi->{'name'} if $kiwi->{'name'};
   my $description = (($kiwi->{'description'} || [])->[0]) || {};
   if ($description->{'specification'}) {
     $ret->{'name'} = $description->{'specification'}->[0]->{'_content'};