diff options
-rwxr-xr-x | inst | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -4,6 +4,7 @@ set -u host= postinst_pkgs= +postinst_script= dev= target= @@ -394,6 +395,11 @@ do_install_extra() return 1 } +do_postinst() +{ + . "${postinst_script}" +} + do_chroot_cleanup() { local mp= @@ -481,6 +487,7 @@ main() . "${host_dir}/conf" postinst_pkgs="$(sed 's/#.*$//;' "${host_dir}/pkgs")" + postinst_script="${host_dir}/postinst" log="$(mktemp)" exec 4>"${log}" |