-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't write, running out of disk space? (And some other minor issues) #6
Comments
Glad you like it! NixOS used to be my daily driver until I grew tired of various limitations. Haven't been happier in a long time after switching to OSTree
Cherry-picking changes from future branch sometimes breaks things, thanks for finding this bug. Fixed in e013379
You can debug the script with (set -x; source ./ostree.sh test)
The error message which you're seeing is from You can find which directories are used by Podman with: graphRoot: /var/lib/containers/storage
imageCopyTmpDir: /var/tmp
volumePath: /var/lib/containers/storage/volumes By default df -H /var Furthermore, consider being conservative with Unfortunately a serious bottleneck with using Podman/Docker here is the disk overhead. The current implementation effectively duplicates files by storing them first in "Podman Layer Cache" and then committing to "OSTree Repository", not to mention the need to temporarily store the entire image in a transient container before committing changes to the layer cache 🙁
That's your GRUB2 entries from I'm guessing you might have a dependency which calls GRUB2, probably a Pacman Hook if you've accidentally installed something like a custom kernel image in the wrong place. Again, this is another unfortunate instance of Podman/Docker causing trouble. Nonetheless, you'd have to share your repository if you want me to check what's wrong.
Definitely I'm re-working parts of the script to address various inconveniences Don't have any time estimate for when it will be done though |
(I mistakingly posted the bug report with my work account, I am @jvisser-di) Thanks for your very comprehensive answer! I'll give it another go and see if I can figure out some stuff. I will be waiting patiently to see what other approaches you will be coming up with! Let me know if I can help! |
Hi! Thanks for your great script!
I tried your script and it's amazing! I'm not really familiar with ostree other then trying Fedora Silverblue. I started looking if I could reproduce something like that using Arch. And I found this! I'm very new to all this so I'm sorry if the answers to my questions are obvious. But having an install script that is not Nix sounds amazing to me.
Your script mainly works but I have some issues. I hope you don't mind me adding them in 1 issue. If you want me to report separate issues for every problem and add some debugging, let me know!
Somehow when I supply no command line options, or the options
help
it shows nothing. I would like to debug this but I'm unable to install everything due to another issue:The main issue was that when started installing some bigger stuff I got this error that it can't write anymore. I'll add a picture. (Didn't have a lot of other thing installed so copy pasting was a bit hard.)

Then there is an issue that there are 2 entries for every ostree thingy:

Then there were some minor issues. When following your guide I made the mistake of not copying it to my homedir. And I didn't have git installed. Thankfully you can fix it by using the unlock command. Might have been a bit better for the beginner if that was in the manual. Then again.. I don't think this really is a setup for beginners. If I ever learn how this all works I might make a PR to fix it or to at least explain it or something.
You can't use Containerfile.host as a filename because podman doesn't want tags with uppercase letters.
TL;DR:
Amazing script! Got stuck installing things after gnome because of write issues (no space left on device?). Please help!
The text was updated successfully, but these errors were encountered: