]> git.ipfire.org Git - thirdparty/mkosi.git/commit
centos: Write stream dnf variable file when a stream release is used 945/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 4 Apr 2022 12:50:53 +0000 (14:50 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 4 Apr 2022 12:54:14 +0000 (14:54 +0200)
commit6e1b2f97b2e52dae7df1607aa649e663659c0b94
tree19befe5aaba6e42679f3439594498ff1ce3440c3
parent24a0f95c03e2c237c25917406a54c4123e4443b2
centos: Write stream dnf variable file when a stream release is used

CentOS Stream SIGs use the $stream variable in their repo files to
identify the current CentOS Stream version. Let's make sure we write
this file so that SIG repo files can be copied into mkosi.reposdir
as is without requiring modifications to make them work.

Example SIG repo file using $stream:
https://git.centos.org/rpms/centos-release-hyperscale/blob/c8s-sig-hyperscale/f/SOURCES/CentOS-Stream-Hyperscale.repo
mkosi/__init__.py