Git workaround failure
Description
relates to
Checklist
hideActivity
Show:
Peter Char
changed the StatusJanuary 31, 2024 at 6:21 PMTo Do
Done
Peter Char
updated the ResolutionJanuary 31, 2024 at 6:21 PMNone
Done
Igor Pecovnik
updated the LinkJanuary 26, 2024 at 7:07 PMNone
This issue relates to AR-2038
Igor Pecovnik
updated the Fix versionsJanuary 26, 2024 at 7:07 PMNone
24.02
Igor Pecovnik
changed the AssigneeJanuary 26, 2024 at 7:07 PMUnassigned
Igor Pecovnik
Igor Pecovnik
updated the DescriptionJanuary 26, 2024 at 7:06 PM### What happened?
```
╰───❯ ./compile.sh BOARD=olimex-teres-a64 BRANCH=edge RELEASE=bookworm
error: could not lock config file /home/raptor/.config/git/config: Read-only file system
[💥] Error 255 occurred in main shell [ at REDACTED/armbian-build/lib/functions/general/git.sh:60
git_ensure_safe_directory() --> lib/functions/general/git.sh:60
main() --> ./compile.sh:47
]
```
> error: could not lock config file /home/raptor/.config/git/config: Read-only file system
### How to reproduce?
in home.nix:
`programs.git.enable = true;`
### Branch
main (main development branch)
### On which host OS are you observing this problem?
Other
### Relevant log URL
_No response_
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Raised by: https://github.com/Kreyren
https://github.com/armbian/build/issues/5729
./compile.sh BOARD=olimex-teres-a64 BRANCH=edge RELEASE=bookworm
error: could not lock config file /home/raptor/.config/git/config: Read-only file system
[💥] Error 255 occurred in main shell [ at REDACTED/armbian-build/lib/functions/general/git.sh:60
git_ensure_safe_directory() --> lib/functions/general/git.sh:60
Igor Pecovnik
updated the SummaryJanuary 26, 2024 at 7:06 PMNixOS + HomeManager used to manage `git` causes build failure
Git workaround failure
GitHub
created the IssueSeptember 21, 2023 at 1:04 PM
./compile.sh BOARD=olimex-teres-a64 BRANCH=edge RELEASE=bookworm
error: could not lock config file /home/raptor/.config/git/config: Read-only file system
[💥] Error 255 occurred in main shell [ at REDACTED/armbian-build/lib/functions/general/git.sh:60
git_ensure_safe_directory() --> lib/functions/general/git.sh:60