Package: schroot
Version: 1.4.24-1
Severity: wishlist

Hi,

when copying a file from a non-standard directory via the copyfiles
mechanism, this does not work:

$ schroot --begin-session --chroot=squeeze_build64 --session=build
E: 20copyfiles: cp: cannot create regular file 
`/var/lib/schroot/mount/build/etc/apt/apt.keys.input/zg20110.debian.zugschlus.de':
 No such file or directory
E: build: Chroot setup failed: stage=setup-start

Manually creating /var/lib/schroot/mount/build/etc/apt/apt.keys.input
inside the chroot fixes this issue.

The copyfiles mechanism should create target directories, if necessary.

Btw, just giving the directory /etc/apt/apt.keys.input in a copyfiles
file, this causes the directory with its entire contents to be copied
to the target. I am not sure whether this is the intended behavior. If
so, it should be documented, and copyfiles is kind of a misnomer for
this feature.

Greetings
Marc



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to