]> git.ipfire.org Git - thirdparty/shadow.git/commit
CI: update Ubuntu repositories configuration
authorIker Pedrosa <ipedrosa@redhat.com>
Mon, 14 Oct 2024 09:53:50 +0000 (11:53 +0200)
committerAlejandro Colomar <alx@kernel.org>
Tue, 15 Oct 2024 08:43:24 +0000 (10:43 +0200)
commit99c4f445c7cf888afd6d329f325e031bc5c427ef
tree45f8436d2f006ce5e7afcaa797b9a1a0382266b1
parent4a1573940817008ab070925f28ab45aee4976a77
CI: update Ubuntu repositories configuration

Recently Ubuntu updated its repositories configuration file from
`/etc/apt/sources.list` to `/etc/apt/sources.list.d/ubuntu.source`.
Thus, we need to update its location to be able to install all the
package dependencies.

In addition, the CI script was trying to uncomment the lines starting
with `deb-src`, but there is none in the new configuration file format.
Replace `Types: deb` by `Types: deb deb-src` at the beginning of the
line instead.

This commit merges all dependency installation scripts into a single
workflow, which will be called from all sites that have to install
dependencies.

Link: https://linuxconfig.org/ubuntus-repository-configuration-ubuntu-sources-have-moved-to-etc-apt-sources-list-d-ubuntu-sources
Closes: https://github.com/shadow-maint/shadow/issues/1088
Reported-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
.github/actions/install-dependencies/action.yml