Skip to content

farmergreg/archlinux-lx-brand-image-builder

 
 

Repository files navigation

Arch Linux lx-brand Image Builder

This is a collection of scripts used for creating an LX-brand Arch Linux image.

Requirements

In order to use these scripts you'll need:

  • Arch Linux running in a KVM virtual machine or bare metal (required for the install script) with git installed. Running install in a lx-brand zone is not supported.
  • A SmartOS (or SDC headnode) install (required for the create-lx-image script)

Usage

Create a Arch Linux install tarball via the install script

On a Arch Linux machine, do the following:

  1. Clone this repo to your machine: git clone https://github.com/MerlinDMC/archlinux-lx-brand-image-builder
  2. Change to the repo directoru: cd archlinux-lx-brand-image-builder
  3. Run ./install -d <chroot> -m <mirror> -i <image name> -p <proper name> -u <image docs> to install Arch Linux to a given directory. This will create a tarball of the installation in your working directory (named <image name>-$YYMMDD.tar.gz). See ./install -h for detailed usage.

Create an lx brand image with the create-lx-image script

On a SmartOS in the global zone.

  1. Clone this repo (if you have git installed) or download and upack it
  2. Copy the tarball you created above to your SmartOS machine or SDC headnode and run ./create-lx-image -t /full/path/to/<image name>-<YYMMDD>.tar.gz (substituting the name of your tar file). This will create the image file and manifest.

About

Scripts used for creating an lx-brand Archlinux image https://docs.joyent.com/images/container-native-linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%