aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-04-08 17:58:15 -0400
committerAnthony G. Basile <blueness@gentoo.org>2016-04-08 17:58:15 -0400
commitfbf94254a714c8d72840faee42cf348eb69b1a43 (patch)
tree3adb9f0ac7cc51a720c68683ec9cad3ba04225ab
parenttargets/support/chroot-functions.sh: correct quotes to allow expansion of $1 (diff)
downloadcatalyst-fbf94254a714c8d72840faee42cf348eb69b1a43.tar.gz
catalyst-fbf94254a714c8d72840faee42cf348eb69b1a43.tar.bz2
catalyst-fbf94254a714c8d72840faee42cf348eb69b1a43.zip
targets/support/chroot-functions.sh: remove machine-id for systemd stages
-rwxr-xr-xtargets/support/chroot-functions.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/targets/support/chroot-functions.sh b/targets/support/chroot-functions.sh
index 6c1a31c1..67874a03 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}"