mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -387,7 +387,7 @@ install_common()
|
|||||||
|
|
||||||
# switch to beta repository at this stage if building nightly images
|
# switch to beta repository at this stage if building nightly images
|
||||||
[[ $IMAGE_TYPE == nightly ]] \
|
[[ $IMAGE_TYPE == nightly ]] \
|
||||||
&& echo "deb http://beta.armbian.com $RELEASE main ${RELEASE}-utils ${RELEASE}-desktop" \
|
&& echo "deb https://beta.armbian.com $RELEASE main ${RELEASE}-utils ${RELEASE}-desktop" \
|
||||||
> "${SDCARD}"/etc/apt/sources.list.d/armbian.list
|
> "${SDCARD}"/etc/apt/sources.list.d/armbian.list
|
||||||
|
|
||||||
# Cosmetic fix [FAILED] Failed to start Set console font and keymap at first boot
|
# Cosmetic fix [FAILED] Failed to start Set console font and keymap at first boot
|
||||||
|
|||||||
@@ -188,7 +188,7 @@ create_sources_list()
|
|||||||
|
|
||||||
# stage: add armbian repository and install key
|
# stage: add armbian repository and install key
|
||||||
if [[ $DOWNLOAD_MIRROR == "china" ]]; then
|
if [[ $DOWNLOAD_MIRROR == "china" ]]; then
|
||||||
echo "deb http://mirrors.tuna.tsinghua.edu.cn/armbian $RELEASE main ${RELEASE}-utils ${RELEASE}-desktop" > "${SDCARD}"/etc/apt/sources.list.d/armbian.list
|
echo "deb https://mirrors.tuna.tsinghua.edu.cn/armbian $RELEASE main ${RELEASE}-utils ${RELEASE}-desktop" > "${SDCARD}"/etc/apt/sources.list.d/armbian.list
|
||||||
elif [[ $DOWNLOAD_MIRROR == "bfsu" ]]; then
|
elif [[ $DOWNLOAD_MIRROR == "bfsu" ]]; then
|
||||||
echo "deb http://mirrors.bfsu.edu.cn/armbian $RELEASE main ${RELEASE}-utils ${RELEASE}-desktop" > "${SDCARD}"/etc/apt/sources.list.d/armbian.list
|
echo "deb http://mirrors.bfsu.edu.cn/armbian $RELEASE main ${RELEASE}-utils ${RELEASE}-desktop" > "${SDCARD}"/etc/apt/sources.list.d/armbian.list
|
||||||
else
|
else
|
||||||
@@ -992,7 +992,7 @@ prepare_host()
|
|||||||
|
|
||||||
if [[ $(dpkg --print-architecture) != amd64 ]]; then
|
if [[ $(dpkg --print-architecture) != amd64 ]]; then
|
||||||
display_alert "Please read documentation to set up proper compilation environment"
|
display_alert "Please read documentation to set up proper compilation environment"
|
||||||
display_alert "http://www.armbian.com/using-armbian-tools/"
|
display_alert "https://www.armbian.com/using-armbian-tools/"
|
||||||
exit_with_error "Running this tool on non x86-x64 build host is not supported"
|
exit_with_error "Running this tool on non x86-x64 build host is not supported"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -1221,7 +1221,7 @@ prepare_host()
|
|||||||
if [[ ! -f "${USERPATCHES_PATH}"/README ]]; then
|
if [[ ! -f "${USERPATCHES_PATH}"/README ]]; then
|
||||||
rm -f "${USERPATCHES_PATH}"/readme.txt
|
rm -f "${USERPATCHES_PATH}"/readme.txt
|
||||||
echo 'Please read documentation about customizing build configuration' > "${USERPATCHES_PATH}"/README
|
echo 'Please read documentation about customizing build configuration' > "${USERPATCHES_PATH}"/README
|
||||||
echo 'http://www.armbian.com/using-armbian-tools/' >> "${USERPATCHES_PATH}"/README
|
echo 'https://www.armbian.com/using-armbian-tools/' >> "${USERPATCHES_PATH}"/README
|
||||||
|
|
||||||
# create patches directory structure under USERPATCHES_PATH
|
# create patches directory structure under USERPATCHES_PATH
|
||||||
find "${SRC}"/patch -maxdepth 2 -type d ! -name . | sed "s%/.*patch%/$USERPATCHES_PATH%" | xargs mkdir -p
|
find "${SRC}"/patch -maxdepth 2 -type d ! -name . | sed "s%/.*patch%/$USERPATCHES_PATH%" | xargs mkdir -p
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ if [[ $BUILD_ALL != "yes" && -z $ROOT_FS_CREATE_ONLY ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# We'll use this title on all menus
|
# We'll use this title on all menus
|
||||||
backtitle="Armbian building script, http://www.armbian.com | Author: Igor Pecovnik"
|
backtitle="Armbian building script, https://www.armbian.com | Author: Igor Pecovnik"
|
||||||
|
|
||||||
# if language not set, set to english
|
# if language not set, set to english
|
||||||
[[ -z $LANGUAGE ]] && export LANGUAGE="en_US:en"
|
[[ -z $LANGUAGE ]] && export LANGUAGE="en_US:en"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ Version=1.0
|
|||||||
Type=Link
|
Type=Link
|
||||||
Name=Help
|
Name=Help
|
||||||
Comment=Community forums
|
Comment=Community forums
|
||||||
URL=http://forum.armbian.com
|
URL=https://forum.armbian.com
|
||||||
Icon=help-about
|
Icon=help-about
|
||||||
StartupNotify=false
|
StartupNotify=false
|
||||||
Terminal=false
|
Terminal=false
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# This file is licensed under the terms of the GNU General Public
|
# This file is licensed under the terms of the GNU General Public
|
||||||
# License version 2. This program is licensed "as is" without any
|
# License version 2. This program is licensed "as is" without any
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Copyright (c) Authors: http://www.armbian.com/authors
|
# Copyright (c) Authors: https://www.armbian.com/authors
|
||||||
#
|
#
|
||||||
# Tool to transfer the rootfs of an already running Armbian installation from SD card
|
# Tool to transfer the rootfs of an already running Armbian installation from SD card
|
||||||
# to NAND, eMMC, SATA or USB storage. In case of eMMC it's also possible to transfer
|
# to NAND, eMMC, SATA or USB storage. In case of eMMC it's also possible to transfer
|
||||||
@@ -22,7 +22,7 @@ logfile="/var/log/nand-sata-install.log"
|
|||||||
|
|
||||||
# read in board info
|
# read in board info
|
||||||
[[ -f /etc/armbian-release ]] && source /etc/armbian-release
|
[[ -f /etc/armbian-release ]] && source /etc/armbian-release
|
||||||
backtitle="Armbian for $BOARD_NAME install script, http://www.armbian.com"
|
backtitle="Armbian for $BOARD_NAME install script, https://www.armbian.com"
|
||||||
title="NAND, eMMC, SATA, USB and NVMe Armbian installer v${VERSION}"
|
title="NAND, eMMC, SATA, USB and NVMe Armbian installer v${VERSION}"
|
||||||
|
|
||||||
# exceptions
|
# exceptions
|
||||||
|
|||||||
@@ -56,9 +56,9 @@
|
|||||||
# ethtool -s eth0 speed 100 duplex full / ethtool -s eth0 speed 1000 duplex full
|
# ethtool -s eth0 speed 100 duplex full / ethtool -s eth0 speed 1000 duplex full
|
||||||
#
|
#
|
||||||
# More information (and discussion in case questions arise!) in Armbian forum:
|
# More information (and discussion in case questions arise!) in Armbian forum:
|
||||||
# http://forum.armbian.com/index.php/topic/1614-running-h3-boards-with-minimal-consumption/
|
# https://forum.armbian.com/index.php/topic/1614-running-h3-boards-with-minimal-consumption/
|
||||||
# http://forum.armbian.com/index.php/topic/1748-sbc-consumptionperformance-comparisons/
|
# https://forum.armbian.com/index.php/topic/1748-sbc-consumptionperformance-comparisons/
|
||||||
# http://forum.armbian.com/index.php/topic/1823-opi-pc-wireless-not-powering-off/
|
# https://forum.armbian.com/index.php/topic/1823-opi-pc-wireless-not-powering-off/
|
||||||
#
|
#
|
||||||
#############################################################################
|
#############################################################################
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -52,7 +52,7 @@
|
|||||||
# HDMI modes to choose and whether a HDMI-to-DVI converter is used or not
|
# HDMI modes to choose and whether a HDMI-to-DVI converter is used or not
|
||||||
#
|
#
|
||||||
# - maybe implement live resolution switching as outlined by Jernej:
|
# - maybe implement live resolution switching as outlined by Jernej:
|
||||||
# http://forum.armbian.com/index.php/topic/617-wip-orange-pi-one-support-for-the-upcoming-orange-pi-one/?p=5305
|
# https://forum.armbian.com/index.php/topic/617-wip-orange-pi-one-support-for-the-upcoming-orange-pi-one/?p=5305
|
||||||
# (we would also need a working set of fbset modes in /etc/fb.modes
|
# (we would also need a working set of fbset modes in /etc/fb.modes
|
||||||
# of course)
|
# of course)
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user