- 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 OBS-URL: https://build.opensuse.org/package/show/Base:System/perl-Bootloader?expand=0&rev=95
This commit is contained in:
parent
495559b092
commit
a1f46221cf
@ -1,22 +0,0 @@
|
|||||||
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");
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:367c8bb7b507ca8c586c569637eaca47b0eda445dcd7b4caa77f90446337b3fc
|
|
||||||
size 147976
|
|
3
perl-Bootloader-0.709.tar.xz
Normal file
3
perl-Bootloader-0.709.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:59e21aefad4f1ef357e14de5aeb05a749cdf5e82ae78c2ebdb69903d8a00997a
|
||||||
|
size 148708
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 26 14:29:03 CEST 2013 - snwint@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 - dvaleev@suse.com
|
Tue Jul 2 08:29:00 UTC 2013 - dvaleev@suse.com
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-Bootloader
|
Name: perl-Bootloader
|
||||||
Version: 0.708
|
Version: 0.709
|
||||||
Release: 0
|
Release: 0
|
||||||
Requires: coreutils
|
Requires: coreutils
|
||||||
Requires: e2fsprogs
|
Requires: e2fsprogs
|
||||||
@ -27,7 +27,6 @@ Summary: Library for Configuring Boot Loaders
|
|||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: System/Boot
|
Group: System/Boot
|
||||||
Source: perl-Bootloader-%{version}.tar.xz
|
Source: perl-Bootloader-%{version}.tar.xz
|
||||||
Patch0: grub2-on-powerpc.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
Conflicts: multipath-tools < 0.4.8-40.25.1
|
Conflicts: multipath-tools < 0.4.8-40.25.1
|
||||||
@ -47,7 +46,6 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user