From 3a0a480792e15bcd00715374da12e0d5820bb739 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Tue, 24 Sep 2019 17:56:14 +0200 Subject: [PATCH] stages: Drop the remove-uniqueness stage We don't need this stage anymore, random-seed has never been in the tree and machine-id is now handled by dnf stage. --- stages/org.osbuild.remove-uniqueness | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 stages/org.osbuild.remove-uniqueness diff --git a/stages/org.osbuild.remove-uniqueness b/stages/org.osbuild.remove-uniqueness deleted file mode 100755 index da3982f8..00000000 --- a/stages/org.osbuild.remove-uniqueness +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/python3 - -import contextlib -import json -import os -import sys - -def main(tree): - with contextlib.suppress(FileNotFoundError): - os.unlink(f"{tree}/etc/machine-id") - os.unlink(f"{tree}/var/lib/systemd/random-seed") - -if __name__ == '__main__': - args = json.load(sys.stdin) - r = main(args["options"]) - sys.exit(r)