diff --git a/scripts/images/raspberry-pi-hypriot64/Dockerfile.dapper b/scripts/images/raspberry-pi-hypriot64/Dockerfile.dapper index 5563bdf4..d82d93ea 100644 --- a/scripts/images/raspberry-pi-hypriot64/Dockerfile.dapper +++ b/scripts/images/raspberry-pi-hypriot64/Dockerfile.dapper @@ -1,5 +1,5 @@ FROM rancher/os-debianconsole-base -# FROM amd64=debian:jessie arm64=aarch64/debian:jessie arm=armhf/debian:jessie +# FROM amd64=ubuntu:xenial arm64=arm64v8/ubuntu:xenial ENV DAPPER_RUN_ARGS --privileged ENV DAPPER_OUTPUT dist diff --git a/scripts/images/raspberry-pi-hypriot64/scripts/build.sh b/scripts/images/raspberry-pi-hypriot64/scripts/build.sh index f1ecaa37..6d5a68d7 100755 --- a/scripts/images/raspberry-pi-hypriot64/scripts/build.sh +++ b/scripts/images/raspberry-pi-hypriot64/scripts/build.sh @@ -18,7 +18,7 @@ BOOT_PARTITION_SIZE=25 BOOT_PARTITION_OFFSET="$((BOOT_PARTITION_START*512))" BOOT_PARTITION_BYTES="$((BOOT_PARTITION_SIZE*1024*1024))" BOOT_PARTITION_SECTORS="$((BOOT_PARTITION_SIZE*1024*2))" -ROOT_PARTITION_START="$((BOOT_PARTITION_START+BOOT_PARTITION_SECTORS))" +ROOT_PARTITION_START="$((BOOT_PARTITION_START+BOOT_PARTITION_SECTORS+1))" ROOT_PARTITION_OFFSET="$((ROOT_PARTITION_START*512))" #---don't change here---