aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2018-03-03 21:01:32 -0500
committerAnthony G. Basile <blueness@gentoo.org>2018-03-03 21:01:32 -0500
commit716363ebd4796911c6fbebfcd22ce97e1295df33 (patch)
tree67068ae83815604e8d452d9305567ec99f81749e
parentrc-update.sh: fix rc-update calls to work inside chroot (diff)
downloadcatalyst-716363ebd4796911c6fbebfcd22ce97e1295df33.tar.gz
catalyst-716363ebd4796911c6fbebfcd22ce97e1295df33.tar.bz2
catalyst-716363ebd4796911c6fbebfcd22ce97e1295df33.zip
targets/support/chroot-functions.sh: create an empty machine-id for systemd stages
-rwxr-xr-xtargets/support/chroot-functions.sh2
1 files changed, 1 insertions, 1 deletions
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}"