Your message dated Wed, 28 Mar 2018 19:50:24 +0000 with message-id <[email protected]> and subject line Bug#884591: fixed in live-build 1:20180328 has caused the Debian Bug report #884591, regarding live-build: grub.cfg failsafe entries rework 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.) -- 884591: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=884591 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: live-build Version: 1:20171207 Severity: normal Control: tags -1 + patch Dear Maintainer, * What led up to the situation? I was trying to build a live cd that has both two kernels: 686 and amd64 and at the same time which would be any hybrid disk so that I can boot in a BIOS-only machine and in an UEFI-only machine. * What exactly did you do (or not do) that was effective (or ineffective)? I used these options: --linux-flavours="686 amd64" --bootloaders="syslinux,grub-efi" to build my system. * What was the outcome of this action? Failsafe entries were shown next to the autodetect entry for a default kernel. * What outcome did you expect instead? I expected to see specific autodetect failsafe entries that only are shown when the autodetect entries are used. * Patch attached I attach a patch that fixes this problem. Now failsafe entries are consistent in both autodetect entries and not autodetect entries. You can also find the same patch at: * Repo: https://github.com/rescatux/live-build.git * Branch: loopback_cfg_failsafe_rework -- System Information: Debian Release: 9.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages live-build depends on: ii debootstrap 1.0.89 Versions of packages live-build recommends: ii apt-utils 1.4.8 ii cpio 2.11+dfsg-6 pn live-boot-doc <none> pn live-config-doc <none> pn live-manual-html | live-manual <none> ii wget 1.18-5+deb9u1 live-build suggests no packages.>From 3be183c837df0cb11f8ea29e688f0e2002381b13 Mon Sep 17 00:00:00 2001 From: Adrian Gibanel Lopez <[email protected]> Date: Sat, 16 Dec 2017 23:01:33 +0000 Subject: [PATCH] Failsafe entries rework at binary_loopback_cfg --- scripts/build/binary_loopback_cfg | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/scripts/build/binary_loopback_cfg b/scripts/build/binary_loopback_cfg index 00f537c48..04a1624bc 100755 --- a/scripts/build/binary_loopback_cfg +++ b/scripts/build/binary_loopback_cfg @@ -199,14 +199,23 @@ if [ "${_AMD64_486_NUMBER}" -ge 2 ] ; then "/${INITFS}/${AMD64_INITRD}" \ "/${INITFS}/${_486_KERNEL}" \ "/${INITFS}/${_486_INITRD}" \ - "$APPEND_LIVE" + "${APPEND_LIVE}" + + if [ "${LB_BOOTAPPEND_LIVE_FAILSAFE}" != "none" ] + then + Grub_live_autodetect_entry "Live system (autodetect) (fail-safe mode)" \ + "/${INITFS}/${AMD64_KERNEL}" \ + "/${INITFS}/${AMD64_INITRD}" \ + "/${INITFS}/${_486_KERNEL}" \ + "/${INITFS}/${_486_INITRD}" \ + "${LB_BOOTAPPEND_LIVE_FAILSAFE}" + fi else Grub_live_entry "Live system" "/${INITFS}/${DEFAULT_KERNEL}" "/${INITFS}/${DEFAULT_INITRD}" "${APPEND_LIVE}" -fi - -if [ "${LB_BOOTAPPEND_LIVE_FAILSAFE}" != "none" ] -then - Grub_live_entry "Live system (fail-safe mode)" "/${INITFS}/${DEFAULT_KERNEL}" "/${INITFS}/${DEFAULT_INITRD}" "${LB_BOOTAPPEND_LIVE_FAILSAFE}" + if [ "${LB_BOOTAPPEND_LIVE_FAILSAFE}" != "none" ] + then + Grub_live_entry "Live system (fail-safe mode)" "/${INITFS}/${DEFAULT_KERNEL}" "/${INITFS}/${DEFAULT_INITRD}" "${LB_BOOTAPPEND_LIVE_FAILSAFE}" + fi fi _COUNT=0
--- End Message ---
--- Begin Message ---Source: live-build Source-Version: 1:20180328 We believe that the bug you reported is fixed in the latest version of live-build, 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. Luca Boccassi <[email protected]> (supplier of updated live-build 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: SHA512 Format: 1.8 Date: Wed, 28 Mar 2018 20:20:46 +0100 Source: live-build Binary: live-build Architecture: source Version: 1:20180328 Distribution: unstable Urgency: low Maintainer: Debian Live <[email protected]> Changed-By: Luca Boccassi <[email protected]> Description: live-build - Live System Build Components Closes: 821084 847919 867539 884585 884588 884591 885692 887278 891206 892406 Changes: live-build (1:20180328) unstable; urgency=low . [ Raphaƫl Hertzog ] * Restore i386/amd64 autodetection in grub after rename of i386 kernel from -486 to -686. Closes: #884585 Thanks to Adrian Gibanel Lopez for the patch. * Fix handling of multiple kernels in binary_loopback_cfg. Closes: #884588 Thanks to Adrian Gibanel Lopez for the patch. * Rework failsafe entries in grub configuration to be more consistent with the i386/amd64 autodetection entries. Closes: #884591 Thanks to Adrian Gibanel Lopez for the patch. * Add e2fsprogs to Suggests along with mtd-utils, parted. Closes: #887278 * Fix Check_package invocation in binary_hdd for ntfs-3g (/sbin/mkfs.nfts -> /sbin/mkfs.ntfs) * Run mksquashfs with nice -n 19 to not overload the system. Thanks to Ronny Standtke for the patch. (Closes: #867539) . [ Luca Boccassi ] * Fix build with local offline mirrors (Closes: #891206) . [ Rohan Garg ] * Simplify bootstrapping of foreign architectures with qemu-debootstrap (Closes: #847919) . [ Steven Shiau ] * Add grub-based UEFI boot support for ARM64 (Closes: #885692) . [ Luca Boccassi ] * UEFI: add minimal grub.cfg to fat32 partition (Closes: #892406) * UEFI: add support for Secure Boot on amd64 and arm64 (Closes: #821084) * UEFI: use uppercase EFI directory name for Tianocore * Add NEWS file to warn users about change of live-boot mount paths * Add options to build ONIE images * Add Acquire::AllowInsecureRepositories to fix apt-secure in sid * Use HTTPS in debian/copyright (policy 4.0.0). * Bump Standards-Version to 4.1.3. * Add myself to Uploaders. Checksums-Sha1: 2bb91698935a037d60f0a29481fab9d0f23c1715 1387 live-build_20180328.dsc 46bc43789d84dda51ed03fa059d142c0f0c7fadb 361620 live-build_20180328.tar.xz 806775a55de3524ba3d671db826f001deaea7c00 6195 live-build_20180328_source.buildinfo Checksums-Sha256: 1812e471b280f5b36daa3d2f07771a31ce62298857f0bfdf6f1548aa254d6f60 1387 live-build_20180328.dsc 478633fba556169327836bc10c4dfae2f6b27f0291aa1b9fc3e25e05b4e6c77a 361620 live-build_20180328.tar.xz f5417efb2bf5fd04c5bccd2c9c7d923284dcb090415b3bc40c81fe53d838bf7b 6195 live-build_20180328_source.buildinfo Files: 79278be4a1d1ec649c27e281da782e2f 1387 misc optional live-build_20180328.dsc 5cec1435c31ae22664d6e7a8a814d4bc 361620 misc optional live-build_20180328.tar.xz 5a49e94985ce25005db7dbf4b4765865 6195 misc optional live-build_20180328_source.buildinfo -----BEGIN PGP SIGNATURE----- iQFFBAEBCgAvFiEE6g0RLAGYhL9yp9G8SylmgFB4UWIFAlq765ARHGJsdWNhQGRl Ymlhbi5vcmcACgkQSylmgFB4UWL6mwf+OiR/mBMjfYJRlfVqp/hi18r4l3rk8HH/ EKAgx4k/367RfmeKziT14Kbc7AdvYLmsDit83YCbS+SWrgIHlbd8Gnl6OsJ7Cdnw /N0qnmAEdjDEHYXGyoJZ/+SiZ2WGf7KbN7FJ8icTNQPcaHFm7CCibyhA5v7bNjv1 EVsk+NTPRVBL4OfHzmN8BJgPraI9K4BRfrkSPNSU8uRxynjSzsXyePqZOi+4kT68 RHPdrWlKRSHdOK40ISZ4slMt+o1CcfuQIbntFtXAjEE8E8ZTEydzGAVSXE33B6lI PuoFHhtSlq39PGviaoLUlC9JNAN7Ac55atQtQcJIJNmel6myoyUZrg== =CNnt -----END PGP SIGNATURE-----
--- End Message ---
