Commit Graph

4 Commits

Author SHA1 Message Date
Ricardo Pardini c17a041637 prepare_host: handle `PRE_PREPARED_HOST` inside `prepare_host_init()` so WORKDIR etc is always available 2023-08-12 09:58:32 +02:00
Ricardo Pardini eab306b279 `tmpfs`: introduce `USE_TMPFS=no` to disable tmpfs usage for WORKDIR and package-specific working dirs; actually use `$temp_dir_id` for mktemp; see #5502
- `USE_TMPFS=no` disables usage of generic tmpfs mechanism (still possibly used for rootfs/image building, which is unrelated), for last-resort cases
- use better/more descriptive `temp_dir_id`'s for kernel build than `k` (now `kernel_dest_install_dir`) and `kd` (now `kernel_debs_temp_dir`)
  - specific image/dtb/headers packaging already had decent names, same for other .deb's
- replace `mktemp -d` with `mktemp -d --tmpdir "${temp_dir_id}-XXXXX"` in `prepare_temp_dir_in_workdir_and_schedule_cleanup()`, so we know what's using what in tmpfs
2023-07-24 23:19:15 +02:00
Igor Pečovnik b7b8eb7b72
Add / modify (c) in bash scripts (#4922)
* Add / modify (c) in bash scripts

Signed-off-by: Igor <igor@armbian.com>

* Add (c) to the source config files

---------

Signed-off-by: Igor <igor@armbian.com>
2023-03-09 18:30:40 +01:00
Ricardo Pardini 0ea0fe3528
armbian-next: `mktemp` and `tmpfs` related utility functions with automatic cleanup handlers 2023-02-18 07:43:27 -03:00