tutorial_2022_obsolete - parke/vland GitHub Wiki
Tutorial 6 - Build Arch's Lua package
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
archuserland. - Line 2 configures the
archuserland for building packages. - Line 3 installs necessary dependencies.
- Line 4 builds the
luapackage.
Tutorial 7 - build Arch's Chromium package
(This tutorial has yet to be written.)
Tutorial 8 - create a static build of aria2c
Introduction
- For certain downloads,
vlanduses thearia2cdownload utility. - If
aria2cis not installed on the host system,vlandwill download a static bulid ofaria2c. - Tutorial 11 shows how I use
vlandto create a static build ofaria2c.
Commands
$ wget TODO
$ /bin/sh aria2c-static.sh --run
$ ls -lh
Commentary
- Line 1 downloads my
aria2c-static.shscript. - Line 2 runs my
aria2c-static.shscript. This script:- installs vland
- installs a Void Linux userland
- builds custom versions of key libraries
- builds a static build of
aria2c
See also: Lxroot tutorial
vlanditself creates and configures guest userlands.- However, to actually execute a program inside a guest userland,
vlanduses a separate tool called Lxroot. - You may learn about Lxroot by reading the Lxroot tutorial.