Bugzilla – Bug 1125307
master-boot-code grew by 10311.753x - wrong use of objcopy
Last modified: 2019-03-12 11:21:47 UTC
master-boot-code in openSUSE:Factory is ~128MiB big after the latest rebuild with an updated binutils.
This is due to an unnecessarily copied .note.gnu.property section in the ELF file.
What is this package actually used for - maybe it can just be dropped?
The package is used when you install your bootloader to a boot sector and want to make sure that MBR contains code which can actually load it (or other BL from the active partition). This is (when configured) a part of the installation of openSUSE.
However, is: Checking the YaST code, it looks to me like YaST currently uses similar functionality coming from syslinux. Which would mean that it is indeed not needed any more (I'm not aware of any other user and it was split off from the yast2-bootloader package from legal reasons).
Josef, could you, please, confirm that I did not miss anything and this "flaver" of generic boot code is not used any more?
Jiri - 5 years ago we switch from master-boot-code to syslinux, so it is no longer needed by us.
Then the question is: Why do we need it for gfxboot and installatino-image?
For the later I can understand it is a left-over, but for gfxboot...
It's not used in installation-images.
For gfxboot it's used in a testing function. But that could easily be replaced, afaics.
(In reply to Steffen Winterfeldt from comment #4)
> It's not used in installation-images.
OK, it is probably because of some dependencies, but the build log includes installing it :-)
> For gfxboot it's used in a testing function. But that could easily be
> replaced, afaics.
Makes sense to me.
> OK, it is probably because of some dependencies, but the build log includes installing it :-)
Possibly because of gfxboot.
This is an autogenerated message for OBS integration:
This bug (1125307) was mentioned in
https://build.opensuse.org/request/show/684229 Factory / gfxboot
gfxboot package was adapted and now it does not require master-boot-code package anymore (syslinux version is used instead).