Received: from list by lists.gnu.org with archive (Exim 4.71) id 1dmlin-0007HZ-EY for mharc-grub-devel@gnu.org; Tue, 29 Aug 2017 14:58:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmlil-0007HL-6S for grub-devel@gnu.org; Tue, 29 Aug 2017 14:58:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmlii-0004B0-5E for grub-devel@gnu.org; Tue, 29 Aug 2017 14:58:43 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:39855) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dmlih-00049h-SS for grub-devel@gnu.org; Tue, 29 Aug 2017 14:58:40 -0400 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v7TIwat5013508 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 29 Aug 2017 18:58:37 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v7TIwaPq008696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 29 Aug 2017 18:58:36 GMT Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v7TIwZhf028473; Tue, 29 Aug 2017 18:58:35 GMT Received: from olila.local.net-space.pl (/10.175.188.240) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 29 Aug 2017 11:58:35 -0700 Date: Tue, 29 Aug 2017 20:58:24 +0200 From: Daniel Kiper To: Konrad Rzeszutek Wilk Cc: xen-devel@lists.xenproject.org, grub-devel@gnu.org, Fu Wei Subject: Re: [PATCH 1/2] Fix util/grub.d/20_linux_xen.in: Add xen_boot command support for aarch64 Message-ID: <20170829185824.GC4452@olila.local.net-space.pl> References: <1503945615-1720-1-git-send-email-konrad.wilk@oracle.com> <1503945615-1720-2-git-send-email-konrad.wilk@oracle.com> <20170828184218.GA28293@char.us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170828184218.GA28293@char.us.oracle.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: userv0021.oracle.com [156.151.31.71] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-Received-From: 141.146.126.69 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 18:58:44 -0000 On Mon, Aug 28, 2017 at 02:42:18PM -0400, Konrad Rzeszutek Wilk wrote: > On Mon, Aug 28, 2017 at 02:40:14PM -0400, Konrad Rzeszutek Wilk wrote: > > Commit d33045ce7ffcb7c1e4a60c14d5ca64b36e3c5abe introduced > > the support for this, but it does not work under x86 (as it stops > > 20_linux_xen from running). > > > > The 20_linux_xen is run under a shell and any exits from within it: > > > > (For example on x86): > > + /usr/bin/grub2-file --is-arm64-efi /boot/xen-4.9.0.gz > > [root@tst063 grub]# echo $? > > 1 > > > > will result in 20_linux_xen exciting without continuing s/exciting/exiting/? > > and also causing grub2-mkconfig to stop processing. > > > > As in: > > git format-patch decided to eat this relevant part: > > [root@tst063 grub]# ./grub-mkconfig | tail > Generating grub configuration file ... > Found linux image: /boot/vmlinuz-4.13.0-0.rc5.git1.1.fc27.x86_64 > Found initrd image: /boot/initramfs-4.13.0-0.rc5.git1.1.fc27.x86_64.img > Found linux image: /boot/vmlinuz-0-rescue-ec082ee24aea41b9b16aca52a6d10cc2 > Found initrd image: /boot/initramfs-0-rescue-ec082ee24aea41b9b16aca52a6d10cc2.img > echo 'Loading Linux 0-rescue-ec082ee24aea41b9b16aca52a6d10cc2 ...' > linux /vmlinuz-0-rescue-ec082ee24aea41b9b16aca52a6d10cc2 root=/dev/mapper/fedora_tst063-root ro single > echo 'Loading initial ramdisk ...' > initrd /initramfs-0-rescue-ec082ee24aea41b9b16aca52a6d10cc2.img > } > } > > ### END /usr/local/etc/grub.d/10_linux ### > > ### BEGIN /usr/local/etc/grub.d/20_linux_xen ### > > root@tst063 grub]# In general LGTM. Though please repost this patch with full commit message? Daniel