Commit graph

7 commits

Author SHA1 Message Date
jedrw
dfb889122e feat: support duplicate device IDs in initramfs-tools and mkinitcpio 2025-01-12 13:34:47 +00:00
kayos
6c48a35180
Feat: conditional permissions behavior (#28)
* Fix: don't need sudo if we're root + other aesthetics

* Heavy refactoring, see PR #28

* Fix: avoid silent fatalities

demo: https://tcp.ac/i/JMSUc.gif

* Fix: Inverse check on `IsRoot`

* D.R.Y: check for permissions error in `common.ErrorCheck`

Reduce cognitive complexity.

* Fix: Issue with copying

* Resolve https://github.com/HikariKnight/quickpassthrough/pull/28#discussion_r1646535918

* Resolve https://github.com/HikariKnight/quickpassthrough/pull/28#discussion_r1646606680 and https://github.com/HikariKnight/quickpassthrough/pull/28#discussion_r1646594105

* Revert "Resolve https://github.com/HikariKnight/quickpassthrough/pull/28#discussion_r1646606680 and https://github.com/HikariKnight/quickpassthrough/pull/28#discussion_r1646594105"

This reverts commit ce15213009.

* Resolve https://github.com/HikariKnight/quickpassthrough/pull/28#discussion_r1646730751
2024-07-27 17:38:39 +02:00
HikariKnight
e93d215669 make generating the module list its own function and fix minor things 2023-12-26 19:20:29 +01:00
HikariKnight
f38d3f3445 remove extra line from config/initramfs-tools/modules 2023-12-26 19:20:29 +01:00
HikariKnight
f5116648e6 futureproofing function names for the different initramfs systems 2023-12-26 19:20:29 +01:00
HikariKnight
3ac5958015 change to use fileio and also finish writing the module manipulation for initramfstools 2023-12-26 19:20:29 +01:00
HikariKnight
8c35e8d328 Add initramfs functions 2023-12-26 19:20:28 +01:00