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

Bug#685791: marked as done (support apt.conf.d in lb_chroot_apt)



Your message dated Thu, 06 Dec 2012 21:03:52 +0000
with message-id <E1Tgibo-0006pJ-3f@franck.debian.org>
and subject line Bug#685791: fixed in live-build 3.0~a69-1
has caused the Debian Bug report #685791,
regarding support apt.conf.d in lb_chroot_apt
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.)


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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

- -- Package-specific info:

- -- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-build depends on:
ii  debootstrap  1.0.42

Versions of packages live-build recommends:
ii  cpio                            2.11-8
ii  gnu-fdisk                       1.2.4-3.1
ii  live-boot-doc                   3.0~a35-1
ii  live-config-doc                 3.0~a33-1
ii  live-manual-html [live-manual]  1:3.0~a13-1

Versions of packages live-build suggests:
ii  dosfstools       3.0.13-1
ii  fakeroot         1.18.4-2
ii  genisoimage      9:1.1.11-2
ii  git              1:1.7.10.4-1
ii  memtest86+       4.20-1.1
ii  mtools           4.0.17-1
pn  parted           <none>
ii  squashfs-tools   1:4.2-5
ii  sudo             1.8.5p2-1
pn  syslinux | grub  <none>
pn  uuid-runtime     <none>
pn  win32-loader     <none>

- -- no debconf information

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

iQIcBAEBCAAGBQJQN5bKAAoJEKLHmb/f+NfCQyEP/1ByDxot5TetlE4A6TUdAxtU
6WTwhyJsCi//J0XEAcTKE57i1ofhAuQgVLEPgLjU0tIDE/OAB5Z7olQD6dAwSw3m
LAUaVK4XAXOdqp7BB72BxEXyFfjBlCu+jgY/LCAdbVQG7FXxneoLwHWnhKor92yU
VJv2/1C8TSt1nc06CCYMCSmtRdWmajv6XtWt0f1qfWN07DLaebjjqjH27NS4swTJ
X+m3HatF1sSI5LWnsnW9malCKJtuor0xwZ1hKKHJHLWLAUt2R2vipekFfo/6jHSW
BWQidYv3L/HLlbBsX6nWzb151IufQ+urBlsExdgcfpRtCepPTgvizvqPRjVYOwbS
yNhPp0f8YRMdzHBOxgkQiEYyAIKHIh1QD1lrFuZSSXfMrlE7AD+rtuCBOjbmI0Km
yZZsJyY6zIYL3D6kMFuo+Jezq7+8qYAfnpuDaSdc1ODh2FtLeSUWCH1yf0gCn41O
CNUAfQs6UFDApwcdq4wCwGN1P1bljzCEDNPzUYYq/Fs4AQszLZ4l/9+ewaf8Vpry
gkDF+NR2/bvo9gVqoY9044fodogypxF1E/Ugmu754lIYD5srLpExl9t39/IZNVq7
C0yZu5BqkS4WDwSQBzkuDTMMDXLa88Jc2UuHIHIRqWqf3f347x3n3VypQ+B4CVmH
QTSb/syMMYWtKERmVVX2
=W0Hf
-----END PGP SIGNATURE-----
--- a/scripts/build/lb_chroot_apt
+++ b/scripts/build/lb_chroot_apt
@@ -121,6 +121,19 @@ case "${1}" in
 			done
 		fi
 
