diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2015-04-10 14:37:08 +0200 |
---|---|---|
committer | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2015-04-10 14:37:08 +0200 |
commit | 7f268543a1900da0b0db34666a2ee51d51572f12 (patch) | |
tree | 43c88b8c7f44c66a59c8917ba0ee507ffce2b8a1 | |
parent | af747909f93152449e05a73620657bfc98a7c91f (diff) |
lt-qcom-ubuntu-arm64: do not hardcode userdata partition number
The userdata partition can be located at different places, so do not hardcode
the exact partition number, and refer to it by name.
Change-Id: I5e734d28570e9bd34c81b4fd7b9949f21700968f
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r-- | lt-qcom-ubuntu-images-arm64.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lt-qcom-ubuntu-images-arm64.yaml b/lt-qcom-ubuntu-images-arm64.yaml index 838bfeb8c7..5c58a5e19f 100644 --- a/lt-qcom-ubuntu-images-arm64.yaml +++ b/lt-qcom-ubuntu-images-arm64.yaml @@ -205,7 +205,7 @@ --ramdisk_offset "0x2000000" \ --pagesize "2048" \ --base "0x80000000" \ - --cmdline "root=/dev/mmcblk0p28 rw rootwait console=tty0 console=${SERIAL_CONSOLE},115200n8 text" + --cmdline "root=/dev/disk/by-partlabel/userdata rw rootwait console=tty0 console=${SERIAL_CONSOLE},115200n8 text" gzip -9 out/boot-linaro-${UBUNTU_FLAVOUR}-${PLATFORM_NAME}-${VERSION}.img # Create an empty partition, placeholder for proprietary firmware |