Skip to content

tutorial_2022_obsolete

parke edited this page Jan 4, 2022 · 1 revision

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 arch userland.
  • Line 2 configures the arch userland for building packages.
  • Line 3 installs necessary dependencies.
  • Line 4 builds the lua package.

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, vland uses the aria2c download utility.
  • If aria2c is not installed on the host system, vland will download a static bulid of aria2c.
  • Tutorial 11 shows how I use vland to create a static build of aria2c.

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

See also: Lxroot tutorial

  • 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.