armbian-build/lib
Ricardo Pardini ee565514c9 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.
2023-08-24 11:45:45 +02:00
..
functions bsp-cli: allow hooks to cleanly add code to the bsp-cli postinst; fix helios4 to match 2023-08-24 11:45:45 +02:00
tools pipeline: use ncores * 4 for info gathering 2023-08-23 21:35:02 +02:00
library-functions.sh hashed-OCI-revisioned-debs: introduce "reversioning" of .deb packages 2023-08-12 09:58:32 +02:00
single.sh Add / modify (c) in bash scripts (#4922) 2023-03-09 18:30:40 +01:00