Skip to content
Snippets Groups Projects

Some changes for mountimage tool

Merged Thomas Mittelstädt requested to merge wip/mtt2hi/mountimage2 into apertis/v2024dev3
All threads resolved!
  • If no mount for / (root) at given mount point can be established before mounting a sub partition, a virtual mountpoint with small tmpfs (ramdisk) is set up for / (root), so also non hierarchical images without a root partition can be set up. This is usable, if partitions of an image are not related to each other. Unmounting the image automatically removes the ram disk.
  • Some error corrections like logging function instead of echo.
  • Some sleep 1 is needed after partprobe, because other tools to get labels and other partitions sometimes work on useless info of device.

Signed-off-by: Thomas Mittelstaedt thomas.mittelstaedt@de.bosch.com

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Walter Lozano
  • added 6 commits

    • fc59c403 - Some error corrections like logging function instead of echo
    • 2f97a519 - In case of a partition number at the profile only an existing partition can be mounted.
    • 88aa1656 - Profiles can now keep comment lines and commented entries with #
    • 79c283ec - Partprobe rereads disk structures to the kernel. After returning to caller the...
    • dc8a32cf - Mounting of images without an hierarchical partition structure and a defined / implemented.
    • 5cbdcf66 - Release apertis-dev-tools version 0.2023.7

    Compare with previous version

  • added 2 commits

    • 48a917b7 - Mounting of images without an hierarchical partition structure and a defined / implemented.
    • 5678ec5b - Release apertis-dev-tools version 0.2023.7

    Compare with previous version

  • I have found a problem at new feature "Mounting of images without an hierarchical partition structure and a defined / implemented." and integrated at !61 (48a917b7)

  • This MR looks OK to me, approved. I will merge it when you undraft it.

  • Walter Lozano approved this merge request

    approved this merge request

  • Thomas Mittelstädt marked this merge request as ready

    marked this merge request as ready

  • Walter Lozano resolved all threads

    resolved all threads

  • merged

  • Please register or sign in to reply
    Loading