Loading docker-entrypoint.sh +9 −10 Original line number Diff line number Diff line Loading @@ -18,7 +18,10 @@ print_usage() { echo "Commands:" echo " sync-current Sync all repositories to their current branches" echo " sync-manifest Sync all repositories to master" echo " build Run PyraOS build script (see script for arguments" echo " build Run PyraOS build script" echo " bootloader" echo " linux" echo " rootfs" echo " build-all [2gb|4gb] Build PyraOS for 2gb or 4gb HW" echo " bash Configure environment and start bash shell" } Loading @@ -33,15 +36,10 @@ sync_to_manifest() { repo sync -d } build() { ./build.sh $1 $2 } build_all() { ./build.sh uboot $1 ./build.sh kernel ./build.sh rootfs ./build.sh image PYRA_DDR=$1 make bootloader make linux make rootfs } main() { Loading @@ -57,7 +55,8 @@ main() { ;; build) build $2 $3 [[ ! -z $3 ]] && export PYRA_DDR=$3 make $2 ;; build-all) Loading Loading
docker-entrypoint.sh +9 −10 Original line number Diff line number Diff line Loading @@ -18,7 +18,10 @@ print_usage() { echo "Commands:" echo " sync-current Sync all repositories to their current branches" echo " sync-manifest Sync all repositories to master" echo " build Run PyraOS build script (see script for arguments" echo " build Run PyraOS build script" echo " bootloader" echo " linux" echo " rootfs" echo " build-all [2gb|4gb] Build PyraOS for 2gb or 4gb HW" echo " bash Configure environment and start bash shell" } Loading @@ -33,15 +36,10 @@ sync_to_manifest() { repo sync -d } build() { ./build.sh $1 $2 } build_all() { ./build.sh uboot $1 ./build.sh kernel ./build.sh rootfs ./build.sh image PYRA_DDR=$1 make bootloader make linux make rootfs } main() { Loading @@ -57,7 +55,8 @@ main() { ;; build) build $2 $3 [[ ! -z $3 ]] && export PYRA_DDR=$3 make $2 ;; build-all) Loading