Git workaround failure

Description

./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

Checklist

hide

Activity

Show:
Peter Char
changed the StatusJanuary 31, 2024 at 6:21 PM
To Do
Done
Peter Char
updated the ResolutionJanuary 31, 2024 at 6:21 PM
None
Done
Igor Pecovnik
updated the LinkJanuary 26, 2024 at 7:07 PM
None
This issue relates to AR-2038
Igor Pecovnik
updated the Fix versionsJanuary 26, 2024 at 7:07 PM
None
24.02
Igor Pecovnik
changed the AssigneeJanuary 26, 2024 at 7:07 PM
Unassigned
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 PM
NixOS + HomeManager used to manage `git` causes build failure
Git workaround failure
GitHub
created the IssueSeptember 21, 2023 at 1:04 PM
Done

Details

Assignee

Igor Pecovnik

Fix versions

Reporter

Priority

Created September 21, 2023 at 1:04 PM
Updated January 31, 2024 at 6:21 PM
Resolved January 31, 2024 at 6:21 PM