Another way to set /etc/usbmount/usbmount.conf so that Kolibri exports work#2715
Another way to set /etc/usbmount/usbmount.conf so that Kolibri exports work#2715holta merged 15 commits intoiiab:masterfrom
Conversation
Sync from iiab/iiab:master
…usbmount/usbmount.conf for Kolibri exports
…conf (is another way to get usbmount to work w/ Kolibri)
…into holta-usbmount-with-kolibri2
|
FYI this PR was smoke-tested and functionallity tested on Raspberry Pi OS Lite on RPi 4. |
|
New variable With Kolibri usage growing broadly in 2021, this variable is intentionally set to Conversely, the variable is intentionally set to Finally as discussed on the call, Kolibri's playbook conditionally modifying usb_lib playbook's Tested on RaspiOS Lite on RPi 4. |
|
I would have preferred a more generic name like usb_lib_permit_all |
|
Further tested with While I considered putting this logic into tasks/setup.yml or tasks/enable-or-disable.yml, I strongly prefer we not add complexity and over-engineer (after 7 days now, and in general) as IIAB communities have far higher priorities than these 10-characters in That being said, thank you to @fisherbryan for uncovering |
|
Any reason why this new default is forced upon non-users of kolibri as only 'big' has the option enabled to install kolibri? https://github.com/iiab/iiab/search?q=kolibri_install
That would be preferable as there could be other situations that may require the same treatment |
Summarized above.
Let's change the variable name if that situation arises. Other scenarios and contingencies could also arise over the years, for sure (in Generalizing too early is almost universally a software engineering mistake (not every time of course, but almost always!) Things should be generalized when there's a demonstrable user/community/customer need. |
Make sure that is loud and clear. The need to remove the *_installed state flag to have what amounts to editing a file action being preformed points to having the editing in the incorrect location and there is a lack of recording of what is currently active. #2717 corrects these deficiencies. |
Another alternative, more complex than PR #2714 but possibly a tiny bit safer.
Refs: