repo.or.cz
/
debian-live-build.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Unconditionally replacing bootloader symlinks with syslinux 6 from jessie, this will...
[debian-live-build.git]
/
share
/
hooks
/
0180-remove-systemd-machine-id.hook.chroot
blob
ed5d6bf6a3665b6d062d4fb4dfffbbca96d51743
1
#!/bin/sh
2
3
set -e
4
5
# Blank out systemd machine id. If it does not exist, systemd-journald
6
# will fail, but if it exists and is empty, systemd will automatically
7
# set up a new unique ID.
8
9
if
[
-e
/
etc
/
machine-id
]
10
then
11
rm
-f
/
etc
/
machine-id
12
: > /
etc
/
machine-id
13
fi