busybox 被被称为瑞士军刀,以极小的体积提供绝大多数命令行功能,alpine在busybox的基础上做出一个极小的linux系统。
- Ubuntu 22.10
- NDK-r25c
- busybox-v1.36
NDK可以直接去网站下载,也可以通过sdk-manager下载过来。
#! /bin/sh | |
# MIT License | |
# Copyright (c) [2023] [zongou@outlook.com] | |
APP_DIR="${HOME}/code-server" | |
is_termux() { test -n "${TERMUX_VERSION}"; } | |
is_alpine() { test -f /etc/os-release && test "$(grep "^ID=" /etc/os-release | cut -d= -f2-)"="alpine"; } | |
alpine_setup_build_env() { |
#!/bin/sh | |
# This script provides easy to use functions on termux | |
# export PREFIX=/data/data/com.termux/files/usr | |
_ROOTFS_DIR="/data/data/com.termux/files" | |
ansi_escape_code() { | |
# Base color | |
RED='\033[31m' | |
# Lighter shade |
To eat or not to eat. That isnt a question |