Add fedora image support to LAVA
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LAVA Dispatcher |
Fix Released
|
High
|
Antonio Terceiro |
Bug Description
For testing fedora image in LAVA , we have to do three main modifications:
1. modify the original fedora image
a.modify the /etc/fstab,delete the "boot" and "swap" partitions:
b.make Fedora login as root automatically
c.delete the rootfs partition resize on first booting
Please my wiki page below for detail!
2. modify the config file of lava dispatcher for the device
a. add boot_cmds_oe for booting from u-boot
suggestion : add a "boot_cmds_fedora" for fedora image test
b. modify the boot_part to "1"
the modification just for original fedora image made by anaconda.
we can make a new fedora image use "boot_part =2"
3. modify the lava dispatcher code for "deps:" section in yaml file
The patch is in the attachment, please note that this patch is just a draft(just tell you what we need to add for fedora image testing), it delete the ubuntu support, then add fedora support. But as a good patch, we need to support both of ubuntu and fedora.
Q:Why I add "sleep" and "ping" command in the patch?
A: when test the fedora image in cubieboard, I met a problem: the test happen so fast , that the board can't get network prepared for installation. So maybe we should have some mechanism to wait for the network be prepare or report the network problem.
I have made several fedora image test in arndale board and cubieboard(new board type supported), the test log and the detail of testing Fedora image in LAVA are in my internal wiki page: https:/
Related branches
- Fathi Boudra: Approve
- Linaro Validation Team: Pending requested
-
Diff: 257 lines (+60/-82)8 files modifiedlava_dispatcher/actions/lava_test_shell.py (+28/-57)
lava_test_shell/README (+11/-0)
lava_test_shell/distro/ubuntu/lava-install-packages (+4/-0)
lava_test_shell/distro/ubuntu/lava-installed-packages (+3/-0)
lava_test_shell/distro/ubuntu/lava-os-build (+3/-0)
lava_test_shell/lava-installed-packages (+3/-0)
lava_test_shell/lava-os-build (+3/-0)
lava_test_shell/lava-test-runner (+5/-25)
- Antonio Terceiro: Disapprove
- Fathi Boudra: Needs Fixing
- Fu Wei: Pending (test) requested
-
Diff: 77 lines (+28/-0)5 files modifiedlava_dispatcher/actions/lava_test_shell.py (+5/-0)
lava_dispatcher/device/target.py (+14/-0)
lava_test_shell/distro/fedora/lava-install-packages (+3/-0)
lava_test_shell/distro/fedora/lava-installed-packages (+3/-0)
lava_test_shell/distro/fedora/lava-os-build (+3/-0)
- Fathi Boudra: Approve
- Antonio Terceiro: Approve
- Linaro Validation Team: Pending requested
Changed in lava-dispatcher: | |
milestone: | none → 2013.04 |
Changed in lava-lab: | |
milestone: | none → 2013.04 |
Changed in lava-dispatcher: | |
status: | New → Triaged |
Changed in lava-lab: | |
status: | New → Triaged |
Changed in lava-dispatcher: | |
importance: | Undecided → High |
Changed in lava-lab: | |
importance: | Undecided → High |
Changed in lava-dispatcher: | |
status: | Triaged → In Progress |
Changed in lava-dispatcher: | |
status: | In Progress → Fix Committed |
no longer affects: | lava-lab |
Changed in lava-dispatcher: | |
status: | Fix Committed → Fix Released |
Because of difference between yum and apt, I suggest that we should add a command like "deps_rpmg" and "deps_rpm" to support the rpm package installation .
The new patch is in the attachment.