X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=scripts%2Fcombined-image.sh;h=4e00cb89a286dae0ba97c9872965ccf5c9e8a875;hp=5472b2cfd24621e78df1f11ddc440023b44932b8;hb=1ff4cd1ff18df6595416d8345d05cc415fdfeae3;hpb=919724ab50586be54a1d903e47d772265e01bf38 diff --git a/scripts/combined-image.sh b/scripts/combined-image.sh old mode 100644 new mode 100755 index 5472b2cfd2..4e00cb89a2 --- a/scripts/combined-image.sh +++ b/scripts/combined-image.sh @@ -16,7 +16,7 @@ dd if="$1" of="$kern" bs=$BLKSZ conv=sync 2>/dev/null dd if="$2" of="$root" bs=$BLKSZ conv=sync 2>/dev/null # Calculate md5sum over combined kernel and rootfs image. -md5=$(cat "$kern" "$root" | md5sum -) +md5=$(cat "$kern" "$root" | mkhash md5) # Write image header followed by kernel and rootfs image. # The header is padded to 64k, format is: