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

Bug#770217: cannot be run from source on !debian

Control: tag -1 help

Joey Hess <id@joeyh.name> (2014-11-19):
> Package: debootstrap
> Version: 1.0.64
> Severity: normal
> make devices.tar.gz runs MAKEDEV, so the instructions to run debootstrap
> from source don't work on !debian.
> setup_devices contains old code to bind mount /dev when it's managed by
> devfs. Updating that code to check for /dev managed by udev and
> bind mounting then might be one approach to improve this. The resulting
> chroot would need to have /dev/ bind mounted into it in order to be
> used, which seems reasonable.
> Alternatively, a debootstrap tarball could be provided targeting this
> use case, including a prebuilt devices.tar.gz.
> Alternatively, the devices.tar.gz Makefile target could, if MAKEDEV is
> not in path, just tar up the system's /dev to make it.

I'm afraid I won't be working on this part, so tagging this bug report
with help.

> I suspect that some people in this situation download the .deb from
> debian and manually unpack it to get a prebuilt devices.tar.gz. Although
> this requires both ar and (for no good reason) xz, which are not
> universally available outside debian systems.

I've just looked into switching back (binary) debootstrap's
compression from xz to gzip, and it seems to only cost 10 KB, so I've
committed this to master:


Attachment: signature.asc
Description: Digital signature

Reply to: