RSS Bot Posted August 21, 2023 Posted August 21, 2023 bsp-cli: allow hooks to cleanly add code to the bsp-cli postinst; fix helios4 to match bsp-cli: allow hooks to cleanly add code to the bsp-cli postinst; fix helios4 to match bsp-cli: postinst is now generated after the hooks are run hooks are allowed to append to postinst_functions array hooks are not allowed to modify DEBIAN/postinst directly anymore (it won't even be there) rewrite the postinst stuff in helios4's family_tweaks_bsp() to use new way introduce add_file_from_stdin_to_bsp_destination(), a helper for easy heredoc-based adding of files to bsp-cli First and only argument is the destination path, relative to the root of the package -- do NOT include $destination -- it is already included. Containing directory, if any, is created automatically (no more "mkdir -p x; cp y x/z") The full path (including $destination) is set in $file_added_to_bsp_destination, declare in outer scope to get it if needed. View the full article
Recommended Posts