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

2016-09-08 Thread Santiago Vila
Is this an issue at all considering the changes in debootstrap version 1.0.82
regarding devices.tar.gz?

Thanks.



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

2014-11-23 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 help
Bug #770217 [debootstrap] cannot be run from source on !debian
Added tag(s) help.

-- 
770217: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770217
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/handler.s.b770217.141675249923737.transcr...@bugs.debian.org



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

2014-11-23 Thread Cyril Brulebois
Control: tag -1 help

Joey Hess  (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:
  
http://anonscm.debian.org/cgit/d-i/debootstrap.git/commit/?id=39faba934e3c15fe9960d5a99d9a8b43ac986145

Mraw,
KiBi.


signature.asc
Description: Digital signature


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

2014-11-19 Thread Joey Hess
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 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.

-- 
see shy jo


signature.asc
Description: Digital signature