diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2015-12-03 20:56:44 +0200 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2015-12-03 20:56:44 +0200 |
commit | 3932d1004e317b1d47a86de3c910f79fa73ac48b (patch) | |
tree | 8be3d8b80c599b8e6eec04e08bbd84d5a09d6d39 /96boards-bubblegum.yaml | |
parent | 8edc44d20260de92cef7a88e2e4b55e2a89428a4 (diff) |
96boards-bubblegum: Fix partitions mounting
We have a reserved partition for u-boot and mbrec binaries. Thus
the 2nd and 3rd partitions are what we want.
Change-Id: I929ea38d11bcbb6a8378bc370cd6a9d37a8fdb18
Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Diffstat (limited to '96boards-bubblegum.yaml')
-rw-r--r-- | 96boards-bubblegum.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/96boards-bubblegum.yaml b/96boards-bubblegum.yaml index 1637ffe7..4c18d3c0 100644 --- a/96boards-bubblegum.yaml +++ b/96boards-bubblegum.yaml @@ -123,8 +123,8 @@ mkdir boot rootfs for device in $(sudo kpartx -av out/bubblegum-jessie_${rootfs}_${VERSION}.img | cut -d' ' -f3); do partition=$(echo ${device} | cut -d'p' -f3) - [ "${partition}" = "1" ] && sudo mount -o loop /dev/mapper/${device} boot - [ "${partition}" = "2" ] && sudo mount -o loop /dev/mapper/${device} rootfs + [ "${partition}" = "2" ] && sudo mount -o loop /dev/mapper/${device} boot + [ "${partition}" = "3" ] && sudo mount -o loop /dev/mapper/${device} rootfs done cat << EOF | sudo tee rootfs/etc/fstab |