Comment 2 for bug 2035121

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tools (master)

Reviewed: https://review.opendev.org/c/starlingx/tools/+/894552
Committed: https://opendev.org/starlingx/tools/commit/cfceeba1272604a1eb7e317e560844e7c0309699
Submitter: "Zuul (22348)"
Branch: master

commit cfceeba1272604a1eb7e317e560844e7c0309699
Author: Charles Short <email address hidden>
Date: Mon Sep 11 11:59:32 2023 -0400

    debian: /etc/apt/sources.list should be empty

    LAT configures the ISO with the apt repositories from
    the aptly repositories, which is the correct behaviour.
    But it does not clean up after itself and leaves
    the /etc/apt/sources.list as is when the build is complete.

    Leaving the /etc/apt/sources.list as is will not allow
    apt-ostree to install Debian packages via apt.

    Test Plan:
    1. Build and Install ISO.
    2. Check the contents of /etc/apt/sources.list.
    3. After patch is applied the contants of /etc/apt/sources.list
       should be empty.

    Closes-Bug: 2035121

    Change-Id: If3bfcbcfc4e11f42d568602e539d40154778c9bc
    Signed-off-by: Charles Short <email address hidden>