How to test the git clone without "make install" ?

2024-06-14 Thread Thomas Schmitt via Grub-devel
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 whi

Re: How to test the git clone without "make install" ?

2024-06-14 Thread Vladimir 'phcoder' Serbinenko
Set pkgdatadir environment variable Le ven. 14 juin 2024, 16:17, Thomas Schmitt via Grub-devel < grub-devel@gnu.org> a écrit : > 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. >

Re: How to test the git clone without "make install" ?

2024-06-14 Thread Maximilian Stendler
Hi Thomas, to keep the host installation clean, I would probably use a container. So if you are familiar with Podman or Docker, take a look at this: https://github.com/stendler/grub-fde/blob/main/Containerfile You could then use a volume mount for any input files from your host and to retrieve th

Re: [PATCH 1/2] loader/efi/fdt: Add fdtdump command to access device tree

2024-06-14 Thread Daniel Kiper
On Wed, Jun 12, 2024 at 01:12:28PM +0200, Tobias Heider wrote: > The fdtdump command allows dumping arbitrary device tree properties > and saving them to a variable similar to the smbios command. > > This is useful in scripts where further actions such as selecting a > kernel or loading another dev

Re: [PATCH 2/2] docs: document fdtdump command

2024-06-14 Thread Daniel Kiper
On Wed, Jun 12, 2024 at 01:12:29PM +0200, Tobias Heider wrote: > Signed-off-by: Tobias Heider > --- > docs/grub.texi | 26 ++ > 1 file changed, 26 insertions(+) > > diff --git a/docs/grub.texi b/docs/grub.texi > index f3bdc2564..a050dc0fc 100644 > --- a/docs/grub.texi > ++

Re: [PATCH 1/2] loader/efi/fdt: Add fdtdump command to access device tree

2024-06-14 Thread Tobias Heider
On Fri, Jun 14, 2024 at 06:03:23PM +0200, Daniel Kiper wrote: > On Wed, Jun 12, 2024 at 01:12:28PM +0200, Tobias Heider wrote: > > The fdtdump command allows dumping arbitrary device tree properties > > and saving them to a variable similar to the smbios command. > > > > This is useful in scripts w

Re: [RESEND V2] ieee1275/ofdisk: vscsi lun handling on lun len

2024-06-14 Thread Daniel Kiper
On Mon, Jun 10, 2024 at 11:29:56AM +0530, Mukesh Kumar Chaurasiya wrote: > The information about "vscsi-report-luns" data is a list of disk details > with pairs of memory addresses and lengths. > > 8 bytes 8 bytes > lun-addr ---> 8 byte

Re: [RESEND V5] ieee1275/ofdisk: retry on open and read failure

2024-06-14 Thread Daniel Kiper
On Mon, Jun 10, 2024 at 11:35:11AM +0530, Mukesh Kumar Chaurasiya wrote: > Sometimes, when booting from a very busy SAN, the access to the > disk can fail and then GRUB will eventually drop to GRUB prompt. > This scenario is more frequent when deploying many machines at > the same time using the sa

Re: [PATCH 1/2] zfs: Support zstd compression

2024-06-14 Thread Daniel Kiper
On Thu, May 16, 2024 at 10:42:25PM +0300, Vladimir Serbinenko wrote: > Signed-off-by: Vladimir Serbinenko > --- > grub-core/Makefile.core.def | 1 + > grub-core/fs/zfs/zfs.c | 32 > include/grub/zfs/zio.h | 1 + > 3 files changed, 34 insertions(+) > >

Re: [PATCH] Add --noefistub option for linux

2024-06-14 Thread Daniel Kiper
On Thu, May 16, 2024 at 09:43:46PM +0300, Vladimir Serbinenko wrote: > In some cases like loading kernel from native disk (e.g. nvme) not > supported by EFI in question efi stub is not an option. Allow > user to disable efi stub and fallback to older protocol I think this patch should be considere

Re: [PATCH] ofnet: Remove 200 ms timeout in get_card_packet to reduce input latency

2024-06-14 Thread Daniel Kiper
On Mon, May 06, 2024 at 10:34:22AM +0800, Michael Chang via Grub-devel wrote: > When grub image is netbooted on ppc64le, the keyboard input exhibits > significant latency, reports even say that characters are processed > about once per second. This issue makes interactively trying to debug a > ppc6

Re: [PATCH 1/2] loader/efi/fdt: Add fdtdump command to access device tree

2024-06-14 Thread Daniel Kiper
On Fri, Jun 14, 2024 at 06:26:00PM +0200, Tobias Heider wrote: > On Fri, Jun 14, 2024 at 06:03:23PM +0200, Daniel Kiper wrote: > > On Wed, Jun 12, 2024 at 01:12:28PM +0200, Tobias Heider wrote: > > > The fdtdump command allows dumping arbitrary device tree properties > > > and saving them to a vari

[Solved] Re: How to test the git clone without "make install" ?

2024-06-14 Thread Thomas Schmitt via Grub-devel
Hi, Maximilian Stendler wrote: > to keep the host installation clean, I would probably use a container. Yes, a virtual machine came to my mind. Easy to clone and to dispose. But there must be some better way to test a utility built from git independenly of systemwide directories. Vladimir 'phco

Re: [Solved] Re: How to test the git clone without "make install" ?

2024-06-14 Thread Vladimir 'phcoder' Serbinenko
Le ven. 14 juin 2024, 19:27, Thomas Schmitt via Grub-devel < grub-devel@gnu.org> a écrit : > Hi, > > Maximilian Stendler wrote: > > to keep the host installation clean, I would probably use a container. > > Yes, a virtual machine came to my mind. Easy to clone and to dispose. > But there must be s

[Solved] Re: How to test the git clone without "make install" ?

2024-06-14 Thread Thomas Schmitt via Grub-devel
Hi, i wrote: > > So i will start a new thread with the question: > > How do i convince the git clone to produce programs and ISO for 64 bit > > EFI. Vladimir 'phcoder' Serbinenko wrote: > ./configure --with-platform=efi --target=x86_64 Fast and concise as ever. :)) Thanks, Vladimir. It works i