Commit 375d510
committed
fix: unset SUDO_USER before armbian-config chroot call
Host's SUDO_USER=igorp leaks into the chroot via chroot_sdcard.
module_desktop_getuser tries `id $SUDO_USER` which fails with
'id: igorp: no such user' because the host user doesn't exist in
the chroot's /etc/passwd. Clear it so getuser falls through to
the awk path (and mode=build skips the call entirely once
configng PR #859 is published to apt.armbian.com).1 parent 2d41b70 commit 375d510
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
428 | 434 | | |
429 | 435 | | |
430 | 436 | | |
| |||
0 commit comments