We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f976e8e commit ed5a627Copy full SHA for ed5a627
usr/lib/tik/lib/tik-functions
@@ -336,7 +336,7 @@ reread_partitiontable() {
336
337
create_keyfile() {
338
# Even if there's no partitions using encryption, systemd-repart will need a key-file defined for the --key-file parameter.
339
- tik_keyfile=/tmp/tikkeyfile
+ tik_keyfile=$(mktemp /tmp/tik.XXXXXXXXXX)
340
log "[create_keyfile] Creating keyfile ${tik_keyfile}"
341
prun /usr/bin/dd bs=512 count=4 if=/dev/urandom of=${tik_keyfile} iflag=fullblock
342
prun /usr/bin/chmod 400 ${tik_keyfile}
0 commit comments