aboutsummaryrefslogtreecommitdiff
path: root/README
blob: aabc2d04ec0b36f547b7de5a9085a7e962457646 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
This project contains a collection of tools to help creating Linaro bootable
images to be used in development boards.

= Running linaro-media-create =

To run linaro-media-create you'll need to make sure the following packages are
installed:

  - parted
  - dosfstools
  - u-boot-tools or uboot-mkimage
  - python-argparse
  - python-dbus
  - python-debian >= 0.1.16ubuntu1
  - python-parted
  - qemu-user-static >= 0.13.0 (only if you're running on x86)
  - btrfs-tools
  - command-not-found

= Running tests =

Before running any tests you need to install the following packages:

  - testrepository
  - python-testtools >= 0.9.8
     (available at https://launchpad.net/~linaro-maintainers/+archive/tools)
  - python-debian >= 0.1.16ubuntu1
  - python-argparse
  - dpkg-dev
  - python-parted
  - python-dbus
  - python-apt
  - qemu-kvm
  - sfdisk

Also consider installing pyflakes, which is optional but will enable more
tests.

And run the following command:

  $ testr init

After that you can run the whole test suite with:

  $ testr run

If you want to learn more about testrepository:

  $ testr quickstart