Commit 5fb04d7
Fix bookworm reproducible build permission issue (sonic-net#20452)
This commit resolves a permission denied issue during the mv command in bookworm
by adding escalated sudo privileges. For more details, see the related PR
and discussion:
sonic-net#18789
Why I did it
make configure for broadcom reports Permission denied issue
make configure PLATFORM=broadcom
....
"LEGACY_SONIC_MGMT_DOCKER" : "y"
"INCLUDE_EXTERNAL_PATCHES" : "n"
"PTF_ENV_PY_VER" : "mixed"
mv: cannot move '/etc/apt/sources.list.d/debian.sources' to '/etc/apt/sources.list.d/debian.sources.back': Permission denied
"SONIC_DPKG_CACHE_METHOD" : "none"
make[1]: Leaving directory '/home/ubuntu/sonic-buildimage'
How I did it
I resolved it by adding escalated sudo privileges.
For more details, see the related PR and discussion:
sonic-net#18789
How to verify it
make configure PLATFORM=broadcom should pass without permission issues
Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
Signed-off-by: Feng Pan <fenpan@microsoft.com>1 parent aaf4e15 commit 5fb04d7
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
0 commit comments