[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 601: Don't hardcode rootfs a partition number 2

Message ID 20130515181914.3054.50911.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Antonio Terceiro May 15, 2013, 6:19 p.m.
------------------------------------------------------------
revno: 601
committer: Antonio Terceiro <antonio.terceiro@linaro.org>
branch nick: trunk
timestamp: Wed 2013-05-15 15:17:02 -0300
message:
  Don't hardcode rootfs a partition number 2
modified:
  lava_dispatcher/device/highbank.py


--
lp:lava-dispatcher
https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk

You are subscribed to branch lp:lava-dispatcher.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription

Patch

=== modified file 'lava_dispatcher/device/highbank.py'
--- lava_dispatcher/device/highbank.py	2013-05-14 19:30:02 +0000
+++ lava_dispatcher/device/highbank.py	2013-05-15 18:17:02 +0000
@@ -138,7 +138,7 @@ 
         return partition
 
     def resize_rootfs_partition(self, runner):
-        partno = '2'
+        partno = self.config.root_part
         start = None
 
         runner.run('parted -s /dev/sda print',