Your message dated Wed, 28 Mar 2018 19:50:24 +0000
with message-id <e1f1h5u-000esz...@fasolo.debian.org>
and subject line Bug#885692: fixed in live-build 1:20180328
has caused the Debian Bug report #885692,
regarding live-build: [Patch] Support building ARM64 live system with EFI boot
mechanism
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 ow...@bugs.debian.org
immediately.)
--
885692: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885692
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: live-build
Version: 1:20171207
Severity: normal
Tags: patch
Dear Maintainer,
Attached please find the patch for creating EFI boot mechanism for ARM64
system.
It would be great to have this for creating ARM64 Debian live. My 2 cents.
-- Package-specific info:
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.12.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages live-build recommends:
ii apt-utils 1.6~alpha5
ii cpio 2.12+dfsg-6
pn live-boot-doc <none>
pn live-config-doc <none>
ii live-manual-html [live-manual] 2:20151217.1
ii wget 1.19.2-1
live-build suggests no packages.
-- no debconf information
--
Steven Shiau <steven _at_ stevenshiau org>
Public Key Server PGP Key ID: 4096R/163E3FB0
Fingerprint: EB1D D5BF 6F88 820B BCF5 356C 8E94 C9CD 163E 3FB0
Index: live-build-20171207/scripts/build/binary_grub-efi
===================================================================
--- live-build-20171207.orig/scripts/build/binary_grub-efi
+++ live-build-20171207/scripts/build/binary_grub-efi
@@ -41,12 +41,19 @@ Check_lockfile .lock
Create_lockfile .lock
# Check architecture
-Check_architectures amd64 i386
+Check_architectures amd64 i386 arm64
Check_crossarchitectures
# Checking depends
-Check_package chroot /usr/lib/grub/x86_64-efi/configfile.mod grub-efi-amd64-bin
-Check_package chroot /usr/lib/grub/i386-efi/configfile.mod grub-efi-ia32-bin
+case "${LB_LINUX_FLAVOURS}" in
+ amd64|486|586|686*|generic)
+ Check_package chroot /usr/lib/grub/x86_64-efi/configfile.mod
grub-efi-amd64-bin
+ Check_package chroot /usr/lib/grub/i386-efi/configfile.mod
grub-efi-ia32-bin
+ ;;
+ arm64)
+ Check_package chroot /usr/lib/grub/arm64-efi/configfile.mod
grub-efi-arm64-bin
+ ;;
+esac
Check_package chroot /usr/bin/grub-mkimage grub-common
Check_package chroot /usr/bin/mcopy mtools
Check_package chroot /sbin/mkfs.msdos dosfstools
@@ -67,7 +74,7 @@ Restore_cache cache/packages.binary
Install_package
# Cleanup files that we generate
-rm -rf binary/boot/efi.img binary/boot/grub/i386-efi/
binary/boot/grub/x86_64-efi
+rm -rf binary/boot/efi.img binary/boot/grub/i386-efi/
binary/boot/grub/x86_64-efi binary/boot/grub/arm64-efi
# This is workaround till both efi-image and grub-cpmodules are put into a
binary package
case "${LB_BUILD_WITH_CHROOT}" in
@@ -102,16 +109,28 @@ fi
PATH="${PATH}:\${LIVE_BUILD_PATH}" # Make sure grub-cpmodules is used as if it
was installed in the system
-"\${LIVE_BUILD_PATH}/efi-image" "${_CHROOT_DIR}/grub-efi-temp-x86_64-efi/"
"x86_64-efi" "x64" "debian-live/amd64"
-mkdir -p ${_CHROOT_DIR}/grub-efi-temp/efi/boot
-mcopy -n -i ${_CHROOT_DIR}/grub-efi-temp-x86_64-efi/efi.img
'::efi/boot/boot*.efi' ${_CHROOT_DIR}/grub-efi-temp/efi/boot
-cp -r "${_CHROOT_DIR}"/grub-efi-temp-x86_64-efi/*
"${_CHROOT_DIR}/grub-efi-temp/"
-
-"\${LIVE_BUILD_PATH}/efi-image" "${_CHROOT_DIR}/grub-efi-temp-i386-efi/"
"i386-efi" "ia32" "debian-live/i386"
-PATH="\${PRE_EFI_IMAGE_PATH}"
-mkdir -p ${_CHROOT_DIR}/grub-efi-temp/efi/boot
-mcopy -n -i ${_CHROOT_DIR}/grub-efi-temp-i386-efi/efi.img
'::efi/boot/boot*.efi' ${_CHROOT_DIR}/grub-efi-temp/efi/boot
-cp -r "${_CHROOT_DIR}"/grub-efi-temp-i386-efi/* "${_CHROOT_DIR}/grub-efi-temp/"
+case "${LB_LINUX_FLAVOURS}" in
+ amd64|486|586|686*|generic)
+ "\${LIVE_BUILD_PATH}/efi-image"
"${_CHROOT_DIR}/grub-efi-temp-x86_64-efi/" "x86_64-efi" "x64"
"debian-live/amd64"
+ mkdir -p ${_CHROOT_DIR}/grub-efi-temp/efi/boot
+ mcopy -n -i ${_CHROOT_DIR}/grub-efi-temp-x86_64-efi/efi.img
'::efi/boot/boot*.efi' ${_CHROOT_DIR}/grub-efi-temp/efi/boot
+ cp -r "${_CHROOT_DIR}"/grub-efi-temp-x86_64-efi/*
"${_CHROOT_DIR}/grub-efi-temp/"
+
+ "\${LIVE_BUILD_PATH}/efi-image"
"${_CHROOT_DIR}/grub-efi-temp-i386-efi/" "i386-efi" "ia32" "debian-live/i386"
+ PATH="\${PRE_EFI_IMAGE_PATH}"
+ mkdir -p ${_CHROOT_DIR}/grub-efi-temp/efi/boot
+ mcopy -n -i ${_CHROOT_DIR}/grub-efi-temp-i386-efi/efi.img
'::efi/boot/boot*.efi' ${_CHROOT_DIR}/grub-efi-temp/efi/boot
+ cp -r "${_CHROOT_DIR}"/grub-efi-temp-i386-efi/*
"${_CHROOT_DIR}/grub-efi-temp/"
+ ;;
+ arm64)
+ "\${LIVE_BUILD_PATH}/efi-image"
"${_CHROOT_DIR}/grub-efi-temp-arm64-efi/" "arm64-efi" "aa64" "debian-live/arm64"
+ mkdir -p ${_CHROOT_DIR}/grub-efi-temp/efi/boot
+ mcopy -n -i ${_CHROOT_DIR}/grub-efi-temp-arm64-efi/efi.img
'::efi/boot/boot*.efi' ${_CHROOT_DIR}/grub-efi-temp/efi/boot
+ cp -r "${_CHROOT_DIR}"/grub-efi-temp-arm64-efi/*
"${_CHROOT_DIR}/grub-efi-temp/"
+ PATH="\${PRE_EFI_IMAGE_PATH}"
+ ;;
+esac
+
# The code below is adapted from tools/boot/jessie/boot-x86
# in debian-cd
@@ -159,11 +178,13 @@ esac
# Remove unnecessary files
rm -f chroot/grub-efi-temp/bootnetia32.efi
rm -f chroot/grub-efi-temp/bootnetx64.efi
+rm -f chroot/grub-efi-temp/bootnetaa64.efi
mkdir -p binary
cp -r chroot/grub-efi-temp/* binary/
rm -rf chroot/grub-efi-temp-x86_64-efi
rm -rf chroot/grub-efi-temp-i386-efi
+rm -rf chroot/grub-efi-temp-arm64-efi
rm -rf chroot/grub-efi-temp
# We rely on: binary_loopback_cfg to generate grub.cfg and other configuration
files
Index: live-build-20171207/scripts/build/binary_loopback_cfg
===================================================================
--- live-build-20171207.orig/scripts/build/binary_loopback_cfg
+++ live-build-20171207/scripts/build/binary_loopback_cfg
@@ -43,7 +43,7 @@ Check_lockfile .lock
Create_lockfile .lock
# Check architecture
-Check_architectures amd64 i386
+Check_architectures amd64 i386 arm64
Check_crossarchitectures
# Variable used to embed newlines
--- 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 885...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Luca Boccassi <bl...@debian.org> (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 ftpmas...@ftp-master.debian.org)
-----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 <debian-live@lists.debian.org>
Changed-By: Luca Boccassi <bl...@debian.org>
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 ---