All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Schmitt via Grub-devel <grub-devel@gnu.org>
To: grub-devel@gnu.org
Cc: Thomas Schmitt <scdbackup@gmx.net>
Subject: How to test grub-install from git tree without "make install" ?
Date: Fri, 06 Jun 2025 11:15:53 +0200	[thread overview]
Message-ID: <25156484940533833495@scdbackup.webframe.org> (raw)

Hi,

i made a hopefully harmless change to grub-install-common.c in order to
avoid that backup files of /boot/grub/locale/*.mo get copied into
the resulting ISO image of grub-mkrescue when more than one
platform-target combination is configured. E.g. "x86_64-efi" together
with "i386-pc".
Begin of the thread which led to my change proposal:
  "Duplicate files /boot/grub/locale/*.mo~ in iso file made by grub-mkrescue"
  https://lists.gnu.org/archive/html/bug-grub/2025-05/msg00028.html
The change in question is in
  https://lists.gnu.org/archive/html/bug-grub/2025-06/msg00000.html

All my experiments with grub-mkrescue look like i did not damage
the backup functionality which old grub-mkrescue shares with
grub-install. Nevertheless i should test grub-install directly.
But i fail to find the word "grub-install" in GRUB's "./tests" tree.

Are there examples available how to test grub-install from the git tree
as sandbox user without endangering the system's bootably-installed
GRUB ?


Have a nice day :)

Thomas


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

                 reply	other threads:[~2025-06-06  9:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=25156484940533833495@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.