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

Bug#381315: marked as done (initramfs-tools: install /usr/share/initramfs-tools/conf.d/* into initramfs image)



Your message dated Sat, 12 Aug 2006 04:02:08 -0700
with message-id <E1GBrFo-0003Vn-Bg@spohr.debian.org>
and subject line Bug#381315: fixed in initramfs-tools 0.73d
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: initramfs-tools
Version: 0.73
Severity: normal
Tags: patch

it seems that initramfs-tools includes the
/usr/share/initramfs-tools/conf.d snippets at build time, but does not
install them into the initramfs image.

attached patch is revision 198 from:

http://llama.freegeek.org/~vagrant/bzr-archives/initramfs-tools/vagrant-initramfs-tools

configuration files in /etc/initramfs-tools/conf.d will
override /usr/share/initramfs-tools/conf.d files of the same name.

live well,
  vagrant
=== modified file 'mkinitramfs'
--- mkinitramfs	
+++ mkinitramfs	
@@ -83,15 +83,14 @@
 
 . "${CONFDIR}/initramfs.conf"
 EXTRA_CONF=''
-for i in ${CONFDIR}/conf.d/*; do
+for i in /usr/share/initramfs-tools/conf.d/* ${CONFDIR}/conf.d/*; do
 	EXTRA_CONF="${EXTRA_CONF} $(basename $i | grep '^[a-z0-9][a-z0-9\._-]*$' | grep -v '\.dpkg-.*$')";
 done
 for i in ${EXTRA_CONF}; do
-	. ${CONFDIR}/conf.d/${i}
-done
-for i in /usr/share/initramfs-tools/conf.d/*; do
-	if [ -e $i ]; then
-		. ${i}
+	if [ -e  ${CONFDIR}/conf.d/${i} ]; then
+		. ${CONFDIR}/conf.d/${i}
+	elif [ -e  /usr/share/initramfs-tools/conf.d/${i} ]; then
+		. /usr/share/initramfs-tools/conf.d/${i}
 	fi
 done
 
@@ -204,7 +203,11 @@
 echo "DPKG_ARCH=${DPKG_ARCH}" > ${DESTDIR}/conf/arch.conf
 copy_exec "${CONFDIR}/initramfs.conf" /conf
 for i in ${EXTRA_CONF}; do
-	copy_exec "${CONFDIR}/conf.d/${i}" /conf/conf.d
+	if [ -e "${CONFDIR}/conf.d/${i}" /conf/conf.d ]; then
+		copy_exec "${CONFDIR}/conf.d/${i}" /conf/conf.d
+	elif [ -e "/usr/share/initramfs-tools/conf.d/${i}" ]; then
+		copy_exec "/usr/share/initramfs-tools/conf.d/${i}" /conf/conf.d
+	fi
 done
 echo "ROOT=${ROOT}" > ${DESTDIR}/conf/conf.d/root
 


--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.73d

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive:

initramfs-tools_0.73d.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.73d.dsc
initramfs-tools_0.73d.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.73d.tar.gz
initramfs-tools_0.73d_all.deb
  to pool/main/i/initramfs-tools/initramfs-tools_0.73d_all.deb



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

Debian distribution maintenance software
pp.
maximilian attems <maks@sternwelten.at> (supplier of updated initramfs-tools 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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 12 Aug 2006 09:43:55 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.73d
Distribution: unstable
Urgency: high
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@sternwelten.at>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 381315 382602
Changes: 
 initramfs-tools (0.73d) unstable; urgency=high
 .
   * scripts/local-top/mdraid: Fix path of expected mdadm config file.
     Thanks Daniel Dickinson <cshore@wightman.ca> for report. (closes: 382602)
 .
   * mkinitramfs: Treat /usr/share/initramfs-tools/conf.d config snippets as
     the configuration files in /etc/initramfs-tools/conf.d. A configuration
     file with the same name will override the first. (closes: 381315)
     Thanks Vagrant Cascadian <vagrant+bugs@freegeek.org> for the patch.
 .
   * mkinitramfs.8: Document conf.d existence.
 .
   * hooks/lvm: Really remove it, logic is in mkinitramfs.
 .
   * urgency high for the mdraid bug fix, rest is trivial.
Files: 
 ba5bf210ff825fe2b3eb5619404df320 625 utils optional initramfs-tools_0.73d.dsc
 3266cf0960af31d3c5fcab98dc70050d 46033 utils optional initramfs-tools_0.73d.tar.gz
 505d6ceb23bf79b54fa8022e6c87db33 51190 utils optional initramfs-tools_0.73d_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE3bRW6n7So0GVSSARAjm5AJ460fzw4/AdCIQBGLI6lnz2LEc5sgCggP/D
b1VuEckBrCOIc0qFc/sPkTA=
=EmrS
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: