All of lore.kernel.org
 help / color / mirror / Atom feed
* configure options when building from source
@ 2017-05-14 17:54 Beeblebrox
  2017-05-14 18:13 ` Andrei Borzenkov
  0 siblings, 1 reply; 2+ messages in thread
From: Beeblebrox @ 2017-05-14 17:54 UTC (permalink / raw)
  To: grub-devel

Hello, building Grub from source on FreeBSD with
./autogen.sh --disable-efiemu --disable-nls
./configure  --disable-efiemu --disable-nls

The resulting config is below
GRUB2 will be compiled with following components:
Platform: i386-pc
With devmapper support: No (need libdevmapper header)
With memory debugging: No
With disk cache statistics: No
With boot time statistics: No
efiemu runtime: No
grub-mkfont: Yes
grub-mount: No (need FUSE library)
starfield theme: No (No DejaVu found)
With libzfs support: Yes
Build-time grub-mkfont: No (no fonts)
Without unifont (no build-time grub-mkfont)
With liblzma from -llzma (support for XZ-compressed mips images)

I was unable to find documentation regarding config, so How can I:

* Enable grub-mount, grub-mkfont, unifont ?
All requirements (fuse, dejavu, fonts) are on the system. Is there a flag I must use? Most probably the path searched by Grub is different than on Linux. Where should I correct those?

* For starfield do I need to download a sepaarate repo?

* I install Grub as "gmake install DESTDIR=/usr/local/opt"
But trying for example "# grub-kbdcomp" I get:
-> cannot open /usr/local/share/grub/grub-mkconfig_lib: No such file or directory

* I need to generate mknetdir for pxe with UEFI option as well. Above config does not seem to have UEFI capability enabled - am I wrong?

Thanks & Regards
-- 
FreeBSD_amd64_12-Current_RadeonKMS
Please CC my email when responding, mail from list is not delivered.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: configure options when building from source
  2017-05-14 17:54 configure options when building from source Beeblebrox
@ 2017-05-14 18:13 ` Andrei Borzenkov
  0 siblings, 0 replies; 2+ messages in thread
From: Andrei Borzenkov @ 2017-05-14 18:13 UTC (permalink / raw)
  To: The development of GNU GRUB

14.05.2017 20:54, Beeblebrox пишет:
> Hello, building Grub from source on FreeBSD with
> ./autogen.sh --disable-efiemu --disable-nls
> ./configure  --disable-efiemu --disable-nls
> 
> The resulting config is below
> GRUB2 will be compiled with following components:
> Platform: i386-pc
> With devmapper support: No (need libdevmapper header)
> With memory debugging: No
> With disk cache statistics: No
> With boot time statistics: No
> efiemu runtime: No
> grub-mkfont: Yes
> grub-mount: No (need FUSE library)
> starfield theme: No (No DejaVu found)
> With libzfs support: Yes
> Build-time grub-mkfont: No (no fonts)
> Without unifont (no build-time grub-mkfont)
> With liblzma from -llzma (support for XZ-compressed mips images)
> 
> I was unable to find documentation regarding config, so How can I:
> 
> * Enable grub-mount, grub-mkfont, unifont ?

grub-mount requires fuse development (as is quite clearly written in
summary). Build time grub-mkfont is disabled because dejavu font was not
found (could be more clear here what is missing).

> All requirements (fuse, dejavu, fonts) are on the system. Is there a flag I must use? Most probably the path searched by Grub is different than on Linux. Where should I correct those?
> 

in configure.ac

> * For starfield do I need to download a sepaarate repo?
> 

What was not clear in "no DejaVu found"?

> * I install Grub as "gmake install DESTDIR=/usr/local/opt"
> But trying for example "# grub-kbdcomp" I get:
> -> cannot open /usr/local/share/grub/grub-mkconfig_lib: No such file or directory
> 

Paths are hardcoded during build. Installing in different directory does
not change them. This is more intended for packaging use.

> * I need to generate mknetdir for pxe with UEFI option as well. Above config does not seem to have UEFI capability enabled - am I wrong?
> 

You need to build grub for corresponding platform. You have built it for
i386-pc only.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-14 18:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-14 17:54 configure options when building from source Beeblebrox
2017-05-14 18:13 ` Andrei Borzenkov

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.