View on GitHub

Get Arch Linux Bootstrap

https://archive.archlinux.org

Download this project as a .zip file Download this project as a tar.gz file

Build Status

Get Arch Linux Bootstrap

Arch Linux

Get the latest version of Arch Linux Bootstrap.
Designed for use in automated build scripts and container images.

Features

Requirements

Make sure your build server has these commandline utilities installed.

Usage

Default:

./get-archlinux-bootstrap.sh

Bash One-Liner:

curl -sL https://raw.githubusercontent.com/terencewestphal/get-archlinux-bootstrap/master/get-archlinux-bootstrap.sh | bash -

Options:

Usage: ./get-archlinux-bootstrap.sh [options...]
  
Options:
-v [version]  Download a specific version. Format: YYYY.MM.DD
-a [arch]     Download a specific architecture. Supported: x86_64, i686
-c            Use local cache. If found skip download
-r            Remove old files before downloading
-t            Trust the signature. Skip verifying the signature
-f            Fix archive. Removes prefix directory from archive (needs Python 3.5+)
-l            Show latest version
-h            Show this help

Tar Fix

By default the Bootstrap tarbal has its content prefixed with root.x86_64 or root.i686 depending on the architecture. This fix removes the tarball’s top-level directory from its component paths:

./get-archlinux-bootstrap.sh -f