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

Bug#773867: no sources.lists in bootstraped foreign chroots



Control: found -1 1.0.66

On 2014-12-24, Holger Levsen wrote:
> # apt-get install qemu-user-static binfmt-support
> # debootstrap --arch=armel --foreign  jessie ./jessie http://ftp.de.debian.org/debian
> # cp /usr/bin/qemu-arm-static jessie/usr/bin/
> # chroot ./jessie/ /debootstrap/debootstrap --second-stage
>
> -> a nice armel chroot, but /etc/apt/sources.list is empty (and so is sources.list.d/)

I can reproduce this with debootstrap 1.0.66 in Jessie, building both
armel and armhf chroots. Results in an empty sources.list.


FWIW, qemu-user-static ships a wrapper called qemu-debootstrap that
handles several of the above steps automagically:

  qemu-debootstrap --arch=armel jessie ./jessie http://ftp.de.debian.org/debian


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature


Reply to: