-
Notifications
You must be signed in to change notification settings - Fork 1
tutorial_2022_obsolete
parke edited this page Jan 4, 2022
·
1 revision
Introduction
- Let's try to build Arch's Lua package.
Commands
$ ./vland --create arch
$ ./vland --arch_sdk arch
$ ./vland arch -nr -- TODO_install_deps
$ ./vland arch -n -- TODO_build_package
Commentary
- Line 1 is optional if you have already created the
arch
userland. - Line 2 configures the
arch
userland for building packages. - Line 3 installs necessary dependencies.
- Line 4 builds the
lua
package.
(This tutorial has yet to be written.)
Introduction
- For certain downloads,
vland
uses thearia2c
download utility. - If
aria2c
is not installed on the host system,vland
will download a static bulid ofaria2c
. - Tutorial 11 shows how I use
vland
to create a static build ofaria2c
.
Commands
$ wget TODO
$ /bin/sh aria2c-static.sh --run
$ ls -lh
Commentary
- Line 1 downloads my
aria2c-static.sh
script. - Line 2 runs my
aria2c-static.sh
script. This script:- installs vland
- installs a Void Linux userland
- builds custom versions of key libraries
- builds a static build of
aria2c
-
vland
itself creates and configures guest userlands. - However, to actually execute a program inside a guest userland,
vland
uses a separate tool called Lxroot. - You may learn about Lxroot by reading the Lxroot tutorial.