zen_desu Tux's lil' helper
Joined: 25 Oct 2024 Posts: 92
|
Posted: Thu Jan 02, 2025 12:05 am Post subject: ugrd |
|
|
This thread is for development updates, questions, and information about ugrd: https://github.com/desultory/ugrd
Currently, I'm considering adding support to build in an alternate root, and this may be easier to implement if ugrd doesn't copy files to a build directory before packing a CPIO image.
The original design was built around wiki instructions for building a custom initramfs, so it copied files to a build dir for packing with gen_init_cpio, but this meant device nodes had to be written to disk. To reduce required privileges and improve the build process/checks, I made pycpio and implemented it instead: https://github.com/desultory/ugrd/commit/ee842114c98faad979231f9bbd36275763f80ac6
I kept the "feature" to make a build dir the user can explore, modify, if changes are needed. It's not a core feature, but introduces some additional design challenges and security concerns. I figure it can have similar functionality with an option to extract the CPIO to a specified work dir, possibly with the option to actually deploy the device nodes.
Feel free to share any thoughts or suggestions. _________________ µgRD dev
Wiki writer |
|