Use master branch of CI

This commit is contained in:
Dylan Van Assche 2019-10-17 22:55:52 +02:00
parent 98e5dc8c7e
commit 1280511652
No known key found for this signature in database
GPG Key ID: EB0030A875E07AD0
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
VERSION="0.1"
BRANCH=u-boot
BRANCH=master
UBOOT_JOB=u-boot
UBOOT_DIR=u-boot-bootloader
ROOTFS_PINEPHONE_JOB=pinephone-rootfs
@ -56,13 +56,13 @@ sudo mkfs.ext4 -F -L data "${DEVICE_NODE}2" # 2nd partition = data
# Flashing u-boot
echo -e "\e[1mFlashing U-boot...\e[0m"
unzip -f "${UBOOT_JOB}.zip"
unzip "${UBOOT_JOB}.zip"
sudo dd if="./u-boot-bootloader/u-boot/u-boot-sunxi-with-spl.bin" of="$DEVICE_NODE" bs=8k seek=1
sync
# Flashing rootFS
echo -e "\e[1mFlashing rootFS...\e[0m"
unzip -f "${ROOTFS_JOB}.zip"
unzip "${ROOTFS_JOB}.zip"
TEMP=`ls $ROOTFS_DIR/*/*.tar.bz2`
echo "$TEMP"
mkdir "$MOUNT_DATA"