All of lore.kernel.org
 help / color / mirror / Atom feed
* How to test the git clone without "make install" ?
@ 2024-06-14 14:16 Thomas Schmitt via Grub-devel
  2024-06-14 15:17 ` Maximilian Stendler
  2024-06-14 15:22 ` Vladimir 'phcoder' Serbinenko
  0 siblings, 2 replies; 6+ messages in thread
From: Thomas Schmitt via Grub-devel @ 2024-06-14 14:16 UTC (permalink / raw)
  To: grub-devel; +Cc: Thomas Schmitt

Hi,

on occasion of
  https://savannah.gnu.org/bugs/index.php?65880
  "heap-buffer-overflow in grub-mkrescue.c"
i try to get grub-mkrescue running from git.

My problem is that grub_util_get_pkglibdir() returns
  /usr/local/lib/grub
and grub_util_get_pkgdatadir() returns
  /usr/local/share/grub
which of course do not come with a Debian installation.
So grub-mkrescue produces only a very small ISO with no boot lures or
boot programs. Quite unrealistic for testing.

I was able to overcome this obstacle by
  ln -s /usr/lib/grub /usr/local/lib/grub
  ln -s /usr/share/grub /usr/local/share/grub
but i understand that now my grub-mkrescue actually copies the ISO content
from the Debian installation and not from the git clone.

The manual
  https://www.gnu.org/software/grub/manual/grub-dev/grub-dev.html
does not give me a clue how i would get the /usr/local/*/grub
directories populated with the files made from the git clone.
I guess "make install" would do it for me, but i fear that this does
too many other things to the GRUB installation of my vanilla Debian.
In general i would prefer to keep the git files away from any system
directory.

So what can i do to make the files built from git available to
./grub-mkrescue built from git, without frankensteining my Debian 12 ?


Have a nice day :)

Thomas


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

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

end of thread, other threads:[~2024-06-14 18:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-14 14:16 How to test the git clone without "make install" ? Thomas Schmitt via Grub-devel
2024-06-14 15:17 ` Maximilian Stendler
2024-06-14 15:22 ` Vladimir 'phcoder' Serbinenko
2024-06-14 17:27   ` [Solved] " Thomas Schmitt via Grub-devel
2024-06-14 17:29     ` Vladimir 'phcoder' Serbinenko
2024-06-14 18:12       ` Thomas Schmitt via Grub-devel

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.