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:
There should be no need to call pbuilder code within scripts that generate a root filesystem.
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 hosts, hostname and resolv.conf from the system /etc/ directory and adapts /etc/hostname to use a different name (emdebian-$ARCH).
Modified version of the equivalent function in pbuilder-modules to extract the compressed chroot (used by empdebuild).
empbuilderlib was written by Neil Williams codehelp@debian.org.
This manual page was written by Neil Williams codehelp@debian.org
See also apt-cross (1), dpkg-cross (1), emdebian-tools (1), emrootfslib (3).