Ticket #86 (closed defect: worksforme)
debirf seems to fail on amd64
| Reported by: | dkg | Owned by: | jrollins |
|---|---|---|---|
| Priority: | major | Component: | debirf |
| Keywords: | amd64 debirf | Cc: |
Description
debirf looks like it's failing on amd64 systems. I thought i'd seen it as a result of a architecture-specific failure of fakechroot, but that no longer seems to be a problem.
Instead, what i'm seeing is an attempt to do something funny with dev during the initial debootstrap (before we've had a chance to swap in the "correct" /dev.
I was able to work around it by doing the debootstrap by hand (gleaned from a run of sh -ex debirf, passing it the --foreign option.
Then i did something like:
cp /usr/share/debirf/devices.tar.gz rescue/root/ debirf enter rescue rm /dev debirf enter rescue tar xzf /root/devices.tar.gz -C/ debirf enter rescue /debootstrap/debootstrap --second-stage debirf enter rescue sh -c 'echo deb http://ftp.us.debian.org/debian lenny main > /etc/apt/sources.list' debirf make --skip rescue debirf makeiso rescue
I'm not sure why specifically the single-stage debootstrap attempt was failing under those conditions on that architecture.
fwiw, this was on a machine running lenny up-to-date as of today, with the kernel at: 2.6.18-6-xen-amd64 (it's a domU).

