Comments (5)
Following up on comments from #133:
- It would be worth investigating whether we can use chezmoi as a library to manage both homefiles and etcfiles (from #133 (comment)) - and maybe even also for managing binaries
- For software which only needs to run as a systemd service, it would be worth investigating whether we can get systemd portable services (provided by the
systemd-container
apt package) working, and whether we could manage them using Forklift (perhaps using https://github.com/coreos/go-systemd?). One key question is whether a portable service can modify files outside its root filesystem. - For software which also need to be made available as a binary to run (which is maybe just docker), it would be worth investigating whether we can use systemd-sysext and systemd-confext (#133 (comment) and #133 (comment)), at least after we upgrade from Raspberry Pi OS bullseye to Raspberry Pi OS bookworm (#322)
from planktoscope.
Apparently systemd-confext makes /etc
read-only until after the extension is unmounted (because the config extensions are mounted over /etc
). I think we really should try to keep /etc
mutable for tinkering, so this rules out systemd-confext as something that might be useful for us. Any config files should instead be added using systemd-sysext to a directory inside /usr
.
from planktoscope.
One potential simple yet flexible approach for putting arbitrary files in arbitrary locations on the filesystem in an atomic way could be to use bind mounts (maybe with systemd, e.g. as in https://utcc.utoronto.ca/~cks/space/blog/linux/SystemdBindMountUnits) and/or OverlayFS (maybe with systemd, e.g. as in https://bootlin.com/blog/systemd-read-only-rootfs-and-overlay-file-system-over-etc/, which discusses being able to add/modify systemd services using the OverlayFS)
from planktoscope.
Oops, I still need to make a PR to actually use the updated version of Forklift from PlanktoScope/forklift#195 to manage the machine-name binary!
from planktoscope.
This PR was closed by #411, but I had forgotten to link that PR to this issue when I merged #411.
from planktoscope.
Related Issues (20)
- backend: Resolve incompatibilities between the Python backend and the Raspberry Pi 5 HOT 3
- os: Make the OS setup scripts able to run on the Raspberry Pi OS 12 (bookworm)
- os/pallet: Containerize the Python segmenter and deliver it via Forklift HOT 1
- frontend/node-red-dashboard: Make it easier to just preview a sample HOT 1
- frontend/node-red-dashboard: pscopehat version has a bad default flowcell type HOT 1
- frontend/node-red-dashboard: loss of all settings under certain circumstances HOT 3
- frontend/node-red-dashboard: Embedded pages are broken on Firefox HOT 3
- frontend/node-red-dashboard: Change "Pumped Volume" input element from slider to spinner
- frontend/node-red-dashboard: Display System Date and Time HOT 4
- docs/technical-reference: Explain how manual white balance gains are interpreted
- backend/processing/segmenter: Add a scalebar to each segmented object
- docs/technical-reference: Explain how the segmenter chooses which objects to keep and discard
- docs/technical-reference: Explain all metadata fields exported by the segmenter
- backend/processing/segmenter: Support running the segmenter separately on a local computer HOT 6
- backend/processing/segmenter: Improve segmentation speed
- proposal: Provide live feedback about the quality of camera settings
- backend/processing/segmenter: Simplify deployment/usage for batch processing HOT 3
- docs/setup/hardware: Import the v2.1 hardware docs
- docs/setup/hardware: Integrate the v2.6 hardware docs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from planktoscope.