Python Initramfs

Open-source Python projects categorized as Initramfs

Python Initramf Projects

  • ugrd

    python framework for generating initramfs's from TOML definitions

  • Project mention: Build Initramfs Rootless | news.ycombinator.com | 2024-03-08

    I've been working on this for the last year or so: https://github.com/desultory/ugrd

    It's mostly made to work with Gentoo (uses pax-utils for finding dependencies), but should work with any distro. It does most of the initramfs creation process rootless. The main consideration is that you need privileges to make device nodes, but I just create them synthetically within the cpio image.

    On most systems, this tool still requires root to copy the mount binary.

  • pycpio

    Python library for CPIO manipulation

  • Project mention: Build Initramfs Rootless | news.ycombinator.com | 2024-03-08

    You can't make them on the filesystem itself, gen_init_cpio lets you specify device nodes to be created within the archive, but they are not actually created on the live system and do not require privileges.

    I made my own CPIO library: https://github.com/desultory/pycpio and one of the main goals was this behavior, so I could create CPIO archives with device nodes without privileges. It's really as simple as writing some bytes to a file saying "when you extract this, create this device node". It's not like any archive actually has a device node, just instructions for where to put them, and what properties they have.

    Certainly, you can't extract these archives as non-root, but you have to go out of your way to make an initramfs have non-root privileges.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Initramfs related posts

Index

Project Stars
1 ugrd 18
2 pycpio 3

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com