Skip to content

linux-validation/qemu-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QEMU-images

QEMU-images is a simple tool to download, update and repack QEMU images.

Features

QEMU-image is able to:

  • locate and fetch the latest cloud image from Debian
  • install some additional packages
  • repack and compress the resulting image
  • upload it to an artifactorial server
  • test it using LAVA

Requirements

QUEM-images requires some system binaries:

  • guestfish
  • qemu-img
  • virt-customize
  • zstd

On a Debian system, you can install the system dependencies using:

apt-get install libguestfs-tools qemu-utils zstd

QEM-images also requires some python libraries, listed in requirements.txt:

python3 -m pip install -r requirements.txt

Usage

In order to use QEMU-image, you should just run:

python3 run.py

QEMU-image will locate, download and update the Debian cloud images and store them into output/ sub-directory.

Uploading to Artifactorial

QEMU-image can also push to a given Artifactorial server if the environment variables are defined:

export ARTIFACTORIAL_URL="https://archive.validation.linaro.org/artifacts/team/lava/"
export ARTIFACTORIAL_TOKEN="<artifactorial-url>"

Testing with LAVA

QEMU-image can also test the resulting image with a provided LAVA instance. You should define the following environment variables:

export LAVA_URL="https://staging.validation.linaro.org"
export LAVA_TOKEN="<lava-token>"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages