chenleo92 / opkg-static Goto Github PK
View Code? Open in Web Editor NEWThis project forked from pfalcon/opkg-static
Static self-contained opkg (the package manager) build for real-world embedded platforms like Android, Kindle, etc.
This project forked from pfalcon/opkg-static
Static self-contained opkg (the package manager) build for real-world embedded platforms like Android, Kindle, etc.
Static self-contained opkg binary for adhoc vendor devices ========================================================== Opkg is a package manager for embedded systems, http://code.google.com/p/opkg/ , http://en.wikipedia.org/wiki/Opkg There are quite a few devices on the market which use Embedded Linux, but don't follow POSIX/Linux best practices and instead use adhoc vendor system structure. Oftentimes, file system layout doesn't match (or conflicts with) FHS (http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard) and user may not have write access to the entire file system, or important. Examples of such systems are Android, Kindle, etc. Users may still want to use package management for "sideloaded" Linux software, and this project is intended to make this possible. These are build scripts to build a fully static, dependency-less opkg binary for Android. The idea of this project is to provide an opkg build independent of the vendor system. Full independence of underlying system means it can be used without root permissions, or could be used even to manage vendor installation itself (for example, "Packaged Android"). To these ends, opkg is built statically, against libcurl (to not depend on a standalone wget), which in turn is built against c-ares, to not rely on /etc/resolv.conf being available (you can't create/edit that on a non-rooted device). Filesystem paths for configuration files (including network resolver ones) and package data storage is fully configurable. Usage: To build opkg, ARM cross-toolchain is needed. CodeSourcery arm-2011.09-70-arm-none-linux-gnueabi is used as the reference. If you want to download (~80MB) and setup it automatically, run: source ./setup-toolchain.sh Otherwise, you should have arm-none-linux-gnueabi-gcc and other toolchain executables in your PATH. ./download.sh To download required source packages. You need to run this once. ./build-*.sh Run build file for a particular device and configuration. Binary will be available as opkg/install/bin/opkg-static . ./install-android.sh This script will install opkg-static and require files to a connected Android device via ADB. (Works only for build-android-data-local.sh)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.