From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7319786719212994560 X-Received: by 2002:a2e:4c0a:0:b0:2cc:6dea:b5e3 with SMTP id z10-20020a2e4c0a000000b002cc6deab5e3mr7185635lja.6.1704270653399; Wed, 03 Jan 2024 00:30:53 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:a545:0:b0:2cc:bfcf:345c with SMTP id e5-20020a2ea545000000b002ccbfcf345cls650474ljn.2.-pod-prod-00-eu; Wed, 03 Jan 2024 00:30:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IEcmnVaGmEE5P1kIS6I6m9FG++NWxMDuy3hey9leT/9ZP0HleWEgrtJMzbasu0EScWN3FYg X-Received: by 2002:ac2:4a8c:0:b0:50e:61a9:87e0 with SMTP id l12-20020ac24a8c000000b0050e61a987e0mr354094lfp.2.1704270651385; Wed, 03 Jan 2024 00:30:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704270651; cv=none; d=google.com; s=arc-20160816; b=yf0EoYARY501w2wE+Z5nIJNkQbHwiyTPhicRDlDD3CkbZ5vgQlK8+5qhBQWP+zfULI LVn/Z0qacfhA3sYOUCm1oEb6xjUQN8XXd7670ZbMjRXb0ltwTJ3gR8G+zrzwtq7y2Eh8 bQFKgRzSURwUKoxZ8gH79vRO7zcli9qxiKsTaFZJAXjAB9aClCuYwGASp2/qZSPzUSRN yaF8o7PaY4H6GZvuhi1uYTYHufAXEJ0JpnAPEGxzaGhcthjQisLrnOaXMS/cw7TUxMzZ /p4BRj4kjGwbabCuNuESoJF8eSZdYyM+fhpl8p0/aevZpT/OOuiDobe1RoDbFkyVsAHh N6ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=iF5gx2R5bTBvSCMegU/VxAzh74p2XBr1qlw7UeYBgiE=; fh=/h9QQkzJ8EboVkWg45aWwpaUro6WMavIVd2OhN45RtE=; b=FCaRGH13/AhiMUaPG8AlQVu5vno/lecLPQNsJ2rnCYkMxqMJpXNiHqfFWlpjKBHS8x V1FH0mV0J846wSVGSBAczZwS5pkIar+juVrJzyel584aBrsTpsQzwciaTVdr7dB8XelG H3mtyjLeXQWWwmV3lVhEBdX0uF/GqvbxiUKkIJKBPdDmjf66jzPO4g+jRr1a78fQTNDs 1MVWmvZo2ORf5o3RgIqGBj8g//sHsHyfHSJyXHxVCG8dnFnwFNkUdsTe2Rpu2WBC9oxt yq+mW+siC8tlmqjEIKecIffLsNiqKBrEwBdVsBSnnBOtPSJedPbytAIT51OsW653plp9 vl9Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id t3-20020a195f03000000b0050e6b19b855si1248443lfb.11.2024.01.03.00.30.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 Jan 2024 00:30:51 -0800 (PST) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from user-B660.promwad.corp ([159.148.83.123]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 4038Un8G025453 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 3 Jan 2024 09:30:50 +0100 From: Anton Mikanovich To: isar-users@googlegroups.com Cc: Anton Mikanovich Subject: [PATCH] Fix GRUB booting on amd64 Ubuntu targets Date: Wed, 3 Jan 2024 10:30:43 +0200 Message-Id: <20240103083043.206874-1-amikan@ilbers.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: 3O/ktP2wzeIt GRUB bootloader requires linuxefi module to be installed on Ubuntu targets under amd64 architecture. Otherwise following error will occur: error: file `/EFI/BOOT/x86_64-efi/linuxefi.mod' not found. Signed-off-by: Anton Mikanovich --- meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py | 2 ++ 1 file changed, 2 insertions(+) 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 139ef466..b934d0c7 100644 --- a/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py +++ b/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py @@ -411,6 +411,8 @@ class BootimgEFIPlugin(SourcePlugin): grub_target = 'x86_64-efi' grub_image = "bootx64.efi" grub_modules = "multiboot efi_uga iorw ata " + if get_bitbake_var("DISTRO").startswith("ubuntu"): + grub_modules += "linuxefi " elif distro_arch == "i386": grub_target = 'i386-efi' grub_image = "bootia32.efi" -- 2.34.1