+		if Find_files config/chroot_apt/*.conf
+		then
+			for _FILE in config/chroot_apt/*.conf
+			do
+				if [ -f chroot/etc/apt/apt.conf.d/$(basename ${_FILE}) ]
+				then
+					mv chroot/etc/apt/apt.conf.d/$(basename ${_FILE}) chroot/etc/apt/apt.conf.d/$(basename ${_FILE}).orig
+				fi
+
+				cp -aL ${_FILE} chroot/etc/apt/apt.conf.d
+			done
+		fi
+
 		if Find_files config/packages.chroot/*.deb || Find_files config/packages/*.deb
 		then
 			echo >> chroot/etc/apt/preferences
@@ -304,6 +317,24 @@ EOF
 				fi
 			done
 		fi
+
+		if Find_files config/chroot_apt/*.conf
+		then
+			for _FILE in config/chroot_apt/*.conf
+			do
+				if [ -f chroot/etc/apt/apt.conf.d/$(basename ${_FILE}) ]
+				then
+					mv chroot/etc/apt/apt.conf.d/$(basename ${_FILE}) chroot/etc/apt/apt.conf.d/$(basename ${_FILE}).orig
+				fi
+
+				cp -aL ${_FILE} chroot/etc/apt/apt.conf.d
+
+				if [ -f chroot/etc/apt/apt.conf.d/$(basename ${_FILE}) ]
+				then
+					mv chroot/etc/apt/apt.conf.d/$(basename ${_FILE}).orig chroot/etc/apt/apt.conf.d/$(basename ${_FILE})
+				fi
+			done
+		fi
 
 		if Find_files config/packages.chroot/*.deb || Find_files config/packages/*.deb
 		then

--- End Message ---
--- Begin Message ---
Source: live-build
Source-Version: 3.0~a69-1

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

Debian distribution maintenance software
pp.
Daniel Baumann <daniel@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@debian.org)


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

Format: 1.8
Date: Thu, 06 Dec 2012 21:09:00 +0100
Source: live-build
Binary: live-build live-build-cgi
Architecture: source all
Version: 3.0~a69-1
Distribution: unstable
Urgency: low
Maintainer: Debian Live Project <debian-live@lists.debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
Description: 
 live-build - Live System Build Scripts
 live-build-cgi - Live System Build Scripts (CGI frontend)
Closes: 685791
Changes: 
 live-build (3.0~a69-1) unstable; urgency=low
 .
   * Also avoiding to use xz compression for squashfs for kubuntu.
   * Removing some leftovers from stripped and minimal package lists.
   * Updating powerpc kernel list on ubuntu.
   * Adding dropped empty-line separator in defaults.
   * Adding dropped empty-line separator in binary_debian-installer.
   * Updating wording about regenerating config trees.
   * Correcting test for no config tree version number to match all other
     cases, not just lower-than-1.
   * Harmonizing apt configuration handling in chroot_archives.
   * Adding support for local apt conf.d snippets in archive definitions
     (Closes: #685791).
   * Ensuring that functions are either sources locally or globally, but
     not both.
   * Adding proper header to build.sh include.
   * Dropping ubuntu guards on firmware selection code, we're not enabling
     firmware inclusion in ubuntu mode anyway.
   * Adding back legacy filtering for firmware packages on squeeze when
     contrib or non-free is not enabled.
Checksums-Sha1: 
 9ad9d5989f60a22d581652df8cc9346c5eaf7018 1329 live-build_3.0~a69-1.dsc
 9a95c2ed98e9dc5b92fdb9be6840017368563910 162704 live-build_3.0~a69.orig.tar.xz
 94547e7fbda2b72b16ccfe1751db003c6bee7fb8 49920 live-build_3.0~a69-1.debian.tar.xz
 02de6714739add29762c39975a61fff330a4dab1 196064 live-build_3.0~a69-1_all.deb
 73b306b272fcbe6fbd095c232f83b6e7564fba71 74110 live-build-cgi_3.0~a69-1_all.deb
Checksums-Sha256: 
 9da025d1fef5c334a6a43227bd2ae5eaa4d236e5de31713928e1fa1009ee1f20 1329 live-build_3.0~a69-1.dsc
 aa4fd8e2ebece1d138aabe41d71b4c54241f677e765201c5e6ef8166459cfb5d 162704 live-build_3.0~a69.orig.tar.xz
 486f3529c081546188439a18d01a0963e7602b9e4c5ac82fc7b8f23ebf333eca 49920 live-build_3.0~a69-1.debian.tar.xz
 f7254ae196d7841a3252dc23ab52a8b3fe0a16cd434a362f02b93147756ae6d6 196064 live-build_3.0~a69-1_all.deb
 e28a36bd46b00665a3e8740f5002f930136062c8d87eed589cbf868862d4deed 74110 live-build-cgi_3.0~a69-1_all.deb
Files: 
 eaf3523b6215d3a012cdf00141eec173 1329 misc optional live-build_3.0~a69-1.dsc
 0e08d145275f45796a3a8a2783a0d00b 162704 misc optional live-build_3.0~a69.orig.tar.xz
 ce962b3e46be975871ea0339fdb3cf3d 49920 misc optional live-build_3.0~a69-1.debian.tar.xz
 eff9fb15c392f95f92c087ff8ecd7936 196064 misc optional live-build_3.0~a69-1_all.deb
 5365982d0f0bf5abadb34b93a321581e 74110 misc optional live-build-cgi_3.0~a69-1_all.deb

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

iEYEARECAAYFAlDA/aMACgkQ+C5cwEsrK575qQCfZaVdG8ThcqXnsaYN3S2cwUbH
EcQAn3CD5nBDdAj0LO7ihS300+/Qmf9P
=hBGc
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: