[build] Fix bookworm reproducible build issue.#18789
Conversation
|
@xumia , kvmtest-t0 is a known issue. Please ignore. |
|
Bypass the known test case failure to fix build broken issue. |
|
I got this error message for sonic-slave-bookworm container: Maybe you should use |
Oh.
It needs tests. Maybe some scenario reports the error. The PR fixed build issue at that time. I'm not sure if adding sudo have other issues. |
@liushilongbuaa FYI When we enable or disable reproducible mirrors in this function we use That's why my suggestion was to also use $SUDO when mv sources.list. But I haven't tested this. |
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 Signed-off-by: Matej Feder <[email protected]>
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/sonic-buildimage#18789 Signed-off-by: Matej Feder <[email protected]>
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 Signed-off-by: Matej Feder <[email protected]>
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: #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: #18789 How to verify it make configure PLATFORM=broadcom should pass without permission issues Signed-off-by: Matej Feder <[email protected]>
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 <[email protected]>
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 <[email protected]> Signed-off-by: Feng Pan <[email protected]>
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: #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: #18789 How to verify it make configure PLATFORM=broadcom should pass without permission issues Signed-off-by: Matej Feder <[email protected]> Signed-off-by: dprital <[email protected]>
Why I did it
Bookworm involved new file /etc/apt/sources.list.d/debian.sources to setup debian mirror repo.
Reproducible build need to support this scenario.
Work item tracking
How I did it
How to verify it
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)