diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-04-25 18:26:59 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-04-25 21:25:01 -0400 |
commit | d22bb528c56c22c1a0c0855ff221f3a9594d1964 (patch) | |
tree | 3aca0fbb444c8a1664af72400d146ea4da68517f | |
parent | 53f18fe5054967e02715b4d086237e41884d41ac (diff) | |
download | meson-d22bb528c56c22c1a0c0855ff221f3a9594d1964.zip meson-d22bb528c56c22c1a0c0855ff221f3a9594d1964.tar.gz meson-d22bb528c56c22c1a0c0855ff221f3a9594d1964.tar.bz2 |
CI: ubuntu-rolling: fix configuration for sources after format change
```
# Ubuntu sources have moved to the /etc/apt/sources.list.d/ubuntu.sources
# file, which uses the deb822 format. Use deb822-formatted .sources files
# to manage package sources in the /etc/apt/sources.list.d/ directory.
# See the sources.list(5) manual page for details.
```
Adapt to the new format.
-rwxr-xr-x | ci/ciimage/ubuntu-rolling/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/ciimage/ubuntu-rolling/install.sh b/ci/ciimage/ubuntu-rolling/install.sh index 35a0b0e..e174703 100755 --- a/ci/ciimage/ubuntu-rolling/install.sh +++ b/ci/ciimage/ubuntu-rolling/install.sh @@ -29,7 +29,7 @@ pkgs=( openjdk-11-jre ) -sed -i '/^#\sdeb-src /s/^#//' "/etc/apt/sources.list" +sed -i '/^Types: deb/s/deb/deb deb-src/' /etc/apt/sources.list.d/ubuntu.sources apt-get -y update apt-get -y upgrade apt-get -y install eatmydata |