Skip to content

Commit 1a5ee96

Browse files
committed
framework: use schedule_deletion to delete /var/lib/dbus/machine-id
1 parent 8110013 commit 1a5ee96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/functions/rootfs/rootfs-create.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ function create_new_rootfs_cache_via_debootstrap() {
342342
# please reinitialize this to uninitialized. Do note that systemd will start all services then by
343343
# default and that has to be handled by setting system presets.
344344
run_host_command_logged echo -n ">" "${SDCARD}/etc/machine-id"
345-
run_host_command_logged rm -fv "${SDCARD}/var/lib/dbus/machine-id"
345+
schedule_deletion "${SDCARD}/var/lib/dbus/machine-id"
346346

347347
# Mask `systemd-firstboot.service` which will prompt locale, timezone and root-password too early.
348348
# `armbian-first-run` will do the same thing later

0 commit comments

Comments
 (0)