Minimal GPLv3-free x86 image
Quoted 1 line · Dan Rosenqvist
Hi,
Hi Dan,
Quoted 5 lines
I'm trying to create a minimal GPLv3-free x86 image using the yocto project. As I'm looking for ways around the GPLv3 license, I'm unable to use certain packages (such as the live-install which depends on parted, and grub-2.0).
First - I am not a lawyer - just getting that out there.
Quoted 2 lines
Instead I'm trying to create a minimal filesystem, stored as a tarball, which includes grub-0.97.
So dropping the live image type avoids the first set of issues.
Is your target system using legacy PC BIOS or UEFI?
If UEFI, then you can specify EFI_PROVIDER = "gummiboot" and use that instead of grub-efi as gummiboot is LGPL v2.
If you are using PC BIOS, have you considered not using grub at all and just relying on syslinux, GPL v2 or later.
Quoted 7 lines
To install the image in the target environment (currently a virtual machine) I use a small bootable linux image used to set up the partitions and extracting
the tarball image. After doing so, I mount proc and dev to be able to chroot into the target file system and run grub-install (to set up grub in the mbr). However, grub-install seem to segfault (a lot), and later prints out that the installation was successful.
Grub-install is a nightmare in my experience, and doubly so in atypical environments as you describe. Without a lot more diagnostics, straces, etc, I can't offer much advice.
Which device are you attempting to install grub to?
Quoted 3 lines
This methodology has previously been working with gentoo minimal builds.
Same version of Grub?
--
Darren
Quoted 14 lines
It feels like I can't be the only one who is in need of a minimalistic GPLv3-free x86 build, is there someone here who might be able to guide me in the right direction?
Regards,
DanSignature · 3 lines
_______________________________________________ yocto mailing list [email protected]://lists.yoctoproject.org/listinfo/yocto
Signature · 2 lines
Darren Hart Intel Open Source Technology Center