From: Thomas Schmitt via Grub-devel <grub-devel@gnu.org>
To: grub-devel@gnu.org
Cc: Thomas Schmitt <scdbackup@gmx.net>
Subject: [Solved] Re: How to test the git clone without "make install" ?
Date: Fri, 14 Jun 2024 19:27:09 +0200 [thread overview]
Message-ID: <9414315184721761826@scdbackup.webframe.org> (raw)
In-Reply-To: <CAEaD8JNdTJsB_VQQDKueZ8JC9xpp5JVSG0KEsw-pr0v8dakUFg@mail.gmail.com>
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 'phcoder' Serbinenko wrote:
> Set pkgdatadir environment variable
Ahum ...
rm /usr/local/share/grub
pkgdatadir=. ./grub-mkrescue -o /dvdbuffer/test.iso
yields indeed an ISO with EFI boot equipment.
But what to do about /usr/local/lib/grub ?
I found option -d meanwhile. After some forth and back i came to
pkgdatadir=. ./grub-mkrescue -o /dvdbuffer/test.iso -d ./grub-core
which to my surprise creates an ISO with boot equipment for legacy BIOS:
$ xorriso -indev /dvdbuffer/test.iso -report_el_torito plain -report_system_area plain
...
El Torito images : N Pltf B Emul Ld_seg Hdpt Ldsiz LBA
El Torito boot img : 1 BIOS y none 0x0000 0x00 4 1397
El Torito img path : 1 /boot/grub/i386-pc/eltorito.img
El Torito img opts : 1 boot-info-table grub2-boot-info
...
System area summary: MBR protective-msdos-label grub2-mbr cyl-align-off
...
MBR partition table: N Status Type Start Blocks
MBR partition : 1 0x80 0xcd 1 13783
While i used the Debian system directories it was EFI:
El Torito images : N Pltf B Emul Ld_seg Hdpt Ldsiz LBA
El Torito boot img : 1 UEFI y none 0x0000 0x00 5760 52
El Torito img path : 1 /efi.img
...
System area summary: MBR protective-msdos-label cyl-align-off GPT APM
...
MBR partition table: N Status Type Start Blocks
MBR partition : 1 0x00 0xee 1 18015
... and a GPT and an Apple Partition Map for HFS+ ...
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.
Have a nice day :)
Thomas
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
next prev parent reply other threads:[~2024-06-14 17:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Thomas Schmitt via Grub-devel [this message]
2024-06-14 17:29 ` [Solved] " Vladimir 'phcoder' Serbinenko
2024-06-14 18:12 ` Thomas Schmitt via Grub-devel
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=9414315184721761826@scdbackup.webframe.org \
--to=grub-devel@gnu.org \
--cc=scdbackup@gmx.net \
/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.