Hi,

Quoting Marc Haber (2015-10-22 16:31:56)
> I just found out that --chroot-setup-command is executed inside a
> chroot. It is therefore unsuitable to copy files into the chroot from
> the outside. Please document this. I always had the impression that
> schroot would execute those commands before chrooting.

is this table in the sbuild man page which shows in which order hooks are
executed and whether they are executed inside or outside the chroot not
sufficient:

       Initialise chroot session --pre-build-commands       root  outside
       chroot Setup the chroot and variables --chroot-setup-commands    root
       inside chroot Update and upgrade packages Install Dependencies
       --build-deps-failed-commands  root  inside chroot
       --starting-build-commands  user  inside chroot Do actual build
       (dpkg-buildpackage) --build-failed-commands  user  inside chroot
       --finished-build-commands  user  inside chroot Run lintian (if
       configured) Cleanup build files and dependencies
       --chroot-cleanup-commands  root  inside chroot Close schroot session Run
       piuparts (if configured) --post-build-commands      root  outside chroot

Should the information presented in a different way?

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to