commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2020-10-22 14:21:47 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new.3463 (New) Package is "perl-Bootloader" Thu Oct 22 14:21:47 2020 rev:192 rq:842523 version:0.932 Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2020-07-26 16:17:35.688710135 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new.3463/perl-Bootloader.changes 2020-10-22 14:23:09.322797275 +0200 @@ -1,0 +2,8 @@ +Mon Oct 19 10:26:56 UTC 2020 - wfe...@opensuse.org + +- merge gh#openSUSE/perl-bootloader#131 +- grub2 install: honor UPDATE_NVRAM in /etc/sysconfig/bootloader + (bsc#1157550 jsc#SLE-11500). +- 0.932 + + Old: perl-Bootloader-0.931.tar.xz New: perl-Bootloader-0.932.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.cxwBc3/_old 2020-10-22 14:23:10.262798119 +0200 +++ /var/tmp/diff_new_pack.cxwBc3/_new 2020-10-22 14:23:10.266798121 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.931 +Version:0.932 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.931.tar.xz -> perl-Bootloader-0.932.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.931/VERSION new/perl-Bootloader-0.932/VERSION --- old/perl-Bootloader-0.931/VERSION 2020-07-24 09:06:12.0 +0200 +++ new/perl-Bootloader-0.932/VERSION 2020-10-19 12:26:56.0 +0200 @@ -1 +1 @@ -0.931 +0.932 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.931/changelog new/perl-Bootloader-0.932/changelog --- old/perl-Bootloader-0.931/changelog 2020-07-24 09:06:12.0 +0200 +++ new/perl-Bootloader-0.932/changelog 2020-10-19 12:26:56.0 +0200 @@ -1,3 +1,8 @@ +2020-10-19:0.932 + - merge gh#openSUSE/perl-bootloader#131 + - grub2 install: honor UPDATE_NVRAM in /etc/sysconfig/bootloader + (bsc#1157550 jsc#SLE-11500). + 2020-07-24:0.931 - merge gh#openSUSE/perl-bootloader#129 - Check tpm.mod in the new grub2 directory (bsc#1174320) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.931/grub2/install new/perl-Bootloader-0.932/grub2/install --- old/perl-Bootloader-0.931/grub2/install 2020-07-24 09:06:12.0 +0200 +++ new/perl-Bootloader-0.932/grub2/install 2020-10-19 12:26:56.0 +0200 @@ -138,6 +138,11 @@ grep -q PowerNV /proc/cpuinfo && exit 0 fi +append= +if [ "$SYS__BOOTLOADER__UPDATE_NVRAM" = "no" ] ; then +append="$append --no-nvram" +fi + if [ "$SYS__BOOTLOADER__TRUSTED_BOOT" = yes -a -d "/usr/lib/trustedgrub2/$target" ] ; then trusted="--directory=/usr/lib/trustedgrub2/$target" fi @@ -152,7 +157,7 @@ [ "${device::1}" != "/" ] && continue if [ -b "$device" -o -f "$device" ] ; then has_device=1 - ( set -x ; /usr/sbin/grub2-install $trusted --target="$target" --force --skip-fs-probe "$device" ) || err=1 + ( set -x ; /usr/sbin/grub2-install $append $trusted --target="$target" --force --skip-fs-probe "$device" ) || err=1 else echo "$device: not a block device" err=1 @@ -167,7 +172,7 @@ if [ "$device" ] ; then device="/dev/$device" has_device=1 - ( set -x ; /usr/sbin/grub2-install $trusted --target="$target" --force --skip-fs-probe "$device" ) || err=1 + ( set -x ; /usr/sbin/grub2-install $append $trusted --target="$target" --force --skip-fs-probe "$device" ) || err=1 fi fi fi @@ -176,7 +181,7 @@ err=1 fi else -( set -x ; /usr/sbin/grub2-install $trusted --target="$target" ) +( set -x ; /usr/sbin/grub2-install $append $trusted --target="$target" ) fi else echo "grub2-install: command not found" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.931/grub2-efi/install new/perl-Bootloader-0.932/grub2-efi/install --- old/perl-Bootloader-0.931/grub2-efi/install 2020-07-24 09:06:12.0 +0200 +++ new/perl-Bootloader-0.932/grub2-efi/install 2020-10-19 12:26:56.0 +0200 @@ -60,6 +60,10 @@ append="$append --suse-enable-tpm" fi +if [ "$SYS__BOOTLOADER__UPDATE_NVRAM" = "no" ] ; then +append="$append --no-nvram" +fi + if [ "$SYS__BOOTLOADER__SECURE_BOOT" =
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2020-07-26 16:16:18 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new.3592 (New) Package is "perl-Bootloader" Sun Jul 26 16:16:18 2020 rev:191 rq:822565 version:0.931 Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2020-07-17 20:45:05.336555142 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new.3592/perl-Bootloader.changes 2020-07-26 16:17:35.688710135 +0200 @@ -1,0 +2,14 @@ +Fri Jul 24 07:06:12 UTC 2020 - wfe...@opensuse.org + +- merge gh#openSUSE/perl-bootloader#129 +- Check tpm.mod in the new grub2 directory (bsc#1174320) +- 0.931 + + +Thu Jul 23 11:20:14 UTC 2020 - wfe...@opensuse.org + +- merge gh#openSUSE/perl-bootloader#130 +- Throw less warnings about fstab +- 0.930 + + Old: perl-Bootloader-0.929.tar.xz New: perl-Bootloader-0.931.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.PpBoaD/_old 2020-07-26 16:17:36.304710712 +0200 +++ /var/tmp/diff_new_pack.PpBoaD/_new 2020-07-26 16:17:36.308710715 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.929 +Version:0.931 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.929.tar.xz -> perl-Bootloader-0.931.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.929/VERSION new/perl-Bootloader-0.931/VERSION --- old/perl-Bootloader-0.929/VERSION 2020-07-14 15:46:21.0 +0200 +++ new/perl-Bootloader-0.931/VERSION 2020-07-24 09:06:12.0 +0200 @@ -1 +1 @@ -0.929 +0.931 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.929/changelog new/perl-Bootloader-0.931/changelog --- old/perl-Bootloader-0.929/changelog 2020-07-14 15:46:21.0 +0200 +++ new/perl-Bootloader-0.931/changelog 2020-07-24 09:06:12.0 +0200 @@ -1,3 +1,11 @@ +2020-07-24:0.931 + - merge gh#openSUSE/perl-bootloader#129 + - Check tpm.mod in the new grub2 directory (bsc#1174320) + +2020-07-23:0.930 + - merge gh#openSUSE/perl-bootloader#130 + - Throw less warnings about fstab + 2020-07-14:0.929 - merge gh#openSUSE/perl-bootloader#128 - Do not warn about missing SECURE_BOOT sysconfig diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.929/grub2-efi/install new/perl-Bootloader-0.931/grub2-efi/install --- old/perl-Bootloader-0.929/grub2-efi/install 2020-07-14 15:46:21.0 +0200 +++ new/perl-Bootloader-0.931/grub2-efi/install 2020-07-24 09:06:12.0 +0200 @@ -56,7 +56,7 @@ has_nvram=1 fi -if [ "$SYS__BOOTLOADER__TRUSTED_BOOT" = yes -a -f "/usr/lib/grub2/$target/tpm.mod" ] ; then +if [ "$SYS__BOOTLOADER__TRUSTED_BOOT" = yes ] && [ -f "/usr/lib/grub2/$target/tpm.mod" -o -f "/usr/share/grub2/$target/tpm.mod" ] ; then append="$append --suse-enable-tpm" fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.929/src/Tools.pm new/perl-Bootloader-0.931/src/Tools.pm --- old/perl-Bootloader-0.929/src/Tools.pm 2020-07-14 15:46:21.0 +0200 +++ new/perl-Bootloader-0.931/src/Tools.pm 2020-07-24 09:06:12.0 +0200 @@ -136,6 +136,7 @@ for my $line (@{$self->ReadFile(Bootloader::Path::Fstab())}) { (my $dev, my $mp) = split ' ', $line; +next unless defined $dev; next if $dev =~ /^#/; if($dev =~ m/^LABEL=(.*)/) { $dev = "/dev/disk/by-label/$1"; # do not translate otherwise it changes root always bnc#575362
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2020-07-17 20:44:45 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new.3592 (New) Package is "perl-Bootloader" Fri Jul 17 20:44:45 2020 rev:190 rq:820909 version:0.929 Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2020-06-05 20:03:58.556680955 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new.3592/perl-Bootloader.changes 2020-07-17 20:45:05.336555142 +0200 @@ -1,0 +2,7 @@ +Tue Jul 14 13:46:21 UTC 2020 - wfe...@opensuse.org + +- merge gh#openSUSE/perl-bootloader#128 +- Do not warn about missing SECURE_BOOT sysconfig +- 0.929 + + Old: perl-Bootloader-0.928.tar.xz New: perl-Bootloader-0.929.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.8zD0ep/_old 2020-07-17 20:45:06.716556613 +0200 +++ /var/tmp/diff_new_pack.8zD0ep/_new 2020-07-17 20:45:06.720556617 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.928 +Version:0.929 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.928.tar.xz -> perl-Bootloader-0.929.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.928/VERSION new/perl-Bootloader-0.929/VERSION --- old/perl-Bootloader-0.928/VERSION 2020-06-03 10:56:32.0 +0200 +++ new/perl-Bootloader-0.929/VERSION 2020-07-14 15:46:21.0 +0200 @@ -1 +1 @@ -0.928 +0.929 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.928/changelog new/perl-Bootloader-0.929/changelog --- old/perl-Bootloader-0.928/changelog 2020-06-03 10:56:32.0 +0200 +++ new/perl-Bootloader-0.929/changelog 2020-07-14 15:46:21.0 +0200 @@ -1,3 +1,7 @@ +2020-07-14:0.929 + - merge gh#openSUSE/perl-bootloader#128 + - Do not warn about missing SECURE_BOOT sysconfig + 2020-06-03:0.928 - merge gh#openSUSE/perl-bootloader#127 - use correct target name on aarch64 (bsc#1172293) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.928/src/Tools.pm new/perl-Bootloader-0.929/src/Tools.pm --- old/perl-Bootloader-0.928/src/Tools.pm 2020-06-03 10:56:32.0 +0200 +++ new/perl-Bootloader-0.929/src/Tools.pm 2020-07-14 15:46:21.0 +0200 @@ -669,7 +669,7 @@ sub GetSecureBoot { - my $val = GetSysconfigValue("SECURE_BOOT"); + my $val = GetSysconfigValue("SECURE_BOOT") // 0; $lib_ref->milestone("secureboot = $val") if $lib_ref;
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2020-06-05 20:03:28 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new.3606 (New) Package is "perl-Bootloader" Fri Jun 5 20:03:28 2020 rev:189 rq:811050 version:0.928 Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2020-04-27 23:30:44.594629062 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new.3606/perl-Bootloader.changes 2020-06-05 20:03:58.556680955 +0200 @@ -1,0 +2,7 @@ +Wed Jun 3 08:56:32 UTC 2020 - wfe...@opensuse.org + +- merge gh#openSUSE/perl-bootloader#127 +- use correct target name on aarch64 (bsc#1172293) +- 0.928 + + Old: perl-Bootloader-0.927.tar.xz New: perl-Bootloader-0.928.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.ExCUb8/_old 2020-06-05 20:04:00.288686636 +0200 +++ /var/tmp/diff_new_pack.ExCUb8/_new 2020-06-05 20:04:00.292686649 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.927 +Version:0.928 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.927.tar.xz -> perl-Bootloader-0.928.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.927/VERSION new/perl-Bootloader-0.928/VERSION --- old/perl-Bootloader-0.927/VERSION 2020-04-24 12:30:48.0 +0200 +++ new/perl-Bootloader-0.928/VERSION 2020-06-03 10:56:32.0 +0200 @@ -1 +1 @@ -0.927 +0.928 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.927/changelog new/perl-Bootloader-0.928/changelog --- old/perl-Bootloader-0.927/changelog 2020-04-24 12:30:48.0 +0200 +++ new/perl-Bootloader-0.928/changelog 2020-06-03 10:56:32.0 +0200 @@ -1,3 +1,7 @@ +2020-06-03:0.928 + - merge gh#openSUSE/perl-bootloader#127 + - use correct target name on aarch64 (bsc#1172293) + 2020-04-24:0.927 - merge gh#openSUSE/perl-bootloader#126 - always install EFI fallback boot for aarch64 (bsc#1167015) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.927/grub2-efi/install new/perl-Bootloader-0.928/grub2-efi/install --- old/perl-Bootloader-0.927/grub2-efi/install 2020-04-24 12:30:48.0 +0200 +++ new/perl-Bootloader-0.928/grub2-efi/install 2020-06-03 10:56:32.0 +0200 @@ -60,7 +60,7 @@ append="$append --suse-enable-tpm" fi -if [ "$SYS__BOOTLOADER__SECURE_BOOT" = "yes" -a "$target" != "arm64" ] ; then +if [ "$SYS__BOOTLOADER__SECURE_BOOT" = "yes" -a "$target" != "arm64-efi" ] ; then if [ -x /usr/sbin/shim-install ] ; then ( set -x ; /usr/sbin/shim-install --config-file=/boot/grub2/grub.cfg $append ) else @@ -72,7 +72,7 @@ if [ "$SYS__BOOTLOADER__SECURE_BOOT" = "yes" ] ; then append="$append --suse-force-signed" fi - if [ "$has_nvram" = 1 -a "$target" = "arm64" ] ; then + if [ "$has_nvram" = 1 -a "$target" = "arm64-efi" ] ; then # some arm firmwares need the fallback even though they have nvram vars (bsc#1167015) ( set -x ; /usr/sbin/grub2-install --target="$target" $append $no_nvram_opts ) fi
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2020-04-27 23:30:26 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new.2738 (New) Package is "perl-Bootloader" Mon Apr 27 23:30:26 2020 rev:188 rq:797106 version:0.927 Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2019-10-21 12:25:33.183767011 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new.2738/perl-Bootloader.changes 2020-04-27 23:30:44.594629062 +0200 @@ -1,0 +2,7 @@ +Fri Apr 24 10:30:48 UTC 2020 - wfe...@opensuse.org + +- merge gh#openSUSE/perl-bootloader#126 +- always install EFI fallback boot for aarch64 (bsc#1167015) +- 0.927 + + Old: perl-Bootloader-0.926.tar.xz New: perl-Bootloader-0.927.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.7lHjLy/_old 2020-04-27 23:30:45.282630405 +0200 +++ /var/tmp/diff_new_pack.7lHjLy/_new 2020-04-27 23:30:45.286630413 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Bootloader # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.926 +Version:0.927 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.926.tar.xz -> perl-Bootloader-0.927.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.926/VERSION new/perl-Bootloader-0.927/VERSION --- old/perl-Bootloader-0.926/VERSION 2019-10-14 13:37:54.0 +0200 +++ new/perl-Bootloader-0.927/VERSION 2020-04-24 12:30:48.0 +0200 @@ -1 +1 @@ -0.926 +0.927 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.926/changelog new/perl-Bootloader-0.927/changelog --- old/perl-Bootloader-0.926/changelog 2019-10-14 13:37:54.0 +0200 +++ new/perl-Bootloader-0.927/changelog 2020-04-24 12:30:48.0 +0200 @@ -1,3 +1,7 @@ +2020-04-24:0.927 + - merge gh#openSUSE/perl-bootloader#126 + - always install EFI fallback boot for aarch64 (bsc#1167015) + 2019-10-14:0.926 - merge gh#openSUSE/perl-bootloader#123 - Accept sysconfig values without quotes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.926/grub2-efi/install new/perl-Bootloader-0.927/grub2-efi/install --- old/perl-Bootloader-0.926/grub2-efi/install 2019-10-14 13:37:54.0 +0200 +++ new/perl-Bootloader-0.927/grub2-efi/install 2020-04-24 12:30:48.0 +0200 @@ -47,13 +47,17 @@ # there is at least one efi variable visible. On systems without working NVRAM, # we either see no efivars at all (booted via non-EFI entry point) or there is # no efi variable exposed. Install grub in the removable location there. +no_nvram_opts="--no-nvram --removable" +has_nvram=0 append= -if [ ! -d /sys/firmware/efi/efivars -o ! "$(ls -A /sys/firmware/efi/efivars)" ]; then - append="--no-nvram --removable" +if [ ! -d /sys/firmware/efi/efivars -o ! "$(ls -A /sys/firmware/efi/efivars)" ] ; then + append="$no_nvram_opts" +else + has_nvram=1 fi if [ "$SYS__BOOTLOADER__TRUSTED_BOOT" = yes -a -f "/usr/lib/grub2/$target/tpm.mod" ] ; then - append="$append --suse-enable-tpm" + append="$append --suse-enable-tpm" fi if [ "$SYS__BOOTLOADER__SECURE_BOOT" = "yes" -a "$target" != "arm64" ] ; then @@ -65,9 +69,13 @@ fi elif [ -x /usr/sbin/grub2-install ] ; then # Use '--suse-force-signed' when shim is not used (aarch64 case) - if [ "$SYS__BOOTLOADER__SECURE_BOOT" = "yes" ]; then + if [ "$SYS__BOOTLOADER__SECURE_BOOT" = "yes" ] ; then append="$append --suse-force-signed" fi + if [ "$has_nvram" = 1 -a "$target" = "arm64" ] ; then +# some arm firmwares need the fallback even though they have nvram vars (bsc#1167015) +( set -x ; /usr/sbin/grub2-install --target="$target" $append $no_nvram_opts ) + fi ( set -x ; /usr/sbin/grub2-install --target="$target" $append ) else echo "grub2-install: command not found"
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2019-10-21 12:25:29 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new.2352 (New) Package is "perl-Bootloader" Mon Oct 21 12:25:29 2019 rev:187 rq:738850 version:0.926 Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2019-07-31 14:22:27.462465962 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new.2352/perl-Bootloader.changes 2019-10-21 12:25:33.183767011 +0200 @@ -1,0 +2,7 @@ +Mon Oct 14 11:37:54 UTC 2019 - wfe...@opensuse.org + +- merge gh#openSUSE/perl-bootloader#123 +- Accept sysconfig values without quotes +- 0.926 + + Old: perl-Bootloader-0.925.tar.xz New: perl-Bootloader-0.926.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.zlWyLU/_old 2019-10-21 12:25:33.839767755 +0200 +++ /var/tmp/diff_new_pack.zlWyLU/_new 2019-10-21 12:25:33.839767755 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.925 +Version:0.926 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.925.tar.xz -> perl-Bootloader-0.926.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.925/VERSION new/perl-Bootloader-0.926/VERSION --- old/perl-Bootloader-0.925/VERSION 2019-07-03 08:39:41.0 +0200 +++ new/perl-Bootloader-0.926/VERSION 2019-10-14 13:37:54.0 +0200 @@ -1 +1 @@ -0.925 +0.926 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.925/changelog new/perl-Bootloader-0.926/changelog --- old/perl-Bootloader-0.925/changelog 2019-07-03 08:39:41.0 +0200 +++ new/perl-Bootloader-0.926/changelog 2019-10-14 13:37:54.0 +0200 @@ -1,3 +1,7 @@ +2019-10-14:0.926 + - merge gh#openSUSE/perl-bootloader#123 + - Accept sysconfig values without quotes + 2019-07-03:0.925 - merge gh#openSUSE/perl-bootloader#122 - Replace --suse-signed-grub by --suse-force-signed to follow diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.925/src/Tools.pm new/perl-Bootloader-0.926/src/Tools.pm --- old/perl-Bootloader-0.925/src/Tools.pm 2019-07-03 08:39:41.0 +0200 +++ new/perl-Bootloader-0.926/src/Tools.pm 2019-10-14 13:37:54.0 +0200 @@ -694,7 +694,7 @@ if(open my $fh, Bootloader::Path::Sysconfig()) { while(<$fh>) { - $val = $1, last if /^\s*$key\s*=\s*"(.*)"\s*$/; + $val = $2, last if /^\s*$key\s*=\s*(["']?)(.*?)\1?\s*$/ } close $fh;
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2019-07-31 14:22:23 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new.4126 (New) Package is "perl-Bootloader" Wed Jul 31 14:22:23 2019 rev:186 rq:713155 version:0.925 Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2018-10-02 19:40:58.954248757 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new.4126/perl-Bootloader.changes 2019-07-31 14:22:27.462465962 +0200 @@ -1,0 +2,16 @@ +Wed Jul 3 06:39:41 UTC 2019 - jreidin...@suse.cz + +- merge gh#openSUSE/perl-bootloader#122 +- Replace --suse-signed-grub by --suse-force-signed to follow + update from boo#1136601 +- 0.925 + + +Thu Jun 6 06:22:24 UTC 2019 - jreidin...@suse.cz + +- merge gh#openSUSE/perl-bootloader#121 +- Fix secureboot on aarch64 (boo#1136601) +- [RFC] Fix secureboot on aarch64 (boo#1136601) +- 0.924 + + Old: perl-Bootloader-0.923.tar.xz New: perl-Bootloader-0.925.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.cH6Fvb/_old 2019-07-31 14:22:28.006465652 +0200 +++ /var/tmp/diff_new_pack.cH6Fvb/_new 2019-07-31 14:22:28.010465649 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Bootloader # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.923 +Version:0.925 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.923.tar.xz -> perl-Bootloader-0.925.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.923/VERSION new/perl-Bootloader-0.925/VERSION --- old/perl-Bootloader-0.923/VERSION 2018-09-27 13:15:33.0 +0200 +++ new/perl-Bootloader-0.925/VERSION 2019-07-03 08:39:41.0 +0200 @@ -1 +1 @@ -0.923 +0.925 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.923/changelog new/perl-Bootloader-0.925/changelog --- old/perl-Bootloader-0.923/changelog 2018-09-27 13:15:33.0 +0200 +++ new/perl-Bootloader-0.925/changelog 2019-07-03 08:39:41.0 +0200 @@ -1,3 +1,12 @@ +2019-07-03:0.925 + - merge gh#openSUSE/perl-bootloader#122 + - Replace --suse-signed-grub by --suse-force-signed to follow + update from boo#1136601 + +2019-06-06:0.924 + - merge gh#openSUSE/perl-bootloader#121 + - Fix secureboot on aarch64 (boo#1136601) + 2018-09-27:0.923 - merge gh#openSUSE/perl-bootloader#120 - create temporary files in /tmp (bsc#1108777) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.923/grub2-efi/install new/perl-Bootloader-0.925/grub2-efi/install --- old/perl-Bootloader-0.923/grub2-efi/install 2018-09-27 13:15:33.0 +0200 +++ new/perl-Bootloader-0.925/grub2-efi/install 2019-07-03 08:39:41.0 +0200 @@ -56,7 +56,7 @@ append="$append --suse-enable-tpm" fi -if [ "$SYS__BOOTLOADER__SECURE_BOOT" = "yes" ] ; then +if [ "$SYS__BOOTLOADER__SECURE_BOOT" = "yes" -a "$target" != "arm64" ] ; then if [ -x /usr/sbin/shim-install ] ; then ( set -x ; /usr/sbin/shim-install --config-file=/boot/grub2/grub.cfg $append ) else @@ -64,6 +64,10 @@ exit 1 fi elif [ -x /usr/sbin/grub2-install ] ; then + # Use '--suse-force-signed' when shim is not used (aarch64 case) + if [ "$SYS__BOOTLOADER__SECURE_BOOT" = "yes" ]; then + append="$append --suse-force-signed" + fi ( set -x ; /usr/sbin/grub2-install --target="$target" $append ) else echo "grub2-install: command not found"
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2018-10-02 19:40:57 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Tue Oct 2 19:40:57 2018 rev:185 rq:638730 version:0.923 Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2018-09-11 17:10:05.196079203 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2018-10-02 19:40:58.954248757 +0200 @@ -1,0 +2,7 @@ +Thu Sep 27 11:15:33 UTC 2018 - snw...@suse.de + +- merge gh#openSUSE/perl-bootloader#120 +- create temporary files in /tmp (bsc#1108777) +- 0.923 + + Old: perl-Bootloader-0.922.tar.xz New: perl-Bootloader-0.923.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.Wqye1g/_old 2018-10-02 19:40:59.394248105 +0200 +++ /var/tmp/diff_new_pack.Wqye1g/_new 2018-10-02 19:40:59.398248098 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.922 +Version:0.923 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.922.tar.xz -> perl-Bootloader-0.923.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.922/VERSION new/perl-Bootloader-0.923/VERSION --- old/perl-Bootloader-0.922/VERSION 2018-08-24 11:46:09.0 +0200 +++ new/perl-Bootloader-0.923/VERSION 2018-09-27 13:15:33.0 +0200 @@ -1 +1 @@ -0.922 +0.923 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.922/changelog new/perl-Bootloader-0.923/changelog --- old/perl-Bootloader-0.922/changelog 2018-08-24 11:46:09.0 +0200 +++ new/perl-Bootloader-0.923/changelog 2018-09-27 13:15:33.0 +0200 @@ -1,3 +1,7 @@ +2018-09-27:0.923 + - merge gh#openSUSE/perl-bootloader#120 + - create temporary files in /tmp (bsc#1108777) + 2018-08-24:0.922 - merge gh#openSUSE/perl-bootloader#117 - work without /etc/default/grub_installdevice (bsc#1079321, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.922/pbl new/perl-Bootloader-0.923/pbl --- old/perl-Bootloader-0.922/pbl 2018-08-24 11:46:09.0 +0200 +++ new/perl-Bootloader-0.923/pbl 2018-09-27 13:15:33.0 +0200 @@ -183,7 +183,7 @@ my $command = join " ", @_; - my $result_fh = File::Temp->new(TEMPLATE => 'pbl.XX'); + my $result_fh = File::Temp->new(TEMPLATE => 'pbl.XX', TMPDIR => 1); $ENV{PBL_RESULT} = $result_fh->filename; if(open my $f, "-|") {
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2018-09-11 17:10:02 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Tue Sep 11 17:10:02 2018 rev:184 rq:631310 version:0.922 Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2018-07-13 10:15:29.810038013 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2018-09-11 17:10:05.196079203 +0200 @@ -1,0 +2,14 @@ +Fri Aug 24 09:37:49 UTC 2018 - wfe...@opensuse.org + +- update git2log script +- 0.922 + + +Fri Aug 24 09:25:12 UTC 2018 - wfe...@opensuse.org + +- merge gh#openSUSE/perl-bootloader#117 +- work without /etc/default/grub_installdevice (bsc#1079321, + bsc#994322) +- removed unused function + + Old: perl-Bootloader-0.921.tar.xz New: perl-Bootloader-0.922.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.yxkVC3/_old 2018-09-11 17:10:05.676078456 +0200 +++ /var/tmp/diff_new_pack.yxkVC3/_new 2018-09-11 17:10:05.676078456 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.921 +Version:0.922 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.921.tar.xz -> perl-Bootloader-0.922.tar.xz ++ 4193 lines of diff (skipped)
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2018-07-13 10:15:26 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Fri Jul 13 10:15:26 2018 rev:183 rq:621153 version:0.921 Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2018-03-30 11:58:11.865748549 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2018-07-13 10:15:29.810038013 +0200 @@ -0,0 +1,14 @@ + +Thu Jul 5 13:10:53 UTC 2018 - wfe...@opensuse.org + +- merge gh#openSUSE/perl-bootloader#116 +- add --get-option to pbl (bsc#1033776, bsc#1050349) +- 0.921 + + +Thu Jul 5 11:32:35 UTC 2018 - bwiedem...@suse.de + +- merge gh#openSUSE/perl-bootloader#115 +- Avoid undefined var warning +- 0.920 + Old: perl-Bootloader-0.919.tar.xz New: perl-Bootloader-0.921.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.qyVdaW/_old 2018-07-13 10:15:30.350038651 +0200 +++ /var/tmp/diff_new_pack.qyVdaW/_new 2018-07-13 10:15:30.354038655 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.919 +Version:0.921 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.919.tar.xz -> perl-Bootloader-0.921.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.919/Makefile new/perl-Bootloader-0.921/Makefile --- old/perl-Bootloader-0.919/Makefile 2017-05-12 11:34:28.0 +0200 +++ new/perl-Bootloader-0.921/Makefile 2018-07-05 15:10:53.0 +0200 @@ -42,12 +42,14 @@ @install -m 755 grub2/config $(DESTDIR)/usr/lib/bootloader/grub2 @install -m 755 grub2/add-option $(DESTDIR)/usr/lib/bootloader/grub2 @install -m 755 grub2/del-option $(DESTDIR)/usr/lib/bootloader/grub2 + @install -m 755 grub2/get-option $(DESTDIR)/usr/lib/bootloader/grub2 @install -d -m 755 $(DESTDIR)/usr/lib/bootloader/grub2-efi @install -m 755 grub2-efi/install $(DESTDIR)/usr/lib/bootloader/grub2-efi @install -m 755 grub2/config $(DESTDIR)/usr/lib/bootloader/grub2-efi @install -m 755 grub2/add-option $(DESTDIR)/usr/lib/bootloader/grub2-efi - @install -m 755 grub2/del-option $(DESTDIR)/usr/lib/bootloader/grub2 + @install -m 755 grub2/del-option $(DESTDIR)/usr/lib/bootloader/grub2-efi + @install -m 755 grub2/get-option $(DESTDIR)/usr/lib/bootloader/grub2-efi @install -d -m 755 $(DESTDIR)/usr/lib/bootloader/u-boot @install -m 755 u-boot/config $(DESTDIR)/usr/lib/bootloader/u-boot diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.919/VERSION new/perl-Bootloader-0.921/VERSION --- old/perl-Bootloader-0.919/VERSION 2017-05-12 11:34:28.0 +0200 +++ new/perl-Bootloader-0.921/VERSION 2018-07-05 15:10:53.0 +0200 @@ -1 +1 @@ -0.919 +0.921 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.919/changelog new/perl-Bootloader-0.921/changelog --- old/perl-Bootloader-0.919/changelog 2017-05-12 11:34:28.0 +0200 +++ new/perl-Bootloader-0.921/changelog 2018-07-05 15:10:53.0 +0200 @@ -1,3 +1,9 @@ +2018-07-05:0.921 + - add --get-option to pbl (bsc #1033776, bsc #1050349) + +2018-05-15:0.920 + - Avoid undefined var warning + 2017-04-13:0.919 - fix device name check (bsc #1033634) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.919/grub2/get-option new/perl-Bootloader-0.921/grub2/get-option --- old/perl-Bootloader-0.919/grub2/get-option 1970-01-01 01:00:00.0 +0100 +++ new/perl-Bootloader-0.921/grub2/get-option 2018-07-05 15:10:53.0 +0200 @@ -0,0 +1,53 @@ +#! /usr/bin/perl + +# usage: get-option OPTION +# +# Read boot option. +# +# OPTION is either of the form 'key=value' or 'key="value"' or just 'key'. +# +# The option value is written into the file passed via 'PBL_RESULT' environment var. +# Either 'option=value', or 'option', or nothing is returned. + +use strict; + +my $file = "/etc/default/grub"; + +my $opt = shift; + +my $opt_name = $opt; + +if($opt_name =~ s/=("?).*//) { + $opt =~ s/"/\\"/g; +} + +exit 1 if $opt_name eq ""; + +open my $f, $file or die "$file: $!\n"; +my @lines = (<$f>); +close $f; + +my $option; +
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2018-03-30 11:58:06 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Fri Mar 30 11:58:06 2018 rev:182 rq:591553 version:0.919 Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2017-05-20 14:29:11.477706466 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2018-03-30 11:58:11.865748549 +0200 @@ -0,0 +1,5 @@ +--- +Mon Mar 26 15:49:57 CEST 2018 - ku...@suse.de + +- Use %license instead of %doc [bsc#1082318] + Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.FPkbe6/_old 2018-03-30 11:58:12.765716003 +0200 +++ /var/tmp/diff_new_pack.FPkbe6/_new 2018-03-30 11:58:12.769715859 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Bootloader # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,7 @@ Requires: perl-base = %{perl_version} Recommends: perl-gettext Summary:Library for Configuring Boot Loaders -License:GPL-2.0+ +License:GPL-2.0-or-later Group: System/Boot Source: %{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -96,7 +96,7 @@ %files %defattr(-, root, root) -%doc COPYING +%license COPYING %doc %{_mandir}/man?/* %{perl_vendorarch}/auto/Bootloader %{perl_vendorlib}/Bootloader
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2017-05-20 14:29:05 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Sat May 20 14:29:05 2017 rev:181 rq:494831 version:0.919 Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2017-05-03 15:53:17.101304123 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2017-05-20 14:29:11.477706466 +0200 @@ -1,0 +2,7 @@ +Fri May 12 09:34:28 UTC 2017 - wfe...@opensuse.org + +- merge gh#openSUSE/perl-bootloader#113 +- fix device name check (bsc#1033634, bsc#1033776) +- 0.919 + + Old: perl-Bootloader-0.918.tar.xz New: perl-Bootloader-0.919.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.OiLAuG/_old 2017-05-20 14:29:12.989492574 +0200 +++ /var/tmp/diff_new_pack.OiLAuG/_new 2017-05-20 14:29:12.993492008 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.918 +Version:0.919 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.918.tar.xz -> perl-Bootloader-0.919.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.918/VERSION new/perl-Bootloader-0.919/VERSION --- old/perl-Bootloader-0.918/VERSION 2017-04-28 16:10:38.0 +0200 +++ new/perl-Bootloader-0.919/VERSION 2017-05-12 11:34:28.0 +0200 @@ -1 +1 @@ -0.918 +0.919 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.918/changelog new/perl-Bootloader-0.919/changelog --- old/perl-Bootloader-0.918/changelog 2017-04-28 16:10:38.0 +0200 +++ new/perl-Bootloader-0.919/changelog 2017-05-12 11:34:28.0 +0200 @@ -1,3 +1,6 @@ +2017-04-13:0.919 + - fix device name check (bsc #1033634) + 2017-04-28:0.918 - implemented trusted boot/TPM support in UEFI mode (bsc #1036735, fate #315831) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.918/src/Core/GRUB2.pm new/perl-Bootloader-0.919/src/Core/GRUB2.pm --- old/perl-Bootloader-0.918/src/Core/GRUB2.pm 2017-04-28 16:10:38.0 +0200 +++ new/perl-Bootloader-0.919/src/Core/GRUB2.pm 2017-05-12 11:34:28.0 +0200 @@ -126,7 +126,8 @@ } } -my $sys_dev = $kern_dev; +# the following check will not work unless plain kernel device names are used +my $sys_dev = $self->GetKernelDevice($kern_dev); $sys_dev =~ s#^/dev/##; $sys_dev =~ s#/#!#g; $sys_dev = "/sys/block/$sys_dev";
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2017-05-03 15:53:12 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Wed May 3 15:53:12 2017 rev:180 rq:491865 version:0.918 Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2017-02-03 17:53:16.456650019 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2017-05-03 15:53:17.101304123 +0200 @@ -0,0 +1,8 @@ + +Fri Apr 28 14:10:38 UTC 2017 - mch...@suse.com + +- merge gh#openSUSE/perl-bootloader#112 +- implemented trusted boot/TPM support in UEFI mode (bsc#1036735, + fate#315831) +- 0.918 + Old: perl-Bootloader-0.917.tar.xz New: perl-Bootloader-0.918.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.7CW1EZ/_old 2017-05-03 15:53:18.697078838 +0200 +++ /var/tmp/diff_new_pack.7CW1EZ/_new 2017-05-03 15:53:18.701078273 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Bootloader # -# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.917 +Version:0.918 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.917.tar.xz -> perl-Bootloader-0.918.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.917/VERSION new/perl-Bootloader-0.918/VERSION --- old/perl-Bootloader-0.917/VERSION 2017-01-24 13:49:06.0 +0100 +++ new/perl-Bootloader-0.918/VERSION 2017-04-28 16:10:38.0 +0200 @@ -1 +1 @@ -0.917 +0.918 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.917/changelog new/perl-Bootloader-0.918/changelog --- old/perl-Bootloader-0.917/changelog 2017-01-24 13:49:06.0 +0100 +++ new/perl-Bootloader-0.918/changelog 2017-04-28 16:10:38.0 +0200 @@ -1,3 +1,6 @@ +2017-04-28:0.918 + - implemented trusted boot/TPM support in UEFI mode (bsc #1036735, fate #315831) + 2017-01-03:0.917 - grub2: drop trailing space from saved entry - grub2: parse initrd (bsc #1007335) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.917/grub2-efi/install new/perl-Bootloader-0.918/grub2-efi/install --- old/perl-Bootloader-0.917/grub2-efi/install 2017-01-24 13:49:06.0 +0100 +++ new/perl-Bootloader-0.918/grub2-efi/install 2017-04-28 16:10:38.0 +0200 @@ -52,6 +52,10 @@ append="--no-nvram --removable" fi +if [ "$SYS__BOOTLOADER__TRUSTED_BOOT" = yes -a -f "/usr/lib/grub2/$target/tpm.mod" ] ; then + append="$append --suse-enable-tpm" +fi + if [ "$SYS__BOOTLOADER__SECURE_BOOT" = "yes" ] ; then if [ -x /usr/sbin/shim-install ] ; then ( set -x ; /usr/sbin/shim-install --config-file=/boot/grub2/grub.cfg $append )
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2017-02-01 09:48:03 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2016-10-20 23:06:07.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2017-02-03 17:53:16.456650019 +0100 @@ -1,0 +2,7 @@ +Tue Jan 24 13:05:53 UTC 2017 - snw...@suse.com + +- grub2: drop trailing space from saved entry +- grub2: parse initrd (bsc#1007335) +- 0.917 + +--- Old: perl-Bootloader-0.916.tar.xz New: perl-Bootloader-0.917.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.fY0LOf/_old 2017-02-03 17:53:16.908586295 +0100 +++ /var/tmp/diff_new_pack.fY0LOf/_new 2017-02-03 17:53:16.912585730 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Bootloader # -# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.916 +Version:0.917 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.916.tar.xz -> perl-Bootloader-0.917.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.916/VERSION new/perl-Bootloader-0.917/VERSION --- old/perl-Bootloader-0.916/VERSION 2016-10-18 15:35:31.0 +0200 +++ new/perl-Bootloader-0.917/VERSION 2017-01-24 13:49:06.0 +0100 @@ -1 +1 @@ -0.916 +0.917 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.916/changelog new/perl-Bootloader-0.917/changelog --- old/perl-Bootloader-0.916/changelog 2016-10-18 15:35:31.0 +0200 +++ new/perl-Bootloader-0.917/changelog 2017-01-24 13:49:06.0 +0100 @@ -1,3 +1,7 @@ +2017-01-03:0.917 + - grub2: drop trailing space from saved entry + - grub2: parse initrd (bsc #1007335) + 2016-10-18:0.916 - run shim-install only if secure boot is set to yes (bsc #985567) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.916/src/Core/GRUB2.pm new/perl-Bootloader-0.917/src/Core/GRUB2.pm --- old/perl-Bootloader-0.916/src/Core/GRUB2.pm 2016-10-18 15:35:31.0 +0200 +++ new/perl-Bootloader-0.917/src/Core/GRUB2.pm 2017-01-24 13:49:06.0 +0100 @@ -365,6 +365,9 @@ $sect_info{"append"} = $append; } +if ($cfg2 =~ /^\s+initrd\s+(\S+)\s*$/m) { +$sect_info{"initrd"} = $1; +} } push @{$sect}, \%sect_info; @@ -1260,6 +1263,7 @@ my $saved_entry = `/usr/bin/grub2-editenv list|sed -n '/^saved_entry=/s/.*=//p'`; chomp $saved_entry; +$saved_entry =~ s/\s+$//; if ($saved_entry eq "") { $saved_entry = "0"; }
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2016-10-20 23:06:04 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2016-07-28 23:44:10.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2016-10-20 23:06:07.0 +0200 @@ -1,0 +2,6 @@ +Tue Oct 18 13:38:20 UTC 2016 - snw...@suse.com + +- run shim-install only if secure boot is set to yes (bsc#985567) +- 0.916 + +--- Old: perl-Bootloader-0.915.tar.xz New: perl-Bootloader-0.916.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.9bHRWp/_old 2016-10-20 23:06:08.0 +0200 +++ /var/tmp/diff_new_pack.9bHRWp/_new 2016-10-20 23:06:08.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.915 +Version:0.916 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.915.tar.xz -> perl-Bootloader-0.916.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.915/VERSION new/perl-Bootloader-0.916/VERSION --- old/perl-Bootloader-0.915/VERSION 2016-07-22 16:49:01.0 +0200 +++ new/perl-Bootloader-0.916/VERSION 2016-10-18 15:35:31.0 +0200 @@ -1 +1 @@ -0.915 +0.916 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.915/changelog new/perl-Bootloader-0.916/changelog --- old/perl-Bootloader-0.915/changelog 2016-07-22 16:49:01.0 +0200 +++ new/perl-Bootloader-0.916/changelog 2016-10-18 15:35:31.0 +0200 @@ -1,3 +1,6 @@ +2016-10-18:0.916 + - run shim-install only if secure boot is set to yes (bsc #985567) + 2016-07-22:0.915 - also clear LC_ALL when setting locale - run grub in RC_LANG locale taken from sysconfig (bsc #985946) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.915/grub2-efi/install new/perl-Bootloader-0.916/grub2-efi/install --- old/perl-Bootloader-0.915/grub2-efi/install 2016-07-22 16:49:01.0 +0200 +++ new/perl-Bootloader-0.916/grub2-efi/install 2016-10-18 15:35:31.0 +0200 @@ -52,12 +52,16 @@ append="--no-nvram --removable" fi -if [ -x /usr/sbin/shim-install ] ; then - ( set -x ; /usr/sbin/shim-install --config-file=/boot/grub2/grub.cfg $append ) +if [ "$SYS__BOOTLOADER__SECURE_BOOT" = "yes" ] ; then + if [ -x /usr/sbin/shim-install ] ; then +( set -x ; /usr/sbin/shim-install --config-file=/boot/grub2/grub.cfg $append ) + else +echo "shim-install: command not found" +exit 1 + fi elif [ -x /usr/sbin/grub2-install ] ; then ( set -x ; /usr/sbin/grub2-install --target="$target" $append ) else echo "grub2-install: command not found" exit 1 fi -
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2016-07-28 23:44:07 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2016-05-13 09:22:15.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2016-07-28 23:44:10.0 +0200 @@ -1,0 +2,13 @@ +Fri Jul 22 14:50:18 UTC 2016 - snw...@suse.com + +- also clear LC_ALL when setting locale +- run grub in RC_LANG locale taken from sysconfig (bsc#985946) +- 0.915 + +--- +Fri Jul 22 14:27:23 UTC 2016 - snw...@suse.com + +- ensure trusted boot setting is used (fate#316553) +- 0.914 + +--- Old: perl-Bootloader-0.913.tar.xz New: perl-Bootloader-0.915.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.faTpzO/_old 2016-07-28 23:44:11.0 +0200 +++ /var/tmp/diff_new_pack.faTpzO/_new 2016-07-28 23:44:11.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.913 +Version:0.915 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.913.tar.xz -> perl-Bootloader-0.915.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.913/VERSION new/perl-Bootloader-0.915/VERSION --- old/perl-Bootloader-0.913/VERSION 2016-05-11 13:56:11.0 +0200 +++ new/perl-Bootloader-0.915/VERSION 2016-07-22 16:49:01.0 +0200 @@ -1 +1 @@ -0.913 +0.915 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.913/changelog new/perl-Bootloader-0.915/changelog --- old/perl-Bootloader-0.913/changelog 2016-05-11 13:56:11.0 +0200 +++ new/perl-Bootloader-0.915/changelog 2016-07-22 16:49:01.0 +0200 @@ -1,3 +1,10 @@ +2016-07-22:0.915 + - also clear LC_ALL when setting locale + - run grub in RC_LANG locale taken from sysconfig (bsc #985946) + +2016-07-22:0.914 + - ensure trusted boot setting is used (fate #316553) + 2016-05-09:0.913 - Don't install grub2-efi during installation (bsc #979145) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.913/grub2/config new/perl-Bootloader-0.915/grub2/config --- old/perl-Bootloader-0.913/grub2/config 2016-05-11 13:56:11.0 +0200 +++ new/perl-Bootloader-0.915/grub2/config 2016-07-22 16:49:01.0 +0200 @@ -1,5 +1,12 @@ #! /bin/bash +# Settings from /etc/sysconfig/filename are available as environment vars +# with the name 'SYS__FILENAME__KEY' (filename converted to upper case). +# +# Not all files are parsed, current list is: +# bootloader, language +# + if [ -x /usr/sbin/grub2-mkconfig ] ; then if [ -d /boot/grub2 ] ; then ( set -x ; /usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.913/grub2/install new/perl-Bootloader-0.915/grub2/install --- old/perl-Bootloader-0.913/grub2/install 2016-05-11 13:56:11.0 +0200 +++ new/perl-Bootloader-0.915/grub2/install 2016-07-22 16:49:01.0 +0200 @@ -1,5 +1,12 @@ #! /bin/bash +# Settings from /etc/sysconfig/filename are available as environment vars +# with the name 'SYS__FILENAME__KEY' (filename converted to upper case). +# +# Not all files are parsed, current list is: +# bootloader, language +# + target=$(uname --hardware-platform) if [ -z "$target" ] ; then @@ -24,8 +31,12 @@ if [ "$target" = "powerpc-ieee1275" ] ; then grep -q PowerNV /proc/cpuinfo && exit 0 fi -err=0 +if [ "$SYS__BOOTLOADER__TRUSTED_BOOT" = yes -a -d "/usr/lib/trustedgrub2/$target" ] ; then + trusted="--directory=/usr/lib/trustedgrub2/$target" +fi + +err=0 if [ -x /usr/sbin/grub2-install ] ; then if [ "$needs_installdevice" = 1 ] ; then if [ -r /etc/default/grub_installdevice ] ; then @@ -33,7 +44,7 @@ # ignore everything that doesn't look like a path [ "${device::1}" != "/" ] && continue if [ -b "$device" -o -f "$device" ] ; then - ( set -x ; /usr/sbin/grub2-install --target="$target" --force --skip-fs-probe "$device" ) || err=1 + ( set -x ; /usr/sbin/grub2-install $trusted --target="$target" --force --skip-fs-probe "$device" ) || err=1
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2016-05-13 09:22:14 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2016-05-03 09:34:03.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2016-05-13 09:22:15.0 +0200 @@ -1,0 +2,6 @@ +Wed May 11 11:57:18 UTC 2016 - snw...@suse.com + +- Don't install grub2-efi during installation (bsc#979145) +- 0.913 + +--- Old: perl-Bootloader-0.912.tar.xz New: perl-Bootloader-0.913.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.r2LvO7/_old 2016-05-13 09:22:17.0 +0200 +++ /var/tmp/diff_new_pack.r2LvO7/_new 2016-05-13 09:22:17.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.912 +Version:0.913 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.912.tar.xz -> perl-Bootloader-0.913.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.912/VERSION new/perl-Bootloader-0.913/VERSION --- old/perl-Bootloader-0.912/VERSION 2016-04-21 16:17:36.0 +0200 +++ new/perl-Bootloader-0.913/VERSION 2016-05-11 13:56:11.0 +0200 @@ -1 +1 @@ -0.912 +0.913 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.912/changelog new/perl-Bootloader-0.913/changelog --- old/perl-Bootloader-0.912/changelog 2016-04-21 16:17:36.0 +0200 +++ new/perl-Bootloader-0.913/changelog 2016-05-11 13:56:11.0 +0200 @@ -1,3 +1,6 @@ +2016-05-09:0.913 + - Don't install grub2-efi during installation (bsc #979145) + 2016-04-21:0.912 - we don't need grub_installdevice on s390x (bsc #976466) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.912/grub2/install new/perl-Bootloader-0.913/grub2/install --- old/perl-Bootloader-0.912/grub2/install 2016-04-21 16:17:36.0 +0200 +++ new/perl-Bootloader-0.913/grub2/install 2016-05-11 13:56:11.0 +0200 @@ -15,6 +15,12 @@ echo "target = $target" +# We install grub2 at the end of the installation, not within (bsc#979145) +if [ "$YAST_IS_RUNNING" = instsys ]; then + echo "Skipping grub2 during installation. Will be done at the end" + exit 0 +fi + if [ "$target" = "powerpc-ieee1275" ] ; then grep -q PowerNV /proc/cpuinfo && exit 0 fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.912/grub2-efi/install new/perl-Bootloader-0.913/grub2-efi/install --- old/perl-Bootloader-0.912/grub2-efi/install 2016-04-21 16:17:36.0 +0200 +++ new/perl-Bootloader-0.913/grub2-efi/install 2016-05-11 13:56:11.0 +0200 @@ -18,6 +18,12 @@ echo "target = $target" +# We install grub2 at the end of the installation, not within (bsc#979145) +if [ "$YAST_IS_RUNNING" = instsys ]; then + echo "Skipping grub2-efi during installation. Will be done at the end" + exit 0 +fi + # EFI has 2 boot paths. The default is that there is a target file listed in # the boot list. The boot list is stored in NVRAM and exposed as efivars. #
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2016-05-03 09:34:02 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2016-04-03 23:06:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2016-05-03 09:34:03.0 +0200 @@ -1,0 +2,6 @@ +Thu Apr 21 14:22:20 UTC 2016 - snw...@suse.com + +- we don't need grub_installdevice on s390x (bsc#976466) +- 0.912 + +--- Old: perl-Bootloader-0.911.tar.xz New: perl-Bootloader-0.912.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.AL4GZm/_old 2016-05-03 09:34:04.0 +0200 +++ /var/tmp/diff_new_pack.AL4GZm/_new 2016-05-03 09:34:04.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.911 +Version:0.912 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.911.tar.xz -> perl-Bootloader-0.912.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.911/VERSION new/perl-Bootloader-0.912/VERSION --- old/perl-Bootloader-0.911/VERSION 2016-03-31 12:03:11.0 +0200 +++ new/perl-Bootloader-0.912/VERSION 2016-04-21 16:17:36.0 +0200 @@ -1 +1 @@ -0.911 +0.912 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.911/changelog new/perl-Bootloader-0.912/changelog --- old/perl-Bootloader-0.911/changelog 2016-03-31 12:03:11.0 +0200 +++ new/perl-Bootloader-0.912/changelog 2016-04-21 16:17:36.0 +0200 @@ -1,3 +1,6 @@ +2016-04-21:0.912 + - we don't need grub_installdevice on s390x (bsc #976466) + 2016-03-31:0.911 - Revert "Set GRUB_GFXPAYLOAD based on gfxterm" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.911/grub2/install new/perl-Bootloader-0.912/grub2/install --- old/perl-Bootloader-0.911/grub2/install 2016-03-31 12:03:11.0 +0200 +++ new/perl-Bootloader-0.912/grub2/install 2016-04-21 16:17:36.0 +0200 @@ -8,8 +8,8 @@ fi case "$target" in - i?86 | x86_64 ) target=i386-pc ;; - ppc | ppc64* ) target=powerpc-ieee1275 ;; + i?86 | x86_64 ) target=i386-pc needs_installdevice=1 ;; + ppc | ppc64* ) target=powerpc-ieee1275 needs_installdevice=1 ;; s390x ) target=s390x-emu ;; esac @@ -21,20 +21,24 @@ err=0 if [ -x /usr/sbin/grub2-install ] ; then - if [ -r /etc/default/grub_installdevice ] ; then -while read foo ; do - # ignore everything that doesn't look like a path - [ "${foo::1}" != "/" ] && continue - if [ -b "$foo" -o -f "$foo" ] ; then -( set -x ; /usr/sbin/grub2-install --target="$target" --force --skip-fs-probe "$foo" ) || err=1 - else -echo "$foo: not a block device" -err=1 - fi -done
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2016-04-03 23:06:41 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2016-03-20 11:48:07.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2016-04-03 23:06:43.0 +0200 @@ -1,0 +2,13 @@ +Thu Mar 31 10:04:20 UTC 2016 - snw...@suse.com + +- Revert "Set GRUB_GFXPAYLOAD based on gfxterm" +- 0.911 + +--- +Tue Mar 29 10:47:18 UTC 2016 - snw...@suse.com + +- Set GRUB_GFXPAYLOAD based on gfxterm +- Fix syntax errors in grub2/install +- 0.910 + +--- Old: perl-Bootloader-0.908.tar.xz New: perl-Bootloader-0.911.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.3jZN0F/_old 2016-04-03 23:06:44.0 +0200 +++ /var/tmp/diff_new_pack.3jZN0F/_new 2016-04-03 23:06:44.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.908 +Version:0.911 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.908.tar.xz -> perl-Bootloader-0.911.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.908/VERSION new/perl-Bootloader-0.911/VERSION --- old/perl-Bootloader-0.908/VERSION 2016-03-15 14:32:38.0 +0100 +++ new/perl-Bootloader-0.911/VERSION 2016-03-31 12:03:11.0 +0200 @@ -1 +1 @@ -0.908 +0.911 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.908/changelog new/perl-Bootloader-0.911/changelog --- old/perl-Bootloader-0.908/changelog 2016-03-15 14:32:38.0 +0100 +++ new/perl-Bootloader-0.911/changelog 2016-03-31 12:03:11.0 +0200 @@ -1,3 +1,12 @@ +2016-03-31:0.911 + - Revert "Set GRUB_GFXPAYLOAD based on gfxterm" + +2016-03-29:0.910 + - Fix syntax errors in grub2/install + +2016-03-23:0.909 + - Set GRUB_GFXPAYLOAD based on gfxterm + 2016-03-15:0.908 - Skip grub2-install on PowerNV diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.908/grub2/install new/perl-Bootloader-0.911/grub2/install --- old/perl-Bootloader-0.908/grub2/install 2016-03-15 14:32:38.0 +0100 +++ new/perl-Bootloader-0.911/grub2/install 2016-03-31 12:03:11.0 +0200 @@ -15,7 +15,7 @@ echo "target = $target" -if [ "$target" = "powerpc-ieee1275" ]; +if [ "$target" = "powerpc-ieee1275" ] ; then grep -q PowerNV /proc/cpuinfo && exit 0 fi err=0
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2016-03-20 11:48:05 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2016-03-04 19:30:04.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2016-03-20 11:48:07.0 +0100 @@ -1,0 +2,6 @@ +Tue Mar 15 13:37:15 UTC 2016 - snw...@suse.com + +- Skip grub2-install on PowerNV +- 0.908 + +--- Old: perl-Bootloader-0.907.tar.xz New: perl-Bootloader-0.908.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.OS69hs/_old 2016-03-20 11:48:08.0 +0100 +++ /var/tmp/diff_new_pack.OS69hs/_new 2016-03-20 11:48:08.0 +0100 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.907 +Version:0.908 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.907.tar.xz -> perl-Bootloader-0.908.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.907/VERSION new/perl-Bootloader-0.908/VERSION --- old/perl-Bootloader-0.907/VERSION 2016-03-03 12:32:26.0 +0100 +++ new/perl-Bootloader-0.908/VERSION 2016-03-15 14:32:38.0 +0100 @@ -1 +1 @@ -0.907 +0.908 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.907/changelog new/perl-Bootloader-0.908/changelog --- old/perl-Bootloader-0.907/changelog 2016-03-03 12:32:26.0 +0100 +++ new/perl-Bootloader-0.908/changelog 2016-03-15 14:32:38.0 +0100 @@ -1,3 +1,6 @@ +2016-03-15:0.908 + - Skip grub2-install on PowerNV + 2016-03-01:0.907 - grub2-efi: Allow fallback to removable booting - grub2-efi: Make 32bit arm be a wildcard match diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.907/grub2/install new/perl-Bootloader-0.908/grub2/install --- old/perl-Bootloader-0.907/grub2/install 2016-03-03 12:32:26.0 +0100 +++ new/perl-Bootloader-0.908/grub2/install 2016-03-15 14:32:38.0 +0100 @@ -9,12 +9,15 @@ case "$target" in i?86 | x86_64 ) target=i386-pc ;; - ppc | ppc64 ) target=powerpc-ieee1275 ;; + ppc | ppc64* ) target=powerpc-ieee1275 ;; s390x ) target=s390x-emu ;; esac echo "target = $target" +if [ "$target" = "powerpc-ieee1275" ]; + grep -q PowerNV /proc/cpuinfo && exit 0 +fi err=0 if [ -x /usr/sbin/grub2-install ] ; then
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2016-03-04 19:30:03 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2016-02-18 12:35:25.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2016-03-04 19:30:04.0 +0100 @@ -1,0 +2,7 @@ +Thu Mar 3 11:37:18 UTC 2016 - snw...@suse.com + +- grub2-efi: Allow fallback to removable booting +- grub2-efi: Make 32bit arm be a wildcard match +- 0.907 + +--- Old: perl-Bootloader-0.906.tar.xz New: perl-Bootloader-0.907.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.UTvfU8/_old 2016-03-04 19:30:05.0 +0100 +++ /var/tmp/diff_new_pack.UTvfU8/_new 2016-03-04 19:30:05.0 +0100 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.906 +Version:0.907 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.906.tar.xz -> perl-Bootloader-0.907.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.906/VERSION new/perl-Bootloader-0.907/VERSION --- old/perl-Bootloader-0.906/VERSION 2016-02-08 11:35:19.0 +0100 +++ new/perl-Bootloader-0.907/VERSION 2016-03-03 12:32:26.0 +0100 @@ -1 +1 @@ -0.906 +0.907 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.906/changelog new/perl-Bootloader-0.907/changelog --- old/perl-Bootloader-0.906/changelog 2016-02-08 11:35:19.0 +0100 +++ new/perl-Bootloader-0.907/changelog 2016-03-03 12:32:26.0 +0100 @@ -1,3 +1,7 @@ +2016-03-01:0.907 + - grub2-efi: Allow fallback to removable booting + - grub2-efi: Make 32bit arm be a wildcard match + 2016-02-08:0.906 - fix misleading error message (bsc #965499) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.906/grub2-efi/install new/perl-Bootloader-0.907/grub2-efi/install --- old/perl-Bootloader-0.906/grub2-efi/install 2016-02-08 11:35:19.0 +0100 +++ new/perl-Bootloader-0.907/grub2-efi/install 2016-03-03 12:32:26.0 +0100 @@ -11,17 +11,38 @@ i?86 ) target=i386 ;; x86_64 | amd64 ) target=x86_64 ;; aarch64 ) target=arm64 ;; - armv7l ) target=arm ;; + arm* ) target=arm ;; esac target="$target-efi" echo "target = $target" +# EFI has 2 boot paths. The default is that there is a target file listed in +# the boot list. The boot list is stored in NVRAM and exposed as efivars. +# +# If no entry in the boot list was bootable (or a removable media is in the +# boot list), EFI falls back to removable media booting which loads a default +# file from /efi/boot/boot.efi. +# +# On U-Boot EFI capable systems we do not have NVRAM because we would have to +# store that on the same flash that Linux may be running on, creating device +# ownership conflicts. So on those systems we instead have to rely on the +# removable boot case. +# +# The easiest heuristic is that on "normal" EFI systems with working NVRAM, +# there is at least one efi variable visible. On systems without working NVRAM, +# we either see no efivars at all (booted via non-EFI entry point) or there is +# no efi variable exposed. Install grub in the removable location there. +append= +if [ ! -d /sys/firmware/efi/efivars -o ! "$(ls -A /sys/firmware/efi/efivars)" ]; then + append="--no-nvram --removable" +fi + if [ -x /usr/sbin/shim-install ] ; then - ( set -x ; /usr/sbin/shim-install --config-file=/boot/grub2/grub.cfg ) + ( set -x ; /usr/sbin/shim-install --config-file=/boot/grub2/grub.cfg $append ) elif [ -x /usr/sbin/grub2-install ] ; then - ( set -x ; /usr/sbin/grub2-install --target="$target" ) + ( set -x ; /usr/sbin/grub2-install --target="$target" $append ) else echo "grub2-install: command not found" exit 1
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2016-02-18 11:05:21 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2016-01-28 17:18:30.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2016-02-18 12:35:25.0 +0100 @@ -1,0 +2,12 @@ +Mon Feb 8 10:37:23 UTC 2016 - snw...@suse.com + +- fix misleading error message (bsc#965499) +- 0.906 + +--- +Mon Feb 8 10:17:24 UTC 2016 - snw...@suse.com + +- Fix parsing of /etc/default/grub +- 0.905 + +--- Old: perl-Bootloader-0.904.tar.xz New: perl-Bootloader-0.906.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.oVCifA/_old 2016-02-18 12:35:26.0 +0100 +++ /var/tmp/diff_new_pack.oVCifA/_new 2016-02-18 12:35:26.0 +0100 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.904 +Version:0.906 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.904.tar.xz -> perl-Bootloader-0.906.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.904/VERSION new/perl-Bootloader-0.906/VERSION --- old/perl-Bootloader-0.904/VERSION 2016-01-22 11:32:44.0 +0100 +++ new/perl-Bootloader-0.906/VERSION 2016-02-08 11:35:19.0 +0100 @@ -1 +1 @@ -0.904 +0.906 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.904/changelog new/perl-Bootloader-0.906/changelog --- old/perl-Bootloader-0.904/changelog 2016-01-22 11:32:44.0 +0100 +++ new/perl-Bootloader-0.906/changelog 2016-02-08 11:35:19.0 +0100 @@ -1,3 +1,9 @@ +2016-02-08:0.906 + - fix misleading error message (bsc #965499) + +2016-02-06:0.905 + - Fix parsing of /etc/default/grub + 2016-01-22:0.904 - fix typo - Fix dtb searching diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.904/pbl new/perl-Bootloader-0.906/pbl --- old/perl-Bootloader-0.904/pbl 2016-01-22 11:32:44.0 +0100 +++ new/perl-Bootloader-0.906/pbl 2016-02-08 11:35:19.0 +0100 @@ -200,11 +200,10 @@ else { open STDERR, ">"; exec @_; +print "$command: " . ($! == 13 ? $! : "command not found") . " \n"; exit 127; } - $output = "$command: " . ($! == 13 ? $! : "command not found") . " \n" if $ret == 127; - if(!$ret) { log_msg(1, "'$command' = $ret, output:", $output); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.904/src/Core/GRUB2.pm new/perl-Bootloader-0.906/src/Core/GRUB2.pm --- old/perl-Bootloader-0.904/src/Core/GRUB2.pm 2016-01-22 11:32:44.0 +0100 +++ new/perl-Bootloader-0.906/src/Core/GRUB2.pm 2016-02-08 11:35:19.0 +0100 @@ -466,7 +466,7 @@ # need to process saparately foreach my $conf (@defaultconf) { if ($conf =~ m/^\s*#\s*GRUB_/) { -$conf =~ s/^\s*#/@/; +$conf =~ s/^\s*#\s*/@/; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.904/src/Core/GRUB2EFI.pm new/perl-Bootloader-0.906/src/Core/GRUB2EFI.pm --- old/perl-Bootloader-0.904/src/Core/GRUB2EFI.pm 2016-01-22 11:32:44.0 +0100 +++ new/perl-Bootloader-0.906/src/Core/GRUB2EFI.pm 2016-02-08 11:35:19.0 +0100 @@ -275,7 +275,7 @@ # need to process saparately foreach my $conf (@defaultconf) { if ($conf =~ m/^\s*#\s*GRUB_/) { -$conf =~ s/^\s*#/@/; +$conf =~ s/^\s*#\s*/@/; } }
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2016-01-28 17:18:26 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2016-01-15 10:40:16.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2016-01-28 17:18:30.0 +0100 @@ -1,0 +2,7 @@ +Fri Jan 22 10:33:47 UTC 2016 - snw...@suse.com + +- fix typo +- Fix dtb searching +- 0.904 + +--- Old: perl-Bootloader-0.903.tar.xz New: perl-Bootloader-0.904.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.JMqggo/_old 2016-01-28 17:18:31.0 +0100 +++ /var/tmp/diff_new_pack.JMqggo/_new 2016-01-28 17:18:31.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Bootloader # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.903 +Version:0.904 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.903.tar.xz -> perl-Bootloader-0.904.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.903/VERSION new/perl-Bootloader-0.904/VERSION --- old/perl-Bootloader-0.903/VERSION 2015-12-18 16:28:52.0 +0100 +++ new/perl-Bootloader-0.904/VERSION 2016-01-22 11:32:44.0 +0100 @@ -1 +1 @@ -0.903 +0.904 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.903/changelog new/perl-Bootloader-0.904/changelog --- old/perl-Bootloader-0.903/changelog 2015-12-18 16:28:52.0 +0100 +++ new/perl-Bootloader-0.904/changelog 2016-01-22 11:32:44.0 +0100 @@ -1,3 +1,7 @@ +2016-01-22:0.904 + - fix typo + - Fix dtb searching + 2015-12-18:0.903 - improve add/del-option scripts - rename uboot to u-boot diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.903/u-boot/config new/perl-Bootloader-0.904/u-boot/config --- old/perl-Bootloader-0.903/u-boot/config 2015-12-18 16:28:52.0 +0100 +++ new/perl-Bootloader-0.904/u-boot/config 2016-01-22 11:32:44.0 +0100 @@ -22,7 +22,7 @@ echo "# THIS FILE WILL BE OVERWRITTEN by perl-Bootloader" echo -n "# Last modification on " date - echo "# Please, use /boot/extlinux.d and /etc/default/uboot for configuration" + echo "# Please, use /boot/extlinux.d and /etc/default/u-boot for configuration" echo } @@ -62,6 +62,10 @@ entry_id=0 for ((i=0;i<${#zimage[@]};i++)) ; do + # dtb and kernel release may differ + basedtb=${dtb[$i]%-*} + basedtb=($(echo ${basedtb}-*)) + dtb[$i]=${basedtb[0]} if [ -r ${initrd[$i]} -a -r ${zimage[$i]} -a -d ${dtb[$i]} ] ; then for dtbfile in / $U_BOOT_DTB_LINUX_DEFAULT ; do print_entry linux_$((entry_id++)) ${zimage[$i]} ${initrd[$i]} "$U_BOOT_CMDLINE_LINUX_DEFAULT" ${dtb[$i]}'/'${dtbfile} >> $entry_file
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2016-01-15 10:40:15 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2015-12-18 21:50:28.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2016-01-15 10:40:16.0 +0100 @@ -1,0 +2,13 @@ +Fri Dec 18 15:32:13 UTC 2015 - snw...@suse.com + +- improve add/del-option scripts +- rename uboot to u-boot +- 0.903 + +--- +Fri Dec 18 13:42:13 UTC 2015 - snw...@suse.com + +- added support for modifying default boot options +- 0.902 + +--- Old: perl-Bootloader-0.901.tar.xz New: perl-Bootloader-0.903.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.NFO7d2/_old 2016-01-15 10:40:17.0 +0100 +++ /var/tmp/diff_new_pack.NFO7d2/_new 2016-01-15 10:40:17.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Bootloader # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.901 +Version:0.903 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} @@ -104,6 +104,7 @@ /var/adm/perl-modules/perl-Bootloader %endif /sbin/update-bootloader +/sbin/pbl /usr/lib/bootloader /boot/boot.readme /etc/logrotate.d/pbl ++ perl-Bootloader-0.901.tar.xz -> perl-Bootloader-0.903.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.901/Makefile new/perl-Bootloader-0.903/Makefile --- old/perl-Bootloader-0.901/Makefile 2015-12-16 13:50:45.0 +0100 +++ new/perl-Bootloader-0.903/Makefile 2015-12-18 16:28:52.0 +0100 @@ -36,16 +36,26 @@ @install -d -m 755 $(DESTDIR)/usr/lib/bootloader @install -m 755 bootloader_entry $(DESTDIR)/usr/lib/bootloader/bootloader_entry.old @install -m 755 update-bootloader $(DESTDIR)/usr/lib/bootloader/update-bootloader.old + @install -d -m 755 $(DESTDIR)/usr/lib/bootloader/grub2 @install -m 755 grub2/install $(DESTDIR)/usr/lib/bootloader/grub2 @install -m 755 grub2/config $(DESTDIR)/usr/lib/bootloader/grub2 + @install -m 755 grub2/add-option $(DESTDIR)/usr/lib/bootloader/grub2 + @install -m 755 grub2/del-option $(DESTDIR)/usr/lib/bootloader/grub2 + @install -d -m 755 $(DESTDIR)/usr/lib/bootloader/grub2-efi @install -m 755 grub2-efi/install $(DESTDIR)/usr/lib/bootloader/grub2-efi @install -m 755 grub2/config $(DESTDIR)/usr/lib/bootloader/grub2-efi - @install -m 755 pbl $(DESTDIR)/usr/lib/bootloader/pbl - @perl -pi -e 's/0\.0/$(VERSION)/ if /VERSION = /' $(DESTDIR)/usr/lib/bootloader/pbl - @ln -snf ../usr/lib/bootloader/pbl $(DESTDIR)/sbin/update-bootloader - @ln -snf pbl $(DESTDIR)/usr/lib/bootloader/bootloader_entry + @install -m 755 grub2/add-option $(DESTDIR)/usr/lib/bootloader/grub2-efi + @install -m 755 grub2/del-option $(DESTDIR)/usr/lib/bootloader/grub2 + + @install -d -m 755 $(DESTDIR)/usr/lib/bootloader/u-boot + @install -m 755 u-boot/config $(DESTDIR)/usr/lib/bootloader/u-boot + + @install -m 755 pbl $(DESTDIR)/sbin/pbl + @perl -pi -e 's/0\.0/$(VERSION)/ if /VERSION = /' $(DESTDIR)/sbin/pbl + @ln -snf pbl $(DESTDIR)/sbin/update-bootloader + @ln -snf ../../../sbin/pbl $(DESTDIR)/usr/lib/bootloader/bootloader_entry @install -d -m 755 $(DESTDIR)/boot @install -m 644 boot.readme $(DESTDIR)/boot/ @install -d -m 755 $(DESTDIR)/usr/share/man/man8/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.901/VERSION new/perl-Bootloader-0.903/VERSION --- old/perl-Bootloader-0.901/VERSION 2015-12-16 13:50:45.0 +0100 +++ new/perl-Bootloader-0.903/VERSION 2015-12-18 16:28:52.0 +0100 @@ -1 +1 @@ -0.901 +0.903 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.901/changelog new/perl-Bootloader-0.903/changelog --- old/perl-Bootloader-0.901/changelog 2015-12-16 13:50:45.0 +0100 +++
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2015-12-18 21:50:27 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2015-12-03 13:27:51.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2015-12-18 21:50:28.0 +0100 @@ -1,0 +2,6 @@ +Wed Dec 16 11:52:12 UTC 2015 - snw...@suse.com + +- Add initial implementation of uboot/config script +- 0.901 + +--- Old: perl-Bootloader-0.900.tar.xz New: perl-Bootloader-0.901.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.UIahVY/_old 2015-12-18 21:50:29.0 +0100 +++ /var/tmp/diff_new_pack.UIahVY/_new 2015-12-18 21:50:29.0 +0100 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.900 +Version:0.901 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.900.tar.xz -> perl-Bootloader-0.901.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.900/VERSION new/perl-Bootloader-0.901/VERSION --- old/perl-Bootloader-0.900/VERSION 2015-11-25 16:06:16.0 +0100 +++ new/perl-Bootloader-0.901/VERSION 2015-12-16 13:50:45.0 +0100 @@ -1 +1 @@ -0.900 +0.901 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.900/changelog new/perl-Bootloader-0.901/changelog --- old/perl-Bootloader-0.900/changelog 2015-11-25 16:06:16.0 +0100 +++ new/perl-Bootloader-0.901/changelog 2015-12-16 13:50:45.0 +0100 @@ -1,3 +1,6 @@ +2015-11-28:0.901 + - Add initial implementation of uboot/config script + 2015-09-02:0.900 - make grub_installdevice parsing more robust - continue after wrong entries in grub_install_device diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.900/uboot/config new/perl-Bootloader-0.901/uboot/config --- old/perl-Bootloader-0.900/uboot/config 1970-01-01 01:00:00.0 +0100 +++ new/perl-Bootloader-0.901/uboot/config 2015-12-16 13:50:45.0 +0100 @@ -0,0 +1,96 @@ +#!/bin/bash + +function print_entry { + local label=$1 + local zimage=$2 + local initrd=$3 + local append=$4 + local dtb=$5 + + echo "LABEL $label" + echo -e "\tLINUX $(readlink -m $zimage)" + echo -e "\tINITRD $(readlink -m $initrd)" + if [ -d $dtb ] ; then + echo -e "\tFDTDIR $(readlink -m $dtb)" + else + echo -e "\tFDT $(readlink -m $dtb)" + fi + echo -e "\tAPPEND $append" +} + +function print_header { + echo "# THIS FILE WILL BE OVERWRITTEN by perl-Bootloader" + echo -n "# Last modification on " + date + echo "# Please, use /boot/extlinux.d and /etc/default/uboot for configuration" + echo +} + +if [ ! -r /etc/default/u-boot ] ; then + echo "/etc/default/u-boot: no such file" + exit 1 +fi + +source /etc/default/u-boot + +# Find zImages +machine=`uname -m` +case "x$machine" in + xi?86 | xx86_64) + zimage=(`find /boot -maxdepth 1 -name vmlinuz-\*`) ;; + xaarch64) + zimage=(`find /boot -maxdepth 1 -name Image-\*`) ;; + *) + zimage=(`find /boot -maxdepth 1 -name zImage-\*`) ;; +esac +version=(${zimage[@]#*-}) + +# Generate filenames for initrd and dtbdir +initrd=(${version[@]/#/\/boot\/initrd-}) +dtb=(${version[@]/#/\/boot\/dtb-}) +dtb=(${dtb[@]%-*}) + +if [ ! -d /boot/extlinux.d ] ; then + echo "/boot/extlinux.d: no such directory" + exit 1 +fi +entry_file=/boot/extlinux.d/50_generated.conf +print_header > $entry_file + +echo "DEFAULT linux_0" >> $entry_file +echo "" >> $entry_file + +entry_id=0 +for ((i=0;i<${#zimage[@]};i++)) ; do + if [ -r ${initrd[$i]} -a -r ${zimage[$i]} -a -d ${dtb[$i]} ] ; then + for dtbfile in / $U_BOOT_DTB_LINUX_DEFAULT ; do + print_entry linux_$((entry_id++)) ${zimage[$i]} ${initrd[$i]} "$U_BOOT_CMDLINE_LINUX_DEFAULT" ${dtb[$i]}'/'${dtbfile} >> $entry_file + done + + if [ "x$U_BOOT_DISABLE_RECOVERY" == "x" ] ; then + for dtbfile in / $U_BOOT_DTB_LINUX_RECOVERY ; do + print_entry linux_$((entry_id++)) ${zimage[$i]}
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2015-12-03 13:27:50 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2015-10-17 16:37:27.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2015-12-03 13:27:51.0 +0100 @@ -1,0 +2,15 @@ +Wed Nov 25 14:16:19 UTC 2015 - snw...@suse.com + +- make grub_installdevice parsing more robust +- continue after wrong entries in grub_install_device +- move bootloader scripts into separate subdirectories +- updated doc +- introduce separate per-bootloader scripts +- add documentation +- some minor corrections +- support --reinit option to force grub2 install +- adjust Makefile +- add new wrapper script to get rid of old perl-Bootloader code for grub2 +- 0.900 + +--- Old: perl-Bootloader-0.844.tar.xz New: perl-Bootloader-0.900.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.PvYcqB/_old 2015-12-03 13:27:52.0 +0100 +++ /var/tmp/diff_new_pack.PvYcqB/_new 2015-12-03 13:27:52.0 +0100 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.844 +Version:0.900 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.844.tar.xz -> perl-Bootloader-0.900.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.844/Makefile new/perl-Bootloader-0.900/Makefile --- old/perl-Bootloader-0.844/Makefile 2015-10-06 13:11:56.0 +0200 +++ new/perl-Bootloader-0.900/Makefile 2015-11-25 16:06:16.0 +0100 @@ -32,10 +32,20 @@ perl -Ilib -MExtUtils::MakeMaker -e 'WriteMakefile (NAME => "Bootloader", VERSION_FROM => "lib/Bootloader/Library.pm" )' ; \ make install_vendor @mkdir -p $(DESTDIR)/sbin $(DESTDIR)/usr/sbin - @install -m 755 update-bootloader $(DESTDIR)/sbin @install -m 755 pbl-yaml $(DESTDIR)/usr/sbin @install -d -m 755 $(DESTDIR)/usr/lib/bootloader - @install -m 755 bootloader_entry $(DESTDIR)/usr/lib/bootloader + @install -m 755 bootloader_entry $(DESTDIR)/usr/lib/bootloader/bootloader_entry.old + @install -m 755 update-bootloader $(DESTDIR)/usr/lib/bootloader/update-bootloader.old + @install -d -m 755 $(DESTDIR)/usr/lib/bootloader/grub2 + @install -m 755 grub2/install $(DESTDIR)/usr/lib/bootloader/grub2 + @install -m 755 grub2/config $(DESTDIR)/usr/lib/bootloader/grub2 + @install -d -m 755 $(DESTDIR)/usr/lib/bootloader/grub2-efi + @install -m 755 grub2-efi/install $(DESTDIR)/usr/lib/bootloader/grub2-efi + @install -m 755 grub2/config $(DESTDIR)/usr/lib/bootloader/grub2-efi + @install -m 755 pbl $(DESTDIR)/usr/lib/bootloader/pbl + @perl -pi -e 's/0\.0/$(VERSION)/ if /VERSION = /' $(DESTDIR)/usr/lib/bootloader/pbl + @ln -snf ../usr/lib/bootloader/pbl $(DESTDIR)/sbin/update-bootloader + @ln -snf pbl $(DESTDIR)/usr/lib/bootloader/bootloader_entry @install -d -m 755 $(DESTDIR)/boot @install -m 644 boot.readme $(DESTDIR)/boot/ @install -d -m 755 $(DESTDIR)/usr/share/man/man8/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.844/VERSION new/perl-Bootloader-0.900/VERSION --- old/perl-Bootloader-0.844/VERSION 2015-10-06 13:11:56.0 +0200 +++ new/perl-Bootloader-0.900/VERSION 2015-11-25 16:06:16.0 +0100 @@ -1 +1 @@ -0.844 +0.900 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.844/changelog new/perl-Bootloader-0.900/changelog --- old/perl-Bootloader-0.844/changelog 2015-10-06 13:11:56.0 +0200 +++ new/perl-Bootloader-0.900/changelog 2015-11-25 16:06:16.0 +0100 @@ -1,3 +1,15 @@ +2015-09-02:0.900 + - make grub_installdevice parsing more robust + - continue after wrong entries in grub_install_device + - move bootloader scripts into separate subdirectories + - updated doc + - introduce separate per-bootloader scripts + - add documentation + - some minor corrections + - support --reinit option to force grub2 install + - adjust Makefile + - add new wrapper script to get rid of old perl-Bootloader code for grub2 + 2015-10-06:0.844 - rework boot.readme (bsc #948778) diff
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2015-10-17 16:37:26 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2015-10-02 09:23:20.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2015-10-17 16:37:27.0 +0200 @@ -1,0 +2,6 @@ +Tue Oct 6 11:13:20 UTC 2015 - snw...@suse.com + +- rework boot.readme (bsc#948778) +- 0.844 + +--- Old: perl-Bootloader-0.843.tar.xz New: perl-Bootloader-0.844.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.lH0Gqb/_old 2015-10-17 16:37:28.0 +0200 +++ /var/tmp/diff_new_pack.lH0Gqb/_new 2015-10-17 16:37:28.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.843 +Version:0.844 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.843.tar.xz -> perl-Bootloader-0.844.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.843/VERSION new/perl-Bootloader-0.844/VERSION --- old/perl-Bootloader-0.843/VERSION 2015-09-30 14:17:16.0 +0200 +++ new/perl-Bootloader-0.844/VERSION 2015-10-06 13:11:56.0 +0200 @@ -1 +1 @@ -0.843 +0.844 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.843/boot.readme new/perl-Bootloader-0.844/boot.readme --- old/perl-Bootloader-0.843/boot.readme 2015-09-30 14:17:16.0 +0200 +++ new/perl-Bootloader-0.844/boot.readme 2015-10-06 13:11:56.0 +0200 @@ -1,35 +1,56 @@ -This file is for first help if you occur some problems during booting. +This file is for first aid if you encounter problems during booting. -FAQ +=== FAQ === -Q: Kernel upgrade break my tuned bootloader settings, I want edit it manually. -A: set LOADER_TYPE="none" in /etc/sysconfig/bootloader. Hint is used /boot/vmlinuz and /boot/initrd symlinks as files which is already point to actual kernel. WARNING after kernel upgrade you must update also configuration manually, otherwise you cannot boot. - - - -Configuration files for bootloader (if you want manually edit it) - -/etc/sysconfig/bootloader - contain various settings for bootloader and is used by perl-Bootloader - -for grub (x86*) or trustedgrub - - /boot/grub/menu.lst - main configuration for sections - /boot/grub/device.map - mapping of real device to grub device - /etc/grub.conf - batch file for grub if you need update your bootloader location - -for grub2 (x86* or ppc) - /boot/grub2/grub.cfg - main configuration for sections - /boot/grub2/custom.cfg - custom user configuration file sourced by grub.cfg - /etc/default/grub - settings to control creation of grub.cfg used by grub2-mkconfig - -for lilo ( x86* or ppc) - - /etc/lilo.conf - main configuration file - -for elilo ( x86_64 or ia) - - /etc/elilo.conf - main configuration file - efibootmgr - utility for efi labels - /boot/efi/efi/SuSE/elilo.conf - configuration after elilo preprocess, use only if elilo break original configuration, in other case edit directly elilo.conf in /etc - -for zipl (s390)- - /etc/zipl.conf - main configuration file +Q: A Kernel upgrade broke my tuned bootloader settings. + How can I edit them manually? +A: See below for an overview of bootloader related config files. + You can also set LOADER_TYPE="none" in /etc/sysconfig/bootloader to keep + the system from touching your individual boot config at all. + *** WARNING *** after a kernel upgrade you may need to update your boot + config manually (e.g. with lilo). + + +=== bootloader configuration files === + += general config = + /etc/sysconfig/bootloader + - contains bootloader type and is used by yast and perl-Bootloader + += grub2 = + /etc/default/grub_installdevice (x86 only) + - contains list of devices that grub2 is installed to (one per line) + /etc/default/grub + - settings to control creation of grub.cfg; used by grub2-mkconfig + /boot/grub2/grub.cfg + - main configuration file; is automatically created by running + "grub2-mkconfig -o /boot/grub2/grub.cfg" + /boot/grub2/custom.cfg + - custom user configuration file, will automatically be + included in grub.cfg + += elilo (x86 or ia64) = + /etc/elilo.conf + - main configuration file +
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2015-10-02 09:23:19 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is "perl-Bootloader" Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2015-08-15 11:39:18.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2015-10-02 09:23:20.0 +0200 @@ -1,0 +2,14 @@ +Wed Sep 30 12:17:54 UTC 2015 - snw...@suse.com + +- fix extended partition detection (bsc#947697) +- 0.843 + +--- +Tue Sep 22 16:25:39 CEST 2015 - snw...@suse.com + +- allow empty distributor, which for new grub2 means use os-release (bsc#942519) +- more fixes in grub2-efi +- fix empty distributor handling for grub2-efi (bsc#942519) +- 0.842 + +--- Old: perl-Bootloader-0.840.tar.xz New: perl-Bootloader-0.843.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.1qfHPQ/_old 2015-10-02 09:23:21.0 +0200 +++ /var/tmp/diff_new_pack.1qfHPQ/_new 2015-10-02 09:23:21.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Bootloader # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.840 +Version:0.843 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.840.tar.xz -> perl-Bootloader-0.843.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.840/VERSION new/perl-Bootloader-0.843/VERSION --- old/perl-Bootloader-0.840/VERSION 2015-08-14 16:05:09.0 +0200 +++ new/perl-Bootloader-0.843/VERSION 2015-09-30 14:17:16.0 +0200 @@ -1 +1 @@ -0.840 +0.843 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.840/changelog new/perl-Bootloader-0.843/changelog --- old/perl-Bootloader-0.840/changelog 2015-08-14 16:05:09.0 +0200 +++ new/perl-Bootloader-0.843/changelog 2015-09-30 14:17:16.0 +0200 @@ -1,3 +1,13 @@ +2015-09-30:0.843 + - fix extended partition detection (bsc #947697) + +2015-09-22:0.842 + - more fixes in grub2-efi + - fix empty distributor handling for grub2-efi (bsc #942519) + +2015-09-10:0.841 + - allow empty distributor, which for new grub2 means use os-release (bnc #942519) + 2015-08-14:0.840 - update git2log script to latest version - remove no longer needed quotes (bsc #940486) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.840/src/Core/GRUB2.pm new/perl-Bootloader-0.843/src/Core/GRUB2.pm --- old/perl-Bootloader-0.840/src/Core/GRUB2.pm 2015-08-14 16:05:09.0 +0200 +++ new/perl-Bootloader-0.843/src/Core/GRUB2.pm 2015-09-30 14:17:16.0 +0200 @@ -873,7 +873,7 @@ @lines = ( { 'key' => 'GRUB_DISTRIBUTOR', -'value' => 'openSUSE', +'value' => '""', 'comment_before' => [ '# If you change this file, run \'grub2-mkconfig -o /boot/grub2/grub.cfg\' afterwards to update', '# /boot/grub2/grub.cfg.' @@ -990,7 +990,9 @@ my $gfxmode = delete $globinfo{"gfxmode"} || ""; my $gfxtheme = delete $globinfo{"gfxtheme"} || ""; my $gfxbackground = delete $globinfo{"gfxbackground"} || ""; -my $distributor = delete $globinfo{"distributor"} || ""; +my $distributor = delete $globinfo{"distributor"}; +# handle empty default distributor +$distributor = '""' if $distributor eq ""; my $failsafe_disabled = delete $globinfo{"failsafe_disabled"} || ""; my $append_failsafe = delete $globinfo{"append_failsafe"} || ""; my $os_prober = delete $globinfo{"os_prober"} || ""; @@ -1080,8 +1082,8 @@ $terminal = ""; } } elsif ($key =~ m/@?GRUB_DISTRIBUTOR/) { -$line_ref->{"value"} = "$distributor" if "$distributor" ne ""; -$distributor = ""; +$line_ref->{"value"} = $distributor; +$distributor = undef; } elsif ($key =~ m/@?GRUB_DISABLE_RECOVERY$/) {
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2015-08-15 11:39:17 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2015-07-21 13:25:54.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2015-08-15 11:39:18.0 +0200 @@ -1,0 +2,7 @@ +Fri Aug 14 16:06:08 CEST 2015 - snw...@suse.com + +- update git2log script to latest version +- remove no longer needed quotes (bsc#940486) +- 0.840 + +--- Old: perl-Bootloader-0.839.tar.xz New: perl-Bootloader-0.840.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.3umXPE/_old 2015-08-15 11:39:19.0 +0200 +++ /var/tmp/diff_new_pack.3umXPE/_new 2015-08-15 11:39:19.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.839 +Version:0.840 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.839.tar.xz - perl-Bootloader-0.840.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.839/VERSION new/perl-Bootloader-0.840/VERSION --- old/perl-Bootloader-0.839/VERSION 2015-07-20 11:02:56.0 +0200 +++ new/perl-Bootloader-0.840/VERSION 2015-08-14 16:05:09.0 +0200 @@ -1 +1 @@ -0.839 +0.840 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.839/changelog new/perl-Bootloader-0.840/changelog --- old/perl-Bootloader-0.839/changelog 2015-07-20 11:02:56.0 +0200 +++ new/perl-Bootloader-0.840/changelog 2015-08-14 16:05:09.0 +0200 @@ -1,3 +1,7 @@ +2015-08-14:0.840 + - update git2log script to latest version + - remove no longer needed quotes (bsc #940486) + 2015-07-20:0.839 - do not escape empty string as it lead to invalid kernel command line (bnc #937806) @@ -14,10 +18,10 @@ - Allow to setup disabling of recovery section (fate #317016) 2015-06-03:0.834 - - Escape dollar signs (bsc#857556) + - Escape dollar signs (bsc #857556) 2015-04-29:0.833 - - Escape/unescape special characters on write/read (bsc#831791) + - Escape/unescape special characters on write/read (bsc #831791) 2015-04-22:0.832 - started pbl-yaml testsuite @@ -333,7 +337,7 @@ - remove unneeded script ( SLE only ) - fix small issues in packaging - adapt package target for git - add snwint fixes which was not in git + - add snwint fixes which was not in git - version dump - add test for finding fitting section - change behavior during kernel update to first try use arameters from fitting section and have sysconfig only as failsafe (FATE#310946) @@ -366,7 +370,6 @@ - explicitelly mention that output come from pbl (bnc #597810) - fix problatic fix for product name (bnc #583034) - missing changes from RC3 - - commit changes - create failsafe also on s390x - fix key for check presence - fix precedence problem with and (bnc #592248) @@ -471,7 +474,7 @@ - add missing keyword to hashed password (bnc #598025) 2010-04-22:0.5.11 - release 0.5.11 + - release 0.5.11 - adapt to new kernel which use only ext_range (bnc #597774) - explicitelly mention that output come from pbl (bnc #597810) - port changes from SP1 - avoid warning if path is not used and create failsafe also on s390 @@ -533,7 +536,7 @@ 2009-06-02:0.5.2 - dump version 0.5.2 - metadata removal, suppres multipath warning when kernel module for multipath is not loaded (BNC#406742), improve partition fallback for grub - add test for adding memorytest section + - add test for adding memorytest section - don't warn during finding extended partition on non-logical drive (bnc #504083) - fix examine bug, examine duplicate warning, ppc build and dump @@ -571,7 +574,7 @@ - remove unneeded parted as it is causes performance problems. Correctly handle /sys/block for partition on mdraid devices - imrpove logging of dmraid detection - clean obsolete thinks from tools - improve reading dmraids + - improve reading dmraids - fix spaces in fstab and optimalize regex - implement filling udev mapping.
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2015-07-21 13:25:53 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2015-07-05 17:51:27.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2015-07-21 13:25:54.0 +0200 @@ -1,0 +2,6 @@ +Mon Jul 20 11:06:23 CEST 2015 - snw...@suse.com + +- do not escape empty string as it lead to invalid kernel command line (bsc#937806) +- 0.839 + +--- Old: perl-Bootloader-0.838.tar.xz New: perl-Bootloader-0.839.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.TujxgC/_old 2015-07-21 13:25:54.0 +0200 +++ /var/tmp/diff_new_pack.TujxgC/_new 2015-07-21 13:25:54.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.838 +Version:0.839 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.838.tar.xz - perl-Bootloader-0.839.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.838/VERSION new/perl-Bootloader-0.839/VERSION --- old/perl-Bootloader-0.838/VERSION 2015-06-23 17:06:21.0 +0200 +++ new/perl-Bootloader-0.839/VERSION 2015-07-20 11:02:56.0 +0200 @@ -1 +1 @@ -0.838 +0.839 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.838/changelog new/perl-Bootloader-0.839/changelog --- old/perl-Bootloader-0.838/changelog 2015-06-23 17:06:21.0 +0200 +++ new/perl-Bootloader-0.839/changelog 2015-07-20 11:02:56.0 +0200 @@ -1,3 +1,6 @@ +2015-07-20:0.839 + - do not escape empty string as it lead to invalid kernel command line (bnc #937806) + 2015-06-23:0.838 - do not prepend additional empty space to append (bnc #926426) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.838/src/Core.pm new/perl-Bootloader-0.839/src/Core.pm --- old/perl-Bootloader-0.838/src/Core.pm 2015-06-23 17:06:21.0 +0200 +++ new/perl-Bootloader-0.839/src/Core.pm 2015-07-20 11:02:56.0 +0200 @@ -329,6 +329,8 @@ $text = $self-trim($text); return $text if ($text =~ /^`.*`$/); #leave full strings in backticks untouched +#leave empty string as it is as there is no other way to express it (bnc#937806) +return $text if ($text =~ /^$/); $text =~ s/([\\`\$])/\\$1/g; #escape backslashes, backticks, dollars and quotes
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2015-07-05 17:51:26 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2015-06-06 09:53:48.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2015-07-05 17:51:27.0 +0200 @@ -1,0 +2,24 @@ +Tue Jun 23 17:11:06 CEST 2015 - snw...@suse.com + +- do not prepend additional empty space to append (bsc#926426) +- 0.838 + +--- +Thu Jun 18 12:20:55 CEST 2015 - snw...@suse.com + +- use proper upstream name for disabling recovery section (bsc#898099) +- 0.837 + +--- +Wed Jun 17 15:20:57 CEST 2015 - snw...@suse.com + +- ensure to uncommend grub2 disabling option (fate#317016) +- 0.836 + +--- +Tue Jun 16 17:05:55 CEST 2015 - snw...@suse.com + +- Allow to setup disabling of recovery section (fate#317016) +- 0.835 + +--- Old: perl-Bootloader-0.834.tar.xz New: perl-Bootloader-0.838.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.fOPWiN/_old 2015-07-05 17:51:28.0 +0200 +++ /var/tmp/diff_new_pack.fOPWiN/_new 2015-07-05 17:51:28.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.834 +Version:0.838 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.834.tar.xz - perl-Bootloader-0.838.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.834/VERSION new/perl-Bootloader-0.838/VERSION --- old/perl-Bootloader-0.834/VERSION 2015-06-05 11:21:28.0 +0200 +++ new/perl-Bootloader-0.838/VERSION 2015-06-23 17:06:21.0 +0200 @@ -1 +1 @@ -0.834 +0.838 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.834/changelog new/perl-Bootloader-0.838/changelog --- old/perl-Bootloader-0.834/changelog 2015-06-05 11:21:28.0 +0200 +++ new/perl-Bootloader-0.838/changelog 2015-06-23 17:06:21.0 +0200 @@ -1,3 +1,15 @@ +2015-06-23:0.838 + - do not prepend additional empty space to append (bnc #926426) + +2015-06-18:0.837 + - use proper upstream name for disabling recovery section (bnc #898099) + +2015-06-17:0.836 + - ensure to uncommend grub2 disabling option (fate #317016) + +2015-06-16:0.835 + - Allow to setup disabling of recovery section (fate #317016) + 2015-06-03:0.834 - Escape dollar signs (bsc#857556) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.834/src/Core/GRUB2.pm new/perl-Bootloader-0.838/src/Core/GRUB2.pm --- old/perl-Bootloader-0.834/src/Core/GRUB2.pm 2015-06-05 11:21:28.0 +0200 +++ new/perl-Bootloader-0.838/src/Core/GRUB2.pm 2015-06-23 17:06:21.0 +0200 @@ -807,6 +807,8 @@ $ret{gfxtheme} = $val; } elsif ($key =~ m/@?GRUB_DISTRIBUTOR/) { $ret{distributor} = $val; +} elsif ($key =~ m/@?GRUB_DISABLE_RECOVERY/) { +$ret{failsafe_disabled} = $val; } elsif ($key =~ m/@?GRUB_CMDLINE_LINUX_RECOVERY$/) { $ret{append_failsafe} = $val; } elsif ($key =~ m/@?GRUB_BACKGROUND/) { @@ -941,7 +943,7 @@ ], }, { -'key' = '@GRUB_DISABLE_LINUX_RECOVERY', +'key' = '@GRUB_DISABLE_RECOVERY', 'value' = 'true', 'comment_before' = [ '# Uncomment to disable generation of recovery mode menu entries' @@ -989,13 +991,13 @@ my $gfxtheme = delete $globinfo{gfxtheme} || ; my $gfxbackground = delete $globinfo{gfxbackground} || ; my $distributor = delete $globinfo{distributor} || ; +my $failsafe_disabled = delete $globinfo{failsafe_disabled} || ; my $append_failsafe = delete $globinfo{append_failsafe} || ; my $os_prober = delete $globinfo{os_prober} || ; my $suse_btrfs = delete $globinfo{suse_btrfs} || true; my $cryptodisk = delete $globinfo{cryptodisk} || 0; # $root = root=$root if $root ne ; $vga = vga=$vga if $vga ne ; -$append = $append if $append ne ; $self-milestone(XXX append =
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2015-06-06 09:53:46 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2015-05-02 17:34:12.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2015-06-06 09:53:48.0 +0200 @@ -1,0 +2,6 @@ +Fri Jun 5 11:25:55 CEST 2015 - snw...@suse.com + +- Escape dollar signs (bsc#857556) +- 0.834 + +--- Old: perl-Bootloader-0.833.tar.xz New: perl-Bootloader-0.834.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.BSq88l/_old 2015-06-06 09:53:48.0 +0200 +++ /var/tmp/diff_new_pack.BSq88l/_new 2015-06-06 09:53:48.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.833 +Version:0.834 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.833.tar.xz - perl-Bootloader-0.834.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.833/VERSION new/perl-Bootloader-0.834/VERSION --- old/perl-Bootloader-0.833/VERSION 2015-04-30 08:38:12.0 +0200 +++ new/perl-Bootloader-0.834/VERSION 2015-06-05 11:21:28.0 +0200 @@ -1 +1 @@ -0.833 +0.834 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.833/changelog new/perl-Bootloader-0.834/changelog --- old/perl-Bootloader-0.833/changelog 2015-04-30 08:38:12.0 +0200 +++ new/perl-Bootloader-0.834/changelog 2015-06-05 11:21:28.0 +0200 @@ -1,3 +1,6 @@ +2015-06-03:0.834 + - Escape dollar signs (bsc#857556) + 2015-04-29:0.833 - Escape/unescape special characters on write/read (bsc#831791) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.833/perl-Bootloader-testsuite/tests/test_interface/core-test.pl new/perl-Bootloader-0.834/perl-Bootloader-testsuite/tests/test_interface/core-test.pl --- old/perl-Bootloader-0.833/perl-Bootloader-testsuite/tests/test_interface/core-test.pl 2015-04-30 08:38:12.0 +0200 +++ new/perl-Bootloader-0.834/perl-Bootloader-testsuite/tests/test_interface/core-test.pl 2015-06-05 11:21:28.0 +0200 @@ -1,5 +1,5 @@ use strict; -use Test::More tests = 14; +use Test::More tests = 16; use lib ./; use Bootloader::Library; @@ -18,7 +18,8 @@ ['acpi_osi=!Windows 2012', 'acpi_osi=\!Windows 2012\'], ['acpi_osi=\!Windows 2012\', 'acpi_osi=\!Windows 2012\'], ['`echo Hello`', '`echo Hello`'], -['Hello `pwd`', 'Hello \`pwd\`'] +['Hello `pwd`', 'Hello \`pwd\`'], +['Hello $PWD', 'Hello \$PWD'] ); foreach( @test_strings ) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.833/src/Core.pm new/perl-Bootloader-0.834/src/Core.pm --- old/perl-Bootloader-0.833/src/Core.pm 2015-04-30 08:38:12.0 +0200 +++ new/perl-Bootloader-0.834/src/Core.pm 2015-06-05 11:21:28.0 +0200 @@ -330,7 +330,7 @@ $text = $self-trim($text); return $text if ($text =~ /^`.*`$/); #leave full strings in backticks untouched -$text =~ s/([\\`])/\\$1/g; #escape backslashes, backticks and quotes +$text =~ s/([\\`\$])/\\$1/g; #escape backslashes, backticks, dollars and quotes if ($when eq always || ($when eq blanks index ($text, ) = 0) @@ -364,7 +364,7 @@ $text = $1; } -$text =~ s/\\([\\`])/$1/g; #unescape backslashes, backticks and quotes +$text =~ s/\\([\\`\$])/$1/g; #unescape backslashes, backticks, dollars and quotes return $text; }
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2015-05-02 17:34:11 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2015-04-25 16:46:18.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2015-05-02 17:34:12.0 +0200 @@ -1,0 +2,6 @@ +Thu Apr 30 08:41:08 CEST 2015 - snw...@suse.com + +- Escape/unescape special characters on write/read (bsc#831791) +- 0.833 + +--- Old: perl-Bootloader-0.832.tar.xz New: perl-Bootloader-0.833.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.yUCbR2/_old 2015-05-02 17:34:13.0 +0200 +++ /var/tmp/diff_new_pack.yUCbR2/_new 2015-05-02 17:34:13.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.832 +Version:0.833 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.832.tar.xz - perl-Bootloader-0.833.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.832/VERSION new/perl-Bootloader-0.833/VERSION --- old/perl-Bootloader-0.832/VERSION 2015-04-22 13:59:11.0 +0200 +++ new/perl-Bootloader-0.833/VERSION 2015-04-30 08:38:12.0 +0200 @@ -1 +1 @@ -0.832 +0.833 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.832/changelog new/perl-Bootloader-0.833/changelog --- old/perl-Bootloader-0.832/changelog 2015-04-22 13:59:11.0 +0200 +++ new/perl-Bootloader-0.833/changelog 2015-04-30 08:38:12.0 +0200 @@ -1,3 +1,6 @@ +2015-04-29:0.833 + - Escape/unescape special characters on write/read (bsc#831791) + 2015-04-22:0.832 - started pbl-yaml testsuite - added test cases for various utf8/non-utf8/really broken config files diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.832/perl-Bootloader-testsuite/tests/test_interface/core-test.pl new/perl-Bootloader-0.833/perl-Bootloader-testsuite/tests/test_interface/core-test.pl --- old/perl-Bootloader-0.832/perl-Bootloader-testsuite/tests/test_interface/core-test.pl 2015-04-22 13:59:11.0 +0200 +++ new/perl-Bootloader-0.833/perl-Bootloader-testsuite/tests/test_interface/core-test.pl 2015-04-30 08:38:12.0 +0200 @@ -1,5 +1,5 @@ use strict; -use Test::More tests = 6; +use Test::More tests = 14; use lib ./; use Bootloader::Library; @@ -14,6 +14,20 @@ #FIXME broken #is(getcwd()./fake_root1/boot, $core-ResolveCrossDeviceSymlinks(getcwd()./fake_root1/boot/boot)); +my @test_strings = ( +['acpi_osi=!Windows 2012', 'acpi_osi=\!Windows 2012\'], +['acpi_osi=\!Windows 2012\', 'acpi_osi=\!Windows 2012\'], +['`echo Hello`', '`echo Hello`'], +['Hello `pwd`', 'Hello \`pwd\`'] +); + +foreach( @test_strings ) { +is( $core-Quote($_-[0], always), $_-[1] ); +} + +foreach( @test_strings ) { +is( $core-Unquote($_-[1]), $_-[0] ); +} #test heuristic for fitting sections my %debug_section = ( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.832/src/Core.pm new/perl-Bootloader-0.833/src/Core.pm --- old/perl-Bootloader-0.832/src/Core.pm 2015-04-22 13:59:11.0 +0200 +++ new/perl-Bootloader-0.833/src/Core.pm 2015-04-30 08:38:12.0 +0200 @@ -325,7 +325,12 @@ sub Quote { my $self = shift; my $text = shift; -my $when = shift; +my $when = shift || ''; + +$text = $self-trim($text); +return $text if ($text =~ /^`.*`$/); #leave full strings in backticks untouched + +$text =~ s/([\\`])/\\$1/g; #escape backslashes, backticks and quotes if ($when eq always || ($when eq blanks index ($text, ) = 0) @@ -333,9 +338,9 @@ || index ($text, =) = 0) { $text =~ s: +: :; #remove duplicated spaces - $text = \$text\; +$text = \$text\; } - + return $text; } @@ -358,6 +363,9 @@ { $text = $1; } + +$text =~ s/\\([\\`])/$1/g; #unescape backslashes, backticks and quotes + return $text; }
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2015-04-25 16:46:16 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2015-03-29 20:17:08.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2015-04-25 16:46:18.0 +0200 @@ -1,0 +2,12 @@ +Wed Apr 22 14:01:05 CEST 2015 - snw...@suse.com + +- started pbl-yaml testsuite +- added test cases for various utf8/non-utf8/really broken config files +- rewrite file-io to do some utf8 processing that keeps non-utf8 files intact as much as possible +- use only WriteFileRaw() to actually write files +- use ReadFileRaw() to read grub2 config (bnc #899921) +- rewrite ReadFile() to handle utf8 properly (bnc #899921) +- export more pbl functions via yaml interface to allow easier testing +- 0.832 + +--- Old: perl-Bootloader-0.831.tar.xz New: perl-Bootloader-0.832.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.dHvoto/_old 2015-04-25 16:46:18.0 +0200 +++ /var/tmp/diff_new_pack.dHvoto/_new 2015-04-25 16:46:18.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Bootloader # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.831 +Version:0.832 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.831.tar.xz - perl-Bootloader-0.832.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.831/VERSION new/perl-Bootloader-0.832/VERSION --- old/perl-Bootloader-0.831/VERSION 2015-03-26 12:58:27.0 +0100 +++ new/perl-Bootloader-0.832/VERSION 2015-04-22 13:59:11.0 +0200 @@ -1 +1 @@ -0.831 +0.832 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.831/changelog new/perl-Bootloader-0.832/changelog --- old/perl-Bootloader-0.831/changelog 2015-03-26 12:58:27.0 +0100 +++ new/perl-Bootloader-0.832/changelog 2015-04-22 13:59:11.0 +0200 @@ -1,3 +1,12 @@ +2015-04-22:0.832 + - started pbl-yaml testsuite + - added test cases for various utf8/non-utf8/really broken config files + - rewrite file-io to do some utf8 processing that keeps non-utf8 files intact as much as possible + - use only WriteFileRaw() to actually write files + - use ReadFileRaw() to read grub2 config (bnc #899921) + - rewrite ReadFile() to handle utf8 properly (bnc #899921) + - export more pbl functions via yaml interface to allow easier testing + 2015-03-26:0.831 - remove unrelated comment - add device scannning speed-ups done for sle11-sp3 (bnc #910479) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.831/pbl-yaml new/perl-Bootloader-0.832/pbl-yaml --- old/perl-Bootloader-0.831/pbl-yaml 2015-03-26 12:58:27.0 +0100 +++ new/perl-Bootloader-0.832/pbl-yaml 2015-04-22 13:59:11.0 +0200 @@ -106,6 +106,12 @@ elsif(exists $Bootloader::Library::{$func}) { $res = $pbl_state-$func(@args); } +elsif(exists $Bootloader::FileIO::{$func}) { + $res = $pbl_state-$func(@args); +} +elsif(exists $Bootloader::Path::{$func}) { + eval \$res = Bootloader::Path::$func(\@args); +} else { $logger-error($func: no such function); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.831/perl-Bootloader-testsuite/tests/test_interface/Makefile new/perl-Bootloader-0.832/perl-Bootloader-testsuite/tests/test_interface/Makefile --- old/perl-Bootloader-0.831/perl-Bootloader-testsuite/tests/test_interface/Makefile 2015-03-26 12:58:27.0 +0100 +++ new/perl-Bootloader-0.832/perl-Bootloader-testsuite/tests/test_interface/Makefile 2015-04-22 13:59:11.0 +0200 @@ -1,4 +1,6 @@ -main: prepare test clean +all: test yaml clean + +.PHONY: prepare test yaml clean prepare: clean mkdir -p Bootloader @@ -7,7 +9,7 @@ cp -rf backup/fake_root2 . @mkdir -p
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2015-03-29 20:17:07 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2015-02-13 08:34:06.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2015-03-29 20:17:08.0 +0200 @@ -1,0 +2,7 @@ +Thu Mar 26 13:01:23 CET 2015 - snw...@suse.com + +- remove unrelated comment +- add device scannning speed-ups done for sle11-sp3 (bnc #910479) +- 0.831 + +--- Old: perl-Bootloader-0.830.tar.xz New: perl-Bootloader-0.831.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.BLupBH/_old 2015-03-29 20:17:09.0 +0200 +++ /var/tmp/diff_new_pack.BLupBH/_new 2015-03-29 20:17:09.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.830 +Version:0.831 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.830.tar.xz - perl-Bootloader-0.831.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.830/VERSION new/perl-Bootloader-0.831/VERSION --- old/perl-Bootloader-0.830/VERSION 2015-02-11 09:36:06.0 +0100 +++ new/perl-Bootloader-0.831/VERSION 2015-03-26 12:58:27.0 +0100 @@ -1 +1 @@ -0.830 +0.831 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.830/changelog new/perl-Bootloader-0.831/changelog --- old/perl-Bootloader-0.830/changelog 2015-02-11 09:36:06.0 +0100 +++ new/perl-Bootloader-0.831/changelog 2015-03-26 12:58:27.0 +0100 @@ -1,3 +1,7 @@ +2015-03-26:0.831 + - remove unrelated comment + - add device scannning speed-ups done for sle11-sp3 (bnc #910479) + 2014-12-16:0.830 - Initialize GRUB_USE_LINUXEFI from target setting diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.830/src/FileIO.pm new/perl-Bootloader-0.831/src/FileIO.pm --- old/perl-Bootloader-0.830/src/FileIO.pm 2015-02-11 09:36:06.0 +0100 +++ new/perl-Bootloader-0.831/src/FileIO.pm 2015-03-26 12:58:27.0 +0100 @@ -16,10 +16,15 @@ C use Bootloader::FileIO; -C $files_ref = Bootloader::Core-ReadFiles(\@file_list); +C $files_ref = Bootloader::FileIO-ReadFiles(\@file_list); + +C $lines_ref = Bootloader::FileIO-ReadFile($file_name); -C $lines_ref = Bootloader::Core-ReadFile($file_name); +C $number = Bootloader::FileIO-ReadNumber($file_name); +C $lines_ref = Bootloader::FileIO-WriteFile($file, $lines); + +C $lines_ref = Bootloader::FileIO-WriteFileRaw($file, $data); =head1 DESCRIPTION @@ -90,6 +95,26 @@ =item +C $lines_ref = Bootloader::FileIO-ReadNumber($file_name); + +Reads a file and expects the first line to start with a number. + +=cut + +sub ReadNumber +{ + my $self = shift; + my $file = shift; + + open(my $fd, $file); + my $num = $fd + 0; + close $fd; + + return $num; +} + + +=item C $lines_ref = Bootloader::FileIO-WriteFile($file, $lines); Writes file to disk. @@ -112,7 +137,45 @@ if(open(my $fh, '', $file)) { print $fh $l; -close $fh; +if(!close($fh)) { + $self-error(Failed to close $file: $!); + $ok = 0; +} + } + else { +$self-error(Failed to open $file: $!); +$ok = 0; + } + + umask $saved_umask; + + return $ok; +} + + +=item +C $lines_ref = Bootloader::FileIO-WriteFileRaw($file, $data); + +Writes file to disk. +Returns 1 on success, 0 otherwise. + +=cut + +sub WriteFileRaw +{ + my $self = shift; + my $file = shift; + my $data = shift; + my $ok = 1; + + my $saved_umask = umask 0066; + + if(open(my $fh, '', $file)) { +print $fh $data; +if(!close($fh)) { + $self-error(Failed to close $file: $!); + $ok = 0; +} } else { $self-error(Failed to open $file: $!); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.830/src/Tools.pm new/perl-Bootloader-0.831/src/Tools.pm --- old/perl-Bootloader-0.830/src/Tools.pm 2015-02-11 09:36:06.0 +0100 +++ new/perl-Bootloader-0.831/src/Tools.pm 2015-03-26 12:58:27.0 +0100 @@ -162,91 +162,102 @@ =cut # FIXME: this has to be read through yast::storage -sub ReadPartitions { -my $udevmap = shift; -my $sb = /sys/block; -my
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2015-02-13 08:34:04 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2015-01-30 06:03:31.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2015-02-13 08:34:06.0 +0100 @@ -1,0 +2,6 @@ +Wed Feb 11 09:41:21 CET 2015 - jenk...@suse.com + +- Initialize GRUB_USE_LINUXEFI from target setting +- 0.830 + +--- Old: perl-Bootloader-0.829.tar.xz New: perl-Bootloader-0.830.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.uvscb9/_old 2015-02-13 08:34:07.0 +0100 +++ /var/tmp/diff_new_pack.uvscb9/_new 2015-02-13 08:34:07.0 +0100 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.829 +Version:0.830 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.829.tar.xz - perl-Bootloader-0.830.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.829/VERSION new/perl-Bootloader-0.830/VERSION --- old/perl-Bootloader-0.829/VERSION 2015-01-27 10:39:43.0 +0100 +++ new/perl-Bootloader-0.830/VERSION 2015-02-11 09:36:06.0 +0100 @@ -1 +1 @@ -0.829 +0.830 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.829/changelog new/perl-Bootloader-0.830/changelog --- old/perl-Bootloader-0.829/changelog 2015-01-27 10:39:43.0 +0100 +++ new/perl-Bootloader-0.830/changelog 2015-02-11 09:36:06.0 +0100 @@ -1,3 +1,6 @@ +2014-12-16:0.830 + - Initialize GRUB_USE_LINUXEFI from target setting + 2015-01-26:0.829 - Determine disk device from sysfs tree diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.829/src/Core/GRUB2EFI.pm new/perl-Bootloader-0.830/src/Core/GRUB2EFI.pm --- old/perl-Bootloader-0.829/src/Core/GRUB2EFI.pm 2015-01-27 10:39:43.0 +0100 +++ new/perl-Bootloader-0.830/src/Core/GRUB2EFI.pm 2015-02-11 09:36:06.0 +0100 @@ -551,7 +551,7 @@ }, { 'key' = 'GRUB_USE_LINUXEFI', -'value' = 'true', +'value' = ($self-{'target'} =~ /i386|x86_64/ ? 'true' : 'false'), }, { 'key' = 'SUSE_BTRFS_SNAPSHOT_BOOTING', -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2015-01-30 06:03:29 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2015-01-21 21:52:01.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2015-01-30 06:03:31.0 +0100 @@ -1,0 +2,6 @@ +Tue Jan 27 10:41:10 CET 2015 - snw...@suse.com + +- Determine disk device from sysfs tree +- 0.829 + +--- Old: perl-Bootloader-0.828.tar.xz New: perl-Bootloader-0.829.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.WxmZjJ/_old 2015-01-30 06:03:32.0 +0100 +++ /var/tmp/diff_new_pack.WxmZjJ/_new 2015-01-30 06:03:32.0 +0100 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.828 +Version:0.829 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.828.tar.xz - perl-Bootloader-0.829.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.828/VERSION new/perl-Bootloader-0.829/VERSION --- old/perl-Bootloader-0.828/VERSION 2015-01-19 14:10:14.0 +0100 +++ new/perl-Bootloader-0.829/VERSION 2015-01-27 10:39:43.0 +0100 @@ -1 +1 @@ -0.828 +0.829 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.828/changelog new/perl-Bootloader-0.829/changelog --- old/perl-Bootloader-0.828/changelog 2015-01-19 14:10:14.0 +0100 +++ new/perl-Bootloader-0.829/changelog 2015-01-27 10:39:43.0 +0100 @@ -1,3 +1,6 @@ +2015-01-26:0.829 + - Determine disk device from sysfs tree + 2015-01-19:0.828 - preserve config file permissions (bnc #908664) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.828/src/Core/GRUB2.pm new/perl-Bootloader-0.829/src/Core/GRUB2.pm --- old/perl-Bootloader-0.828/src/Core/GRUB2.pm 2015-01-19 14:10:14.0 +0100 +++ new/perl-Bootloader-0.829/src/Core/GRUB2.pm 2015-01-27 10:39:43.0 +0100 @@ -126,8 +126,11 @@ } } -# skip partitions, assume they were ended with digits -if ($kern_dev =~ /\d+$/) { +my $sys_dev = $kern_dev; +$sys_dev =~ s#^/dev/##; +$sys_dev =~ s#/#!#g; +$sys_dev = /sys/block/$sys_dev; +if ( ! -d $sys_dev ) { $self-milestone (skip partition $kern_dev in device map); next GETMAP; } -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2015-01-21 21:51:54 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2014-12-19 09:40:20.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2015-01-21 21:52:01.0 +0100 @@ -1,0 +2,6 @@ +Mon Jan 19 14:11:14 CET 2015 - snw...@suse.com + +- preserve config file permissions (bnc #908664) +- 0.828 + +--- Old: perl-Bootloader-0.827.tar.xz New: perl-Bootloader-0.828.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.9wN5pY/_old 2015-01-21 21:52:01.0 +0100 +++ /var/tmp/diff_new_pack.9wN5pY/_new 2015-01-21 21:52:01.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Bootloader # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.827 +Version:0.828 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.827.tar.xz - perl-Bootloader-0.828.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.827/VERSION new/perl-Bootloader-0.828/VERSION --- old/perl-Bootloader-0.827/VERSION 2014-12-08 10:53:53.0 +0100 +++ new/perl-Bootloader-0.828/VERSION 2015-01-19 14:10:14.0 +0100 @@ -1 +1 @@ -0.827 +0.828 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.827/changelog new/perl-Bootloader-0.828/changelog --- old/perl-Bootloader-0.827/changelog 2014-12-08 10:53:53.0 +0100 +++ new/perl-Bootloader-0.828/changelog 2015-01-19 14:10:14.0 +0100 @@ -1,3 +1,6 @@ +2015-01-19:0.828 + - preserve config file permissions (bnc #908664) + 2014-12-07:0.827 - Add armv7l support for grub2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.827/src/Core.pm new/perl-Bootloader-0.828/src/Core.pm --- old/perl-Bootloader-0.827/src/Core.pm 2014-12-08 10:53:53.0 +0100 +++ new/perl-Bootloader-0.828/src/Core.pm 2015-01-19 14:10:14.0 +0100 @@ -1589,8 +1589,17 @@ foreach my $file (@files) { next unless -f $file.new; -# backup file only if is exists and previos backup is older than 6 hours +# backup file (.old) but don't overwrite backup newer than 6 hours if(-f $file) { + # preserve file permissions (bnc #908664) + my $p = (stat $file)[2]; + + if(defined $p) { +$p = 0; +chmod $p, $file.new; +$self-milestone(adjusting permissions of $file.new to . sprintf(0%o, $p)); + } + if(-f $file.old) { my $mtime = time - (stat $file.old)[9]; if($mtime 6 * 3600) { -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2014-12-19 09:41:24 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2014-10-18 09:08:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2014-12-19 09:40:20.0 +0100 @@ -1,0 +2,6 @@ +Mon Dec 8 10:56:00 CET 2014 - snw...@suse.com + +- Add armv7l support for grub2 +- 0.827 + +--- Old: perl-Bootloader-0.826.tar.xz New: perl-Bootloader-0.827.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.PYN7Bw/_old 2014-12-19 09:40:21.0 +0100 +++ /var/tmp/diff_new_pack.PYN7Bw/_new 2014-12-19 09:40:21.0 +0100 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.826 +Version:0.827 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.826.tar.xz - perl-Bootloader-0.827.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.826/VERSION new/perl-Bootloader-0.827/VERSION --- old/perl-Bootloader-0.826/VERSION 2014-10-15 14:40:06.0 +0200 +++ new/perl-Bootloader-0.827/VERSION 2014-12-08 10:53:53.0 +0100 @@ -1 +1 @@ -0.826 +0.827 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.826/changelog new/perl-Bootloader-0.827/changelog --- old/perl-Bootloader-0.826/changelog 2014-10-15 14:40:06.0 +0200 +++ new/perl-Bootloader-0.827/changelog 2014-12-08 10:53:53.0 +0100 @@ -1,3 +1,6 @@ +2014-12-07:0.827 + - Add armv7l support for grub2 + 2014-10-15:0.826 - prepare for jenkins auto-submission @@ -258,3 +261,1448 @@ - grub2-efi-module.patch: add new grub2-efi module to support booting on UEFI firmware. - grub2-skip-fs-probe-for-extended-partition.patch (bnc #750897) +2012-03-30:0.6.0 + - update changes file + - adjust license in spec template + - add basic grub2 support + +2011-10-14:0.5.22 + - new version + - add basic grub2 support to update-bootloader + - support more devices in fallback heuristics + +2011-09-21:0.5.21 + - new version + - also log udevinfo + +2011-09-19:0.5.20 + - new version + - add warning to log if udev is missing + +2011-09-02:0.5.19 + - use UnixDev2GrubDev() from sle11-sp2 + - fix packaging + - fix packaging + +2011-08-02:0.5.18 + - release test package + - fix tests after merge + - remove unneeded script ( SLE only ) + - fix small issues in packaging + - adapt package target for git + add snwint fixes which was not in git + - version dump + - add test for finding fitting section + - change behavior during kernel update to first try use arameters from fitting section and have sysconfig only as failsafe (FATE#310946) + - prepare for use perl-Bootloader for other boot management tools (bnc #672471#c8) + - ignore error if we fail to open md devices + - quoting + - added postinstall script + - add script for fixing xen issue intruduced in 0.4.89.21 (bnc #692007, bnc #698564, bnc #699839) + - don't resolve symlinks more often than necessary (bnc #698564) + - call blkdev with '-l' option (bnc #693466, bnc #597399) + - rework old device-mapper check (from bnc #393229) and apply also to multipath setups (bnc #692127) + - fix conversion function from unix disk names to grub names (bnc #688418) + - increased version, updated changelog + - backport fix for removing kernel with symlink in path (bnc #680775) + - version bump + - fix malforming xen append (bnc #657911) + - DM_NAME could contain also partition number in some case (bnc #590637) + - remove incorrect workaround for geometry of multipath + - dump version + - fix translation of dm devices which is in md raid (bnc #597812) + - release 0.4.89.17 + - fix persistent names for multipath (bnc #597812) + - chomp output of readlink (bnc #597812) + - release package + - fix adding failsafe options to menu (never add it as first otherwise it is used as default boot) (bnc #600847) + - release + - extend partition detection by ext_range, so also mdraid
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2014-10-18 09:08:25 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2014-09-28 19:58:59.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2014-10-18 09:08:43.0 +0200 @@ -1,0 +2,12 @@ +Wed Oct 15 14:41:35 CEST 2014 - snwint_jenk...@suse.com + +- prepare for jenkins auto-submission +- 0.826 + +--- +Wed Oct 15 12:52:10 CEST 2014 - snw...@suse.de + +- handle aarch64 in GRUB2EFI +- 0.825 + +--- Old: perl-Bootloader-0.824.tar.xz New: perl-Bootloader-0.826.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.hxJDAB/_old 2014-10-18 09:08:43.0 +0200 +++ /var/tmp/diff_new_pack.hxJDAB/_new 2014-10-18 09:08:43.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.824 +Version:0.826 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} @@ -25,7 +25,7 @@ Summary:Library for Configuring Boot Loaders License:GPL-2.0+ Group: System/Boot -Source: perl-Bootloader-%{version}.tar.xz +Source: %{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl Conflicts: multipath-tools 0.4.8-40.25.1 ++ perl-Bootloader-0.824.tar.xz - perl-Bootloader-0.826.tar.xz ++ 3250 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2014-09-28 19:58:51 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2014-09-17 21:23:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2014-09-28 19:58:59.0 +0200 @@ -1,0 +2,12 @@ +Fri Sep 26 13:14:57 CEST 2014 - snw...@suse.de + +- fix GRUB_TERMINAL check to accept multiple terminal devices (bsc #898609) +- 0.824 + +--- +Fri Sep 26 10:56:10 CEST 2014 - snw...@suse.de + +- write only files we have data for (bsc #898429) +- 0.823 + +--- Old: perl-Bootloader-0.822.tar.xz New: perl-Bootloader-0.824.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.yvPS1z/_old 2014-09-28 19:59:00.0 +0200 +++ /var/tmp/diff_new_pack.yvPS1z/_new 2014-09-28 19:59:00.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.822 +Version:0.824 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.822.tar.xz - perl-Bootloader-0.824.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.822/perl-Bootloader.changes new/perl-Bootloader-0.824/perl-Bootloader.changes --- old/perl-Bootloader-0.822/perl-Bootloader.changes 2014-09-16 10:50:53.0 +0200 +++ new/perl-Bootloader-0.824/perl-Bootloader.changes 2014-09-26 13:26:16.0 +0200 @@ -1,4 +1,16 @@ --- +Fri Sep 26 13:14:57 CEST 2014 - snw...@suse.de + +- fix GRUB_TERMINAL check to accept multiple terminal devices (bsc #898609) +- 0.824 + +--- +Fri Sep 26 10:56:10 CEST 2014 - snw...@suse.de + +- write only files we have data for (bsc #898429) +- 0.823 + +--- Tue Sep 16 10:36:10 CEST 2014 - snw...@suse.de - join byid and kern maps instead of picking one (bnc #896665) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.822/src/Core/GRUB2.pm new/perl-Bootloader-0.824/src/Core/GRUB2.pm --- old/perl-Bootloader-0.822/src/Core/GRUB2.pm 2014-09-16 10:50:53.0 +0200 +++ new/perl-Bootloader-0.824/src/Core/GRUB2.pm 2014-09-26 13:26:16.0 +0200 @@ -795,7 +795,8 @@ } elsif ($key =~ m/@?GRUB_HIDDEN_TIMEOUT$/) { $hidden_timeout = $val; } elsif ($key =~ m/@?GRUB_TERMINAL/) { -if ($val =~ m/^(serial|console|gfxterm)$/) { +# GRUB_TERMINAL is a space separated list of terminal devices to use +if ($val =~ m/^(\b(serial|console|gfxterm)\b|\s+)*$/) { $ret{terminal} = $val; } } elsif ($key =~ m/@?GRUB_SERIAL_COMMAND/) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.822/src/Core/GRUB2EFI.pm new/perl-Bootloader-0.824/src/Core/GRUB2EFI.pm --- old/perl-Bootloader-0.822/src/Core/GRUB2EFI.pm 2014-09-16 10:50:53.0 +0200 +++ new/perl-Bootloader-0.824/src/Core/GRUB2EFI.pm 2014-09-26 13:26:16.0 +0200 @@ -379,7 +379,8 @@ } elsif ($key =~ m/@?GRUB_HIDDEN_TIMEOUT$/) { $hidden_timeout = $val; } elsif ($key =~ m/@?GRUB_TERMINAL/) { -if ($val =~ m/^(serial|console|gfxterm)$/) { +# GRUB_TERMINAL is a space separated list of terminal devices to use +if ($val =~ m/^(\b(serial|console|gfxterm)\b|\s+)*$/) { $ret{terminal} = $val; } } elsif ($key =~ m/@?GRUB_SERIAL_COMMAND/) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.822/src/Core.pm new/perl-Bootloader-0.824/src/Core.pm --- old/perl-Bootloader-0.822/src/Core.pm 2014-09-16 10:50:53.0 +0200 +++ new/perl-Bootloader-0.824/src/Core.pm 2014-09-26 13:26:16.0 +0200 @@ -839,7 +839,9 @@ my $files2write = $menu_only ? $self-ListMenuFiles() : [ sort keys %$files ]; - $ok = $self-WriteFile($_ . $suffix, $files-{$_}) for @$files2write; + for (@$files2write) { +$ok = $self-WriteFile($_ . $suffix, $files-{$_}) if exists $files-{$_}; + }
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2014-08-27 16:52:59 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2014-08-11 10:09:45.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2014-08-27 16:53:01.0 +0200 @@ -1,0 +2,6 @@ +Tue Aug 19 15:04:27 CEST 2014 - snw...@suse.de + +- support GRUB_ENABLE_CRYPTODISK config option (bnc #887888) +- 0.821 + +--- Old: perl-Bootloader-0.820.tar.xz New: perl-Bootloader-0.821.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.B2XECa/_old 2014-08-27 16:53:02.0 +0200 +++ /var/tmp/diff_new_pack.B2XECa/_new 2014-08-27 16:53:02.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.820 +Version:0.821 Release:0 Requires: coreutils Requires: perl-base = %{perl_version} ++ perl-Bootloader-0.820.tar.xz - perl-Bootloader-0.821.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.820/perl-Bootloader.changes new/perl-Bootloader-0.821/perl-Bootloader.changes --- old/perl-Bootloader-0.820/perl-Bootloader.changes 2014-08-08 12:00:13.0 +0200 +++ new/perl-Bootloader-0.821/perl-Bootloader.changes 2014-08-20 16:26:07.0 +0200 @@ -1,4 +1,10 @@ --- +Tue Aug 19 15:04:27 CEST 2014 - snw...@suse.de + +- support GRUB_ENABLE_CRYPTODISK config option (bnc #887888) +- 0.821 + +--- Fri Aug 8 11:59:42 CEST 2014 - snw...@suse.de - remove dependency on e2fsprogs (bnc #890795) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.820/src/Core/GRUB2.pm new/perl-Bootloader-0.821/src/Core/GRUB2.pm --- old/perl-Bootloader-0.820/src/Core/GRUB2.pm 2014-08-08 12:00:13.0 +0200 +++ new/perl-Bootloader-0.821/src/Core/GRUB2.pm 2014-08-20 16:26:07.0 +0200 @@ -56,6 +56,45 @@ #module interface + +=item +Determines whether grub2 files are installed on an encrypted partition. +=cut + +sub CryptoNeeded() +{ + my $self = shift; + my $crypto = 0; + + my ($dev) = $self-SplitDevPath(/boot/grub2); + + $dev = Cwd::realpath($dev); + + $self-milestone(/boot/grub2 is on $dev); + + $dev =~ s#/dev#/sys/block#; + + do { +$self-milestone(checking $dev); + +my $uuid; +if(open my $f, $dev/dm/uuid) { + $uuid = $f; + close $f; +} + +$crypto = 1 if $uuid =~ /^CRYPT/; + +$dev = (glob $dev/slaves/*)[0]; + } + while($dev !$crypto); + + $self-milestone(crypto = $crypto); + + return $crypto; +} + + sub GetDeviceMap { my $self = shift; @@ -781,6 +820,8 @@ $ret{xen_kernel_append} = $val; } elsif ($key =~ m/@?SUSE_BTRFS_SNAPSHOT_BOOTING$/) { $ret{suse_btrfs} = $val; +} elsif ($key =~ m/@?GRUB_ENABLE_CRYPTODISK$/) { +$ret{cryptodisk} = $val eq 'y' ? 1 : 0; } } @@ -922,6 +963,13 @@ '# WARNING foregin OS menu entries will be lost if set true here' ], }, +{ +'key' = 'GRUB_ENABLE_CRYPTODISK', +'value' = 'n', +'comment_before' = [ + # Set to 'y' for grub to be installed on an encrypted partition +], +}, ); } @@ -945,6 +993,7 @@ my $append_failsafe = delete $globinfo{append_failsafe} || ; my $os_prober = delete $globinfo{os_prober} || ; my $suse_btrfs = delete $globinfo{suse_btrfs} || true; +my $cryptodisk = delete $globinfo{cryptodisk} || 0; # $root = root=$root if $root ne ; $vga = vga=$vga if $vga ne ; $append = $append if $append ne ; @@ -952,6 +1001,8 @@ $self-milestone(XXX append = $append); $append =~ s/rootflags=subvol\S*\s*//; +$cryptodisk = $self-CryptoNeeded() unless $cryptodisk; + my $hidden_timeout = $timeout; if ($hiddenmenu eq true) { $timeout = 0 if $timeout ne ; @@ -1054,6 +1105,9 @@ } elsif ($key =~ m/@?SUSE_BTRFS_SNAPSHOT_BOOTING$/) { $line_ref-{value} = $suse_btrfs if $suse_btrfs ne ; $suse_btrfs = ; +} elsif ($key =~ m/@?GRUB_ENABLE_CRYPTODISK$/) { +$line_ref-{value}
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2014-08-11 10:09:39 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2014-07-13 17:15:23.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2014-08-11 10:09:45.0 +0200 @@ -1,0 +2,12 @@ +Fri Aug 8 11:59:42 CEST 2014 - snw...@suse.de + +- remove dependency on e2fsprogs (bnc #890795) +- 0.820 + +--- +Wed Aug 6 15:21:15 UTC 2014 - jreidin...@suse.com + +- fix encoding when reading grub2.conf (bnc#890362) +- 0.819 + +--- Old: perl-Bootloader-0.818.tar.xz New: perl-Bootloader-0.820.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.D3N7d9/_old 2014-08-11 10:09:45.0 +0200 +++ /var/tmp/diff_new_pack.D3N7d9/_new 2014-08-11 10:09:45.0 +0200 @@ -17,10 +17,9 @@ Name: perl-Bootloader -Version:0.818 +Version:0.820 Release:0 Requires: coreutils -Requires: e2fsprogs Requires: perl-base = %{perl_version} Recommends: perl-gettext Summary:Library for Configuring Boot Loaders ++ perl-Bootloader-0.818.tar.xz - perl-Bootloader-0.820.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.818/perl-Bootloader.changes new/perl-Bootloader-0.820/perl-Bootloader.changes --- old/perl-Bootloader-0.818/perl-Bootloader.changes 2014-07-08 08:04:49.0 +0200 +++ new/perl-Bootloader-0.820/perl-Bootloader.changes 2014-08-08 12:00:13.0 +0200 @@ -1,4 +1,16 @@ --- +Fri Aug 8 11:59:42 CEST 2014 - snw...@suse.de + +- remove dependency on e2fsprogs (bnc #890795) +- 0.820 + +--- +Wed Aug 6 15:21:15 UTC 2014 - jreidin...@suse.com + +- fix encoding when reading grub2.conf (bnc#890362) +- 0.819 + +--- Tue Jul 8 03:41:07 UTC 2014 - mch...@suse.com - fix error on firmware raid install (bnc#865553) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.818/perl-Bootloader.spec.in new/perl-Bootloader-0.820/perl-Bootloader.spec.in --- old/perl-Bootloader-0.818/perl-Bootloader.spec.in 2014-07-08 08:04:49.0 +0200 +++ new/perl-Bootloader-0.820/perl-Bootloader.spec.in 2014-08-08 12:00:13.0 +0200 @@ -15,7 +15,6 @@ Release:0 Requires: perl-base = %{perl_version} Requires: coreutils -Requires: e2fsprogs Recommends: perl-gettext AutoReqProv:on Group: System/Boot diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.818/src/Core/GRUB2.pm new/perl-Bootloader-0.820/src/Core/GRUB2.pm --- old/perl-Bootloader-0.818/src/Core/GRUB2.pm 2014-07-08 08:04:49.0 +0200 +++ new/perl-Bootloader-0.820/src/Core/GRUB2.pm 2014-08-08 12:00:13.0 +0200 @@ -527,7 +527,7 @@ } my @entries; -if (open (GRUBCFG, , Bootloader::Path::Grub2_conf())) { +if (open (GRUBCFG, :encoding(utf8), Bootloader::Path::Grub2_conf())) { local $/; undef $/; my $cfg = GRUBCFG; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.818/src/Core/GRUB2EFI.pm new/perl-Bootloader-0.820/src/Core/GRUB2EFI.pm --- old/perl-Bootloader-0.818/src/Core/GRUB2EFI.pm 2014-07-08 08:04:49.0 +0200 +++ new/perl-Bootloader-0.820/src/Core/GRUB2EFI.pm 2014-08-08 12:00:13.0 +0200 @@ -243,7 +243,7 @@ ); my @entries; -if (open (GRUBCFG, , Bootloader::Path::Grub2_conf())) { +if (open (GRUBCFG, :encoding(utf8), Bootloader::Path::Grub2_conf())) { local $/; undef $/; my $cfg = GRUBCFG; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.818/version new/perl-Bootloader-0.820/version --- old/perl-Bootloader-0.818/version 2014-07-08 08:04:49.0 +0200 +++ new/perl-Bootloader-0.820/version 2014-08-08 12:00:13.0 +0200 @@ -1 +1 @@ -0.818 +0.820 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands,
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2014-07-13 17:15:22 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2014-06-17 11:22:46.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2014-07-13 17:15:23.0 +0200 @@ -1,0 +2,6 @@ +Tue Jul 8 03:41:07 UTC 2014 - mch...@suse.com + +- fix error on firmware raid install (bnc#865553) +- 0.818 + +--- Old: perl-Bootloader-0.817.tar.xz New: perl-Bootloader-0.818.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.tv6mch/_old 2014-07-13 17:15:24.0 +0200 +++ /var/tmp/diff_new_pack.tv6mch/_new 2014-07-13 17:15:24.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.817 +Version:0.818 Release:0 Requires: coreutils Requires: e2fsprogs ++ perl-Bootloader-0.817.tar.xz - perl-Bootloader-0.818.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.817/perl-Bootloader.changes new/perl-Bootloader-0.818/perl-Bootloader.changes --- old/perl-Bootloader-0.817/perl-Bootloader.changes 2014-06-06 11:54:01.0 +0200 +++ new/perl-Bootloader-0.818/perl-Bootloader.changes 2014-07-08 08:04:49.0 +0200 @@ -1,4 +1,10 @@ --- +Tue Jul 8 03:41:07 UTC 2014 - mch...@suse.com + +- fix error on firmware raid install (bnc#865553) +- 0.818 + +--- Fri Jun 6 09:18:10 UTC 2014 - mch...@suse.com - use linuxefi as default (bnc#880819) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.817/src/Core/GRUB2.pm new/perl-Bootloader-0.818/src/Core/GRUB2.pm --- old/perl-Bootloader-0.817/src/Core/GRUB2.pm 2014-06-06 11:54:01.0 +0200 +++ new/perl-Bootloader-0.818/src/Core/GRUB2.pm 2014-07-08 08:04:49.0 +0200 @@ -94,7 +94,7 @@ } # skip device that's known to be invalid if installed to -my @ignore = ('/dev/sr', '/dev/dm', '/dev/md', '/dev/tmpfs'); +my @ignore = ('/dev/sr', '/dev/tmpfs'); foreach (@ignore) { if ($kern_dev =~ $_) { $self-milestone (ignore $kern_dev in device map); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.817/version new/perl-Bootloader-0.818/version --- old/perl-Bootloader-0.817/version 2014-06-06 11:54:01.0 +0200 +++ new/perl-Bootloader-0.818/version 2014-07-08 08:04:49.0 +0200 @@ -1 +1 @@ -0.817 +0.818 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2014-06-17 11:22:45 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2014-05-17 22:01:53.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2014-06-17 11:22:46.0 +0200 @@ -1,0 +2,6 @@ +Fri Jun 6 09:18:10 UTC 2014 - mch...@suse.com + +- use linuxefi as default (bnc#880819) +- 0.817 + +--- Old: perl-Bootloader-0.816.tar.xz New: perl-Bootloader-0.817.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.WLQ32V/_old 2014-06-17 11:22:46.0 +0200 +++ /var/tmp/diff_new_pack.WLQ32V/_new 2014-06-17 11:22:46.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.816 +Version:0.817 Release:0 Requires: coreutils Requires: e2fsprogs ++ perl-Bootloader-0.816.tar.xz - perl-Bootloader-0.817.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.816/perl-Bootloader.changes new/perl-Bootloader-0.817/perl-Bootloader.changes --- old/perl-Bootloader-0.816/perl-Bootloader.changes 2014-05-15 11:48:55.0 +0200 +++ new/perl-Bootloader-0.817/perl-Bootloader.changes 2014-06-06 11:54:01.0 +0200 @@ -1,4 +1,10 @@ --- +Fri Jun 6 09:18:10 UTC 2014 - mch...@suse.com + +- use linuxefi as default (bnc#880819) +- 0.817 + +--- Thu May 15 11:48:38 CEST 2014 - snw...@suse.de - remove grub2 sections workaround diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.816/src/Core/GRUB2EFI.pm new/perl-Bootloader-0.817/src/Core/GRUB2EFI.pm --- old/perl-Bootloader-0.816/src/Core/GRUB2EFI.pm 2014-05-15 11:48:55.0 +0200 +++ new/perl-Bootloader-0.817/src/Core/GRUB2EFI.pm 2014-06-06 11:54:01.0 +0200 @@ -504,6 +504,10 @@ ], }, { +'key' = 'GRUB_USE_LINUXEFI', +'value' = 'true', +}, +{ 'key' = 'SUSE_BTRFS_SNAPSHOT_BOOTING', 'value' = 'true', }, @@ -544,12 +548,6 @@ $hidden_timeout = 0 if $hidden_timeout ne ; } -my $use_linuxefi = ; - -if (defined $self-{secure_boot}) { -$use_linuxefi = $self-{secure_boot} ? true : false; -} - # bnc#862614 - serial console settings not propagated into xen entry if ($append =~ /console=ttyS(\d+),(\w+)/) { @@ -636,9 +634,6 @@ } elsif ($key =~ m/@?GRUB_DISABLE_OS_PROBER$/) { $line_ref-{value} = ($os_prober eq false) ? true : false; $os_prober = ; -} elsif ($key =~ m/@?GRUB_USE_LINUXEFI$/) { -$line_ref-{value} = $use_linuxefi if $use_linuxefi ne ; -$use_linuxefi = ; } elsif ($key =~ m/@?GRUB_CMDLINE_XEN_DEFAULT$/) { $line_ref-{value} = $xen_append if $xen_append ne ; $xen_append = ; @@ -730,13 +725,6 @@ } } -if ($use_linuxefi ne ) { -push @lines, { -key = GRUB_USE_LINUXEFI, -value = $use_linuxefi, -} -} - if ($xen_append ne ) { push @lines, { key = GRUB_CMDLINE_XEN_DEFAULT, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.816/version new/perl-Bootloader-0.817/version --- old/perl-Bootloader-0.816/version 2014-05-15 11:48:55.0 +0200 +++ new/perl-Bootloader-0.817/version 2014-06-06 11:54:01.0 +0200 @@ -1 +1 @@ -0.816 +0.817 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2014-05-17 22:01:46 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2014-05-10 07:48:57.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2014-05-17 22:01:53.0 +0200 @@ -1,0 +2,12 @@ +Thu May 15 11:48:38 CEST 2014 - snw...@suse.de + +- remove grub2 sections workaround +- 0.816 + +--- +Thu May 15 06:28:56 UTC 2014 - mch...@suse.com + +- enable btrfs snapshot booting on all architectures +- 0.815 + +--- Old: perl-Bootloader-0.814.tar.xz New: perl-Bootloader-0.816.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.MNquXa/_old 2014-05-17 22:01:54.0 +0200 +++ /var/tmp/diff_new_pack.MNquXa/_new 2014-05-17 22:01:54.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.814 +Version:0.816 Release:0 Requires: coreutils Requires: e2fsprogs ++ perl-Bootloader-0.814.tar.xz - perl-Bootloader-0.816.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.814/perl-Bootloader.changes new/perl-Bootloader-0.816/perl-Bootloader.changes --- old/perl-Bootloader-0.814/perl-Bootloader.changes 2014-05-06 13:37:51.0 +0200 +++ new/perl-Bootloader-0.816/perl-Bootloader.changes 2014-05-15 11:48:55.0 +0200 @@ -1,4 +1,16 @@ --- +Thu May 15 11:48:38 CEST 2014 - snw...@suse.de + +- remove grub2 sections workaround +- 0.816 + +--- +Thu May 15 06:28:56 UTC 2014 - mch...@suse.com + +- enable btrfs snapshot booting on all architectures +- 0.815 + +--- Tue May 6 11:15:41 UTC 2014 - jreidin...@suse.com - fix upgrade when converting from grub1 to grub2 (bnc#876359) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.814/src/Core/GRUB2.pm new/perl-Bootloader-0.816/src/Core/GRUB2.pm --- old/perl-Bootloader-0.814/src/Core/GRUB2.pm 2014-05-06 13:37:51.0 +0200 +++ new/perl-Bootloader-0.816/src/Core/GRUB2.pm 2014-05-15 11:48:55.0 +0200 @@ -666,7 +666,6 @@ sub CreateLines { my $self = shift; my $global = $self-{global}; -my $sections = $self-{sections}; # first create /etc/default/grub_installdevice my $grub2_installdev = $self-CreateGrubInstalldevLines(); @@ -679,26 +678,6 @@ } } -foreach my $sect (@{$sections}) { - -my $append = undef; - -next unless $sect-{__modified} || 0; - -if (exists $sect-{usage}) { -if ($sect-{usage} eq linux) { -$append = \$global-{append}; -} elsif ($sect-{usage} eq linux_failsafe) { -$append = \$global-{append_failsafe}; -} -} - -if (defined $append $sect-{append} ne ${$append}) { -${$append} = $sect-{append}; -last; -} -} - my $grub2_defaultconf = $self-PrepareMenuFileLines ( [], $global, @@ -965,12 +944,7 @@ my $distributor = delete $globinfo{distributor} || ; my $append_failsafe = delete $globinfo{append_failsafe} || ; my $os_prober = delete $globinfo{os_prober} || ; -my $suse_btrfs = delete $globinfo{suse_btrfs} || ; -# per default enable btrfs snapshot boot configs only on i386-pc -# other architectures (s390, ppc) are planned but not ready -if ($suse_btrfs eq and $self-{'target'} =~ /(i386-pc|powerpc-ieee1275)/) { -$suse_btrfs = true; -} +my $suse_btrfs = delete $globinfo{suse_btrfs} || true; # $root = root=$root if $root ne ; $vga = vga=$vga if $vga ne ; $append = $append if $append ne ; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.814/src/Core/GRUB2EFI.pm new/perl-Bootloader-0.816/src/Core/GRUB2EFI.pm --- old/perl-Bootloader-0.814/src/Core/GRUB2EFI.pm 2014-05-06 13:37:51.0 +0200 +++ new/perl-Bootloader-0.816/src/Core/GRUB2EFI.pm 2014-05-15 11:48:55.0 +0200 @@ -271,7 +271,6 @@ sub CreateLines { my $self = shift; my
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2014-05-02 20:52:09 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2014-04-26 11:45:12.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2014-05-02 20:52:10.0 +0200 @@ -1,0 +2,6 @@ +Tue Apr 29 10:21:07 CEST 2014 - snw...@suse.de + +- fix regexp to not backtrack endlessly if parentheses don't match (bnc #875369) +- 0.813 + +--- Old: perl-Bootloader-0.812.tar.xz New: perl-Bootloader-0.813.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.Wt5pAa/_old 2014-05-02 20:52:11.0 +0200 +++ /var/tmp/diff_new_pack.Wt5pAa/_new 2014-05-02 20:52:11.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.812 +Version:0.813 Release:0 Requires: coreutils Requires: e2fsprogs ++ perl-Bootloader-0.812.tar.xz - perl-Bootloader-0.813.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.812/perl-Bootloader.changes new/perl-Bootloader-0.813/perl-Bootloader.changes --- old/perl-Bootloader-0.812/perl-Bootloader.changes 2014-04-22 11:43:36.0 +0200 +++ new/perl-Bootloader-0.813/perl-Bootloader.changes 2014-04-29 10:26:03.0 +0200 @@ -1,4 +1,10 @@ --- +Tue Apr 29 10:21:07 CEST 2014 - snw...@suse.de + +- fix regexp to not backtrack endlessly if parentheses don't match (bnc #875369) +- 0.813 + +--- Tue Apr 22 07:33:01 UTC 2014 - mch...@suse.com - enable btrfs snapshot booting on ppc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.812/src/Core/GRUB2.pm new/perl-Bootloader-0.813/src/Core/GRUB2.pm --- old/perl-Bootloader-0.812/src/Core/GRUB2.pm 2014-04-22 11:43:36.0 +0200 +++ new/perl-Bootloader-0.813/src/Core/GRUB2.pm 2014-04-29 10:26:03.0 +0200 @@ -250,7 +250,7 @@ sub GrubCfgSections { my ($parent, $cfg, $sect) = @_; -my @m = $cfg =~ /(submenu|menuentry) \s+ '([^']*)' (.*?) ( \{ (?: [^{}]* | (?4))* \} )/sxg; +my @m = $cfg =~ /(submenu|menuentry) \s+ '([^']*)' (.*?) ( \{ (?: [^{}]++ | (?-1))*+ \} )/sxg; for (my $i = 0; $i = $#m; $i += 4) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.812/src/Core/GRUB2EFI.pm new/perl-Bootloader-0.813/src/Core/GRUB2EFI.pm --- old/perl-Bootloader-0.812/src/Core/GRUB2EFI.pm 2014-04-22 11:43:36.0 +0200 +++ new/perl-Bootloader-0.813/src/Core/GRUB2EFI.pm 2014-04-29 10:26:03.0 +0200 @@ -65,7 +65,7 @@ sub GrubCfgSections { my ($parent, $cfg, $sect) = @_; -my @m = $cfg =~ /(submenu|menuentry) \s+ '([^']*)' (.*?) ( \{ (?: [^{}]* | (?4))* \} )/sxg; +my @m = $cfg =~ /(submenu|menuentry) \s+ '([^']*)' (.*?) ( \{ (?: [^{}]++ | (?-1))*+ \} )/sxg; for (my $i = 0; $i = $#m; $i += 4) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.812/version new/perl-Bootloader-0.813/version --- old/perl-Bootloader-0.812/version 2014-04-22 11:43:36.0 +0200 +++ new/perl-Bootloader-0.813/version 2014-04-29 10:26:03.0 +0200 @@ -1 +1 @@ -0.812 +0.813 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2014-04-26 11:45:09 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2014-04-13 13:13:17.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2014-04-26 11:45:12.0 +0200 @@ -1,0 +2,7 @@ +Tue Apr 22 07:33:01 UTC 2014 - mch...@suse.com + +- enable btrfs snapshot booting on ppc +- remove suse_btrfs_grub2_install.sh as it's no longer used +- 0.812 + +--- Old: perl-Bootloader-0.811.tar.xz New: perl-Bootloader-0.812.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.7pspqO/_old 2014-04-26 11:45:13.0 +0200 +++ /var/tmp/diff_new_pack.7pspqO/_new 2014-04-26 11:45:13.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.811 +Version:0.812 Release:0 Requires: coreutils Requires: e2fsprogs ++ perl-Bootloader-0.811.tar.xz - perl-Bootloader-0.812.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.811/perl-Bootloader.changes new/perl-Bootloader-0.812/perl-Bootloader.changes --- old/perl-Bootloader-0.811/perl-Bootloader.changes 2014-04-10 11:12:33.0 +0200 +++ new/perl-Bootloader-0.812/perl-Bootloader.changes 2014-04-22 11:43:36.0 +0200 @@ -1,4 +1,11 @@ --- +Tue Apr 22 07:33:01 UTC 2014 - mch...@suse.com + +- enable btrfs snapshot booting on ppc +- remove suse_btrfs_grub2_install.sh as it's no longer used +- 0.812 + +--- Wed Apr 9 15:06:33 CEST 2014 - snw...@suse.de - drop old log /var/log/YaST2/perl-BL-standalone-log diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.811/src/Core/GRUB2.pm new/perl-Bootloader-0.812/src/Core/GRUB2.pm --- old/perl-Bootloader-0.811/src/Core/GRUB2.pm 2014-04-10 11:12:33.0 +0200 +++ new/perl-Bootloader-0.812/src/Core/GRUB2.pm 2014-04-22 11:43:36.0 +0200 @@ -979,7 +979,7 @@ my $suse_btrfs = delete $globinfo{suse_btrfs} || ; # per default enable btrfs snapshot boot configs only on i386-pc # other architectures (s390, ppc) are planned but not ready -if ($suse_btrfs eq and $self-{'target'} eq i386-pc) { +if ($suse_btrfs eq and $self-{'target'} =~ /(i386-pc|powerpc-ieee1275)/) { $suse_btrfs = true; } # $root = root=$root if $root ne ; @@ -1341,20 +1341,6 @@ next; } -if ($glob{suse_btrfs} eq true and -e /usr/sbin/suse_btrfs_grub2_install.sh) { -# enable btrfs snapshot boot configs only on i386-pc -# other architectures (s390, ppc) are planned but not ready -if ($self-{'target'} eq i386-pc) { -my $rootfs = qx(/usr/sbin/grub2-probe -t fs /); -my $bootfs = qx(/usr/sbin/grub2-probe -t fs /boot); -chomp $rootfs; -chomp $bootfs; -if ($rootfs eq btrfs and $bootfs eq btrfs) { -$cmd = /usr/sbin/suse_btrfs_grub2_install.sh; -} -} -} - my $ret = $self-RunCommand ($cmd $opt); return 0 if (0 != $ret); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.811/src/Core/GRUB2EFI.pm new/perl-Bootloader-0.812/src/Core/GRUB2EFI.pm --- old/perl-Bootloader-0.811/src/Core/GRUB2EFI.pm 2014-04-10 11:12:33.0 +0200 +++ new/perl-Bootloader-0.812/src/Core/GRUB2EFI.pm 2014-04-22 11:43:36.0 +0200 @@ -911,14 +911,6 @@ if ($self-{secure_boot}) { $opt = --config-file=/boot/grub2/grub.cfg; $cmd = /usr/sbin/shim-install; -} elsif ($glob{suse_btrfs} eq true and -e /usr/sbin/suse_btrfs_grub2_install.sh) { -my $rootfs = qx(/usr/sbin/grub2-probe -t fs /); -my $bootfs = qx(/usr/sbin/grub2-probe -t fs /boot); -chomp $rootfs; -chomp $bootfs; -if ($rootfs eq btrfs and $bootfs eq btrfs) { -$cmd = /usr/sbin/suse_btrfs_grub2_install.sh; -} } $ret = $self-RunCommand ($cmd $opt); diff -urN '--exclude=CVS' '--exclude=.cvsignore'
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2014-04-13 13:13:13 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2014-04-05 14:43:09.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2014-04-13 13:13:17.0 +0200 @@ -1,0 +2,10 @@ +Wed Apr 9 15:06:33 CEST 2014 - snw...@suse.de + +- drop old log /var/log/YaST2/perl-BL-standalone-log +- remove /var/log/YaST2/y2log_bootloader +- add MaxDepth parameter to logging function +- clean up logging in some functions +- use logrotate file (bnc #822774) +- 0.811 + +--- Old: perl-Bootloader-0.810.tar.xz New: perl-Bootloader-0.811.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.vtrn1Q/_old 2014-04-13 13:13:19.0 +0200 +++ /var/tmp/diff_new_pack.vtrn1Q/_new 2014-04-13 13:13:19.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.810 +Version:0.811 Release:0 Requires: coreutils Requires: e2fsprogs @@ -107,6 +107,7 @@ /sbin/update-bootloader /usr/lib/bootloader /boot/boot.readme +/etc/logrotate.d/pbl %dir %attr(0700,root,root) /var/log/YaST2 %ghost %attr(0600,root,root) /var/log/pbl.log ++ perl-Bootloader-0.810.tar.xz - perl-Bootloader-0.811.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.810/Makefile new/perl-Bootloader-0.811/Makefile --- old/perl-Bootloader-0.810/Makefile 2014-04-03 14:16:53.0 +0200 +++ new/perl-Bootloader-0.811/Makefile 2014-04-10 11:12:33.0 +0200 @@ -49,6 +49,7 @@ @install -d -m 755 $(DESTDIR)/boot @install -m 644 boot.readme $(DESTDIR)/boot/ @install -d -m 755 $(DESTDIR)/usr/share/man/man8/ + @install -D -m 644 pbl.logrotate $(DESTDIR)/etc/logrotate.d/pbl @pod2man update-bootloader $(DESTDIR)/usr/share/man/man8/update-bootloader.8 @chmod 644 $(DESTDIR)/usr/share/man/man8/update-bootloader.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.810/pbl.logrotate new/perl-Bootloader-0.811/pbl.logrotate --- old/perl-Bootloader-0.810/pbl.logrotate 1970-01-01 01:00:00.0 +0100 +++ new/perl-Bootloader-0.811/pbl.logrotate 2014-04-10 11:12:33.0 +0200 @@ -0,0 +1,11 @@ +/var/log/pbl.log { +compress +dateext +missingok +notifempty +create 600 root root +extension .log +maxage 365 +rotate 10 +size +4096k +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.810/perl-Bootloader.changes new/perl-Bootloader-0.811/perl-Bootloader.changes --- old/perl-Bootloader-0.810/perl-Bootloader.changes 2014-04-03 14:16:53.0 +0200 +++ new/perl-Bootloader-0.811/perl-Bootloader.changes 2014-04-10 11:12:33.0 +0200 @@ -1,4 +1,14 @@ --- +Wed Apr 9 15:06:33 CEST 2014 - snw...@suse.de + +- drop old log /var/log/YaST2/perl-BL-standalone-log +- remove /var/log/YaST2/y2log_bootloader +- add MaxDepth parameter to logging function +- clean up logging in some functions +- use logrotate file (bnc #822774) +- 0.811 + +--- Thu Apr 3 14:16:07 CEST 2014 - snw...@suse.de - fix ppc install (bnc #871691) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.810/perl-Bootloader.spec.in new/perl-Bootloader-0.811/perl-Bootloader.spec.in --- old/perl-Bootloader-0.810/perl-Bootloader.spec.in 2014-04-03 14:16:53.0 +0200 +++ new/perl-Bootloader-0.811/perl-Bootloader.spec.in 2014-04-10 11:12:33.0 +0200 @@ -101,6 +101,7 @@ /sbin/update-bootloader /usr/lib/bootloader /boot/boot.readme +/etc/logrotate.d/pbl %dir %attr(0700,root,root) /var/log/YaST2 %ghost %attr(0600,root,root) /var/log/pbl.log diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.810/src/Core/ELILO.pm new/perl-Bootloader-0.811/src/Core/ELILO.pm --- old/perl-Bootloader-0.810/src/Core/ELILO.pm 2014-04-03 14:16:53.0 +0200 +++ new/perl-Bootloader-0.811/src/Core/ELILO.pm 2014-04-10 11:12:33.0 +0200 @@ -675,8 +675,7 @@ system (mkdir -p $efi) unless -d $efi;
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2014-04-05 14:43:07 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2014-03-05 15:36:45.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2014-04-05 14:43:09.0 +0200 @@ -1,0 +2,25 @@ +Thu Apr 3 14:16:07 CEST 2014 - snw...@suse.de + +- fix ppc install (bnc #871691) +- 0.810 + +--- +Thu Apr 3 09:09:37 CEST 2014 - snw...@suse.de + +- don't forget to update device.map (bnc #869083) +- 0.809 + +--- +Tue Apr 1 09:43:57 UTC 2014 - mch...@suse.com + +- enable SUSE_BTRFS_SNAPSHOT_BOOTING on x86 as other architectures + are working in progress. +- 0.808 + +--- +Mon Mar 31 12:18:44 UTC 2014 - mch...@suse.com + +- support snapper rollback (fate##317062) +- 0.807 + +--- Old: perl-Bootloader-0.806.tar.xz New: perl-Bootloader-0.810.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.d7S9J2/_old 2014-04-05 14:43:09.0 +0200 +++ /var/tmp/diff_new_pack.d7S9J2/_new 2014-04-05 14:43:09.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.806 +Version:0.810 Release:0 Requires: coreutils Requires: e2fsprogs ++ perl-Bootloader-0.806.tar.xz - perl-Bootloader-0.810.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.806/perl-Bootloader.changes new/perl-Bootloader-0.810/perl-Bootloader.changes --- old/perl-Bootloader-0.806/perl-Bootloader.changes 2014-03-04 17:48:42.0 +0100 +++ new/perl-Bootloader-0.810/perl-Bootloader.changes 2014-04-03 14:16:53.0 +0200 @@ -1,4 +1,29 @@ --- +Thu Apr 3 14:16:07 CEST 2014 - snw...@suse.de + +- fix ppc install (bnc #871691) +- 0.810 + +--- +Thu Apr 3 09:09:37 CEST 2014 - snw...@suse.de + +- don't forget to update device.map (bnc #869083) +- 0.809 + +--- +Tue Apr 1 09:43:57 UTC 2014 - mch...@suse.com + +- enable SUSE_BTRFS_SNAPSHOT_BOOTING on x86 as other architectures + are working in progress. +- 0.808 + +--- +Mon Mar 31 12:18:44 UTC 2014 - mch...@suse.com + +- support snapper rollback (fate##317062) +- 0.807 + +--- Tue Mar 4 17:48:03 CET 2014 - snw...@suse.de - support grub2 on s390x diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.806/src/Core/GRUB2.pm new/perl-Bootloader-0.810/src/Core/GRUB2.pm --- old/perl-Bootloader-0.806/src/Core/GRUB2.pm 2014-03-04 17:48:42.0 +0100 +++ new/perl-Bootloader-0.810/src/Core/GRUB2.pm 2014-04-03 14:16:53.0 +0200 @@ -390,22 +390,17 @@ my $self = shift; my @ret = (); -if (-e Bootloader::Path::Grub2_installdevice()) { -push @ret, Bootloader::Path::Grub2_installdevice(); -} else { -$self-warning (file not exist .Bootloader::Path::Grub2_installdevice()); -} - -if (-e Bootloader::Path::Grub2_defaultconf()) { -push @ret, Bootloader::Path::Grub2_defaultconf(); -} else { -$self-warning (file not exist .Bootloader::Path::Grub2_defaultconf()); -} - -if (-e Bootloader::Path::Grub2_conf()) { -push @ret, Bootloader::Path::Grub2_conf(); -} else { -$self-warning (file not exist .Bootloader::Path::Grub2_conf()); +for my $i ( +Bootloader::Path::Grub2_installdevice(), +Bootloader::Path::Grub2_defaultconf(), +Bootloader::Path::Grub2_conf(), +Bootloader::Path::Grub2_devicemap(), +) { +if (-e $i) { +push @ret, $i; +} else { +$self-warning ($i: config file does not exist); +} } return \@ret; @@ -816,6 +811,8 @@ $ret{xen_append} = $val; } elsif ($key =~ m/@?GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT$/) { $ret{xen_kernel_append} = $val; +} elsif ($key =~
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2014-03-01 14:38:15 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2014-02-21 13:48:25.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2014-03-01 14:38:17.0 +0100 @@ -1,0 +2,7 @@ +Thu Feb 27 11:52:10 CET 2014 - snw...@suse.de + +- propagate serial console setting to xen (bnc #862614) +- fix reading xen sections +- 0.805 + +--- Old: perl-Bootloader-0.804.tar.xz New: perl-Bootloader-0.805.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.VtLw2O/_old 2014-03-01 14:38:17.0 +0100 +++ /var/tmp/diff_new_pack.VtLw2O/_new 2014-03-01 14:38:17.0 +0100 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.804 +Version:0.805 Release:0 Requires: coreutils Requires: e2fsprogs ++ perl-Bootloader-0.804.tar.xz - perl-Bootloader-0.805.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.804/perl-Bootloader.changes new/perl-Bootloader-0.805/perl-Bootloader.changes --- old/perl-Bootloader-0.804/perl-Bootloader.changes 2014-02-17 13:15:59.0 +0100 +++ new/perl-Bootloader-0.805/perl-Bootloader.changes 2014-02-27 11:53:07.0 +0100 @@ -1,4 +1,11 @@ --- +Thu Feb 27 11:52:10 CET 2014 - snw...@suse.de + +- propagate serial console setting to xen (bnc #862614) +- fix reading xen sections +- 0.805 + +--- Mon Feb 17 13:15:12 CET 2014 - snw...@suse.de - fix section info not returning initrd (bnc #863909) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.804/src/Core/GRUB2.pm new/perl-Bootloader-0.805/src/Core/GRUB2.pm --- old/perl-Bootloader-0.804/src/Core/GRUB2.pm 2014-02-17 13:15:59.0 +0100 +++ new/perl-Bootloader-0.805/src/Core/GRUB2.pm 2014-02-27 11:53:07.0 +0100 @@ -265,7 +265,6 @@ $sect_info{name} = $name; $sect_info{menuentry} = $name; -$sect_info{type} = image; if ($args =~ m/'gnulinux-[^\s]+-recovery-[^\s]+'/) { $sect_info{usage} = linux_failsafe; @@ -273,25 +272,59 @@ $sect_info{usage} = linux; } -if ($cfg2 =~ /^\s+linux\s+([^\s]+)\s*(.*)$/m) { -my $append = $2; -$sect_info{image} = $1; - -if ($append =~ /root=/) { -$append =~ s/root=([^\s]+)\s*//; -$sect_info{root} = $1; -} +if ($args =~ m/--class xen/) { + +$sect_info{type} = xen; + +if ($cfg2 =~ /^\s+multiboot\s+(\S+)\s+\S+\s*(.*)$/m) { +$sect_info{xen} = $1; +$sect_info{xen_append} = $2; +} + +while ($cfg2 =~ /^\s+module\s+(\S+)\s+\S+\s*(.*)$/gm) { + +if (!exists $sect_info{image}) { + +my $append = $2; +$sect_info{image} = $1; + +if ($append =~ /root=/) { +$append =~ s/root=(\S+)\s*//; +$sect_info{root} = $1; +} + +if ($append =~ /vga=/) { +$append =~ s/vga=(\S+)\s*//; +$sect_info{vgamode} = $1; +} -if ($append =~ /vga=/) { -$append =~ s/vga=([^\s]+)\s*//; -$sect_info{vgamode} = $1; +$sect_info{append} = $append; + +} elsif (!exists $sect_info{initrd}) { +$sect_info{initrd} = $1; +} } -$sect_info{append} = $append; -} +} else { + +$sect_info{type} = image; + +if ($cfg2 =~ /^\s+linux\s+(\S+)\s*(.*)$/m) { +my $append = $2; +$sect_info{image} = $1; + +if ($append =~ /root=/) { +$append =~ s/root=(\S+)\s*//; +$sect_info{root} = $1; +
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2014-02-21 13:48:23 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2014-01-23 15:51:13.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2014-02-21 13:48:25.0 +0100 @@ -1,0 +2,12 @@ +Mon Feb 17 13:15:12 CET 2014 - snw...@suse.de + +- fix section info not returning initrd (bnc #863909) +- 0.804 + +--- +Tue Feb 11 13:14:12 CET 2014 - snw...@suse.de + +- fix grub2-editenv path: failed to determine default menu entry (bnc #861469) +- 0.803 + +--- Old: perl-Bootloader-0.802.tar.xz New: perl-Bootloader-0.804.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.bqXByK/_old 2014-02-21 13:48:25.0 +0100 +++ /var/tmp/diff_new_pack.bqXByK/_new 2014-02-21 13:48:25.0 +0100 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.802 +Version:0.804 Release:0 Requires: coreutils Requires: e2fsprogs ++ perl-Bootloader-0.802.tar.xz - perl-Bootloader-0.804.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.802/perl-Bootloader.changes new/perl-Bootloader-0.804/perl-Bootloader.changes --- old/perl-Bootloader-0.802/perl-Bootloader.changes 2014-01-16 16:42:25.0 +0100 +++ new/perl-Bootloader-0.804/perl-Bootloader.changes 2014-02-17 13:15:59.0 +0100 @@ -1,4 +1,16 @@ --- +Mon Feb 17 13:15:12 CET 2014 - snw...@suse.de + +- fix section info not returning initrd (bnc #863909) +- 0.804 + +--- +Tue Feb 11 13:14:12 CET 2014 - snw...@suse.de + +- fix grub2-editenv path: failed to determine default menu entry (bnc #861469) +- 0.803 + +--- Thu Jan 16 16:41:54 CET 2014 - snw...@suse.de - workaround to avoid double rootflags entries diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.802/src/Core/GRUB2.pm new/perl-Bootloader-0.804/src/Core/GRUB2.pm --- old/perl-Bootloader-0.802/src/Core/GRUB2.pm 2014-01-16 16:41:16.0 +0100 +++ new/perl-Bootloader-0.804/src/Core/GRUB2.pm 2014-02-17 13:15:59.0 +0100 @@ -289,6 +289,11 @@ $sect_info{append} = $append; } + +if ($cfg2 =~ /^\s+initrd\s+([^\s]+)/m) { +$sect_info{initrd} = $1; +} + push @{$sect}, \%sect_info; } elsif ($type eq submenu) { GrubCfgSections ($name, $cfg2, $sect); @@ -,8 +1116,8 @@ my $sections = $ret-{sections}; my $globals = $ret-{global}; -if (! -e /usr/sbin/grub2-editenv) { -$self-warning (file not exist /usr/sbin/grub2-editenv); +if (! -e /usr/bin/grub2-editenv) { +$self-warning (file not exist /usr/bin/grub2-editenv); return $ret; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.802/src/Core/GRUB2EFI.pm new/perl-Bootloader-0.804/src/Core/GRUB2EFI.pm --- old/perl-Bootloader-0.802/src/Core/GRUB2EFI.pm 2014-01-16 16:43:02.0 +0100 +++ new/perl-Bootloader-0.804/src/Core/GRUB2EFI.pm 2014-02-17 13:15:59.0 +0100 @@ -113,6 +113,11 @@ $sect_info{append} = $append; } + +if ($cfg2 =~ /^\s+(initrd|initrdefi)\s+([^\s]+)/m) { +$sect_info{initrd} = $2; +} + push @{$sect}, \%sect_info; } elsif ($type eq submenu) { GrubCfgSections ($name, $cfg2, $sect); @@ -703,8 +708,8 @@ my $sections = $ret-{sections}; my $globals = $ret-{global}; -if (! -e /usr/sbin/grub2-editenv) { -$self-warning (file not exist /usr/sbin/grub2-editenv); +if (! -e /usr/bin/grub2-editenv) { +$self-warning (file not exist /usr/bin/grub2-editenv); return $ret; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.802/version new/perl-Bootloader-0.804/version --- old/perl-Bootloader-0.802/version 2014-01-16 16:41:48.0 +0100 +++
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2014-01-17 11:06:17 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2014-01-14 16:35:30.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2014-01-23 15:51:13.0 +0100 @@ -1,0 +2,6 @@ +Thu Jan 16 16:41:54 CET 2014 - snw...@suse.de + +- workaround to avoid double rootflags entries +- 0.802 + +--- Old: perl-Bootloader-0.801.tar.xz New: perl-Bootloader-0.802.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.R5BTRp/_old 2014-01-23 15:51:14.0 +0100 +++ /var/tmp/diff_new_pack.R5BTRp/_new 2014-01-23 15:51:14.0 +0100 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.801 +Version:0.802 Release:0 Requires: coreutils Requires: e2fsprogs ++ perl-Bootloader-0.801.tar.xz - perl-Bootloader-0.802.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.801/perl-Bootloader.changes new/perl-Bootloader-0.802/perl-Bootloader.changes --- old/perl-Bootloader-0.801/perl-Bootloader.changes 2014-01-14 14:13:16.0 +0100 +++ new/perl-Bootloader-0.802/perl-Bootloader.changes 2014-01-16 16:42:25.0 +0100 @@ -1,4 +1,10 @@ --- +Thu Jan 16 16:41:54 CET 2014 - snw...@suse.de + +- workaround to avoid double rootflags entries +- 0.802 + +--- Tue Jan 14 14:12:44 CET 2014 - snw...@suse.de - fix confusion between Tools::GetDeviceMapping() and Core::GetDeviceMapping() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.801/src/Core/GRUB2.pm new/perl-Bootloader-0.802/src/Core/GRUB2.pm --- old/perl-Bootloader-0.801/src/Core/GRUB2.pm 2014-01-13 13:48:40.0 +0100 +++ new/perl-Bootloader-0.802/src/Core/GRUB2.pm 2014-01-16 16:41:16.0 +0100 @@ -348,11 +348,24 @@ # liststring ListFiles () sub ListFiles { my $self = shift; -my @ret = ( Bootloader::Path::Grub2_installdevice(), -Bootloader::Path::Grub2_defaultconf() ); +my @ret = (); + +if (-e Bootloader::Path::Grub2_installdevice()) { +push @ret, Bootloader::Path::Grub2_installdevice(); +} else { +$self-warning (file not exist .Bootloader::Path::Grub2_installdevice()); +} + +if (-e Bootloader::Path::Grub2_defaultconf()) { +push @ret, Bootloader::Path::Grub2_defaultconf(); +} else { +$self-warning (file not exist .Bootloader::Path::Grub2_defaultconf()); +} if (-e Bootloader::Path::Grub2_conf()) { push @ret, Bootloader::Path::Grub2_conf(); +} else { +$self-warning (file not exist .Bootloader::Path::Grub2_conf()); } return \@ret; @@ -399,15 +412,16 @@ \@defaultconf ); +my @devices = @{$files{Bootloader::Path::Grub2_installdevice()} || []}; + if (not exists $self-{mountpoints}{'/'}) { $self-milestone(Mount points doesn't have '/', skipped parsing grub2 config); +} +elsif (scalar (@devices) == 0) +{ +$self-warning(No device configured, skip parsing boot device); } else { -# FIXME: Need to figure our a better way to get the -# device, otherwise user may break setup if they -# call install script directly -my @devices = @{$files{Bootloader::Path::Grub2_installdevice()} || []}; - # FIXME: still incomplete for MD and dmraid devs # translate device array to the various boot_* flags else set boot_custom # in glob_ref accordingly @@ -923,6 +937,9 @@ $vga = vga=$vga if $vga ne ; $append = $append if $append ne ; +$self-milestone(XXX append = $append); +$append =~ s/rootflags=subvol\S*\s*//; + my $hidden_timeout = $timeout; if ($hiddenmenu eq true) { $timeout = 0 if $timeout ne ; @@ -1093,6 +1110,12 @@ my $sections = $ret-{sections}; my $globals = $ret-{global}; + +if (! -e /usr/sbin/grub2-editenv) { +$self-warning (file not exist /usr/sbin/grub2-editenv); +return $ret; +} + my $saved_entry = `/usr/bin/grub2-editenv list|sed -n '/^saved_entry=/s/.*=//p'`; chomp $saved_entry; diff -urN '--exclude=CVS'
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2014-01-14 16:35:29 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2013-10-30 15:48:30.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2014-01-14 16:35:30.0 +0100 @@ -1,0 +2,7 @@ +Tue Jan 14 14:12:44 CET 2014 - snw...@suse.de + +- fix confusion between Tools::GetDeviceMapping() and Core::GetDeviceMapping() + (bnc #858268) +- 0.801 + +--- Old: perl-Bootloader-0.800.tar.xz New: perl-Bootloader-0.801.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.bFDY2o/_old 2014-01-14 16:35:31.0 +0100 +++ /var/tmp/diff_new_pack.bFDY2o/_new 2014-01-14 16:35:31.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Bootloader # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.800 +Version:0.801 Release:0 Requires: coreutils Requires: e2fsprogs ++ perl-Bootloader-0.800.tar.xz - perl-Bootloader-0.801.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.800/perl-Bootloader.changes new/perl-Bootloader-0.801/perl-Bootloader.changes --- old/perl-Bootloader-0.800/perl-Bootloader.changes 2013-10-29 15:14:25.0 +0100 +++ new/perl-Bootloader-0.801/perl-Bootloader.changes 2014-01-14 14:13:16.0 +0100 @@ -1,4 +1,11 @@ --- +Tue Jan 14 14:12:44 CET 2014 - snw...@suse.de + +- fix confusion between Tools::GetDeviceMapping() and Core::GetDeviceMapping() + (bnc #858268) +- 0.801 + +--- Tue Oct 29 15:13:22 CET 2013 - snw...@suse.de - add pbl-yaml: a command line interface to perl-Bootloader using YAML files diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.800/src/Core.pm new/perl-Bootloader-0.801/src/Core.pm --- old/perl-Bootloader-0.800/src/Core.pm 2013-10-02 14:22:43.0 +0200 +++ new/perl-Bootloader-0.801/src/Core.pm 2014-01-14 14:09:37.0 +0100 @@ -1692,35 +1692,22 @@ =cut # mapstring,any GetSettings () -sub GetSettings { -my $self = shift; +sub GetSettings +{ + my $self = shift; -my %ret = (); -foreach my $key (global, exports, sections, device_map) -{ - if (defined ($self-{$key})) - { - $ret{$key} = $self-{$key}; -if ($key eq sections) -{ - foreach my $section (@{$ret{$key}}) - { -$self-milestone(store: $key: . join( - , %{$section})); - } -} -elsif ($key eq global or $key eq device_map) -{ - $self-milestone(store: $key: . join( ,, %{$ret{$key}})); -} -else -{ - $self-milestone(store: $key: . join( ,, $ret{$key})); -} - } -} -return \%ret; + my $ret = {}; + + for (global, exports, sections, device_map) { +$ret-{$_} = $self-{$_} if defined $self-{$_}; + } + + $self-milestone(ret =, $ret); + + return $ret; } + =item C $status = Bootloader::Core-SetSettings (\%settings); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.800/src/Tools.pm new/perl-Bootloader-0.801/src/Tools.pm --- old/perl-Bootloader-0.800/src/Tools.pm 2013-10-18 11:26:52.0 +0200 +++ new/perl-Bootloader-0.801/src/Tools.pm 2014-01-14 14:06:37.0 +0100 @@ -311,17 +311,16 @@ } =item -C Bootloader::Tools::GetDeviceMapping (); +C Bootloader::Tools::GetUdevMapping (); Return reference to hash with symlinks to block devices. =cut # Notes: -# - replaces GetUdevMapping() # - no logging as map is passed to DefineUdevMapping() and logged there # - if issues with device mapper arise, check bnc #590637 -sub GetDeviceMapping +sub GetUdevMapping { my $list; @@ -341,71 +340,6 @@ } -sub GetUdevMapping { - my %mapping=
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2013-10-30 15:48:29 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2013-10-17 17:43:24.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2013-10-30 15:48:30.0 +0100 @@ -1,0 +2,7 @@ +Tue Oct 29 15:13:22 CET 2013 - snw...@suse.de + +- add pbl-yaml: a command line interface to perl-Bootloader using YAML files + for input and output +- 0.800 + +--- Old: perl-Bootloader-0.711.tar.xz New: perl-Bootloader-0.800.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.U34GMd/_old 2013-10-30 15:48:31.0 +0100 +++ /var/tmp/diff_new_pack.U34GMd/_new 2013-10-30 15:48:31.0 +0100 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.711 +Version:0.800 Release:0 Requires: coreutils Requires: e2fsprogs @@ -44,6 +44,16 @@ Alexander Osthof aost...@suse.de Josef Reidinger jreidin...@suse.cz +%package YAML +Requires: %{name} = %{version} +Requires: perl-YAML-LibYAML +Summary:YAML interface for perl-Bootloader +Group: System/Boot + +%description YAML +A command line interface to perl-Bootloader using YAML files for input and output. + + %prep %setup -q @@ -100,4 +110,8 @@ %dir %attr(0700,root,root) /var/log/YaST2 %ghost %attr(0600,root,root) /var/log/pbl.log +%files YAML +%defattr(-, root, root) +%{_sbindir}/pbl-yaml + %changelog ++ perl-Bootloader-0.711.tar.xz - perl-Bootloader-0.800.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.711/Makefile new/perl-Bootloader-0.800/Makefile --- old/perl-Bootloader-0.711/Makefile 2013-10-02 14:22:43.0 +0200 +++ new/perl-Bootloader-0.800/Makefile 2013-10-29 14:26:23.0 +0100 @@ -41,8 +41,9 @@ touch Makefile.PL ; \ perl -Ilib -MExtUtils::MakeMaker -e 'WriteMakefile (NAME = Bootloader, VERSION_FROM = lib/Bootloader/Library.pm )' ; \ make install_vendor - @mkdir -p $(DESTDIR)/sbin + @mkdir -p $(DESTDIR)/sbin $(DESTDIR)/usr/sbin @install -m 755 update-bootloader $(DESTDIR)/sbin + @install -m 755 pbl-yaml $(DESTDIR)/usr/sbin @install -d -m 755 $(DESTDIR)/usr/lib/bootloader @install -m 755 bootloader_entry $(DESTDIR)/usr/lib/bootloader @install -d -m 755 $(DESTDIR)/boot diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.711/pbl-yaml new/perl-Bootloader-0.800/pbl-yaml --- old/perl-Bootloader-0.711/pbl-yaml 1970-01-01 01:00:00.0 +0100 +++ new/perl-Bootloader-0.800/pbl-yaml 2013-10-29 14:38:13.0 +0100 @@ -0,0 +1,225 @@ +#! /usr/bin/perl + +use strict; +use Getopt::Long; +use Data::Dumper; + +# There are various YAML implementations for perl. These are the main +# options: +# +# YAML:has problems parsing its own data +# YAML::Tiny: has huge problems parsing its own data +# YAML::Syck: works, doesn't make a difference between '1' and 1 +# YAML::XS:works, makes strings utf8 when reading data +use YAML::XS; + +use Bootloader::Tools; +# Explicitly load all loader specific modules as Bootloader::Library +# normally loads them depending on loader type but we don't know in advance +# what objects show up in our YAML input data. +# +eval use Bootloader::Core::$_ for qw ( ELILO GRUB GRUB2 GRUB2EFI LILO NONE PowerLILO ZIPL ); + +sub Usage; +sub ReadYAML; +sub WriteYAML; + +# we need something to log to until we have the real state setup +my $logger = Bootloader::Library-new(); + +# the current state +my $pbl_state; + +my $opt_state_in; +my $opt_state_out; + + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# parse arguments + +Usage 0 if @ARGV == 0; + +GetOptions( + 'state-in=s' = \$opt_state_in, + 'state-out=s' = \$opt_state_out, + 'state=s' = sub { $opt_state_out = $opt_state_in = $_[1] }, + 'version' = sub { print $Bootloader::Library::VERSION\n; exit 0 }, + 'help' = sub { Usage 0 }, +) || Usage 1; + + +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +# read existing state, if any + +if($opt_state_in) { + $pbl_state = ReadYAML($opt_state_in, 1); + if($pbl_state) { +# increment session id +$pbl_state-{session_id} =~
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2013-10-17 14:25:04 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2013-10-02 13:32:06.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2013-10-17 17:43:24.0 +0200 @@ -1,0 +2,6 @@ +Tue Oct 15 13:09:05 CEST 2013 - snw...@suse.de + +- more flexible GetProduct() uses /etc/os-release (bnc #845606) +- 0.711 + +--- @@ -4 +10 @@ -- grub2-efi: fix installation boot parameters not written (bnc#824609) +- grub2-efi: fix installation boot parameters not written Old: perl-Bootloader-0.710.tar.xz New: perl-Bootloader-0.711.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.j6JyNd/_old 2013-10-17 17:43:36.0 +0200 +++ /var/tmp/diff_new_pack.j6JyNd/_new 2013-10-17 17:43:36.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.710 +Version:0.711 Release:0 Requires: coreutils Requires: e2fsprogs ++ perl-Bootloader-0.710.tar.xz - perl-Bootloader-0.711.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.710/perl-Bootloader.changes new/perl-Bootloader-0.711/perl-Bootloader.changes --- old/perl-Bootloader-0.710/perl-Bootloader.changes 2013-10-01 09:10:52.0 +0200 +++ new/perl-Bootloader-0.711/perl-Bootloader.changes 2013-10-15 13:10:14.0 +0200 @@ -1,4 +1,10 @@ --- +Tue Oct 15 13:09:05 CEST 2013 - snw...@suse.de + +- more flexible GetProduct() uses /etc/os-release (bnc #845606) +- 0.711 + +--- Tue Oct 1 09:10:04 CEST 2013 - snw...@suse.de - grub2-efi: fix installation boot parameters not written diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.710/update-bootloader new/perl-Bootloader-0.711/update-bootloader --- old/perl-Bootloader-0.710/update-bootloader 2013-08-26 14:31:58.0 +0200 +++ new/perl-Bootloader-0.711/update-bootloader 2013-10-15 13:06:31.0 +0200 @@ -23,6 +23,8 @@ = ('','','','','',undef); my $add_product = 0; +my $logger; + =head1 NAME update-bootloader - update/change bootloader configuration using @@ -122,41 +124,64 @@ =cut -# Get product name and version -# If zypper is not available or versions is empty, use /etc/SuSE-release instead -# linux is last possible fallback - +# Get product name. +# If zypper is not available use /etc/products.d/baseproduct and /etc/SuSE-release. sub GetProduct { -my $namever; -my $loader = Bootloader::Tools::GetBootloader(); - -# first try: use zypper -if ( -f '/usr/bin/zypper' ){ - my $zypper_out = qx{zypper --terse tos -l}; - if ($zypper_out =~ m/^labelLong\s*(\S.*\S)\s*\nlabelShort\s*(\S.*\S)[\s\n]*$/){ -return $1 if ($1 ne ($loader eq grub || $loader eq grub2 || $loader eq grub2-efi)); -return $2 if ($2 ne ); - } + my $prod; + my $src; + my $loader = Bootloader::Tools::GetBootloader(); + my $long_names_ok = $loader eq grub || $loader eq grub2 || $loader eq grub2-efi; + + # 1st try: ask zypper + # note: may fail as older zypper versions don't support '--label' + if(-x '/usr/bin/zypper') { +if(`zypper --terse targetos --label 2/dev/null` =~ /^labelLong\s*(.*?)\s*\nlabelShort\s*(.*?)\s*$/) { + $prod = $1 ne $long_names_ok ? $1 : $2; + $src = zypper; } + } + # 2nd try: read /etc/products.d/baseproduct + if($prod eq open(my $f, /etc/products.d/baseproduct)) { +my $tag = $long_names_ok ? summary : shortsummary; +while($f) { + $prod = $1 if /$tag\s*(.*?)\s*\/$tag/o; +} +close $f; +$src = baseproduct; + } -# Second try: Is there a usable /etc/SuSE-release? -# This should really not be used anymore, as the syntax changed -# no 'SP1' in the output. -if (open(RELEASE, /etc/SuSE-release) ($loader eq grub || $loader eq grub2 || $loader eq grub2-efi)) { - # first line is sufficient - $namever = RELEASE; - - # delete everything starting with the first parenthesis - $namever =~ s/\s*\(.*//; - - close(RELEASE); - chomp $namever; - return $namever; + # 3rd try: read /etc/os-release + if($prod eq
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2013-10-02 13:32:03 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2013-08-27 15:09:42.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2013-10-02 13:32:06.0 +0200 @@ -1,0 +2,6 @@ +Tue Oct 1 09:10:04 CEST 2013 - snw...@suse.de + +- grub2-efi: fix installation boot parameters not written (bnc#824609) +- 0.710 + +--- Old: perl-Bootloader-0.709.tar.xz New: perl-Bootloader-0.710.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.UXUud1/_old 2013-10-02 13:32:07.0 +0200 +++ /var/tmp/diff_new_pack.UXUud1/_new 2013-10-02 13:32:07.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.709 +Version:0.710 Release:0 Requires: coreutils Requires: e2fsprogs ++ perl-Bootloader-0.709.tar.xz - perl-Bootloader-0.710.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.709/perl-Bootloader.changes new/perl-Bootloader-0.710/perl-Bootloader.changes --- old/perl-Bootloader-0.709/perl-Bootloader.changes 2013-08-26 14:35:52.0 +0200 +++ new/perl-Bootloader-0.710/perl-Bootloader.changes 2013-10-01 09:10:52.0 +0200 @@ -1,4 +1,10 @@ --- +Tue Oct 1 09:10:04 CEST 2013 - snw...@suse.de + +- grub2-efi: fix installation boot parameters not written +- 0.710 + +--- Mon Aug 26 14:29:03 CEST 2013 - snw...@suse.de - update-bootloader refresh cleanup and introduce reinit diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.709/src/Core/GRUB.pm new/perl-Bootloader-0.710/src/Core/GRUB.pm --- old/perl-Bootloader-0.709/src/Core/GRUB.pm 2013-08-26 14:35:52.0 +0200 +++ new/perl-Bootloader-0.710/src/Core/GRUB.pm 2013-08-27 10:53:21.0 +0200 @@ -308,7 +308,7 @@ } if(!$part_ok) { # partition not found, making something up... - if($dev =~ m#^/dev/(?:vx|das|[ehpsvx])d[a-z]{1,2}$#) { + if($dev =~ m#^/dev/(?:xv|das|[ehpsvx])d[a-z]{1,2}$#) { $u_dev .= ; } elsif($dev =~ m#^/dev/disk/#) { @@ -424,7 +424,7 @@ $partition = undef; if( - $original =~ m#^/dev/(?:vx|das|[ehpsvx])d[a-z]{1,2}(\d+)$# || + $original =~ m#^/dev/(?:xv|das|[ehpsvx])d[a-z]{1,2}(\d+)$# || $original =~ m#^/dev/\S+\-part(\d+)$# || $original =~ m#^/dev(?:/[^/]+){1,2}p(\d+)$# ) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.709/src/Core/GRUB2EFI.pm new/perl-Bootloader-0.710/src/Core/GRUB2EFI.pm --- old/perl-Bootloader-0.709/src/Core/GRUB2EFI.pm 2013-08-26 14:35:52.0 +0200 +++ new/perl-Bootloader-0.710/src/Core/GRUB2EFI.pm 2013-10-01 09:09:37.0 +0200 @@ -88,15 +88,24 @@ $sect_info{usage} = linux; } -if ($cfg2 =~ /^\s+linux\s+([^\s]+)\s*(.*)$/m) { -my $append = $2; -$sect_info{image} = $1; +# bnc#824609 - installation boot parameters not written to GRUB_CMDLINE_LINUX_DEFAULT +# we need to match linuxefi command, otherwise the kernel append will lost +if ($cfg2 =~ /^\s+(linux|linuxefi)\s+([^\s]+)\s*(.*)$/m) { +my $append = $3; +$sect_info{image} = $2; +my $command = $1; if ($append =~ /root=/) { $append =~ s/root=([^\s]+)\s*//; $sect_info{root} = $1; } +# the ro is part of linuxefi entries created by grub2 scripts +# not part of kernel append by yast +if ( $command eq linuxefi ) { +$append =~ s/^ro\s*//; +} + if ($append =~ /vga=/) { $append =~ s/vga=([^\s]+)\s*//; $sect_info{vgamode} = $1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.709/src/Tools.pm new/perl-Bootloader-0.710/src/Tools.pm --- old/perl-Bootloader-0.709/src/Tools.pm 2013-08-26 14:35:52.0 +0200 +++
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2013-08-27 15:09:40 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2013-07-09 20:55:34.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2013-08-27 15:09:42.0 +0200 @@ -1,0 +2,13 @@ +Mon Aug 26 14:29:03 CEST 2013 - snw...@suse.de + +- update-bootloader refresh cleanup and introduce reinit +- better way to know kerenl device of physical drive +- fix grub2-set-default error during installation +- remove floppy in device map +- clean up unused functions and variables +- use grub2-probe to get device map +- unify indention +- require coreutils for %post +- 0.709 + +--- Old: grub2-on-powerpc.patch perl-Bootloader-0.708.tar.xz New: perl-Bootloader-0.709.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.0zkrNL/_old 2013-08-27 15:09:43.0 +0200 +++ /var/tmp/diff_new_pack.0zkrNL/_new 2013-08-27 15:09:43.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.708 +Version:0.709 Release:0 Requires: coreutils Requires: e2fsprogs @@ -27,7 +27,6 @@ License:GPL-2.0+ Group: System/Boot Source: perl-Bootloader-%{version}.tar.xz -Patch0: grub2-on-powerpc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl Conflicts: multipath-tools 0.4.8-40.25.1 @@ -47,7 +46,6 @@ %prep %setup -q -%patch0 -p1 %build ++ perl-Bootloader-0.708.tar.xz - perl-Bootloader-0.709.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.708/perl-Bootloader.changes new/perl-Bootloader-0.709/perl-Bootloader.changes --- old/perl-Bootloader-0.708/perl-Bootloader.changes 2013-02-25 16:26:15.0 +0100 +++ new/perl-Bootloader-0.709/perl-Bootloader.changes 2013-08-26 14:35:52.0 +0200 @@ -1,4 +1,27 @@ --- +Mon Aug 26 14:29:03 CEST 2013 - snw...@suse.de + +- update-bootloader refresh cleanup and introduce reinit +- better way to know kerenl device of physical drive +- fix grub2-set-default error during installation +- remove floppy in device map +- clean up unused functions and variables +- use grub2-probe to get device map +- unify indention +- require coreutils for %post +- 0.709 + +--- +Tue Jul 2 08:29:00 UTC 2013 - dval...@suse.com + +- Enable grub2 installation on PowerPC + +--- +Tue Jul 2 08:18:58 UTC 2013 - dval...@suse.com + +- Package grub2 for PowerPC + +--- Mon Feb 25 16:22:22 CET 2013 - snw...@suse.de - support uefi secureboot diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.708/perl-Bootloader.spec.in new/perl-Bootloader-0.709/perl-Bootloader.spec.in --- old/perl-Bootloader-0.708/perl-Bootloader.spec.in 2013-02-25 16:27:08.0 +0100 +++ new/perl-Bootloader-0.709/perl-Bootloader.spec.in 2013-08-26 14:35:52.0 +0200 @@ -58,7 +58,7 @@ %endif %endif %ifarch ppc ppc64 -rm -f $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{ZIPL*,LILO*,ELILO*,GRUB*} +rm -f $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{ZIPL*,LILO*,ELILO*,GRUB.*} %if 0%{?suse_version} == 0 || 0%{?suse_version} = 1130 sed -i '/ZIPL/D;/ELILO/D;/\/LILO/D;/GRUB/D;' $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Bootloader/.packlist %endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.708/src/Core/GRUB2.pm new/perl-Bootloader-0.709/src/Core/GRUB2.pm --- old/perl-Bootloader-0.708/src/Core/GRUB2.pm 2013-02-25 16:24:03.0 +0100 +++ new/perl-Bootloader-0.709/src/Core/GRUB2.pm 2013-08-26 14:35:52.0 +0200 @@ -56,6 +56,94 @@ #module interface +sub GetDeviceMap { + +my $self = shift; +my $ret = 0; +my %map_byid = (); +my %map_kern = (); +my @blacklist = (); + +# WARN: It may not report disks without partitions. +# TODO: We need a better way to figure out physical drive though +# eg, whatever listed by `find /sys/class/block/*/device` +GETMAP: foreach
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2013-07-09 20:55:33 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2013-02-26 15:23:42.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2013-07-09 20:55:34.0 +0200 @@ -1,0 +2,10 @@ +Tue Jul 2 08:29:00 UTC 2013 - dval...@suse.com + +- Enable grub2 installation on PowerPC + +--- +Tue Jul 2 08:18:58 UTC 2013 - dval...@suse.com + +- Package grub2 for PowerPC + +--- New: grub2-on-powerpc.patch Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.2tO4ke/_old 2013-07-09 20:55:35.0 +0200 +++ /var/tmp/diff_new_pack.2tO4ke/_new 2013-07-09 20:55:35.0 +0200 @@ -19,14 +19,15 @@ Name: perl-Bootloader Version:0.708 Release:0 -Requires: perl-base = %{perl_version} Requires: coreutils Requires: e2fsprogs +Requires: perl-base = %{perl_version} Recommends: perl-gettext Summary:Library for Configuring Boot Loaders License:GPL-2.0+ Group: System/Boot Source: perl-Bootloader-%{version}.tar.xz +Patch0: grub2-on-powerpc.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl Conflicts: multipath-tools 0.4.8-40.25.1 @@ -46,6 +47,7 @@ %prep %setup -q +%patch0 -p1 %build @@ -63,7 +65,7 @@ %endif %endif %ifarch ppc ppc64 -rm -f $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{ZIPL*,LILO*,ELILO*,GRUB*} +rm -f $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{ZIPL*,LILO*,ELILO*,GRUB.*} %if 0%{?suse_version} == 0 || 0%{?suse_version} = 1130 sed -i '/ZIPL/D;/ELILO/D;/\/LILO/D;/GRUB/D;' $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Bootloader/.packlist %endif ++ grub2-on-powerpc.patch ++ Index: perl-Bootloader-0.708/src/Core/GRUB2.pm === --- perl-Bootloader-0.708.orig/src/Core/GRUB2.pm +++ perl-Bootloader-0.708/src/Core/GRUB2.pm @@ -333,12 +333,15 @@ sub new my $self = shift; my $ref = shift; my $old = shift; + my $arch = `uname --hardware-platform`; + my $target; my $loader = $self-SUPER::new($ref, $old); bless($loader); - # Do we support any architecture besides x86? - my $target = i386-pc; + #Set target based on architecture (ppc or x86) + $target = i386-pc if $arch =~ /(i386|x86_64)/; + $target = powerpc-ieee1275 if $arch =~ /(ppc|ppc64)/; $loader-{'target'} = $target; $loader-milestone(Created GRUB2 instance for target $target); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2013-02-26 15:23:40 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader, Maintainer is snw...@suse.com Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2013-02-12 16:42:55.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2013-02-26 15:23:42.0 +0100 @@ -1,0 +2,9 @@ +Mon Feb 25 16:22:22 CET 2013 - snw...@suse.de + +- support uefi secureboot +- fix timeout 0 not work +- default to entry 0 if no saved_entry is present in grub2 env +- mention grub2 in /boot/boot.readme +- 0.708 + +--- Old: perl-Bootloader-0.707.tar.xz New: perl-Bootloader-0.708.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.Ylu8al/_old 2013-02-26 15:23:44.0 +0100 +++ /var/tmp/diff_new_pack.Ylu8al/_new 2013-02-26 15:23:44.0 +0100 @@ -17,11 +17,11 @@ Name: perl-Bootloader -Version:0.707 +Version:0.708 Release:0 +Requires: perl-base = %{perl_version} Requires: coreutils Requires: e2fsprogs -Requires: perl-base = %{perl_version} Recommends: perl-gettext Summary:Library for Configuring Boot Loaders License:GPL-2.0+ @@ -35,6 +35,15 @@ %description Perl modules for configuring various boot loaders. + + +Authors: + +Jiri Srain jsr...@suse.cz +Joachim Plack jpl...@suse.de +Alexander Osthof aost...@suse.de +Josef Reidinger jreidin...@suse.cz + %prep %setup -q -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2013-02-12 16:42:53 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader, Maintainer is snw...@suse.com Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2013-02-04 20:59:08.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2013-02-12 16:42:55.0 +0100 @@ -1,0 +2,5 @@ +Tue Feb 12 09:26:38 UTC 2013 - co...@suse.com + +- require coreutils for %post + +--- Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.RtmjKZ/_old 2013-02-12 16:42:56.0 +0100 +++ /var/tmp/diff_new_pack.RtmjKZ/_new 2013-02-12 16:42:56.0 +0100 @@ -19,8 +19,9 @@ Name: perl-Bootloader Version:0.707 Release:0 -Requires: perl-base = %{perl_version} +Requires: coreutils Requires: e2fsprogs +Requires: perl-base = %{perl_version} Recommends: perl-gettext Summary:Library for Configuring Boot Loaders License:GPL-2.0+ @@ -34,15 +35,6 @@ %description Perl modules for configuring various boot loaders. - - -Authors: - -Jiri Srain jsr...@suse.cz -Joachim Plack jpl...@suse.de -Alexander Osthof aost...@suse.de -Josef Reidinger jreidin...@suse.cz - %prep %setup -q -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2013-02-04 20:59:06 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader, Maintainer is snw...@suse.com Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2013-01-12 14:53:36.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2013-02-04 20:59:08.0 +0100 @@ -1,0 +2,6 @@ +Mon Feb 4 14:50:59 CET 2013 - snw...@suse.de + +- fix undefined value warning (#799644) +- 0.707 + +--- Old: perl-Bootloader-0.706.tar.xz New: perl-Bootloader-0.707.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.7GD0ea/_old 2013-02-04 20:59:09.0 +0100 +++ /var/tmp/diff_new_pack.7GD0ea/_new 2013-02-04 20:59:09.0 +0100 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.706 +Version:0.707 Release:0 Requires: perl-base = %{perl_version} Requires: e2fsprogs -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2013-01-12 14:53:34 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader, Maintainer is snw...@suse.com Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2012-12-08 15:52:25.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2013-01-12 14:53:36.0 +0100 @@ -1,0 +2,7 @@ +Fri Jan 11 17:23:53 CET 2013 - snw...@suse.de + +- arvidjaar: use explicit target arch for GRUB2 and remove grub2-efi calls +- mchang: handle add and remove in update-bootloader for grub2 +- 0.706 + +--- Old: perl-Bootloader-0.705.tar.xz New: perl-Bootloader-0.706.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.VpLlCZ/_old 2013-01-12 14:53:37.0 +0100 +++ /var/tmp/diff_new_pack.VpLlCZ/_new 2013-01-12 14:53:37.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Bootloader # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.705 +Version:0.706 Release:0 Requires: perl-base = %{perl_version} Requires: e2fsprogs -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2012-12-08 15:52:23 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader, Maintainer is snw...@suse.com Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2012-11-22 14:14:44.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2012-12-08 15:52:25.0 +0100 @@ -1,0 +2,8 @@ +Thu Dec 6 16:42:59 CET 2012 - snw...@suse.de + +- don't report an error if bootloader type is unset (bnc #757942) +- don't run external grep to read sysconfig variables +- don't use Sys::Hostname (bnc #792634) +- 0.705 + +--- Old: perl-Bootloader-0.704.tar.bz2 New: perl-Bootloader-0.705.tar.xz Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.D7YThR/_old 2012-12-08 15:52:26.0 +0100 +++ /var/tmp/diff_new_pack.D7YThR/_new 2012-12-08 15:52:26.0 +0100 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.704 +Version:0.705 Release:0 Requires: perl-base = %{perl_version} Requires: e2fsprogs @@ -25,7 +25,7 @@ Summary:Library for Configuring Boot Loaders License:GPL-2.0+ Group: System/Boot -Source: perl-Bootloader-%{version}.tar.bz2 +Source: perl-Bootloader-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl Conflicts: multipath-tools 0.4.8-40.25.1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2012-11-22 14:14:41 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader, Maintainer is snw...@suse.com Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2012-10-23 19:42:38.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2012-11-22 14:14:44.0 +0100 @@ -1,0 +2,7 @@ +Wed Nov 14 15:06:42 CET 2012 - snw...@suse.de + +- support 'parmfile' option in zipl.conf (bnc #788391) +- fix zipl (s390x) support +- 0.704 + +--- Old: perl-Bootloader-0.703.tar.bz2 New: perl-Bootloader-0.704.tar.bz2 Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.duzNpT/_old 2012-11-22 14:14:45.0 +0100 +++ /var/tmp/diff_new_pack.duzNpT/_new 2012-11-22 14:14:45.0 +0100 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.703 +Version:0.704 Release:0 Requires: perl-base = %{perl_version} Requires: e2fsprogs ++ perl-Bootloader-0.703.tar.bz2 - perl-Bootloader-0.704.tar.bz2 ++ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2012-10-23 19:42:37 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader, Maintainer is snw...@suse.com Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2012-09-25 10:45:55.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2012-10-23 19:42:38.0 +0200 @@ -1,0 +2,6 @@ +Mon Oct 15 13:02:06 CEST 2012 - snw...@suse.de + +- fix compat issues with older perl rpm +- 0.703 + +--- Old: perl-Bootloader-0.702.tar.bz2 New: perl-Bootloader-0.703.tar.bz2 Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.xWLsK9/_old 2012-10-23 19:42:43.0 +0200 +++ /var/tmp/diff_new_pack.xWLsK9/_new 2012-10-23 19:42:43.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.702 +Version:0.703 Release:0 Requires: perl-base = %{perl_version} Requires: e2fsprogs @@ -51,6 +51,7 @@ %install make DESTDIR=$RPM_BUILD_ROOT install install -d -m 700 $RPM_BUILD_ROOT/var/log/YaST2 +touch $RPM_BUILD_ROOT/var/log/pbl.log %perl_process_packlist #install only needed files for bootloader for specific architecture %ifarch %ix86 x86_64 ++ perl-Bootloader-0.702.tar.bz2 - perl-Bootloader-0.703.tar.bz2 ++ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2012-09-25 10:45:54 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader, Maintainer is snw...@suse.com Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2012-08-22 12:16:39.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2012-09-25 10:45:55.0 +0200 @@ -1,0 +2,32 @@ +Thu Sep 6 16:25:49 CEST 2012 - snw...@suse.de + +- if called from yast: log directly to y2log, not via limal +- don't use udev for device mapping; instead read symlinks in dev tree +- add package-local make target +- clean up spec file +- log root device chroot +- use additional log file /var/log/pbl.log for now to work around broken yast logging +- 0.702 + +--- +Thu Aug 30 12:07:22 CEST 2012 - snw...@suse.de + +- pbl rewrite continued +- 0.701 + +--- +Thu Aug 30 12:07:21 CEST 2012 - mch...@suse.com + +- add management to GRUB_BACKGROUND +- export section and write as global option +- manage GRUB_DISABLE_OS_PROBER settings +- use grub device name in /etc/default/grub_installdevice + +--- +Thu Aug 23 16:52:34 CEST 2012 - snw...@suse.de + +- rewite pbl's logging functions +- start new version number scheme +- 0.700 + +--- Old: boot.readme bootloader_entry perl-Bootloader-0.6.8.tar.bz2 update-bootloader New: perl-Bootloader-0.702.tar.bz2 Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.a8jsUF/_old 2012-09-25 10:45:56.0 +0200 +++ /var/tmp/diff_new_pack.a8jsUF/_new 2012-09-25 10:45:56.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.6.8 +Version:0.702 Release:0 Requires: perl-base = %{perl_version} Requires: e2fsprogs @@ -26,9 +26,6 @@ License:GPL-2.0+ Group: System/Boot Source: perl-Bootloader-%{version}.tar.bz2 -Source1:update-bootloader -Source2:bootloader_entry -Source3:boot.readme BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl Conflicts: multipath-tools 0.4.8-40.25.1 @@ -48,55 +45,44 @@ %prep %setup -q -rm -rf perl-Bootloader-testsuite -mkdir -p lib -mv src lib/Bootloader %build -touch Makefile.PL -perl -MExtUtils::MakeMaker -e 'WriteMakefile (NAME = Bootloader)' -make %{?_smp_mflags} -pod2man %{SOURCE1} | gzip update-bootloader.8.gz %install +make DESTDIR=$RPM_BUILD_ROOT install install -d -m 700 $RPM_BUILD_ROOT/var/log/YaST2 -make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist -mkdir -p $RPM_BUILD_ROOT/sbin -install -m 755 %_sourcedir/update-bootloader $RPM_BUILD_ROOT/sbin -install -d -m 755 $RPM_BUILD_ROOT/usr/lib/bootloader -install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/usr/lib/bootloader -install -d -m 755 $RPM_BUILD_ROOT/boot -install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/boot/ -install -d -m 755 $RPM_BUILD_ROOT/usr/share/man/man8/ -install -m 644 update-bootloader.8.gz $RPM_BUILD_ROOT/usr/share/man/man8/ #install only needed files for bootloader for specific architecture %ifarch %ix86 x86_64 -rm $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{ZIPL*,PowerLILO*} -rm $RPM_BUILD_ROOT/%{_mandir}/man?/{*ZIPL*,*PowerLILO*} +rm -f $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{ZIPL*,PowerLILO*} +rm -f $RPM_BUILD_ROOT/%{_mandir}/man?/{*ZIPL*,*PowerLILO*} %if 0%{?suse_version} == 0 || 0%{?suse_version} = 1130 sed -i '/ZIPL/D;/PowerLILO/D;' $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Bootloader/.packlist %endif %endif %ifarch ppc ppc64 -rm $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{ZIPL*,LILO*,ELILO*,GRUB*} +rm -f $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{ZIPL*,LILO*,ELILO*,GRUB*} %if 0%{?suse_version} == 0 || 0%{?suse_version} = 1130 sed -i '/ZIPL/D;/ELILO/D;/\/LILO/D;/GRUB/D;' $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Bootloader/.packlist %endif %endif %ifarch s390 s390x -rm $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{*LILO*,GRUB*} +rm -f $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{*LILO*,GRUB*} %if 0%{?suse_version} == 0 || 0%{?suse_version} = 1130 sed -i '/LILO/D;/GRUB/D;' $RPM_BUILD_ROOT/%{perl_vendorarch}/auto/Bootloader/.packlist %endif %endif %ifarch ia32 ia64 -rm $RPM_BUILD_ROOT/%{perl_vendorlib}/Bootloader/Core/{LILO*,GRUB*,ZIPL*,PowerLILO*} +rm -f
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2012-08-22 12:16:18 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader, Maintainer is snw...@suse.com Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2012-07-14 11:51:11.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2012-08-22 12:16:39.0 +0200 @@ -1,0 +2,6 @@ +Mon Aug 20 14:06:18 CEST 2012 - mch...@suse.com + +- fix missing newline in the config +- 0.6.8 + +--- Old: perl-Bootloader-0.6.7.tar.bz2 New: perl-Bootloader-0.6.8.tar.bz2 Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.GIUYwT/_old 2012-08-22 12:16:40.0 +0200 +++ /var/tmp/diff_new_pack.GIUYwT/_new 2012-08-22 12:16:40.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.6.7 +Version:0.6.8 Release:0 Requires: perl-base = %{perl_version} Requires: e2fsprogs ++ perl-Bootloader-0.6.7.tar.bz2 - perl-Bootloader-0.6.8.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.6.7/Makefile new/perl-Bootloader-0.6.8/Makefile --- old/perl-Bootloader-0.6.7/Makefile 2012-07-13 15:46:49.0 +0200 +++ new/perl-Bootloader-0.6.8/Makefile 2012-08-20 14:06:50.0 +0200 @@ -1,8 +1,6 @@ # $Id$ PKG=perl-Bootloader SUBMIT_DIR=/work/src/done/STABLE -#SUBMIT_DIR=/work/src/done/10.2 -#SUBMIT_DIR2=/work/src/done/SLES10 #BUILD_DIST=ppc ifeq ($(BUILD_DIST),ppc) BUILD=powerpc32 /work/src/bin/build @@ -19,12 +17,31 @@ DISTMAIL=/work/src/bin/distmail BRANCH=master -.PHONY:export build mbuild submit rpm clean package test +.PHONY:export build mbuild submit rpm clean package test install all: @echo Choose one target out of 'export', 'build', 'abuild', 'mbuild', 'submit', 'test', 'test_clean', 'docs', 'rpm' or 'clean' @echo +install: + @rm -rf .install + @mkdir -p .install/lib + @cp -a src .install/lib/Bootloader + rm -f `find .install/lib/Bootloader -name '*~'` + @cd .install ; \ + touch Makefile.PL ; \ + perl -MExtUtils::MakeMaker -e 'WriteMakefile (NAME = Bootloader)' ; \ + make install_vendor + @mkdir -p $(DESTDIR)/sbin + @install -m 755 update-bootloader $(DESTDIR)/sbin + @install -d -m 755 $(DESTDIR)/usr/lib/bootloader + @install -m 755 bootloader_entry $(DESTDIR)/usr/lib/bootloader + @install -d -m 755 $(DESTDIR)/boot + @install -m 644 boot.readme $(DESTDIR)/boot/ + @install -d -m 755 $(DESTDIR)/usr/share/man/man8/ + @pod2man update-bootloader $(DESTDIR)/usr/share/man/man8/update-bootloader.8 + @chmod 644 $(DESTDIR)/usr/share/man/man8/update-bootloader.8 + package: test rm -rf package mkdir -p package @@ -119,4 +136,5 @@ clean: if [ -f .exportdir ] [ -d $$(.exportdir) ]; then echo $$(.exportdir); rm -rf $$(.exportdir); fi + rm -rf .install rm -f .exportdir .built .submitted *~ */*~ */*/*~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.6.7/perl-Bootloader.changes new/perl-Bootloader-0.6.8/perl-Bootloader.changes --- old/perl-Bootloader-0.6.7/perl-Bootloader.changes 2012-07-13 15:46:49.0 +0200 +++ new/perl-Bootloader-0.6.8/perl-Bootloader.changes 2012-08-20 14:06:50.0 +0200 @@ -1,4 +1,10 @@ --- +Mon Aug 20 14:06:18 CEST 2012 - mch...@suse.com + +- fix missing newline in the config +- 0.6.8 + +--- Fri Jul 13 15:45:47 CEST 2012 - mch...@suse.com - fix new menuentry format introduced by 2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.6.7/src/Library.pm new/perl-Bootloader-0.6.8/src/Library.pm --- old/perl-Bootloader-0.6.7/src/Library.pm2012-07-13 15:46:49.0 +0200 +++ new/perl-Bootloader-0.6.8/src/Library.pm2012-08-20 14:06:50.0 +0200 @@ -574,6 +574,7 @@ while ((my $fn, my $lines_ref) = each (%{$new_lines_ref})) { $files{$fn} = join \n, @{$lines_ref}; + $files{$fn} .= \n; } return \%files; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.6.7/version
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2012-07-14 10:21:04 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader, Maintainer is snw...@suse.com Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2012-07-09 09:59:55.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2012-07-14 11:51:11.0 +0200 @@ -1,0 +2,7 @@ +Fri Jul 13 15:45:47 CEST 2012 - mch...@suse.com + +- fix new menuentry format introduced by 2.0 +- support failsafe kernel parameters +- 0.6.7 + +--- Old: perl-Bootloader-0.6.6.tar.bz2 New: perl-Bootloader-0.6.7.tar.bz2 Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.zZ9IS7/_old 2012-07-14 11:51:13.0 +0200 +++ /var/tmp/diff_new_pack.zZ9IS7/_new 2012-07-14 11:51:13.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.6.6 +Version:0.6.7 Release:0 Requires: perl-base = %{perl_version} Requires: e2fsprogs ++ perl-Bootloader-0.6.6.tar.bz2 - perl-Bootloader-0.6.7.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.6.6/perl-Bootloader.changes new/perl-Bootloader-0.6.7/perl-Bootloader.changes --- old/perl-Bootloader-0.6.6/perl-Bootloader.changes 2012-07-06 14:20:59.0 +0200 +++ new/perl-Bootloader-0.6.7/perl-Bootloader.changes 2012-07-13 15:46:49.0 +0200 @@ -1,4 +1,11 @@ --- +Fri Jul 13 15:45:47 CEST 2012 - mch...@suse.com + +- fix new menuentry format introduced by 2.0 +- support failsafe kernel parameters +- 0.6.7 + +--- Fri Jul 6 14:18:45 CEST 2012 - mch...@suse.com - use 'auto' for default gfxmode diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.6.6/src/Core/GRUB2.pm new/perl-Bootloader-0.6.7/src/Core/GRUB2.pm --- old/perl-Bootloader-0.6.6/src/Core/GRUB2.pm 2012-07-06 14:20:59.0 +0200 +++ new/perl-Bootloader-0.6.7/src/Core/GRUB2.pm 2012-07-13 15:46:49.0 +0200 @@ -474,9 +474,23 @@ my @confs = @{$files{Bootloader::Path::Grub2_conf()} || []}; my @entries = (); +my $submenu = ; foreach my $conf (@confs) { -if ($conf =~ /^menuentry\s+['](.*)[']\s+/) { - push @entries, { menuentry = $1 }; +my $menuentry = ; + +if ($conf =~ /^menuentry\s+['](.*?)[']\s+/) { +$menuentry = $1; +$submenu = ; +} elsif ($conf =~ m/^submenu\s+['](.*?)[']\s+/) { +$submenu = $1; +} +if ($submenu ne ) { +if ($conf =~ m/^\s+menuentry\s+['](.*?)[']\s+/) { +$menuentry = $submenu$1 +} +} +if ($menuentry ne ) { + push @entries, { menuentry = $menuentry }; } } @@ -702,6 +716,8 @@ $ret{gfxtheme} = $val; } elsif ($key =~ m/@?GRUB_DISTRIBUTOR/) { $ret{distributor} = $val; +} elsif ($key =~ m/@?GRUB_CMDLINE_LINUX_RECOVERY$/) { +$ret{append_failsafe} = $val; } } @@ -779,6 +795,13 @@ 'value' = 'quiet splash=silent', }, { +'key' = 'GRUB_CMDLINE_LINUX_RECOVERY', +'value' = 'single', +'comment_before' = [ + '# kernel command line options for failsafe mode', +], +}, +{ 'key' = 'GRUB_CMDLINE_LINUX', 'value' = '', }, @@ -844,6 +867,7 @@ my $gfxmode = delete $globinfo{gfxmode} || ; my $gfxtheme = delete $globinfo{gfxtheme} || ; my $distributor = delete $globinfo{distributor} || ; +my $append_failsafe = delete $globinfo{append_failsafe} || ; # $root = root=$root if $root ne ; $vga = vga=$vga if $vga ne ; $append = $append if $append ne ; @@ -905,6 +929,9 @@ } elsif ($key =~ m/@?GRUB_DISTRIBUTOR/) { $line_ref-{value} = $distributor if $distributor ne ; $distributor = ; +} elsif ($key =~ m/@?GRUB_CMDLINE_LINUX_RECOVERY$/) { +$line_ref-{value} = $append_failsafe if $append_failsafe ne ; +$append_failsafe = ; } defined $line_ref ? $line_ref : (); } @lines; @@ -964,6 +991,13 @@
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2012-07-09 09:59:53 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader, Maintainer is snw...@suse.com Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2012-07-02 10:32:26.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2012-07-09 09:59:55.0 +0200 @@ -1,0 +2,9 @@ +Fri Jul 6 14:18:45 CEST 2012 - mch...@suse.com + +- use 'auto' for default gfxmode +- replace background with theme +- support editing GRUB_DISTRIBUTOR +- re-enable to create device.map from BootStorage +- 0.6.6 + +--- Old: perl-Bootloader-0.6.5.tar.bz2 New: perl-Bootloader-0.6.6.tar.bz2 Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.20vgbL/_old 2012-07-09 09:59:56.0 +0200 +++ /var/tmp/diff_new_pack.20vgbL/_new 2012-07-09 09:59:56.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.6.5 +Version:0.6.6 Release:0 Requires: perl-base = %{perl_version} Requires: e2fsprogs ++ perl-Bootloader-0.6.5.tar.bz2 - perl-Bootloader-0.6.6.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.6.5/perl-Bootloader.changes new/perl-Bootloader-0.6.6/perl-Bootloader.changes --- old/perl-Bootloader-0.6.5/perl-Bootloader.changes 2012-06-29 16:21:41.0 +0200 +++ new/perl-Bootloader-0.6.6/perl-Bootloader.changes 2012-07-06 14:20:59.0 +0200 @@ -1,4 +1,13 @@ --- +Fri Jul 6 14:18:45 CEST 2012 - mch...@suse.com + +- use 'auto' for default gfxmode +- replace background with theme +- support editing GRUB_DISTRIBUTOR +- re-enable to create device.map from BootStorage +- 0.6.6 + +--- Fri Jun 29 16:20:02 CEST 2012 - snw...@suse.de - mchang: fix error caused by grub.cfg missing (bnc#769350) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.6.5/src/Core/GRUB2.pm new/perl-Bootloader-0.6.6/src/Core/GRUB2.pm --- old/perl-Bootloader-0.6.5/src/Core/GRUB2.pm 2012-06-29 16:21:41.0 +0200 +++ new/perl-Bootloader-0.6.6/src/Core/GRUB2.pm 2012-07-06 14:20:59.0 +0200 @@ -631,21 +631,19 @@ $conf =~ s/^\s*@/#/; } } -# TODO: as we know the grub2-install also create device map -# I skipped creating them by yast .. # now process the device map -## my %glob = %{$self-{global}}; -## my @device_map = (); -## while ((my $unix, my $fw) = each (%{$self-{device_map}})) -## { -## my $line = ($fw)\t$unix; -## push @device_map, $line; -## } +my %glob = %{$self-{global}}; +my @device_map = (); +while ((my $unix, my $fw) = each (%{$self-{device_map}})) +{ +my $line = ($fw)\t$unix; +push @device_map, $line; +} return { Bootloader::Path::Grub2_installdevice() = $grub2_installdev, Bootloader::Path::Grub2_defaultconf() = $grub2_defaultconf, -## Bootloader::Path::Grub2_devicemap() = \@device_map, + Bootloader::Path::Grub2_devicemap() = \@device_map, } } @@ -700,8 +698,10 @@ $ret{serial} = $val; } elsif ($key =~ m/@?GRUB_GFXMODE/) { $ret{gfxmode} = $val; -} elsif ($key =~ m/@?GRUB_BACKGROUND/) { -$ret{gfxbackground} = $val; +} elsif ($key =~ m/@?GRUB_THEME/) { +$ret{gfxtheme} = $val; +} elsif ($key =~ m/@?GRUB_DISTRIBUTOR/) { +$ret{distributor} = $val; } } @@ -800,7 +800,7 @@ }, { 'key' = '@GRUB_GFXMODE', -'value' = '640x480', +'value' = 'auto', 'comment_before' = [ '# The resolution used on graphical terminal', '# note that you can use only modes which your graphic card supports via VBE', @@ -842,7 +842,8 @@ my $terminal = delete $globinfo{terminal} || ; my $serial = delete $globinfo{serial} || ; my $gfxmode = delete $globinfo{gfxmode} || ; -my $gfxbackground = delete $globinfo{gfxbackground} || ; +my $gfxtheme = delete $globinfo{gfxtheme} || ; +my $distributor = delete $globinfo{distributor} || ; # $root = root=$root if $root ne ; $vga = vga=$vga if $vga ne ;
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2012-07-01 15:15:01 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader, Maintainer is snw...@suse.com Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2012-06-06 10:34:18.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2012-07-02 10:32:26.0 +0200 @@ -1,0 +2,7 @@ +Fri Jun 29 16:20:02 CEST 2012 - snw...@suse.de + +- mchang: fix error caused by grub.cfg missing (bnc#769350) +- make dependency on Pod::Usage optional (bnc#760464) +- 0.6.5 + +--- Old: perl-Bootloader-0.6.4.tar.bz2 New: perl-Bootloader-0.6.5.tar.bz2 Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.4Dd92c/_old 2012-07-02 10:32:27.0 +0200 +++ /var/tmp/diff_new_pack.4Dd92c/_new 2012-07-02 10:32:27.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.6.4 +Version:0.6.5 Release:0 Requires: perl-base = %{perl_version} Requires: e2fsprogs ++ perl-Bootloader-0.6.4.tar.bz2 - perl-Bootloader-0.6.5.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.6.4/perl-Bootloader.changes new/perl-Bootloader-0.6.5/perl-Bootloader.changes --- old/perl-Bootloader-0.6.4/perl-Bootloader.changes 2012-06-04 15:47:41.0 +0200 +++ new/perl-Bootloader-0.6.5/perl-Bootloader.changes 2012-06-29 16:21:41.0 +0200 @@ -1,4 +1,11 @@ --- +Fri Jun 29 16:20:02 CEST 2012 - snw...@suse.de + +- mchang: fix error caused by grub.cfg missing (bnc#769350) +- make dependency on Pod::Usage optional (bnc#760464) +- 0.6.5 + +--- Mon Jun 4 15:40:15 CEST 2012 - mch...@suse.com - support console related global options gfxterm, serial, gfxbackground and gfxmode diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.6.4/src/Core/GRUB2.pm new/perl-Bootloader-0.6.5/src/Core/GRUB2.pm --- old/perl-Bootloader-0.6.4/src/Core/GRUB2.pm 2012-06-04 15:47:41.0 +0200 +++ new/perl-Bootloader-0.6.5/src/Core/GRUB2.pm 2012-06-29 16:21:41.0 +0200 @@ -314,11 +314,15 @@ # liststring ListFiles () sub ListFiles { my $self = shift; +my @ret = ( Bootloader::Path::Grub2_devicemap(), +Bootloader::Path::Grub2_installdevice(), +Bootloader::Path::Grub2_defaultconf() ); -return [ Bootloader::Path::Grub2_devicemap(), - Bootloader::Path::Grub2_installdevice(), - Bootloader::Path::Grub2_defaultconf(), - Bootloader::Path::Grub2_conf() ]; +if (-e Bootloader::Path::Grub2_conf()) { +push @ret, Bootloader::Path::Grub2_conf(); +} + +return \@ret; } =item diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.6.4/src/Core/GRUB2EFI.pm new/perl-Bootloader-0.6.5/src/Core/GRUB2EFI.pm --- old/perl-Bootloader-0.6.4/src/Core/GRUB2EFI.pm 2012-06-04 15:47:41.0 +0200 +++ new/perl-Bootloader-0.6.5/src/Core/GRUB2EFI.pm 2012-06-29 16:21:41.0 +0200 @@ -86,9 +86,13 @@ # liststring ListFiles () sub ListFiles { my $self = shift; +my @ret = (Bootloader::Path::Grub2_defaultconf()); -return [ Bootloader::Path::Grub2_defaultconf(), - Bootloader::Path::Grub2_eficonf() ]; +if (-e Bootloader::Path::Grub2_eficonf()) { +push @ret, Bootloader::Path::Grub2_eficonf(); +} + +return \@ret; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.6.4/update-bootloader new/perl-Bootloader-0.6.5/update-bootloader --- old/perl-Bootloader-0.6.4/update-bootloader 2012-06-04 15:47:41.0 +0200 +++ new/perl-Bootloader-0.6.5/update-bootloader 2012-06-29 16:21:41.0 +0200 @@ -2,12 +2,20 @@ use POSIX; use Getopt::Long; -use Pod::Usage; use Bootloader::Tools; use Bootloader::Path; use Bootloader::MBRTools; use strict; +# keep Pod::Usage optional (bnc #760464) +eval use Pod::Usage; + +if(!exists $::{pod2usage}) { + sub pod2usage { +die usage: update-bootloader [operation] [options]\n; + } +} + my %oper; my ($opt_default, $opt_force, $opt_force_default, $opt_help, $opt_man, $opt_previous, $opt_xen) =
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2012-06-06 10:34:06 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader, Maintainer is snw...@suse.com Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2012-05-03 10:59:31.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2012-06-06 10:34:18.0 +0200 @@ -1,0 +2,6 @@ +Mon Jun 4 15:40:15 CEST 2012 - mch...@suse.com + +- support console related global options gfxterm, serial, gfxbackground and gfxmode +- 0.6.4 + +--- Old: perl-Bootloader-0.6.3.tar.bz2 New: perl-Bootloader-0.6.4.tar.bz2 Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.zWRyCo/_old 2012-06-06 10:34:19.0 +0200 +++ /var/tmp/diff_new_pack.zWRyCo/_new 2012-06-06 10:34:19.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.6.3 +Version:0.6.4 Release:0 Requires: perl-base = %{perl_version} Requires: e2fsprogs ++ perl-Bootloader-0.6.3.tar.bz2 - perl-Bootloader-0.6.4.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.6.3/perl-Bootloader.changes new/perl-Bootloader-0.6.4/perl-Bootloader.changes --- old/perl-Bootloader-0.6.3/perl-Bootloader.changes 2012-04-27 12:07:25.0 +0200 +++ new/perl-Bootloader-0.6.4/perl-Bootloader.changes 2012-06-04 15:47:41.0 +0200 @@ -1,4 +1,10 @@ --- +Mon Jun 4 15:40:15 CEST 2012 - mch...@suse.com + +- support console related global options gfxterm, serial, gfxbackground and gfxmode +- 0.6.4 + +--- Fri Apr 27 12:06:09 CEST 2012 - mch...@suse.de - fix after grub2 package update, the system become unbootable. (bnc#758570) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.6.3/src/Core/GRUB2.pm new/perl-Bootloader-0.6.4/src/Core/GRUB2.pm --- old/perl-Bootloader-0.6.3/src/Core/GRUB2.pm 2012-04-27 12:07:25.0 +0200 +++ new/perl-Bootloader-0.6.4/src/Core/GRUB2.pm 2012-06-04 15:47:41.0 +0200 @@ -694,6 +694,10 @@ } } elsif ($key =~ m/@?GRUB_SERIAL_COMMAND/) { $ret{serial} = $val; +} elsif ($key =~ m/@?GRUB_GFXMODE/) { +$ret{gfxmode} = $val; +} elsif ($key =~ m/@?GRUB_BACKGROUND/) { +$ret{gfxbackground} = $val; } } @@ -833,6 +837,8 @@ my $hiddenmenu = delete $globinfo{hiddenmenu} || ; my $terminal = delete $globinfo{terminal} || ; my $serial = delete $globinfo{serial} || ; +my $gfxmode = delete $globinfo{gfxmode} || ; +my $gfxbackground = delete $globinfo{gfxbackground} || ; # $root = root=$root if $root ne ; $vga = vga=$vga if $vga ne ; $append = $append if $append ne ; @@ -866,6 +872,20 @@ $line_ref-{value} = $serial; $serial = ; } +} elsif ($key =~ m/@?GRUB_GFXMODE/) { +if ($gfxmode ne ) { +$line_ref-{key} = GRUB_GFXMODE; +$line_ref-{value} = $gfxmode; +} +$gfxmode = ; +} elsif ($key =~ m/@?GRUB_BACKGROUND/) { +if ($gfxbackground ne ) { +$line_ref-{key} = GRUB_BACKGROUND; +$line_ref-{value} = $gfxbackground; +} else { +$line_ref = undef; +} +$gfxbackground = ; } elsif ($key =~ m/@?GRUB_TERMINAL/) { if ($terminal eq ) { $line_ref-{key} = '@GRUB_TERMINAL'; @@ -916,6 +936,19 @@ } } +if ($gfxmode ne ) { +push @lines, { +key = GRUB_GFXMODE, +value = $gfxmode, +} +} + +if ($gfxbackground ne ) { +push @lines, { +key = GRUB_BACKGROUND, +value = $gfxbackground, +} +} return \@lines; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.6.3/src/Core/GRUB2EFI.pm new/perl-Bootloader-0.6.4/src/Core/GRUB2EFI.pm --- old/perl-Bootloader-0.6.3/src/Core/GRUB2EFI.pm 2012-04-27 12:07:25.0 +0200 +++ new/perl-Bootloader-0.6.4/src/Core/GRUB2EFI.pm 2012-06-04 15:47:41.0 +0200 @@ -226,6 +226,16 @@ $timeout =
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2012-05-03 10:59:28 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader, Maintainer is snw...@suse.com Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2012-04-02 10:30:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2012-05-03 10:59:31.0 +0200 @@ -1,0 +2,20 @@ +Fri Apr 27 12:06:09 CEST 2012 - mch...@suse.de + +- fix after grub2 package update, the system become unbootable. (bnc#758570) + also fix running update-bootloader --refresh returns error when extended + partition is to be installed. +- 0.6.3 + +--- +Mon Apr 23 11:26:15 CEST 2012 - mch...@suse.de + +- add read/write grub2-efi's settings for global options from yast2's + bootloader option widgets, including timeout, hiddenmenu, vgamode, append + and default +- add read/write grub2's settings for serial console from yast2's bootloader + option widgets +- add read/write grub2's settings for global options from yast2's bootloader + option widgets, including timeout, hiddenmenu, vgamode, append and default +- fix bootloader_entry util to correctly handle grub2's case (bnc#755183) + +--- Old: perl-Bootloader-0.6.1.tar.bz2 New: perl-Bootloader-0.6.3.tar.bz2 Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.QI5uiV/_old 2012-05-03 10:59:36.0 +0200 +++ /var/tmp/diff_new_pack.QI5uiV/_new 2012-05-03 10:59:36.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.6.1 +Version:0.6.3 Release:0 Requires: perl-base = %{perl_version} Requires: e2fsprogs ++ bootloader_entry ++ --- /var/tmp/diff_new_pack.QI5uiV/_old 2012-05-03 10:59:36.0 +0200 +++ /var/tmp/diff_new_pack.QI5uiV/_new 2012-05-03 10:59:36.0 +0200 @@ -194,6 +194,10 @@ update_bootloader --refresh || exit 1 ;; esac + elif [ -f $PERL_BOOTLOADER_TESTSUITE_PATH/etc/sysconfig/bootloader ] +[ -f $PERL_BOOTLOADER_TESTSUITE_PATH/boot/grub2/grub.cfg -o \ + -f $PERL_BOOTLOADER_TESTSUITE_PATH/boot/grub2-efi/grub.cfg ]; then + update_bootloader --refresh || exit 1 fi fi } @@ -266,6 +270,10 @@ # Run the bootloader (e.g., lilo). update_bootloader --refresh || exit 1 + elif [ -f $PERL_BOOTLOADER_TESTSUITE_PATH/etc/sysconfig/bootloader ] +[ -f $PERL_BOOTLOADER_TESTSUITE_PATH/boot/grub2/grub.cfg -o \ + -f $PERL_BOOTLOADER_TESTSUITE_PATH/boot/grub2-efi/grub.cfg ]; then + update_bootloader --refresh || exit 1 fi fi } ++ perl-Bootloader-0.6.1.tar.bz2 - perl-Bootloader-0.6.3.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.6.1/bootloader_entry new/perl-Bootloader-0.6.3/bootloader_entry --- old/perl-Bootloader-0.6.1/bootloader_entry 2012-03-30 11:47:45.0 +0200 +++ new/perl-Bootloader-0.6.3/bootloader_entry 2012-04-27 12:07:25.0 +0200 @@ -194,6 +194,10 @@ update_bootloader --refresh || exit 1 ;; esac + elif [ -f $PERL_BOOTLOADER_TESTSUITE_PATH/etc/sysconfig/bootloader ] +[ -f $PERL_BOOTLOADER_TESTSUITE_PATH/boot/grub2/grub.cfg -o \ + -f $PERL_BOOTLOADER_TESTSUITE_PATH/boot/grub2-efi/grub.cfg ]; then + update_bootloader --refresh || exit 1 fi fi } @@ -266,6 +270,10 @@ # Run the bootloader (e.g., lilo). update_bootloader --refresh || exit 1 + elif [ -f $PERL_BOOTLOADER_TESTSUITE_PATH/etc/sysconfig/bootloader ] +[ -f $PERL_BOOTLOADER_TESTSUITE_PATH/boot/grub2/grub.cfg -o \ + -f $PERL_BOOTLOADER_TESTSUITE_PATH/boot/grub2-efi/grub.cfg ]; then + update_bootloader --refresh || exit 1 fi fi } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.6.1/perl-Bootloader.changes
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2012-04-02 10:30:30 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader, Maintainer is snw...@suse.com Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2012-03-20 11:31:29.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2012-04-02 10:30:32.0 +0200 @@ -1,0 +2,14 @@ +Thu Mar 22 10:30:34 UTC 2012 - mch...@suse.com + +- grub2-kernel-commandline.patch: add kerenl parameters (detected + necessary and user specfied one during installation) to grub2's + config file.(bnc#752939) +- 0.6.1 + +--- +Thu Mar 22 10:30:33 UTC 2012 - mch...@suse.com + +- grub2-efi-module.patch: add new grub2-efi module to support + booting on UEFI firmware. + +--- Old: grub2-skip-fs-probe-for-extended-partition.patch perl-Bootloader-0.6.0.tar.bz2 New: perl-Bootloader-0.6.1.tar.bz2 Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.v3r2wR/_old 2012-04-02 10:30:33.0 +0200 +++ /var/tmp/diff_new_pack.v3r2wR/_new 2012-04-02 10:30:33.0 +0200 @@ -17,7 +17,7 @@ Name: perl-Bootloader -Version:0.6.0 +Version:0.6.1 Release:0 Requires: perl-base = %{perl_version} Requires: e2fsprogs @@ -29,7 +29,6 @@ Source1:update-bootloader Source2:bootloader_entry Source3:boot.readme -Patch: grub2-skip-fs-probe-for-extended-partition.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl Conflicts: multipath-tools 0.4.8-40.25.1 @@ -49,7 +48,6 @@ %prep %setup -q -%patch -p1 rm -rf perl-Bootloader-testsuite mkdir -p lib mv src lib/Bootloader ++ perl-Bootloader-0.6.0.tar.bz2 - perl-Bootloader-0.6.1.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.6.0/perl-Bootloader.changes new/perl-Bootloader-0.6.1/perl-Bootloader.changes --- old/perl-Bootloader-0.6.0/perl-Bootloader.changes 2012-03-05 15:23:55.0 +0100 +++ new/perl-Bootloader-0.6.1/perl-Bootloader.changes 2012-03-30 11:47:45.0 +0200 @@ -1,4 +1,38 @@ --- +Thu Mar 22 10:30:34 UTC 2012 - mch...@suse.com + +- grub2-kernel-commandline.patch: add kerenl parameters (detected + necessary and user specfied one during installation) to grub2's + config file.(bnc#752939) +- 0.6.1 + +--- +Thu Mar 22 10:30:33 UTC 2012 - mch...@suse.com + +- grub2-efi-module.patch: add new grub2-efi module to support + booting on UEFI firmware. + +--- +Fri Mar 9 08:40:15 UTC 2012 - mch...@suse.com + +- grub2-skip-fs-probe-for-extended-partition.patch (bnc#750897) + +--- +Mon Mar 5 15:38:44 CET 2012 - snw...@suse.de + +- integrate grub2 patch + +--- +Wed Feb 15 09:16:19 UTC 2012 - mch...@suse.com + +- add-basic-grub2-module.patch : add basic grub2 support + +--- +Wed Dec 14 11:06:44 UTC 2011 - co...@suse.com + +- fix license to be in spdx.org format + +--- Fri Oct 14 09:31:40 CEST 2011 - snw...@suse.de - support more devices in fallback heuristics diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.6.0/perl-Bootloader.spec.in new/perl-Bootloader-0.6.1/perl-Bootloader.spec.in --- old/perl-Bootloader-0.6.0/perl-Bootloader.spec.in 2012-03-05 15:23:55.0 +0100 +++ new/perl-Bootloader-0.6.1/perl-Bootloader.spec.in 2012-03-30 11:47:45.0 +0200 @@ -18,7 +18,7 @@ Recommends: perl-gettext AutoReqProv:on Group: System/Boot -License:GNU General Public License (GPL) +License:GPL-2.0+ Summary:Library for Configuring Boot Loaders Source: perl-Bootloader-%{version}.tar.bz2 Source1:update-bootloader diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.6.0/src/Core/GRUB2.pm new/perl-Bootloader-0.6.1/src/Core/GRUB2.pm ---
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2012-03-20 11:31:27 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader, Maintainer is snw...@suse.com Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2012-03-06 13:40:26.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2012-03-20 11:31:29.0 +0100 @@ -1,0 +2,5 @@ +Fri Mar 9 08:40:15 UTC 2012 - mch...@suse.com + +- grub2-skip-fs-probe-for-extended-partition.patch (bnc#750897) + +--- New: grub2-skip-fs-probe-for-extended-partition.patch Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.RCtyEc/_old 2012-03-20 11:31:31.0 +0100 +++ /var/tmp/diff_new_pack.RCtyEc/_new 2012-03-20 11:31:31.0 +0100 @@ -29,6 +29,7 @@ Source1:update-bootloader Source2:bootloader_entry Source3:boot.readme +Patch: grub2-skip-fs-probe-for-extended-partition.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl Conflicts: multipath-tools 0.4.8-40.25.1 @@ -48,6 +49,7 @@ %prep %setup -q +%patch -p1 rm -rf perl-Bootloader-testsuite mkdir -p lib mv src lib/Bootloader ++ grub2-skip-fs-probe-for-extended-partition.patch ++ Index: perl-Bootloader-0.6.0/src/Core/GRUB2.pm === --- perl-Bootloader-0.6.0.orig/src/Core/GRUB2.pm +++ perl-Bootloader-0.6.0/src/Core/GRUB2.pm @@ -655,6 +655,7 @@ Returns undef on fail, defined nonzero v # boolean InitializeBootloader () sub InitializeBootloader { my $self = shift; +my %glob = %{$self-{global}}; my $file = Bootloader::Path::Grub2_installdevice(); my $files_ref = $self-ReadFiles ([$file,]); @@ -663,6 +664,13 @@ sub InitializeBootloader { return undef; } +my $install_opts = --force; +my $skip_fs_probe = delete $glob{boot_extended}; + +if (defined $skip_fs_probe and $skip_fs_probe eq true) { +$install_opts .= --skip-fs-probe ; +} + my @devices = @{$files_ref-{$file} || []}; # Hmm .. grub2-install must has been run before @@ -679,7 +687,7 @@ sub InitializeBootloader { # the tradeoff is we can't capture errors # only patch grub2 package is possible way # to get around this problem -/usr/sbin/grub2-install --force $dev, +/usr/sbin/grub2-install $install_opts $dev, /var/log/YaST2/y2log_bootloader ); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2012-03-06 13:40:24 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader, Maintainer is snw...@suse.com Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2012-02-23 15:33:35.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2012-03-06 13:40:26.0 +0100 @@ -1,0 +2,5 @@ +Mon Mar 5 15:38:44 CET 2012 - snw...@suse.de + +- integrate grub2 patch + +--- Old: add-basic-grub2-module.patch perl-Bootloader-0.5.22.tar.bz2 New: perl-Bootloader-0.6.0.tar.bz2 Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.k7UDGj/_old 2012-03-06 13:40:28.0 +0100 +++ /var/tmp/diff_new_pack.k7UDGj/_new 2012-03-06 13:40:28.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Bootloader # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,8 +15,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: perl-Bootloader -Version:0.5.22 +Version:0.6.0 Release:0 Requires: perl-base = %{perl_version} Requires: e2fsprogs @@ -28,7 +29,6 @@ Source1:update-bootloader Source2:bootloader_entry Source3:boot.readme -Patch: add-basic-grub2-module.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl Conflicts: multipath-tools 0.4.8-40.25.1 @@ -37,9 +37,17 @@ %description Perl modules for configuring various boot loaders. + + +Authors: + +Jiri Srain jsr...@suse.cz +Joachim Plack jpl...@suse.de +Alexander Osthof aost...@suse.de +Josef Reidinger jreidin...@suse.cz + %prep %setup -q -%patch -p1 rm -rf perl-Bootloader-testsuite mkdir -p lib mv src lib/Bootloader ++ perl-Bootloader-0.5.22.tar.bz2 - perl-Bootloader-0.6.0.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.5.22/src/Core/GRUB2.pm new/perl-Bootloader-0.6.0/src/Core/GRUB2.pm --- old/perl-Bootloader-0.5.22/src/Core/GRUB2.pm1970-01-01 01:00:00.0 +0100 +++ new/perl-Bootloader-0.6.0/src/Core/GRUB2.pm 2012-03-05 15:23:55.0 +0100 @@ -0,0 +1,704 @@ +#! /usr/bin/perl -w +# +# Bootloader configuration base library +# + +=head1 NAME + +Bootlader::Core::GRUB2 - library for blank configuration + + +=head1 PREFACE + +This package is the GRUB2 library of the bootloader configuration + +=head1 SYNOPSIS + +use Bootloader::Core::GRUB2; + +C $obj_ref = Bootloader::Core::GRUB2-new (); + +C $unix_dev = Bootloader::Core::GRUB2-GrubDev2UnixDev ($grub_dev); + +C $files_ref = Bootloader::Core::GRUB2-ListFiles (); + +C $status = Bootloader::Core::GRUB2-ParseLines (\%files, $avoid_reading_device_map); + +C $files_ref = Bootloader::Core::GRUB2-CreateLines (); + +C $settings_ref = Bootloader::Core::GRUB2-GetSettings (); + +C $status = Bootloader::Core::GRUB2-SetSettings (\%settings); + +C $status = Bootloader::Core::GRUB2-InitializeBootloader (); + + +=head1 DESCRIPTION + +=over 2 + +=cut + + +package Bootloader::Core::GRUB2; + +use strict; + +use Bootloader::Core; +our @ISA = ('Bootloader::Core'); +use Bootloader::Path; + +use Data::Dumper; + +#module interface + +sub GetKernelDevice { +my $self = shift; +my $orig = shift; +my $device = $orig; + +unless (defined ($self-{udevmap})) +{ +$self-l_warning(GRUB2::GetKernelDevice: Udev mapping is not set); +return $orig; +} +$device = $self-{udevmap}-{$device} +if defined ($self-{udevmap}-{$device}); + +$self-l_milestone(GRUB2::GetKernelDevice: From $orig to $device); + +return $device; +} + +=item +C $unix_dev = Bootloader::Core::GRUB2-GrubDev2UnixDev ($grub_dev); + +Translates the GRUB2 device (eg. '(hd0,1)') to UNIX device (eg. '/dev/hda1'). +As argument takes the GRUB2 device, returns the UNIX device (both strings) +or argument if translate fail. + +=cut + +# string GrubDev2UnixDev (string grub_dev) +sub GrubDev2UnixDev { +my $self = shift; +my $dev = shift; + +unless ($dev) { + $self-l_error (GRUB2::GrubDev2UnixDev: Empty device to translate); + return $dev; +} +if ($dev !~
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2012-02-23 15:33:33 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader, Maintainer is snw...@suse.com Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2011-12-25 17:38:13.0 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2012-02-23 15:33:35.0 +0100 @@ -1,0 +2,5 @@ +Wed Feb 15 09:16:19 UTC 2012 - mch...@suse.com + +- add-basic-grub2-module.patch : add basic grub2 support + +--- New: add-basic-grub2-module.patch Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.fZJMwU/_old 2012-02-23 15:33:36.0 +0100 +++ /var/tmp/diff_new_pack.fZJMwU/_new 2012-02-23 15:33:36.0 +0100 @@ -28,6 +28,7 @@ Source1:update-bootloader Source2:bootloader_entry Source3:boot.readme +Patch: add-basic-grub2-module.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl Conflicts: multipath-tools 0.4.8-40.25.1 @@ -38,6 +39,7 @@ %prep %setup -q +%patch -p1 rm -rf perl-Bootloader-testsuite mkdir -p lib mv src lib/Bootloader ++ add-basic-grub2-module.patch ++ 885 lines (skipped) ++ update-bootloader ++ --- /var/tmp/diff_new_pack.fZJMwU/_old 2012-02-23 15:33:36.0 +0100 +++ /var/tmp/diff_new_pack.fZJMwU/_new 2012-02-23 15:33:36.0 +0100 @@ -122,7 +122,7 @@ if ( -f '/usr/bin/zypper' ){ my $zypper_out = qx{zypper --terse tos -l}; if ($zypper_out =~ m/^labelLong\s*(\S.*\S)\s*\nlabelShort\s*(\S.*\S)[\s\n]*$/){ -return $1 if ($1 ne $loader eq grub); +return $1 if ($1 ne ($loader eq grub || $loader eq grub2)); return $2 if ($2 ne ); } } @@ -131,7 +131,7 @@ # Second try: Is there a usable /etc/SuSE-release? # This should really not be used anymore, as the syntax changed # no 'SP1' in the output. -if (open(RELEASE, /etc/SuSE-release) $loader eq grub) { +if (open(RELEASE, /etc/SuSE-release) ($loader eq grub || $loader eq grub2)) { # first line is sufficient $namever = RELEASE; @@ -212,26 +212,6 @@ exit 0; } -if (Bootloader::Tools::GetBootloader() eq grub2) -{ - open (LOG, $logname); - print LOG (grub2 bootloader, let grub2-mkconfig handle everything\n); - close LOG; - - if (! -d '/boot/grub2' ) { -open (LOG, $logname); -print LOG (grub2: Run grub2-install first!\n); -close LOG; - -exit 1; - } - - system (cp /boot/grub2/grub.cfg /boot/grub2/grub.cfg.old); - system (/usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg $logname 21); - - exit 0; -} - if ($opt_image and $opt_image !~ m;^/;) { $opt_image = getcwd . '/' . $opt_image } @@ -273,7 +253,7 @@ unless ($opt_name) { if ($opt_xen and $opt_previous) { - if ($loader eq grub || $loader eq lilo) { + if ($loader eq grub || $loader eq lilo || $loader eq grub2) { $opt_name = Previous Xen; $add_product = 1; } @@ -282,7 +262,7 @@ } } elsif ($opt_xen) { - if ($loader eq grub || $loader eq lilo) { + if ($loader eq grub || $loader eq lilo || $loader eq grub2) { $opt_name = Xen; $add_product = 1; } @@ -291,7 +271,7 @@ } } elsif ($opt_previous) { - if ($loader eq grub || $loader eq lilo) { + if ($loader eq grub || $loader eq lilo || $loader eq grub2) { $opt_name = Previous Kernel; $add_product = 1; } @@ -335,7 +315,7 @@ ($opt_name =~ /-bigsmp/) || ($opt_name =~ /-pae/)) { - if ($loader eq grub) { + if ($loader eq grub || $loader eq grub2) { $opt_name =~ s/-[^-]*$//; $opt_failsafe = Failsafe -- . GetProduct() . - . $opt_name; $opt_name = GetProduct() . - . $opt_name; @@ -347,7 +327,7 @@ } # Naming scheme for all xen kernels, thus xen and xenpae elsif ($opt_xen) { - if ($loader eq grub) { + if ($loader eq grub || $loader eq grub2) { my $version = $opt_name; $version =~ s/-xen.*$//; @@ -368,7 +348,7 @@ $flavor = ucfirst ($flavor); # Create long labels for grub - if ($loader eq grub) { + if ($loader eq grub || $loader eq grub2) { my $version = $opt_name; $version =~
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at 2011-12-25 17:38:12 Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old) and /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New) Package is perl-Bootloader, Maintainer is snw...@suse.com Changes: --- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes 2011-10-16 12:57:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes 2011-12-25 17:38:13.0 +0100 @@ -1,0 +2,5 @@ +Wed Dec 14 11:06:44 UTC 2011 - co...@suse.com + +- fix license to be in spdx.org format + +--- Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.D9zb6y/_old 2011-12-25 17:38:14.0 +0100 +++ /var/tmp/diff_new_pack.D9zb6y/_new 2011-12-25 17:38:14.0 +0100 @@ -15,19 +15,15 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - - Name: perl-Bootloader Version:0.5.22 Release:0 Requires: perl-base = %{perl_version} Requires: e2fsprogs Recommends: perl-gettext -AutoReqProv:on -Group: System/Boot -License:GNU General Public License (GPL) Summary:Library for Configuring Boot Loaders +License:GPL-2.0+ +Group: System/Boot Source: perl-Bootloader-%{version}.tar.bz2 Source1:update-bootloader Source2:bootloader_entry @@ -40,15 +36,6 @@ %description Perl modules for configuring various boot loaders. - - -Authors: - -Jiri Srain jsr...@suse.cz -Joachim Plack jpl...@suse.de -Alexander Osthof aost...@suse.de -Josef Reidinger jreidin...@suse.cz - %prep %setup -q rm -rf perl-Bootloader-testsuite -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at Sun Oct 16 12:56:16 CEST 2011. --- openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes2011-09-23 12:36:02.0 +0200 +++ /mounts/work_src_done/STABLE/perl-Bootloader/perl-Bootloader.changes 2011-10-14 09:34:15.0 +0200 @@ -1,0 +2,7 @@ +Fri Oct 14 09:31:40 CEST 2011 - snw...@suse.de + +- support more devices in fallback heuristics +- add basic grub2 support to update-bootloader +- 0.5.22 + +--- calling whatdependson for head-i586 Old: perl-Bootloader-0.5.21.tar.bz2 New: perl-Bootloader-0.5.22.tar.bz2 Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.W5EKeK/_old 2011-10-16 12:56:12.0 +0200 +++ /var/tmp/diff_new_pack.W5EKeK/_new 2011-10-16 12:56:12.0 +0200 @@ -1,17 +1,25 @@ # -# spec file for package perl-Bootloader (Version 0.5.21) +# spec file for package perl-Bootloader # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An Open Source License is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild + Name: perl-Bootloader -Version:0.5.21 +Version:0.5.22 Release:0 Requires: perl-base = %{perl_version} Requires: e2fsprogs @@ -106,4 +114,4 @@ /boot/boot.readme %dir %attr(0700,root,root) /var/log/YaST2 -%changelog -n perl-Bootloader +%changelog ++ perl-Bootloader-0.5.21.tar.bz2 - perl-Bootloader-0.5.22.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.5.21/Makefile new/perl-Bootloader-0.5.22/Makefile --- old/perl-Bootloader-0.5.21/Makefile 2011-09-21 12:26:54.0 +0200 +++ new/perl-Bootloader-0.5.22/Makefile 2011-10-14 09:32:09.0 +0200 @@ -119,4 +119,4 @@ clean: if [ -f .exportdir ] [ -d $$(.exportdir) ]; then echo $$(.exportdir); rm -rf $$(.exportdir); fi - rm -f .exportdir .built .submitted + rm -f .exportdir .built .submitted *~ */*~ */*/*~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.5.21/perl-Bootloader.changes new/perl-Bootloader-0.5.22/perl-Bootloader.changes --- old/perl-Bootloader-0.5.21/perl-Bootloader.changes 2011-09-21 12:26:54.0 +0200 +++ new/perl-Bootloader-0.5.22/perl-Bootloader.changes 2011-10-14 09:32:09.0 +0200 @@ -1,4 +1,11 @@ --- +Fri Oct 14 09:31:40 CEST 2011 - snw...@suse.de + +- support more devices in fallback heuristics +- add basic grub2 support to update-bootloader +- 0.5.22 + +--- Wed Sep 21 12:26:34 CEST 2011 - snw...@suse.de - also log udevinfo diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.5.21/src/Core/GRUB.pm new/perl-Bootloader-0.5.22/src/Core/GRUB.pm --- old/perl-Bootloader-0.5.21/src/Core/GRUB.pm 2011-09-21 12:26:54.0 +0200 +++ new/perl-Bootloader-0.5.22/src/Core/GRUB.pm 2011-10-14 09:32:09.0 +0200 @@ -394,7 +394,7 @@ $partition = undef; if ( -$original =~ m#^/dev/[hs]d[a-z]{1,2}(\d+)$# || +$original =~ m#^/dev/(?:vx|das|[ehpsvx])d[a-z]{1,2}(\d+)$# || $original =~ m#^/dev/\S+\-part(\d+)$# || $original =~ m#^/dev(?:/[^/]+){1,2}p(\d+)$# ) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.5.21/update-bootloader new/perl-Bootloader-0.5.22/update-bootloader --- old/perl-Bootloader-0.5.21/update-bootloader2011-09-21 12:26:54.0 +0200 +++ new/perl-Bootloader-0.5.22/update-bootloader2011-10-14 09:32:09.0 +0200 @@ -212,6 +212,26 @@ exit 0; } +if (Bootloader::Tools::GetBootloader() eq grub2) +{ + open (LOG, $logname); + print LOG (grub2 bootloader, let grub2-mkconfig handle
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at Wed Sep 21 17:16:49 CEST 2011. --- perl-Bootloader/perl-Bootloader.changes 2011-09-19 16:56:38.0 +0200 +++ /mounts/work_src_done/STABLE/perl-Bootloader/perl-Bootloader.changes 2011-09-21 12:27:59.0 +0200 @@ -1,0 +2,6 @@ +Wed Sep 21 12:26:34 CEST 2011 - snw...@suse.de + +- also log udevinfo +- 0.5.21 + +--- calling whatdependson for head-i586 Old: perl-Bootloader-0.5.20.tar.bz2 New: perl-Bootloader-0.5.21.tar.bz2 Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.WRvUXg/_old 2011-09-21 17:16:40.0 +0200 +++ /var/tmp/diff_new_pack.WRvUXg/_new 2011-09-21 17:16:40.0 +0200 @@ -1,5 +1,5 @@ # -# spec file for package perl-Bootloader (Version 0.5.20) +# spec file for package perl-Bootloader (Version 0.5.21) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -11,7 +11,7 @@ # norootforbuild Name: perl-Bootloader -Version:0.5.20 +Version:0.5.21 Release:0 Requires: perl-base = %{perl_version} Requires: e2fsprogs ++ perl-Bootloader-0.5.20.tar.bz2 - perl-Bootloader-0.5.21.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.5.20/perl-Bootloader.changes new/perl-Bootloader-0.5.21/perl-Bootloader.changes --- old/perl-Bootloader-0.5.20/perl-Bootloader.changes 2011-09-19 16:55:38.0 +0200 +++ new/perl-Bootloader-0.5.21/perl-Bootloader.changes 2011-09-21 12:26:54.0 +0200 @@ -1,4 +1,10 @@ --- +Wed Sep 21 12:26:34 CEST 2011 - snw...@suse.de + +- also log udevinfo +- 0.5.21 + +--- Mon Sep 19 16:54:56 CEST 2011 - snw...@suse.de - add warning to log if udev is missing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.5.20/src/Tools.pm new/perl-Bootloader-0.5.21/src/Tools.pm --- old/perl-Bootloader-0.5.20/src/Tools.pm 2011-09-19 16:55:38.0 +0200 +++ new/perl-Bootloader-0.5.21/src/Tools.pm 2011-09-21 12:26:54.0 +0200 @@ -436,7 +436,12 @@ if(!(keys %mapping)) { $logger-milestone(*** WARNING: No UDEV mapping! ***); $logger-milestone(device tree:); -for (`find -L /dev -type b 2/dev/null`) { +for (`find -P /dev -type b -ls 2/dev/null`) { + chomp; + $logger-milestone( $_); +} +$logger-milestone(udevinfo:); +for (`udevadm info -e 21`) { chomp; $logger-milestone( $_); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/perl-Bootloader-0.5.20/version new/perl-Bootloader-0.5.21/version --- old/perl-Bootloader-0.5.20/version 2011-09-19 16:55:38.0 +0200 +++ new/perl-Bootloader-0.5.21/version 2011-09-21 12:26:54.0 +0200 @@ -1 +1 @@ -0.5.20 +0.5.21 Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at Mon Sep 19 21:15:44 CEST 2011. --- perl-Bootloader/perl-Bootloader.changes 2011-02-21 17:11:11.0 +0100 +++ /mounts/work_src_done/STABLE/perl-Bootloader/perl-Bootloader.changes 2011-09-19 16:56:38.0 +0200 @@ -1,0 +2,28 @@ +Mon Sep 19 16:54:56 CEST 2011 - snw...@suse.de + +- add warning to log if udev is missing +- 0.5.20 + +--- +Fri Sep 2 14:08:54 CEST 2011 - snw...@suse.de + +- use UnixDev2GrubDev() from sle11-sp2 +- 0.5.19 + +--- +Mon Aug 1 14:39:07 UTC 2011 - jreidin...@novell.com + +- prepare for use perl-Bootloader for other boot management tools + (bnc#672471#c8) +- change behavior during kernel update to first try use parameters + from fitting section and have sysconfig only as failsafe + (FATE#310946) +- 0.5.18 + +--- +Fri May 13 12:19:30 CEST 2011 - snw...@suse.de + +- fix conversion function from unix disk names to grub names (bnc #688418) +- 0.5.17 + +--- calling whatdependson for head-i586 Old: perl-Bootloader-0.5.16.tar.bz2 New: perl-Bootloader-0.5.20.tar.bz2 Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.atnCMF/_old 2011-09-19 21:15:40.0 +0200 +++ /var/tmp/diff_new_pack.atnCMF/_new 2011-09-19 21:15:40.0 +0200 @@ -1,26 +1,18 @@ # -# spec file for package perl-Bootloader +# spec file for package perl-Bootloader (Version 0.5.20) # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. # -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An Open Source License is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild - Name: perl-Bootloader -Version:0.5.16 -Release:1 +Version:0.5.20 +Release:0 Requires: perl-base = %{perl_version} Requires: e2fsprogs Recommends: perl-gettext @@ -34,6 +26,7 @@ Source3:boot.readme BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl +Conflicts: multipath-tools 0.4.8-40.25.1 #!BuildIgnore: mdadm e2fsprogs limal-bootloader %description @@ -50,6 +43,9 @@ %prep %setup -q +rm -rf perl-Bootloader-testsuite +mkdir -p lib +mv src lib/Bootloader %build touch Makefile.PL @@ -110,4 +106,4 @@ /boot/boot.readme %dir %attr(0700,root,root) /var/log/YaST2 -%changelog +%changelog -n perl-Bootloader ++ perl-Bootloader-0.5.16.tar.bz2 - perl-Bootloader-0.5.20.tar.bz2 ++ 25348 lines of diff (skipped) Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit perl-Bootloader for openSUSE:Factory
Hello community, here is the log from the commit of package perl-Bootloader for openSUSE:Factory checked in at Mon Feb 21 16:58:45 CET 2011. --- perl-Bootloader/perl-Bootloader.changes 2011-01-04 14:29:46.0 +0100 +++ /mounts/work_src_done/STABLE/perl-Bootloader/perl-Bootloader.changes 2011-02-17 13:30:31.0 +0100 @@ -1,0 +2,7 @@ +Thu Feb 17 12:29:28 UTC 2011 - lnus...@suse.de + +- own /var/log/YaST2 as perl-Bootloader can be installed without + yast but spams stderr with debug output if the log dir is not + present. + +--- calling whatdependson for head-i586 Other differences: -- ++ perl-Bootloader.spec ++ --- /var/tmp/diff_new_pack.V73Pmf/_old 2011-02-21 16:58:16.0 +0100 +++ /var/tmp/diff_new_pack.V73Pmf/_new 2011-02-21 16:58:16.0 +0100 @@ -1,5 +1,5 @@ # -# spec file for package perl-Bootloader (Version 0.5.15) +# spec file for package perl-Bootloader # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -20,7 +20,7 @@ Name: perl-Bootloader Version:0.5.15 -Release:1 +Release:6 Requires: perl-base = %{perl_version} Requires: e2fsprogs Recommends: perl-gettext @@ -58,6 +58,7 @@ pod2man %{SOURCE1} | gzip update-bootloader.8.gz %install +install -d -m 700 $RPM_BUILD_ROOT/var/log/YaST2 make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist mkdir -p $RPM_BUILD_ROOT/sbin @@ -107,5 +108,6 @@ /sbin/update-bootloader /usr/lib/bootloader /boot/boot.readme +%dir %attr(0700,root,root) /var/log/YaST2 %changelog Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org