test: customize /etc/os-release instead of /usr/lib/os-release
authorLuca Boccassi <luca.boccassi@gmail.com>
Fri, 18 Oct 2024 14:02:03 +0000 (15:02 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 18 Oct 2024 16:03:16 +0000 (17:03 +0100)
commit2f6fe4e1131d39fcafa9e00a7902919efb5361e1
treebe260a7f4a6b46f35823a47bd64a7ed9221d46f5
parent562f7bde8872b4fd03db11bf25c9dd294fd2c186
test: customize /etc/os-release instead of /usr/lib/os-release

As per spec image builders can create a local /etc/os-release
with per-image IDs, so modify that one instead of the original
one in /usr/lib. For example we do this when we build debian
unstable images in mkosi.
test/units/TEST-82-SOFTREBOOT.sh