devuan-desktop/sysconf_schroot.md

1.1 KiB

blend_sysconf_schoot

A group of conf_print functions for the creation of the configuration files needed to allow access to the $strapdir via schroot.

The main motivation is to allow the building of pacakged within the binfmt environment of the $strapdir without leaving build dependencies behind.

For normal debian packages sbuild can be used but the upstream zfs sources populate the debian/ in such a way that symlinks that break an sbuild.

With access via schroot in an arm-sdk console we can just use dpkg-buildpackage as normal.

conf_print_schroot()

Create the main schroot configuration file containing only the defaults.

Create the Custom schroot Configuration type directory in /etc

conf_print_schroot_copyfiles()

conf_print_schroot_fstab()

conf_print_schroot_nssdatabases()

conf_print_schroot_config()

populate_schroot_custom_config()

A grouped example of how to use the configuration type functions

conf_print_chroot_d()

Create the entry for the arm-sdk chroot in the schroot chroot.d directory

Create the user sbuild dot files

conf_print_mk_sbuild_rc()

conf_print_sbuildrc()