Package: debirf
Version: 0.32
Severity: important

Dear Maintainer,

I tried building "resuce" image (as a non-root user). A few packages fail
to install (hdparm, lvm2, mdadm, scsitools, cryptsetup).

For all besides scsitools the problem was missing init.d scripts. The fix:

$ cat rescue/modules/o_fix_init 
#!/bin/bash -e

. /usr/share/debirf/common

debirf_exec insserv /etc/init.d/mountkernfs.sh
debirf_exec insserv /etc/init.d/mountdevsubfs.sh
debirf_exec insserv /etc/init.d/hostname.sh
debirf_exec insserv /etc/init.d/checkroot.sh
#######################################

The postinst script of scsitools fails creating /dev/scsi. It indeed is
not premitted to do so on /dev, which seems to be excluded from the
chroot by fakechroot. A workaround would probably have been to have it
installed on the build system in advance and to manually add that
directory. I didn't bother so far and removed it from the script
"rescue".


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-rc4-rt-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=he_IL.UTF-8, LC_CTYPE=he_IL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debirf depends on:
ii  apt          0.8.15.9
ii  cpio         2.11-7
ii  debootstrap  1.0.38
ii  fakechroot   2.16-1
ii  fakeroot     1.18.2-1
ii  klibc-utils  1.5.25-1.1

Versions of packages debirf recommends:
ii  grub-common      1.99-14
ii  lsb-release      3.2-28
ii  syslinux-common  2:4.05+dfsg-1
ii  xorriso          1.1.8-1

debirf suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to