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

Bug#868852: marked as done (debian-installer: hd-media images should have LVM support to find ISO in logical volumes)



Your message dated Mon, 04 Dec 2017 09:35:54 +0000
with message-id <E1eLnAI-0003Qa-6G@fasolo.debian.org>
and subject line Bug#868852: fixed in debian-installer 20171204
has caused the Debian Bug report #868852,
regarding debian-installer: hd-media images should have LVM support to find ISO in logical volumes
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.)


-- 
868852: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868852
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: debian-installer
Version: 20170615
Severity: wishlist
Tags: patch
User: devel@kali.org
Usertags: origin-kali kali-patch

I would like the hd-media images to include the "md-modules" and
"lvm2-udeb" udebs so that we can find the ISO image on LVM logical volumes
too.

The attached patch implements this. Does anybody have an objection or can
I commit this ?

The cost on the initrd.gz seems to be about 1.24Mb (the above udebs have
dependencies): my rebuilt initrd.gz is 17169667 bytes while the current
one on the daily-build seems to be 15862910 bytes.

Cheers,
 Raphaël.

-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: https://www.freexian.com/services/debian-lts.html
Learn to master Debian: https://debian-handbook.info/get/
>From 2b6285718813fc191befc46c2640f1766122c718 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= <hertzog@debian.org>
Date: Tue, 18 Jul 2017 17:05:04 +0200
Subject: [PATCH] Include udebs for LVM support in hd-media images

Update the hd-media image to include udebs required to detect
LVM logical volumes too (so that we can find the ISO in logical
volumes too).

lvm2-udeb is linux specific so we add the required udebs only in
the configuration files for linux architectures.
---
 build/pkg-lists/hd-media/amd64.cfg | 4 ++++
 build/pkg-lists/hd-media/armhf.cfg | 4 ++++
 build/pkg-lists/hd-media/i386.cfg  | 4 ++++
 debian/changelog                   | 5 +++++
 4 files changed, 17 insertions(+)

diff --git a/build/pkg-lists/hd-media/amd64.cfg b/build/pkg-lists/hd-media/amd64.cfg
index f020155a6..c33684b96 100644
--- a/build/pkg-lists/hd-media/amd64.cfg
+++ b/build/pkg-lists/hd-media/amd64.cfg
@@ -26,6 +26,10 @@ cdrom-core-modules-${kernel:Version}
 fat-modules-${kernel:Version}
 ext4-modules-${kernel:Version}
 
+# We want to be able to find the iso in a LVM logical volume too
+md-modules-${kernel:Version}
+lvm2-udeb
+
 # the iso is loop-mounted
 loop-modules-${kernel:Version}
 
diff --git a/build/pkg-lists/hd-media/armhf.cfg b/build/pkg-lists/hd-media/armhf.cfg
index 638bea2dd..be08feff6 100644
--- a/build/pkg-lists/hd-media/armhf.cfg
+++ b/build/pkg-lists/hd-media/armhf.cfg
@@ -21,6 +21,10 @@ scsi-core-modules-${kernel:Version}
 scsi-modules-${kernel:Version}
 virtio-modules-${kernel:Version}
 
+# We want to be able to find the iso in a LVM logical volume too
+md-modules-${kernel:Version}
+lvm2-udeb
+
 loop-modules-${kernel:Version}
 
 input-modules-${kernel:Version} ?
diff --git a/build/pkg-lists/hd-media/i386.cfg b/build/pkg-lists/hd-media/i386.cfg
index f020155a6..c33684b96 100644
--- a/build/pkg-lists/hd-media/i386.cfg
+++ b/build/pkg-lists/hd-media/i386.cfg
@@ -26,6 +26,10 @@ cdrom-core-modules-${kernel:Version}
 fat-modules-${kernel:Version}
 ext4-modules-${kernel:Version}
 
+# We want to be able to find the iso in a LVM logical volume too
+md-modules-${kernel:Version}
+lvm2-udeb
+
 # the iso is loop-mounted
 loop-modules-${kernel:Version}
 
diff --git a/debian/changelog b/debian/changelog
index 9f5a86bfe..967ab9684 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,11 @@ debian-installer (201707XX) UNRELEASED; urgency=medium
   [ Martin Michlmayr ]
   * Drop orion5x-qnap image.
 
+  [ Raphaël Hertzog ]
+  * Update the hd-media image to include udebs required to detect
+    LVM logical volumes too (so that we can find the ISO in logical
+    volumes too).
+
  -- Cyril Brulebois <kibi@debian.org>  Thu, 22 Jun 2017 06:48:30 +0200
 
 debian-installer (20170615) unstable; urgency=medium
-- 
2.13.3


--- End Message ---
--- Begin Message ---
Source: debian-installer
Source-Version: 20171204

We believe that the bug you reported is fixed in the latest version of
debian-installer, 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 868852@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Cyril Brulebois <kibi@debian.org> (supplier of updated debian-installer 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: SHA256

Format: 1.8
Date: Mon, 04 Dec 2017 08:25:55 +0100
Source: debian-installer
Binary: debian-installer
Architecture: source
Version: 20171204
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Cyril Brulebois <kibi@debian.org>
Description:
 debian-installer - Debian Installer documentation
Closes: 868852
Changes:
 debian-installer (20171204) unstable; urgency=medium
 .
   [ John Paul Adrian Glaubitz ]
   * m68k: Add pata-modules to cdrom package list.
   * m68k: Add ide-core-modules and ide-modules to cdrom package list.
   * m68k: Use uncompressed kernel image by default.
 .
   [ Cyril Brulebois ]
   * Bump Linux kernel ABI from 4.12.0-1 to 4.12.0-2.
   * Add support for SNAPSHOT_TS to use a specific timestamp of the Debian
     archive on snapshot.debian.org instead of the detected mirror; disable
     Valid-Until check when this is requested, since signatures are likely
     expired. Most useful for bisecting when a specific regression was
     introduced. (See: #872598)
   * Update translation-status for the release.
 .
   [ Karsten Merker ]
   * Bump Linux kernel ABI from 4.12.0-2 to 4.13.0-1
 .
   [ Raphaël Hertzog ]
   * Update the hd-media image to include udebs required to detect
     LVM logical volumes too (so that we can find the ISO in logical
     volumes too). Closes: #868852
Checksums-Sha1:
 9147b1d81c95492616b91fef250bc1f6479be18f 3450 debian-installer_20171204.dsc
 1dc6f053853778ee9e3d45d5f89b8ada40ff8d4e 1388726 debian-installer_20171204.tar.gz
 cf0c0246d312dda2d7f51619c2db437826be532c 10707 debian-installer_20171204_source.buildinfo
Checksums-Sha256:
 c240e56a6c4109cfc7b8e1ddebccf914efa2b3a8e4b98600c895bd824cdd0091 3450 debian-installer_20171204.dsc
 553e7b2ce9fde8f54b3c2be050e77d6525cd720ec15af508c1161bcb450f9096 1388726 debian-installer_20171204.tar.gz
 df9384619f301a931320aff6ac18d168319d4352fc40461b7abaa6f8a9ef1701 10707 debian-installer_20171204_source.buildinfo
Files:
 009041e521aa9b7d2c0f1d8ee851acde 3450 devel optional debian-installer_20171204.dsc
 bc1111c077a414acc69030730db40527 1388726 devel optional debian-installer_20171204.tar.gz
 e3b21abcdd1fced56f2816639a4c46e8 10707 devel optional debian-installer_20171204_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAlok+o4ACgkQ/5FK8MKz
VSAhPQ/9EWxpWieTn8qaZTmAnrOmfNv7k3gJuUnFmqeWE8FmCgH7OWFAU2pTwhH/
pS8xodWDTsz7j/EwWLALJTB9VIU3/CT2Sa+ISC/+K3viMbYlg39KjPSJmdfTvdYK
RPTZ2KzrOmiR6SwYVP1CR3xBFpB+JK9+E0c14N6DI4c93DlOECUcrwUwBeP0CA4W
hgXeTp97kTaVX1VMSmmthEIadJ5bG4eVoKiW7ycen6qb78rk7tJQqlu/PGRQFnNw
fjDSkX5QLkTrLiXi0ZioMKs9VOGwL2srFcOtP5IjdDwDwXZ5b+ijgeRzYskMoe3F
RxNLcxttLTYuw9PLgV0jdysDATsdy6tt0ANY9YJYksE+ER+vtHmy7wIrrdivfAPb
DdQzdZxPQfTSjMmi4H9STgAYbZY31XYLwDYbA5rNbWoqKh6VfNVGB10wNEoyxZE8
K3R6UMGW6PVtXnccJMBcYGekiQ+wtHayqhzFFPguXRA9txF97vBrT/pbmWzUhqXh
nOqPxgvvQKtswd77vKCkAHGdmPeo3kQpl5JF09CZV9i9qTjkp15pzCiBmQJJfPZm
b2GvexjjBTWTpbSmnRc/CkgbkzH49WiLQLGHq+130UuEu1ogOrHvXBI36Y/f+mc2
9yK5mO3CgeZw0BQsnv43OwNLx3FLDh8tgCU2MMePTFbWiIXlKuI=
=pLZx
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: