Adjust /etc/machine-id logic for buster.

Commit 26a7de63b0 in master:
/etc/machine-id needs to exist and be empty on buster, while bullseye
needs this file not to exist at all. For now, treat both bullseye and
bookworm the same way.
This commit is contained in:
Cyril Brulebois
2021-11-20 04:09:52 +01:00
parent 5f7a28d8ec
commit 592c0df22e
2 changed files with 9 additions and 1 deletions

View File

@@ -163,3 +163,4 @@ steps:
- chroot: /
shell: |
rm -f /etc/machine-id /var/lib/dbus/machine-id
__TOUCH_MACHINE_ID__