commit kiwi-instsource-plugins-openSUSE-12-1 for openSUSE:Factory
Hello community, here is the log from the commit of package kiwi-instsource-plugins-openSUSE-12-1 for openSUSE:Factory checked in at 2012-09-02 07:47:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kiwi-instsource-plugins-openSUSE-12-1 (Old) and /work/SRC/openSUSE:Factory/.kiwi-instsource-plugins-openSUSE-12-1.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kiwi-instsource-plugins-openSUSE-12-1", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/kiwi-instsource-plugins-openSUSE-12-1/kiwi-instsource-plugins-openSUSE-12-1.changes 2012-08-27 16:04:33.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kiwi-instsource-plugins-openSUSE-12-1.new/kiwi-instsource-plugins-openSUSE-12-1.changes 2012-09-02 07:47:58.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Aug 28 08:35:27 UTC 2012 - coolo@suse.com + +- also support promo dvds that are biarch + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kiwi-instsource-plugins-openSUSE-12-1.diff ++++++ --- /var/tmp/diff_new_pack.hsmM0Q/_old 2012-09-02 07:48:00.000000000 +0200 +++ /var/tmp/diff_new_pack.hsmM0Q/_new 2012-09-02 07:48:00.000000000 +0200 @@ -101,7 +101,7 @@ =================================================================== --- /dev/null +++ KIWIPromoDVDPlugin.pm -@@ -0,0 +1,153 @@ +@@ -0,0 +1,149 @@ +################################################################ +# Copyright (c) 2012 SUSE +# @@ -236,19 +236,15 @@ + } + + my $medium = $this->collect()->productData()->getVar("MEDIUM_NAME"); -+ my $name = $this->{m_basesubdir}->{$cd} ) =~ s{.*/(.*)/*$}{$1}; -+ my $cd; -+ find( sub { if (m/initrd.liv/) { $cd = $File::Find::name; } }, $this->handler()->collect()->basedir()); -+ if (!$cd) { -+ $this->logMsg("E", "initrd.liv not found\n"); -+ exit(1); -+ } -+ $this->logMsg("I", "$cd $medium $name"); -+ my $dname = dirname($cd); -+ $this->logMsg("I", "$dname"); -+ system("mkdir -p boot/grub; echo $medium > boot/grub/mbrid"); -+ system("echo boot/grub/mbrid | cpio --create --format=newc --quiet | gzip -9 -f >> $cd"); -+ $this->logMsg("I", "updated $cd"); ++ find( sub { ++ if (m/initrd.liv/) { ++ my $cd = $File::Find::name; ++ system("mkdir -p boot/grub; echo $medium > boot/grub/mbrid"); ++ system("echo boot/grub/mbrid | cpio --create --format=newc --quiet | gzip -9 -f >> $cd"); ++ system("rm boot/grub/mbrid; rmdir boot/grub; rmdir boot"); ++ $this->logMsg("I", "updated $cd"); ++ } ++ }, $this->handler()->collect()->basedir()); + + return $retval; +} -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de