Jump to content

[Armbian build PR] - `tmpfs`: introduce `USE_TMPFS=no` to disable tmpfs usage for WORKDIR and package-specific working dirs; actually use `$temp_dir_id` for mktemp; see #5...


RSS Bot

Recommended Posts

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

  • 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

View the full article

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines