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

Bug#878430: marked as done (live-build: Don't fail when initramfs is not used)



Your message dated Thu, 07 Dec 2017 19:58:44 +0000
with message-id <E1eN2Jg-000A8B-TY@fasolo.debian.org>
and subject line Bug#878430: fixed in live-build 1:20171207
has caused the Debian Bug report #878430,
regarding live-build: Don't fail when initramfs is not used
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.)


-- 
878430: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878430
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-build
Version: 1:20170920
Severity: wishlist
Tags: patch

Dear Maintainers,

While current Debian kernels need initramfs to boot it should not be
required to build initramfs
for images created with live-build.

The attached patch fixes the place where image building failed while
testing with initramfs-less kernels in Ubuntu.

Cheers,
Balint

-- 
Balint Reczey
Debian Developer
From 16b7d6ac5f3ddcd70d3f322f36b6c4012c823db0 Mon Sep 17 00:00:00 2001
From: Balint Reczey <balint.reczey@canonical.com>
Date: Fri, 13 Oct 2017 19:08:53 +0200
Subject: [PATCH] Don't fail when initramfs is not used

---
 scripts/build/binary_linux-image | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/build/binary_linux-image b/scripts/build/binary_linux-image
index 6227a241c..12a6304a1 100755
--- a/scripts/build/binary_linux-image
+++ b/scripts/build/binary_linux-image
@@ -70,7 +70,7 @@ mkdir -p "${DESTDIR}"
 
 # Installing linux-image
 cp chroot/boot/"${LINUX}"-* "${DESTDIR}"
-cp chroot/boot/initrd.img-* "${DESTDIR}"
+cp chroot/boot/initrd.img-* "${DESTDIR}" 2>&1 || Echo_message "Skip installing missing initrd."
 
 case "${LB_INITRAMFS}" in
 	live-boot)
-- 
2.11.0


--- End Message ---
--- Begin Message ---
Source: live-build
Source-Version: 1:20171207

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

Debian distribution maintenance software
pp.
Raphaël Hertzog <hertzog@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: Thu, 07 Dec 2017 20:29:59 +0100
Source: live-build
Binary: live-build
Architecture: source
Version: 1:20171207
Distribution: unstable
Urgency: medium
Maintainer: Debian Live <debian-live@lists.debian.org>
Changed-By: Raphaël Hertzog <hertzog@debian.org>
Description:
 live-build - Live System Build Components
Closes: 878430 879169 881941
Changes:
 live-build (1:20171207) unstable; urgency=medium
 .
   * Use $SOURCE_DATE_EPOCH when updating timestamps of manual pages in order
     to make the package reproducible at build time. Closes: #879169
     Thanks to Chris Lamb <lamby@debian.org> for the patch.
   * Accept kernels without initrd. Closes: #878430
     Thanks to Balint Reczey <balint.reczey@canonical.com> for the patch.
   * Fix the way the .disk/mkisofs file is created. Closes: #881941
     Thanks to Daniel Reichelt <debian@nachtgeist.net> for the patch.
Checksums-Sha1:
 93578946f10e82657f39a0c8339e74baf23464f4 1384 live-build_20171207.dsc
 edbd56d52e77424679b586fcb509856d3a903832 354052 live-build_20171207.tar.xz
 e81544f466e8e3c0840572077a3e72fb2558b426 5258 live-build_20171207_source.buildinfo
Checksums-Sha256:
 b18b5100b32c252dbab7943c6ee4c080943b752c57786bdad40085948a276dda 1384 live-build_20171207.dsc
 523719e32b93011b32bd0102eb86f5d96b3f395808d751ba9bc4ff7b27152933 354052 live-build_20171207.tar.xz
 8628591b9d41b5cdf29edfb2971b85b11eac42aedb272f78e2056665cb2ec0a7 5258 live-build_20171207_source.buildinfo
Files:
 91b44de1be8c9cd7e047b5c946cc0488 1384 misc optional live-build_20171207.dsc
 bf5b0ea9e6aaa75adc7a1a60fb9f987e 354052 misc optional live-build_20171207.tar.xz
 b962b8a245c8b604e512b519430a0bc6 5258 misc optional live-build_20171207_source.buildinfo

-----BEGIN PGP SIGNATURE-----
Comment: Signed by Raphael Hertzog

iQEzBAEBCgAdFiEE1823g1EQnhJ1LsbSA4gdq+vCmrkFAloplt8ACgkQA4gdq+vC
mrmLiggAusloDNbu1addjOb6+mtC6goQMzVoZX0f9KIDWsuMbEF6szLUn0KLuPoX
Myv7T8OzntbpOJ4X1SCbQsUMw/7sP8l3gf1WFOtLWxU2MB0uo5GbgilGSIoODF8J
TrJefTl78KtIXPcwvPgQLXTY4BrsX6V2wYelh+GCmKOHUj8gGyUb9P0t0KSxLm1P
pEV0nWIPybTpsIz/g/ixBmyyiV97GMGvzND9048yKD/UPyb+mQcJhhcNlez5r6or
zUmM/FfucB/ydDnYouPZh5s3gD2UpIquqVGx17+qyvOb7XYGTt5XBCT67QbpPrL0
fzIt7Tc8mTkQ9QzUw2+2167Xp7OEUg==
=B1C1
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: