aboutsummaryrefslogtreecommitdiff
path: root/rpb-uefi
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2017-05-24 10:45:19 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2017-05-24 07:47:19 +0000
commit00f46e181aec8405627b2c2ff40cecfbed6c31c7 (patch)
treeb69b383791f9522f9fbd51bdfa3ffccfdb56c88c /rpb-uefi
parent6e0617340e1a59ad18e88e7a6599d566fd7f897a (diff)
rpb-uefi-staging: pass SGDISK explicitely
* Adjust the syntax to latest generate_ptable.sh script * Remove sudo, not needed since we use fakeroot in the script Change-Id: I6a922a0a4147bf62c0c850cbcfed2f30756d26e8 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'rpb-uefi')
-rwxr-xr-xrpb-uefi/staging/builders.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpb-uefi/staging/builders.sh b/rpb-uefi/staging/builders.sh
index ddffbcfb..32a44fdf 100755
--- a/rpb-uefi/staging/builders.sh
+++ b/rpb-uefi/staging/builders.sh
@@ -162,7 +162,7 @@ if [ "${MX_PLATFORM}" == "hikey960" ]; then
ln -s ${WORKSPACE}/out/${BUILD_TYPE}/bl1.bin
ln -s ${WORKSPACE}/out/${BUILD_TYPE}/fip.bin
ln -s ${EDK2_DIR}/Build/${IMAGE_DIR}/${MX_TYPE}_*/FV/BL33_AP_UEFI.fd
- sudo PTABLE=aosp-32g SECTOR_SIZE=4096 bash -x generate_ptable.sh
+ PTABLE=aosp-32g SECTOR_SIZE=4096 SGDISK=./sgdisk bash -x generate_ptable.sh
python gen_loader_hikey960.py -o l-loader.bin --img_bl1=bl1.bin --img_ns_bl1u=BL33_AP_UEFI.fd
cp -a l-loader.bin prm_ptable.img ${WORKSPACE}/out/${BUILD_TYPE}
cd ${WORKSPACE}/${BUILD_NUMBER}