Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:bmwiedemann:reproducible:test
syslinux
syslinux-4.04-isohybrid_mbr.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File syslinux-4.04-isohybrid_mbr.patch of Package syslinux
Index: syslinux-4.04/utils/isohybrid.c =================================================================== --- syslinux-4.04.orig/utils/isohybrid.c +++ syslinux-4.04/utils/isohybrid.c @@ -653,12 +653,10 @@ initialise_mbr(uint8_t *mbr) continue; } - if (i == 1) - mbr[0] = 0x80; - if (i == part_data) { chs = ofs2chs(offset); + mbr[0] = 0x80; mbr[1] = chs >> 8; mbr[2] = chs >> 16; mbr[3] = chs >> 24; @@ -945,7 +943,7 @@ main(int argc, char *argv[]) } if (!(mode & (MODE_MBR | MODE_GPT))) { - mode |= (mode & EFI) ? MODE_GPT : MODE_MBR; + mode |= MODE_MBR; } if ((mode & EFI) && !offset) type = 0;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor