Age | Commit message (Collapse) | Author | Files | Lines |
|
qemu-kvm is not availlable on ARM.
Install it only on supported x86/x86_64
|
|
On some OS, the rights/user from host are not duplicated on guest.
So the tty is owned by root and cu could not read it.
Force the owning of all tty by uucp
|
|
Fix "Remove tty/stdin options"
|
|
The commit "Remove tty/stdin options" miss a part of the changes, since Dockerfile still exec bash.
Remove bash and replace it with a forever sleep
|
|
Misc
|
|
Keeping stdin open is not necessary since a long time.
Remove thoses unused options
|
|
The format for vendor/product ID need to be prefixed by 0x.
|
|
|
|
lavalab-gen.py does not handle arguments, lets remove all arg parsing
stuff.
|
|
Support python3, fix handling of hex values for vendor/product IDs.
|
|
Allow KVM support for slaves
|
|
Using "idproduct: 6001" let python convert 6001 to 24577 and so corrupt
the UDEV line.
|
|
lavalab-gen.py cannot be used with python3.
This patch made it compatible with both python2 and python3.
|
|
Now host_has_cpuflag_kvm is used, we need to document it.
|
|
The "devices" node is now automaticly generated and added, so remove
them from docker-compose.template.
|
|
Since lava-docker must run on all arch, and that KVM is x86 specific,
KVM support was disabled for qemu.
Reintroduce it now as an option for each lab via the
host_has_cpuflag_kvm flag.
|
|
The node devices was hardcoded for lava-slave.
For example, lava-master could never have devices.
Remove that hard-coding and made devices dynamic for any labname.
|
|
The boards.yaml documentation state that lava-slave should be named lab-slave-XXX
but docker-compose.template does not use this convention.
This force the use of this convention.
|
|
Documentation: document lava-docker
|
|
More board attributes
|
|
Rework udev
|
|
Pdugeneric
|
|
Rework misc
|
|
stick to 2017.11
|
|
Ths patch documenent lava-docker and add a boards.yaml.example
|
|
Some boards need to have a macaddr set in uboot (like
meson-gxl-s905x-libretech-cc)
This patch add support for it.
|
|
connection_command is a generic way to get console from devices.
It could ran telnet for accessin ser2net for example.
|
|
This patch add support for non-FTDI UART by adding a devpath member.
Since both FTDI and non-FTDI need also idevendor/idproduct, this patch
introduce them.
|
|
|
|
When more than one "lab" is referenced (like lava-master + lab-slave-0),
udev content is duplicated.
This patch reset the udev_line variable for producing non-duplicate udev
files.
|
|
Recent lavapdu is unpackaged and buggy.
Remove it and replace with a generic PDU command line wrapper
|
|
|
|
The boards.yaml need to be more minimal and working for everybody.
|
|
Some boards could not have uart like qemu.
This patch made having an uart optionnal.
|
|
Thoses two directory are necessary even with setup without conmux and
slaves. (Due to Dockerfile COPY).
This patch move the creation of thoses two directory at start of
lavalav-gen.py
|
|
|
|
dispatcher_ip is the IP used by boards for contacting/downloading
images/dtb/etc...
For the moment it was harcoded to 192.168.66.1.
This patch permit to easily change it.
|
|
We need to add some information to lab node, so we need to move all
boards under a list("boardlist")
|
|
Since LAVA packages are ephemeral, this patch permit to build a know release of LAVA.
Introducing scripts/build-lava which builds from source any LAVA
compoments from any version tag.
In the same time, stick to 2017.11 as its a know working release for
lava-docker.
|
|
Permit to create staff/superuser users
|
|
Bugfix
|
|
This patch add two user options staff and superuser.
This will permit to create users with thoses flag in LAVA.
In the process remove the hardcoded admin user from Dockerfile and move
it in tokens.yaml
|
|
|
|
When dns_search are set, the control made by conmux on hostname fail
since hostname.domain does not exist in the docker.
|
|
Device-type are jinja2 files and not yaml files and so a have a
different filename.
So this patch correct the handling of custom device-types.
|
|
Some actions must be done by root, add a detection for that.
|
|
Since some arch does not have kvm, remove kvm usage for qemu.
We will reintroduce it later via a flag/autodetect.
|
|
Libguestfs actions are done by the dispatcher, so the slave must be able
to do them.
In the same time, add a TODO for setting volumes as read_only.
|
|
When working with HTTP interface, it is impossible to login.
Ths patch also document that in Readme.md
|
|
Some boards need cu > 1.07-24
It exists only in debian testing, so add a hack for getting it.
|