commit:     716363ebd4796911c6fbebfcd22ce97e1295df33
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  4 02:01:32 2018 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Mar  4 02:01:32 2018 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=716363eb

targets/support/chroot-functions.sh: create an empty machine-id for systemd 
stages

 targets/support/chroot-functions.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/targets/support/chroot-functions.sh 
b/targets/support/chroot-functions.sh
index 67874a03..2ab35141 100755
--- a/targets/support/chroot-functions.sh
+++ b/targets/support/chroot-functions.sh
@@ -223,7 +223,7 @@ cleanup_stages() {
                stage1|stage2|stage3|system)
                        rm -f /var/lib/portage/world
                        touch /var/lib/portage/world
-                       rm -f /etc/machine-id
+                       >/etc/machine-id
                        ;;
                *)
                        echo "Skipping removal of world file for ${clst_target}"

Reply via email to