summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2019-02-13 04:35:13 +0000
committerVishal Bhoj <vishal.bhoj@linaro.org>2019-02-13 04:35:13 +0000
commit9c5ac82317c58b71712abe5dec5d7358239c5a4a (patch)
tree39732f1b6909e318fe8aa1cdacf5a3638f90ce0e
parent305ed477d8d3edc8a1c7439ee2b7ac2df9cf5b85 (diff)
downloadjuno-linaro-pie.tar.gz
fix packaging imagelinaro-pie
Change-Id: I972fcdc28cced08435fb8c670e480c61294405bd Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rwxr-xr-xpack_juno_img.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/pack_juno_img.sh b/pack_juno_img.sh
index 3901a0d..f083a2b 100755
--- a/pack_juno_img.sh
+++ b/pack_juno_img.sh
@@ -42,17 +42,17 @@ SECTOR_SIZE=512
SECTOR_NUMBER=7634944
dd if=/dev/zero of=${IMG} bs=${SECTOR_SIZE} count=${SECTOR_NUMBER}
-sgdisk -U 2CB85345-6A91-4043-8203-723F0D28FBE8 -v ${IMG}
+/sbin/sgdisk -U 2CB85345-6A91-4043-8203-723F0D28FBE8 -v ${IMG}
#[1: boot]
-sgdisk -n 1:0:+4M -t 1:0700 -u 1:496847AB-56A1-4CD5-A1AD-47F4ACF055C9 -c 1:"boot" ${IMG}
+/sbin/sgdisk -n 1:0:+4M -t 1:0700 -u 1:496847AB-56A1-4CD5-A1AD-47F4ACF055C9 -c 1:"boot" ${IMG}
#[2: system]
-sgdisk -n 2:0:+${SYSTEM_SIZE}M -t 2:8300 -u 2:61A36FC1-8EFB-4899-84D8-B61642EFA723 -c 2:"system" ${IMG}
+/sbin/sgdisk -n 2:0:+${SYSTEM_SIZE}M -t 2:8300 -u 2:61A36FC1-8EFB-4899-84D8-B61642EFA723 -c 2:"system" ${IMG}
#[3: vendor]
-sgdisk -n 3:0:+${VENDOR_SIZE}M -t 3:8300 -u 3:65007411-962D-4781-9B2C-51DD7DF22CC3 -c 3:"vendor" ${IMG}
+/sbin/sgdisk -n 3:0:+${VENDOR_SIZE}M -t 3:8300 -u 3:65007411-962D-4781-9B2C-51DD7DF22CC3 -c 3:"vendor" ${IMG}
#[4: userdata]
-sgdisk -n 4:0:+${USERDATA_SIZE}M -t 4:8300 -u 4:496847AB-56A1-4CD5-A1AD-47F4ACF055C9 -c 4:"userdata" ${IMG}
+/sbin/sgdisk -n 4:0:+${USERDATA_SIZE}M -t 4:8300 -u 4:496847AB-56A1-4CD5-A1AD-47F4ACF055C9 -c 4:"userdata" ${IMG}
#[5: cache]
- sgdisk -n 5:0:+${CACHE_SIZE}M -t 5:8300 -u 5:00354BCD-BBCB-4CB3-B5AE-CDEFCB5DAC43 -c 5:"cache" ${IMG}
+/sbin/sgdisk -n 5:0:+${CACHE_SIZE}M -t 5:8300 -u 5:00354BCD-BBCB-4CB3-B5AE-CDEFCB5DAC43 -c 5:"cache" ${IMG}
# Create partitions
LOOP_DEVICE=$(sudo losetup --partscan --show --find ${IMG})