[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#847919: marked as done (live-build: Simplify live-build bootstrap code)



Your message dated Wed, 28 Mar 2018 19:50:24 +0000
with message-id <E1f1H5U-000Es3-Ba@fasolo.debian.org>
and subject line Bug#847919: fixed in live-build 1:20180328
has caused the Debian Bug report #847919,
regarding live-build: Simplify live-build bootstrap code
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 owner@bugs.debian.org
immediately.)


-- 
847919: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847919
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-build
Version: 1:20161202
Severity: normal

Dear Maintainer,
I've simplified the live-build code for bootstrapping foreign architectures
by using the qemu-debootstrap tool provided with qemu-user-static.

Please take a look at the attached patch.

Control: tag -1 + patch

-- Package-specific info:

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf, i386

Kernel: Linux 4.9.0-rc8-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=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 depends on:
ii  debootstrap  1.0.87

Versions of packages live-build recommends:
ii  apt-utils                       1.4~beta1
ii  cpio                            2.11+dfsg-6
ii  live-boot-doc                   1:20160511
ii  live-config-doc                 5.20160608
ii  live-manual                     2:20151217.1
ii  live-manual-epub [live-manual]  2:20151217.1
ii  live-manual-html [live-manual]  2:20151217.1
ii  live-manual-odf [live-manual]   2:20151217.1
ii  live-manual-pdf [live-manual]   2:20151217.1
ii  live-manual-txt [live-manual]   2:20151217.1
ii  wget                            1.18-4

live-build suggests no packages.

-- no debconf information
>From f17c04ab0cfca1a4d771226b42941be2cba653e9 Mon Sep 17 00:00:00 2001
From: Rohan Garg <rohan@garg.io>
Date: Mon, 12 Dec 2016 11:49:03 +0100
Subject: [PATCH] Run debootstrap with qemu-debootstrap if the binary is
 present

---
 scripts/build/bootstrap_debootstrap | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/scripts/build/bootstrap_debootstrap b/scripts/build/bootstrap_debootstrap
index a89fc42..419a031 100755
--- a/scripts/build/bootstrap_debootstrap
+++ b/scripts/build/bootstrap_debootstrap
@@ -108,12 +108,8 @@ then
 			DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --exclude=$(echo ${LB_BOOTSTRAP_QEMU_EXCLUDE} | sed 's|  *|,|g')"
 		fi
 
-		Echo_message "Bootstrap will be foreign"
-		debootstrap ${DEBOOTSTRAP_OPTIONS} --foreign "${LB_PARENT_DISTRIBUTION}" chroot "${LB_PARENT_MIRROR_BOOTSTRAP}" ${DEBOOTSTRAP_SCRIPT}
-
-		Echo_message "Running debootstrap second stage under QEMU"
-		cp ${LB_BOOTSTRAP_QEMU_STATIC} chroot/usr/bin
-		Chroot chroot /bin/sh /debootstrap/debootstrap --second-stage ${FOREIGN_DEBOOTSTRAP_OPTIONS}
+		Echo_message "Running debootstrap with qemu-debootstrap"
+		qemu-debootstrap ${DEBOOTSTRAP_OPTIONS} "${LB_PARENT_DISTRIBUTION}" chroot "${LB_PARENT_MIRROR_BOOTSTRAP}" ${DEBOOTSTRAP_SCRIPT}
 	else
 		debootstrap ${DEBOOTSTRAP_OPTIONS} "${LB_PARENT_DISTRIBUTION}" chroot "${LB_PARENT_MIRROR_BOOTSTRAP}" ${DEBOOTSTRAP_SCRIPT}
 	fi
-- 
2.10.2


--- 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 847919@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Luca Boccassi <bluca@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 ftpmaster@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 <bluca@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 ---

Reply to: