    sed -i -e "s#VERSION_ID=.*#VERSION_ID=$VERSION_ID#" "$sysroot"/etc/os-release
    sed -i -e "s#NAME=.*#NAME=$NAME#" "$sysroot"/etc/os-release
fi

"$MKSQUASHFS" "$MY_TMPDIR"/sysroot "$MY_TMPDIR"/root.squashfs.img

# ------------------------------------------------------------------------------
# verity
ROOT_HASH=$(veritysetup \
    --salt=6665646f7261626f6f6b$(printf '%lx' ${SOURCE_DATE_EPOCH}) \
    --uuid=222722e4-58de-415b-9723-bb5dabe36034 \
    format "$MY_TMPDIR"/root.squashfs.img "$MY_TMPDIR"/root.verity.img \
    |& tail -1 | { read _ _ hash _; echo $hash; } )
