View previous topic :: View next topic |
Author |
Message |
zen_desu Tux's lil' helper
Joined: 25 Oct 2024 Posts: 107
|
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 |
|
Back to top |
|
|
zen_desu Tux's lil' helper
Joined: 25 Oct 2024 Posts: 107
|
Posted: Sun Jan 19, 2025 9:07 pm Post subject: Posix |
|
|
I've refactored a lot of the generated shell script, it should be POSIX compatible for anyone interested in trying non-bash shells. The changes are in the latest 9999 and will be part of release 1.31
The next thing I'd like to add is the ability to make init hooks run before/after other hooks. Currently the ordering is mostly hard-coded, but I think it would be nice to make this more dynamic/configurable. I'm not sure if this should be a separate config attr of if stuff like "before" and "After" could be a key in the import hooks _________________ µgRD dev
Wiki writer |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|