Accepting request 487406 from Kernel:kdump

1

OBS-URL: https://build.opensuse.org/request/show/487406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kexec-tools?expand=0&rev=117
This commit is contained in:
Dominique Leuenberger 2017-04-20 18:47:08 +00:00 committed by Git OBS Bridge
commit e3753d0d57
2 changed files with 13 additions and 7 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/perl -w
#
# This program is free software; you can redistribute it and/or {{{
# modify it under the terms of the GNU General Public License
@ -152,12 +152,13 @@ if (!$section) {
my $image=$section->{"image"};
my $initrd=$section->{"initrd"};
# handle btfs /@ -> /
if (substr ($image, 0, 3) eq "/@/") {
$image = substr ($image, 2);
}
if ($initrd && substr ($initrd, 0, 3) eq "/@/") {
$initrd = substr ($initrd, 2);
for my $file ($image, $initrd) {
# handle btfs /@ -> /
$file =~ s!^/@/!/!;
# handle /boot on separate partition
if($file !~ m!^/boot/! && ! -e $file && -e "/boot$file") {
$file="/boot$file"
}
}
if ($debug) {

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 11 14:27:09 UTC 2017 - bwiedemann@suse.com
- fix kexec-bootloader with /boot partition (boo#1033599)
-------------------------------------------------------------------
Wed Feb 22 12:51:28 UTC 2017 - meissner@suse.com