From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: UEFI testing Date: Wed, 7 Feb 2018 10:58:05 +0100 Message-ID: <20180207105805.2e89bbac@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejMUZ-0001pI-My for guix-devel@gnu.org; Wed, 07 Feb 2018 04:58:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ejMUV-00021G-Sp for guix-devel@gnu.org; Wed, 07 Feb 2018 04:58:15 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:48742) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ejMUV-0001yQ-JV for guix-devel@gnu.org; Wed, 07 Feb 2018 04:58:11 -0500 Received: from localhost (178.113.157.80.wireless.dyn.drei.com [178.113.157.80]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 1D8313360432 for ; Wed, 7 Feb 2018 10:58:09 +0100 (CET) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Hi, at FOSDEM we've been talking about testing UEFI booting in Guix system tests. The command to use for that is: qemu-system-x86_64 -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin -m 1G -enable-kvm -hda ZZ -serial stdio The place where system tests are is gnu/tests/install.scm - it's using marionette-operating-system to prepare system tests. So qemu would have to do a full boot using "-bios". There's already an extlinux test there, so it should be easy to use that as a template (copy %test-installed-extlinux-os to %test-installed-efi-os and adapt it; also copy the %minimal-extlinux-os definition). run-install could gain an option for the bios - which would then be passed by %test-installed-efi-os . I don't have UEFI or a use for it, so this mail is just a heads-up.