summaryrefslogtreecommitdiffstats
path: root/modules.d/slx-uuid/hooks/copy-system-uuid-to-newroot.sh
blob: e451ce26c615849ce8c6119059b3bd9d590f0e2d (plain) (blame)
1
2
3
4
5
6
#!/bin/ash

if [ -s "/run/system-uuid" ]; then
	cp "/run/system-uuid" "$NEWROOT/etc/system-uuid"
fi
true