Package: debootstrap Version: 1.0.25 Severity: normal debootstrap cannot currently be built on debian kfreebsd or hurd. While build dep makedev is installable there, it is a no-op. So, the devices.tar.gz creation code will make an empty tarball, and a check I've just added will cause the build to fail. (cd dev && /dev/MAKEDEV std ptmx fd consoleonly) Results undefined on non-Linux systems, aborting MAKEDEV invocation. tar cf - dev | gzip -9 >devices.tar.gz ** devices.tar.gz is empty! make: *** [devices.tar.gz] Error 1 (Note: Above dummied up. I have not really been building debootstrap on freebsd, if anyone was curious about that.) Assuming we want debootstrap to remain an arch-all package, which is convenient as it allows updating debootstrap very quickly, we need some way to build the linux-specific devices.tar.gz in a cross-platform way. One way would be to add a switch or environment variable that made MAKEDEV skip the non-Linux system check. Alternatively, debootstrap could stop including the device tarball, and bind mounting /dev. (It already does something similar on kfreebsd.) However, this would mean a debootstrapped chroot would need to have its /dev remounted after reboot (like its /proc and /sys already need to be). -- see shy jo
Attachment:
signature.asc
Description: Digital signature