Accepting request 158548 from system:install:head
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/158548 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/syslinux?expand=0&rev=48
This commit is contained in:
commit
bf20ce0d17
20
syslinux-4.04-localboot.diff
Normal file
20
syslinux-4.04-localboot.diff
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
diff --git a/core/localboot.inc b/core/localboot.inc
|
||||||
|
index 1fe3102..30f34fc 100644
|
||||||
|
--- a/core/localboot.inc
|
||||||
|
+++ b/core/localboot.inc
|
||||||
|
@@ -33,6 +33,15 @@ local_boot:
|
||||||
|
cmp ax,-1
|
||||||
|
je .int18
|
||||||
|
|
||||||
|
+ cmp ax,-2
|
||||||
|
+ jne .load
|
||||||
|
+
|
||||||
|
+ mov al,[DriveNumber]
|
||||||
|
+ cmp al,80h
|
||||||
|
+ mov al,80h
|
||||||
|
+ jnz .load
|
||||||
|
+ inc ax
|
||||||
|
+.load:
|
||||||
|
; Load boot sector from the specified BIOS device and jump to it.
|
||||||
|
mov dl,al
|
||||||
|
xor dh,dh
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 4 14:58:22 CET 2013 - snwint@suse.de
|
||||||
|
|
||||||
|
- localboot.diff: -2 boots next disk (bnc #807157)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 28 16:00:50 CET 2013 - snwint@suse.de
|
Thu Feb 28 16:00:50 CET 2013 - snwint@suse.de
|
||||||
|
|
||||||
|
@ -45,6 +45,7 @@ Patch7: %{name}-%{version}-gcc47.diff
|
|||||||
Patch8: %{name}-%{version}-isohybrid_efi.diff
|
Patch8: %{name}-%{version}-isohybrid_efi.diff
|
||||||
Patch9: %{name}-%{version}-isohybrid_efi_optional.diff
|
Patch9: %{name}-%{version}-isohybrid_efi_optional.diff
|
||||||
Patch10: %{name}-%{version}-isohybrid_mbr.diff
|
Patch10: %{name}-%{version}-isohybrid_mbr.diff
|
||||||
|
Patch11: %{name}-%{version}-localboot.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -71,6 +72,7 @@ Authors:
|
|||||||
%patch8 -p0
|
%patch8 -p0
|
||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
|
%patch11 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cp %{SOURCE2} .
|
cp %{SOURCE2} .
|
||||||
|
Loading…
Reference in New Issue
Block a user