Repository navigation
Commit 7b1bc41
authored
`Tools/build/regen-configure.sh` ran the Autoconf container as root, so
with a rootful Docker daemon the regenerated files and `autom4te.cache`
ended up owned by root. The stale cache broke subsequent runs and
couldn't be removed without sudo.
Run the container as the invoking user instead: `--userns=keep-id` for
Podman, `-u UID:GID` for rootful Docker. Rootless runtimes already map
container root to the invoking user and need nothing. Also remove
`autom4te.cache` before and after the run, using the same image, so an
existing root-owned cache gets cleaned up too.
1 parent c7fd652 commit 7b1bc41
2 files changed
Lines changed: 26 additions & 1 deletion
File tree
- Misc/NEWS.d/next/Build
- Tools/build
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
0 commit comments