Your message dated Mon, 17 Apr 2017 15:49:07 +0000
with message-id <[email protected]>
and subject line Bug#860440: fixed in openstack-debian-images 1.19
has caused the Debian Bug report #860440,
regarding UEFI build will break UEFI boot on the build host
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
860440: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860440
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openstack-debian-images
Version: 1.14
Severity: serious
Tags: patch
Hi,
Just found and debugged this when integrating the arm64 build on
pettersson. The call to grub-install in the chroot is updating the
UEFI boot variables on the host, breaking its boot setup. Simple patch
makes all the difference.
-- System Information:
Debian Release: 8.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-0.bpo.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages openstack-debian-images depends on:
ii debootstrap 1.0.67
ii extlinux 3:6.03+dfsg-5+deb8u1
ii initramfs-tools 0.120+deb8u2
ii kpartx 0.5.0-6+deb8u2
ii mbr 1.1.11-5+b1
ii parted 3.2-7
ii qemu-utils 1:2.1+dfsg-12+deb8u6
openstack-debian-images recommends no packages.
openstack-debian-images suggests no packages.
-- no debconf information
>From 12c5e3a7de103e6cb73235cff6d11180a225c98c Mon Sep 17 00:00:00 2001
From: Steve McIntyre <[email protected]>
Date: Sun, 16 Apr 2017 22:37:32 +0100
Subject: [PATCH] Add --no-nvram to the grub-install command line
On a UEFI build on a UEFI-using host, this will otherwise modify the
UEFI variables on the host. We don't want that!
---
build-openstack-debian-image | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/build-openstack-debian-image b/build-openstack-debian-image
index fc405a2..3a8d7d6 100755
--- a/build-openstack-debian-image
+++ b/build-openstack-debian-image
@@ -608,7 +608,7 @@ GRUB_DISABLE_OS_PROBER=true" >>${MOUNT_DIR}/etc/default/grub
echo "grub-efi-${ARCH} grub2/force_efi_extra_removable boolean true" | chroot ${MOUNT_DIR} debconf-set-selections
chroot ${MOUNT_DIR} grub-mkconfig -o /boot/grub/grub.cfg
# Run grub from the chroot, pointing to the bind mounted /dev device.
- chroot ${MOUNT_DIR} grub-install --target=${GRUB_TARGET} --force-extra-removable --no-floppy --modules="part_msdos part_gpt" --grub-mkdevicemap=/boot/grub/device.map /dev/${LOOPRAW_DEVICE}
+ chroot ${MOUNT_DIR} grub-install --target=${GRUB_TARGET} --no-nvram --force-extra-removable --no-floppy --modules="part_msdos part_gpt" --grub-mkdevicemap=/boot/grub/device.map /dev/${LOOPRAW_DEVICE}
# Run grub from the host, pointing to the guest installation
#grub-install --no-floppy --modules=part_msdos --grub-mkdevicemap=${MOUNT_DIR}/boot/grub/device.map --root-directory=${MOUNT_DIR} /dev/${LOOPRAW_DEVICE}
umount ${MOUNT_DIR}/sys
--
2.1.4
--- End Message ---
--- Begin Message ---
Source: openstack-debian-images
Source-Version: 1.19
We believe that the bug you reported is fixed in the latest version of
openstack-debian-images, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (supplier of updated openstack-debian-images
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 17 Apr 2017 17:27:15 +0200
Source: openstack-debian-images
Binary: openstack-debian-images
Architecture: source amd64
Version: 1.19
Distribution: unstable
Urgency: medium
Maintainer: PKG OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Description:
openstack-debian-images - script to build a Debian image for OpenStack
Closes: 860440
Changes:
openstack-debian-images (1.19) unstable; urgency=medium
.
* Add --no-nvram when calling grub-install to avoid breaking UEFI boot on the
build host (Closes: #860440). Thanks to Steve McIntyre for reporting and
patch.
Checksums-Sha1:
7bb8ad7ae44296959e606ece9ae399a64102bc36 1719 openstack-debian-images_1.19.dsc
f165e439bb42cd3f87d37576ba6930d43846e6b1 19904
openstack-debian-images_1.19.tar.xz
9795b6d0fcfa99aeb7eb87292d3d55035b36b2dc 5799
openstack-debian-images_1.19_amd64.buildinfo
e2aaf26fad6998f14a15a0033064bd8cbe4a955c 19070
openstack-debian-images_1.19_amd64.deb
Checksums-Sha256:
0b729662cbc67c55e80984c88ef973d33193d61c3a8fb66936db3043efe0acf4 1719
openstack-debian-images_1.19.dsc
41423d426f562aed98c51e4a4b36867a4c64b1f785c558b25adff3b48e7c1843 19904
openstack-debian-images_1.19.tar.xz
f6d40f768514ecce1f177982e069ba3f8e495c46d2cf366bbc4ec7168698a9a2 5799
openstack-debian-images_1.19_amd64.buildinfo
4e4b4258cd47be0ea507946f827ad31942f2a83d799cef0c22ed12e57a681db3 19070
openstack-debian-images_1.19_amd64.deb
Files:
66d24e925535e459ac6bbcc1b808dfd9 1719 web extra
openstack-debian-images_1.19.dsc
2bf7ab391e346941d0321eac4eb6777e 19904 web extra
openstack-debian-images_1.19.tar.xz
9e96e2e9a6be624ccd8973a78f67ccbd 5799 web extra
openstack-debian-images_1.19_amd64.buildinfo
f32ca89e922a3823185c3632120ebd20 19070 web extra
openstack-debian-images_1.19_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAlj04OMACgkQ1BatFaxr
Q/6dsA//cmQ85K/UjaEBVFFozqwZo8U32DGPok4fuLj54h7d7ppeD4qjXEIZ01jG
VvTazb6Tefe52OdpOM/vww/TyxAopXgHEb84M6N9KYBF3Xt+VBF/dqhID+tY6Q4D
k/IRoQ4lIlXIM0+TCxdItnNdaWAs0fxHYMmWJYJiSlXa1vtHKXXmqCPjv1n/15a5
e1OtZSeynzWXr2y/uGM90ksmb+hcMDXQgVkaaOlML7jsMd2QfrMCr1vroghMIbNJ
IxslQnBg6k23oXnRvfB1LxEBOEi9OkK6GfZNmVIl9Ls+ldSZuKheXk8pmMdrdPpK
ajOkUFlY8Om5IJ7ck3RAVjM/akSuoPpE8lW0jia9DRyhh2hJsKQslapynsBnA3qZ
6pJp4LtqnvRqkhjNh0BVlCa6FtbimnghShOH+s7G235Qq/yUzSpMBWaztr3J9Nl+
vr4lZTOTOah/HX1bTI8XXMI35lI5xeunJMi3cgPi2e57H4KMEfqVwclZMJldiic7
VSkEu62qxuUxAw70rybppO9bBrRFj/XgwzbcKfO3GaZg6zMPCDT+t0zlP+Wtc6Ij
2lSSg3rXgQobWBab13xM22XbNkcQksg94P7yqt5b7x1dWw7pcJ+Fs5h5o9K3qOek
UJAN1aQlOYmZp66fL/a7E0hIpw23RQ9uBi/vMkCbRLYlj+e/QCE=
=ecX7
-----END PGP SIGNATURE-----
--- End Message ---