diff --git a/alarm/uboot-clearfog/PKGBUILD b/alarm/uboot-clearfog/PKGBUILD index 36718c0b0..a7bc43fc8 100644 --- a/alarm/uboot-clearfog/PKGBUILD +++ b/alarm/uboot-clearfog/PKGBUILD @@ -4,7 +4,7 @@ buildarch=4 pkgbase=uboot-clearfog pkgname=('uboot-clearfog') pkgver=2013.01 -pkgrel=1 +pkgrel=2 arch=('armv7h') url="http://git.denx.de/u-boot.git/" license=('GPL') @@ -18,7 +18,7 @@ source=('u-boot-clearfog.mmc.xz' md5sums=('8c54c8e6b7dd1c4997d2df490a3fe31d' '3a7ab4a3a4aa26745c134bb9e65ce3bc' '74553971c70ec14195955bbd579b63a6' - 'c1cd60fe31548acdbe17d55442bcee76') + 'cb9ea2fa6f4436c2645b0e465597a734') prepare() { diff --git a/alarm/uboot-clearfog/sd_fusing.sh b/alarm/uboot-clearfog/sd_fusing.sh old mode 100644 new mode 100755 index 6f331ed82..9e7d8d26c --- a/alarm/uboot-clearfog/sd_fusing.sh +++ b/alarm/uboot-clearfog/sd_fusing.sh @@ -32,11 +32,11 @@ fi # fusing images echo "u-boot fusing" -dd if=/boot/u-boot-clearfog.mmc of=/dev/mmcblk0 bs=512 seek=1 +dd if=./u-boot-clearfog.mmc of=$1 bs=512 seek=1 echo "u-boot environemnt fusing" -dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=1920 count=128 -dd if=/boot/clearfog.env of=/dev/mmcblk0 bs=512 seek=1920 +dd if=/dev/zero of=$1 bs=512 seek=1920 count=128 +dd if=./clearfog.env of=$1 bs=512 seek=1920 #################################### #