public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Daniel Machon <dmachon.dev@gmail.com>
To: isar-users@googlegroups.com
Cc: Daniel Machon <dama@universal-robots.com>
Subject: [PATCH] bootimg-efi-isar: add support for squashfs
Date: Wed, 30 Mar 2022 09:50:01 +0200	[thread overview]
Message-ID: <20220330075001.1640596-1-dama@universal-robots.com> (raw)

This patch adds support for squashfs in grub, when using grub loader
for EFI images. This is needed when the linux- or initrd image is
located in a squashfs filesystem.

Signed-off-by: Daniel Machon <dama@universal-robots.com>
---
 meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py b/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py
index d971254..78fabb8 100644
--- a/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py
+++ b/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py
@@ -355,7 +355,7 @@ class BootimgEFIPlugin(SourcePlugin):
                     grub_cmd += "terminal minicmd test loadenv echo help "
                     grub_cmd += "reboot serial terminfo iso9660 loopback tar "
                     grub_cmd += "memdisk ls search_fs_uuid udf btrfs xfs lvm "
-                    grub_cmd += "reiserfs regexp " + grub_modules
+                    grub_cmd += "reiserfs regexp squash4 " + grub_modules
                     exec_cmd(grub_cmd)
             elif source_params['loader'] == 'systemd-boot':
                 kernel_dir = os.path.join(rootfs_dir['ROOTFS_DIR'], "usr/lib/systemd/boot/efi/")
-- 
2.25.1


             reply	other threads:[~2022-03-30  7:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-30  7:50 Daniel Machon [this message]
2022-03-30  9:48 ` Henning Schild
2022-04-01  7:24   ` Daniel Machon
2022-04-01  7:33     ` Henning Schild

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=20220330075001.1640596-1-dama@universal-robots.com \
    --to=dmachon.dev@gmail.com \
    --cc=dama@universal-robots.com \
    --cc=isar-users@googlegroups.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox