commit:     fbf94254a714c8d72840faee42cf348eb69b1a43
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  8 21:58:15 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Fri Apr  8 21:58:15 2016 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=fbf94254

targets/support/chroot-functions.sh: remove machine-id for systemd stages

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

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

Reply via email to