Commit 8dd04c33 authored by Strit's avatar Strit

[buildarmimg][buildarmoem] remove pine64 support, it did not work. But the...

[buildarmimg][buildarmoem] remove pine64 support, it did not work. But the Pine64-lts board boots fine using the sopine profile
parent 7079c861
......@@ -42,7 +42,7 @@ usage_deploy_pkg() {
usage_deploy_img() {
echo "Usage: ${0##*/} [options]"
echo " -i <image> Image to upload. Should be a .zip file."
echo " -d <device> Device the image is for. [Default = rpi3. Options = rpi2, rpi3, oc1, oc2, xu4, rock64, sopine, pine64, pinebook and nyan-big]"
echo " -d <device> Device the image is for. [Default = rpi3. Options = rpi2, rpi3, oc1, oc2, xu4, rock64, sopine, pinebook and nyan-big]"
echo ' -e <edition> Edition of the image. [Default = minimal. Options = minimal, lxqt, mate and server]'
echo " -v <version> Version of the image. [Default = Current YY.MM]"
echo " -t Create a torrent of the image"
......@@ -66,7 +66,7 @@ usage_build_pkg() {
usage_build_img() {
echo "Usage: ${0##*/} [options]"
echo " -d <device> Device [Default = rpi3. Options = rpi2, rpi3, oc1, oc2, xu4, rock64, sopine, pine64, pinebook and nyan-big]"
echo " -d <device> Device [Default = rpi3. Options = rpi2, rpi3, oc1, oc2, xu4, rock64, sopine, pinebook and nyan-big]"
echo " -e <edition> Edition to build [Default = minimal. Options = minimal, lxqt, mate and server]"
echo " -v <version> Define the version the resulting image should be named. [Default is current YY.MM]"
echo " -u <user> Username for default user. [Default = manjaro]"
......@@ -82,7 +82,7 @@ usage_build_img() {
usage_build_oem() {
echo "Usage: ${0##*/} [options]"
echo " -d <device> Device [Default = rpi3. Options = rpi2, rpi3, oc1, oc2, xu4, rock64, sopine, pine64, pinebook and nyan-big]"
echo " -d <device> Device [Default = rpi3. Options = rpi2, rpi3, oc1, oc2, xu4, rock64, sopine, pinebook and nyan-big]"
echo " -e <edition> Edition to build [Default = minimal. Options = minimal, lxqt, mate and server]"
echo " -v <version> Define the version the resulting image should be named. [Default is current YY.MM]"
echo " -i <package> Install local package into image rootfs."
......@@ -412,7 +412,7 @@ create_rootfs_oem() {
create_img() {
# Test for device input
if [[ "$DEVICE" != "rpi2" && "$DEVICE" != "oc1" && "$DEVICE" != "oc2" && "$DEVICE" != "xu4" && "$DEVICE" != "pinebook" && "$DEVICE" != "sopine" && "$DEVICE" != "pine64" && "$DEVICE" != "rpi3" && "$DEVICE" != "rock64" && "$DEVICE" != "rockpro64" && "$DEVICE" != "nyan-big" ]]; then
if [[ "$DEVICE" != "rpi2" && "$DEVICE" != "oc1" && "$DEVICE" != "oc2" && "$DEVICE" != "xu4" && "$DEVICE" != "pinebook" && "$DEVICE" != "sopine" && "$DEVICE" != "rpi3" && "$DEVICE" != "rock64" && "$DEVICE" != "rockpro64" && "$DEVICE" != "nyan-big" ]]; then
echo 'Invalid device '$DEVICE', please choose one of the following'
echo 'rpi2
oc1
......@@ -420,7 +420,6 @@ create_img() {
xu4
pinebook
sopine
pine64
rpi3
rock64
rockpro64
......@@ -513,7 +512,7 @@ create_img() {
sudo partprobe $LDEV 1> /dev/null 2>&1
## For pine devices
elif [[ "$DEVICE" = "pinebook" ]] || [[ "$DEVICE" = "sopine" ]] || [[ "$DEVICE" = "pine64" ]]; then
elif [[ "$DEVICE" = "pinebook" ]] || [[ "$DEVICE" = "sopine" ]]; then
#Clear first 8mb
sudo dd if=/dev/zero of=${LDEV} bs=1M count=8 1> /dev/null 2>&1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment