Files
heads/modules
Thierry Laurion 50dbda2498 Makefile: initrd creation refactoring to seperate mktemp initrd dir for tools.cpio dir (initrd_tmp_dir/tools/bin+lib) and data (initrd_tmp_dir/data) so that wiping tools don't wipe data
There was an issue where initrd_tmp_dir was used to create tools.cpio and wipe that dir, while data.cpio was subdirectory of initrd_tmp_dir.
This seperates tools.cpio temp dir from data.cpio temp dir:
- tools.cpio:	initrd_tmp_dir/tools/{bin,lib}
- data.cpio:	initrd_tmp_dir/data

So that when wiping happens of a subdir, this doesn't affect others:
- initrd_tmp_dir = mktemp -d
- initrd_tools_dir = initrd_tmp_dir/tools
- initrd_bin_dir = initrd_tools_dir/bin
- initrd_lib_dir = initrd_tools_dir/lib
- initrd_data_dir = initrd_tmp_dir/data

This commit:
- Use proper variable names everywhere, no more initrd_tmp_dir.
  - initrd_tools_dir, initrd_lib_dir, initrd_bin_dir, initrd_data_dir
- change to busybox (initrd_tmp_dir/bin -> initrd_bin_dir) as well and review all other modules

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
2025-05-16 13:34:31 -04:00
..
2024-05-02 13:00:27 -04:00
2024-05-02 13:00:27 -04:00
2024-05-02 13:00:27 -04:00
2023-09-29 15:29:18 -04:00
2018-02-05 11:30:39 -05:00
2024-05-02 13:00:27 -04:00
2024-05-02 13:00:27 -04:00
2022-08-25 20:55:39 +03:00
2024-05-02 13:00:27 -04:00
2024-01-10 18:28:24 -05:00
2022-08-25 20:55:39 +03:00
2024-05-02 13:00:27 -04:00
2024-05-02 13:00:27 -04:00
2024-05-02 13:00:27 -04:00
2022-04-01 09:47:39 -04:00