1
0
mirror of https://github.com/rancher/os.git synced 2025-07-03 18:16:13 +00:00

Fix rpi64 build

This commit is contained in:
niusmallnan 2018-09-07 15:40:14 +08:00
parent 4634759449
commit dcce547bad
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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---