composefs / composefs/composefs-rs

setup routing logic for setup-root config

Open
#86 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
93
Forks
30
Avg merge
2d 10h
Merged PRs (30d)
13

Description

#82 just landed support for composefs-setup-root reading a config file out of the initramfs to make decisions about which mount options to use, but nothing actually puts that file into the initramfs yet.

We should do the following:

  • rename this file to have a name based on 'composefs' instead of 'ostree'
  • clarify that this config file is definitely toml
  • add code to the dracut and mkinitcpio hooks to:
    • look for the composefs-named toml config file on the system and copy it in to the initramfs; or
    • look for the ostree-named ini config file, parse it using GKeyFile (or similar) and convert it to the toml format for inclusion in the initramfs

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the dracut and mkinitcpio hooks and the composefs-setup-root configuration handling described in the issue. Confirm the config is composefs-named TOML, then ensure the hooks copy it into the initramfs or convert the legacy ostree-named INI via GKeyFile; done means both input paths produce the TOML config in the initramfs.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.