Skip to content

Commit

Permalink
firstboot: silence dd
Browse files Browse the repository at this point in the history
  • Loading branch information
XECDesign committed Mar 29, 2023
1 parent 0c57f92 commit 6e82fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/lib/raspberrypi-sys-mods/firstboot
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ get_variables () {
fix_partuuid() {
mount -o remount,rw "$ROOT_PART_DEV"
mount -o remount,rw "$BOOT_PART_DEV"
DISKID="$(dd if=/dev/hwrng bs=4 count=1 | od -An -tx4 | cut -c2-9)"
DISKID="$(dd if=/dev/hwrng bs=4 count=1 status=none | od -An -tx4 | cut -c2-9)"
fdisk "$ROOT_DEV" > /dev/null <<EOF
x
i
Expand Down

0 comments on commit 6e82fa5

Please sign in to comment.