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

Bug#616143: needs to stop hardcoding /var/lib/dpkg/info for multiarch



Package: live-installer
Version: 31
Severity: normal

multiarch moves the directory, so all of this could break.
(Although given current debootstrap symlinking, maybe not.)
This could all be future-proofed by running dpkg-query --control-path
in the chroot.

./post-base-installer.d/25live-installer-console-setup:if [ -e /target/var/lib/dpkg/info/keyboard-configuration.postinst ]; then
./post-base-installer.d/25live-installer-console-setup:if [ -e /target/var/lib/dpkg/info/console-setup.postinst ]; then
./live-installer.d/openssh-server:if [ -e /target/var/lib/dpkg/info/openssh-server.postinst ]; then
./live-installer.d/xserver-xorg:if [ -e /target/var/lib/dpkg/info/xserver-xorg.postinst ]; then
./finish-install.d/60remove-live-packages:	if [ -f /target/var/lib/dpkg/$package.list ]; then
./finish-install.d/60remove-live-packages:if [ -f /target/var/lib/dpkg/debian-installer-launcher.list ]; then

BTW, aren't "/target/var/lib/dpkg/$package.list" 
and "/target/var/lib/dpkg/debian-installer-launcher.list"
looking in the wrong place? Note missing "/info/" in the paths.

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

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

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: