empbuilderlib empbuilderlib 3 EMDEBIAN-ROOTFS EMDEBIAN-ROOTFS empbuilderlib Common functions for Emdebian chroots DESCRIPTION empbuilderlib is intended solely for use on the build machine. Do not use these functions in second_stage_install ! empbuilderlib requires perl! empbuilderlib is a shell library which requires perl and pbuilder (which means bash!). empbuilderlib draws in POSIX shell functions from emrootfslib to be able to call in functions from first_stage_install within debootstrap. The only reasons to continue putting new functions in here are if: The functions are only useful to create cross-building chroots OR the functions need to call pbuilder code directly and are not necessary within first_stage_install. There should be no need to call pbuilder code within scripts that generate a root filesystem. autoclean_aptcache Same as the pbuilder option but run by default in empdebuild to remove obsolete .deb archives from the apt cache directories used by empdebuild. copy_host_configuration Copy hosts, hostname and resolv.conf from the system /etc/ directory and adapts /etc/hostname to use a different name (emdebian-$ARCH). extractembuildplace Modified version of the equivalent function in pbuilder-modules to extract the compressed chroot (used by empdebuild). Author empbuilderlib was written by Neil Williams codehelp@debian.org. This manual page was written by Neil Williams codehelp@debian.org SEE ALSO See also apt-cross (1), dpkg-cross (1), emdebian-tools (1), emrootfslib (3).