From: Darren Hart <dvhart@linux.intel.com>
To: Dan Rosenqvist <danro@kth.se>,
"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Subject: Re: Minimal GPLv3-free x86 image
Date: Wed, 13 May 2015 21:24:51 -0700 [thread overview]
Message-ID: <D1796F74.CCED3%dvhart@linux.intel.com> (raw)
On 5/13/15, 12:11 AM, "Dan Rosenqvist" <danro@kth.se> wrote:
>Hi,
Hi Dan,
>
>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.
>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.
> 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?
>
>
>This methodology has previously been working with gentoo minimal builds.
Same version of Grub?
--
Darren
>
>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,
>Dan
>
>
>
>--
>_______________________________________________
>yocto mailing list
>yocto@yoctoproject.orghttps://lists.yoctoproject.org/listinfo/yocto
--
Darren Hart
Intel Open Source Technology Center
next reply other threads:[~2015-05-14 4:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-14 4:24 Darren Hart [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-05-13 7:11 Minimal GPLv3-free x86 image Dan Rosenqvist
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D1796F74.CCED3%dvhart@linux.intel.com \
--to=dvhart@linux.intel.com \
--cc=danro@kth.se \
--cc=paul.eggleton@linux.intel.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.