-
Couldn't load subscription status.
- 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
archuserland. - Line 2 configures the
archuserland for building packages. - Line 3 installs necessary dependencies.
- Line 4 builds the
luapackage.
(This tutorial has yet to be written.)
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
-
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.