Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A archiso
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
    • Locked Files
  • Issues 41
    • Issues 41
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch LinuxArch Linux
  • archiso
  • Merge requests
  • !268

Add optional writable partition

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Tallero Tallero requested to merge tallero/archiso:persistent into master Jun 23, 2022
  • Overview 0
  • Commits 204
  • Pipelines 116
  • Changes 23

When an Archiso-generated ISO is put on an USB drive the non-rockridge partitions (i.e. the EFI system partition) become writable.

This merge request adds support for a third native (non-fat) partition which can be added to the ISO file to be used as persistent storage at build time.

persistent_image_type:   ext4
                         ext4+luks
persistent_size:         size in KB

The partition is added to the ISO whenever persistent_size is set or a non-empty persistent directory is found in the profile directory. When selecting the +luks image type, the same encryption key as the airootfs is used.

When it's entirely unfeasible to ship an enlarged ISOs, a systemd service (setup-persistent-storage), which depends on xorriso being present in the live environment and executes the same task described above on first boot, has been added to the baseline and releng profiles.

If I were to estimate proper sizes for current profiles, they would be around 10MB and 50MB, so it would mostly be to let the system import and edit systemd-homed homes on internal/external drives.

Solves #184 (closed), partially #171 (closed).

Depends on !217 (closed), !253 (closed), !259 (closed).

Edited Jul 08, 2022 by Tallero Tallero
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: persistent