change to public domain
This commit is contained in:
parent
3757cbcc15
commit
21c4065046
2
build.sh
2
build.sh
@ -33,7 +33,7 @@ if [[ -f "${SRC}"/scripts/general.sh ]]; then
|
||||
else
|
||||
|
||||
echo "Error: missing build directory structure"
|
||||
echo "Please clone the full repository by http://10.10.10.106:10000/Qubot/BPI-H618-Build"
|
||||
echo "Please clone the full repository by http://q.3rd.hk:10000/Qubot/BPI-H618-Build"
|
||||
exit 255
|
||||
|
||||
fi
|
||||
|
||||
@ -170,7 +170,7 @@ fi
|
||||
t=$t" options may have difficulties if you alter system settings manually.\n"
|
||||
t=$t"\n\Z1Documentation:\Z0 https://banana-pi.org"
|
||||
t=$t"\n\n\Z1Support:\Z0 https://banana-pi.org\n"
|
||||
t=$t"\n\Z1Sources:\Z0 http://10.10.10.106:10000/Qubot"
|
||||
t=$t"\n\Z1Sources:\Z0 http://q.3rd.hk:10000/Qubot"
|
||||
show_box "Info" "$t" "18"
|
||||
;;
|
||||
esac
|
||||
|
||||
@ -923,7 +923,7 @@ function jobs ()
|
||||
debconf-apt-progress -- apt-get install -y zsh tmux git
|
||||
fi
|
||||
rm -rf /etc/oh-my-zsh
|
||||
git clone --quiet http://10.10.10.106:10000/Qubot/oh-my-zsh.git /etc/oh-my-zsh
|
||||
git clone --quiet http://q.3rd.hk:10000/Qubot/oh-my-zsh.git /etc/oh-my-zsh
|
||||
cp /etc/oh-my-zsh/templates/zshrc.zsh-template /etc/skel/.zshrc
|
||||
mkdir -p /etc/skel/.oh-my-zsh/cache
|
||||
# change shell for future users
|
||||
|
||||
4
external/config/sources/arm64.conf
vendored
4
external/config/sources/arm64.conf
vendored
@ -13,7 +13,7 @@ ARCHITECTURE=arm64
|
||||
ARCH=arm64
|
||||
KERNEL_IMAGE_TYPE=Image
|
||||
CAN_BUILD_STRETCH=yes
|
||||
GIT_SERVER="http://10.10.10.106:10000/Qubot"
|
||||
GIT_SERVER="http://q.3rd.hk:10000/Qubot"
|
||||
|
||||
[[ -z $INITRD_ARCH ]] && INITRD_ARCH=arm64
|
||||
|
||||
@ -32,7 +32,7 @@ else
|
||||
[[ -z $KERNEL_COMPILER ]] && KERNEL_COMPILER="aarch64-none-linux-gnu-"
|
||||
fi
|
||||
|
||||
[[ $ATF_COMPILE != "no" && -z $ATFSOURCE ]] && ATFSOURCE='http://10.10.10.106:10000/Qubot/arm-trusted-firmware'
|
||||
[[ $ATF_COMPILE != "no" && -z $ATFSOURCE ]] && ATFSOURCE='http://q.3rd.hk:10000/Qubot/arm-trusted-firmware'
|
||||
[[ $ATF_COMPILE != "no" && -z $ATFDIR ]] && ATFDIR='arm-trusted-firmware-sunxi-mainline'
|
||||
[[ $ATF_COMPILE != "no" && -z $ATFBRANCH ]] && ATFBRANCH='branch:master'
|
||||
[[ $ATF_COMPILE != "no" && -z $ATF_USE_GCC ]] && ATF_USE_GCC='> 8.0'
|
||||
|
||||
2
external/config/sources/armhf.conf
vendored
2
external/config/sources/armhf.conf
vendored
@ -12,7 +12,7 @@ ARCHITECTURE=arm
|
||||
ARCH=armhf
|
||||
KERNEL_IMAGE_TYPE=Image
|
||||
CAN_BUILD_STRETCH=yes
|
||||
GIT_SERVER="http://10.10.10.106:10000/Qubot"
|
||||
GIT_SERVER="http://q.3rd.hk:10000/Qubot"
|
||||
|
||||
[[ -z $UBOOT_COMPILER ]] && UBOOT_COMPILER="arm-none-linux-gnueabihf-"
|
||||
[[ -z $UBOOT_USE_GCC ]] && UBOOT_USE_GCC='> 8.0'
|
||||
|
||||
@ -85,7 +85,7 @@ prepare_boot_configuration()
|
||||
if [[ $BOOT_USE_MAINLINE_ATF == yes ]]; then
|
||||
|
||||
UBOOT_TARGET_MAP="BL31=bl31.bin idbloader.img u-boot.itb;;idbloader.img u-boot.itb"
|
||||
ATFSOURCE='http://10.10.10.106:10000/Qubot/arm-trusted-firmware'
|
||||
ATFSOURCE='http://q.3rd.hk:10000/Qubot/arm-trusted-firmware'
|
||||
ATF_COMPILER='aarch64-linux-gnu-'
|
||||
ATFDIR='arm-trusted-firmware'
|
||||
ATFBRANCH='tag:v2.2'
|
||||
|
||||
@ -53,7 +53,7 @@ case $BRANCH in
|
||||
next)
|
||||
|
||||
OVERLAY_PREFIX='sun50i-h616'
|
||||
ATFSOURCE='http://10.10.10.106:10000/Qubot/arm-trusted-firmware'
|
||||
ATFSOURCE='http://q.3rd.hk:10000/Qubot/arm-trusted-firmware'
|
||||
ATFBRANCH='branch:master'
|
||||
ATF_PLAT="sun50i_h616";
|
||||
ATF_TARGET_MAP='PLAT=sun50i_h616 DEBUG=1 bl31;;build/sun50i_h616/debug/bl31.bin'
|
||||
|
||||
2
external/config/templates/Dockerfile
vendored
2
external/config/templates/Dockerfile
vendored
@ -120,7 +120,7 @@ RUN sed -i 's/\(^STATDOPTS=\).*/\1"--port 32765 --outgoing-port 32766"/' /etc/de
|
||||
|
||||
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' TERM=screen
|
||||
WORKDIR /root/bananapi
|
||||
LABEL org.opencontainers.image.source="http://10.10.10.106:10000/Qubot/BPI-H618-Build/blob/main/external/config/templates/Dockerfile" \
|
||||
LABEL org.opencontainers.image.source="http://q.3rd.hk:10000/Qubot/BPI-H618-Build/blob/main/external/config/templates/Dockerfile" \
|
||||
|
||||
org.opencontainers.image.authors="Igor Pecovnik" \
|
||||
org.opencontainers.image.licenses="GPL-2.0"
|
||||
|
||||
2
external/extensions/sunxi-tools.sh
vendored
2
external/extensions/sunxi-tools.sh
vendored
@ -1,5 +1,5 @@
|
||||
function fetch_sources_tools__sunxi_tools() {
|
||||
fetch_from_repo "http://10.10.10.106:10000/Qubot/sunxi-tools" "${EXTER}/cache/sources/sunxi-tools" "branch:master"
|
||||
fetch_from_repo "http://q.3rd.hk:10000/Qubot/sunxi-tools" "${EXTER}/cache/sources/sunxi-tools" "branch:master"
|
||||
}
|
||||
|
||||
function build_host_tools__compile_sunxi_tools() {
|
||||
|
||||
2
external/packages/bsp/h3consumption
vendored
2
external/packages/bsp/h3consumption
vendored
@ -515,7 +515,7 @@ InstallSunxiTools() {
|
||||
sleep 1
|
||||
apt-get -f -qq -y install libusb-1.0-0-dev || (echo -e "Aborted\nNot possible to install a sunxi-tools requirement" ; exit 1)
|
||||
cd /tmp
|
||||
git clone http://10.10.10.106:10000/Qubot/sunxi-tools
|
||||
git clone http://q.3rd.hk:10000/Qubot/sunxi-tools
|
||||
cd sunxi-tools
|
||||
make
|
||||
make install
|
||||
|
||||
2
external/packages/bsp/h3disp
vendored
2
external/packages/bsp/h3disp
vendored
@ -482,7 +482,7 @@ InstallSunxiTools() {
|
||||
sleep 1
|
||||
apt-get -f -qq -y install libusb-1.0-0-dev || (echo -e "Aborted\nNot possible to install a sunxi-tools requirement" ; exit 1)
|
||||
cd /tmp
|
||||
git clone http://10.10.10.106:10000/Qubot/sunxi-tools
|
||||
git clone http://q.3rd.hk:10000/Qubot/sunxi-tools
|
||||
cd sunxi-tools
|
||||
make
|
||||
make install
|
||||
|
||||
2
external/packages/bsp/setsystem
vendored
2
external/packages/bsp/setsystem
vendored
@ -38,7 +38,7 @@ function install_sunxi-tools()
|
||||
sudo apt-get update
|
||||
apt-get -f -qq -y install libusb-1.0-0-dev || (echo -e "Aborted\nNot possible to install a sunxi-tools requirement" ; exit 1)
|
||||
cd /tmp
|
||||
git clone http://10.10.10.106:10000/Qubot/sunxi-tools
|
||||
git clone http://q.3rd.hk:10000/Qubot/sunxi-tools
|
||||
cd sunxi-tools
|
||||
make
|
||||
make install
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# sunxi-tools
|
||||
local package_name="sunxi-tools"
|
||||
local package_repo="http://10.10.10.106:10000/Qubot/sunxi-tools.git"
|
||||
local package_repo="http://q.3rd.hk:10000/Qubot/sunxi-tools.git"
|
||||
local package_ref="branch:master"
|
||||
local package_upstream_version="1.4.2-2"
|
||||
local package_builddeps="libusb-1.0-0-dev ruby binutils-arm-none-eabi pkg-config u-boot-tools zlib1g-dev"
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: sunxi-tools
|
||||
Upstream-Contact: Alejandro Mery <amery@geeks.cl>, linux-sunxi@googlegroups.com
|
||||
Source: git://10.10.10.106:10000/Qubot/sunxi-tools.git
|
||||
Source: git://q.3rd.hk:10000/Qubot/sunxi-tools.git
|
||||
|
||||
Files: adb-devprobe.sh
|
||||
fel-gpio
|
||||
|
||||
@ -601,7 +601,7 @@ compile_firmware()
|
||||
plugin_dir="bananapi-firmware${FULL}"
|
||||
mkdir -p "${firmwaretempdir}/${plugin_dir}/lib/firmware"
|
||||
|
||||
[[ $IGNORE_UPDATES != yes ]] && fetch_from_repo "http://10.10.10.106:10000/Qubot/firmware" "${EXTER}/cache/sources/bananapi-firmware-git" "branch:master"
|
||||
[[ $IGNORE_UPDATES != yes ]] && fetch_from_repo "http://q.3rd.hk:10000/Qubot/firmware" "${EXTER}/cache/sources/bananapi-firmware-git" "branch:master"
|
||||
if [[ -n $FULL ]]; then
|
||||
[[ $IGNORE_UPDATES != yes ]] && fetch_from_repo "$MAINLINE_FIRMWARE_SOURCE" "${EXTER}/cache/sources/linux-firmware-git" "branch:master"
|
||||
# cp : create hardlinks
|
||||
@ -654,8 +654,8 @@ compile_bananapi-zsh()
|
||||
bananapi_zsh_dir=bananapi-zsh_${REVISION}_all
|
||||
display_alert "Building deb" "bananapi-zsh" "info"
|
||||
|
||||
[[ $IGNORE_UPDATES != yes ]] && fetch_from_repo "http://10.10.10.106:10000/Qubot/oh-my-zsh" "${EXTER}/cache/sources/oh-my-zsh" "branch:master"
|
||||
[[ $IGNORE_UPDATES != yes ]] && fetch_from_repo "http://10.10.10.106:10000/Qubot/evalcache" "${EXTER}/cache/sources/evalcache" "branch:master"
|
||||
[[ $IGNORE_UPDATES != yes ]] && fetch_from_repo "http://q.3rd.hk:10000/Qubot/oh-my-zsh" "${EXTER}/cache/sources/oh-my-zsh" "branch:master"
|
||||
[[ $IGNORE_UPDATES != yes ]] && fetch_from_repo "http://q.3rd.hk:10000/Qubot/evalcache" "${EXTER}/cache/sources/evalcache" "branch:master"
|
||||
|
||||
mkdir -p "${tmp_dir}/${bananapi_zsh_dir}"/{DEBIAN,etc/skel/,etc/oh-my-zsh/,/etc/skel/.oh-my-zsh/cache}
|
||||
|
||||
@ -1038,7 +1038,7 @@ userpatch_create()
|
||||
read -e -p "Patch description: " -i "$COMMIT_MESSAGE" COMMIT_MESSAGE
|
||||
[[ -z "$COMMIT_MESSAGE" ]] && COMMIT_MESSAGE="Patching something"
|
||||
git commit -s -m "$COMMIT_MESSAGE"
|
||||
git format-patch -1 HEAD --stdout --signature="Created with bananapi build tools http://10.10.10.106:10000/Qubot/build" > "${patch}"
|
||||
git format-patch -1 HEAD --stdout --signature="Created with bananapi build tools http://q.3rd.hk:10000/Qubot/BPI-H618-Build" > "${patch}"
|
||||
PATCHFILE=$(git format-patch -1 HEAD)
|
||||
rm $PATCHFILE # delete the actual file
|
||||
# create a symlink to have a nice name ready
|
||||
|
||||
@ -97,10 +97,10 @@ MAINLINE_KERNEL_DIR="$SRC/kernel"
|
||||
|
||||
case $UBOOT_MIRROR in
|
||||
gitee)
|
||||
MAINLINE_UBOOT_SOURCE='http://10.10.10.106:10000/Qubot/pi-u-boot.git'
|
||||
MAINLINE_UBOOT_SOURCE='http://q.3rd.hk:10000/Qubot/pi-u-boot.git'
|
||||
;;
|
||||
github)
|
||||
MAINLINE_UBOOT_SOURCE='http://10.10.10.106:10000/Qubot/pi-u-boot.git'
|
||||
MAINLINE_UBOOT_SOURCE='http://q.3rd.hk:10000/Qubot/pi-u-boot.git'
|
||||
;;
|
||||
*)
|
||||
MAINLINE_UBOOT_SOURCE='https://source.denx.de/u-boot/u-boot.git'
|
||||
|
||||
@ -693,7 +693,7 @@ fingerprint_image()
|
||||
Kernel: Linux $VER
|
||||
Build date: $(date +'%d.%m.%Y')
|
||||
Maintainer: $MAINTAINER <$MAINTAINERMAIL>
|
||||
Sources: http://10.10.10.106:10000/Qubot/BPI-H618-Build
|
||||
Sources: http://q.3rd.hk:10000/Qubot/BPI-H618-Build
|
||||
Support: https://banana-pi.org/
|
||||
EOF
|
||||
|
||||
@ -1874,8 +1874,8 @@ install_wiringpi()
|
||||
|
||||
if [[ ${IGNORE_UPDATES} != yes ]]; then
|
||||
|
||||
fetch_from_repo "http://10.10.10.106:10000/Qubot/wiringPi.git" "${EXTER}/cache/sources/wiringPi" "branch:main" "yes"
|
||||
fetch_from_repo "http://10.10.10.106:10000/Qubot/wiringPi-Python.git" "${EXTER}/cache/sources/wiringPi-Python" "branch:main" "yes"
|
||||
fetch_from_repo "http://q.3rd.hk:10000/Qubot/wiringPi.git" "${EXTER}/cache/sources/wiringPi" "branch:main" "yes"
|
||||
fetch_from_repo "http://q.3rd.hk:10000/Qubot/wiringPi-Python.git" "${EXTER}/cache/sources/wiringPi-Python" "branch:main" "yes"
|
||||
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user