diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2016-02-04 12:58:44 +0100 |
---|---|---|
committer | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2016-02-04 12:58:44 +0100 |
commit | 2bad7dad23b7c0fa3fd95eb2645c22eabaaffcc0 (patch) | |
tree | 9978786d49b0460f26313e4ba771a43c0daad3cf /lt-qcom-debian-images.yaml | |
parent | b46a84bc57f471a84b0dd7d5e14f235695b84c7e (diff) |
lt-qcom-debian-*: use mkfs.ext4 instead of make_ext4fs
To follow up on 7778af85, we are not implementing the same feature in all other
Debian builds for Dragonboard.
Change-Id: I5391baff1f7a75bea52169335261fa55311e09a0
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'lt-qcom-debian-images.yaml')
-rw-r--r-- | lt-qcom-debian-images.yaml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lt-qcom-debian-images.yaml b/lt-qcom-debian-images.yaml index c958de28b1..419a37ecfd 100644 --- a/lt-qcom-debian-images.yaml +++ b/lt-qcom-debian-images.yaml @@ -32,7 +32,7 @@ default: 'jessie' - string: name: EXT4FS_IMG_SZ - default: '2G' + default: '1800M' - string: name: PLATFORM_ARCH default: 'armhf' @@ -235,10 +235,14 @@ LABEL=qcom-firmware /lib/firmware ext4 defaults 0 0 EOF - sudo make_ext4fs -o -L rootfs -l ${EXT4FS_IMG_SZ} -s out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.img rootfs/ - sudo umount rootfs + sudo mkfs.ext4 -L rootfs out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.img.raw ${EXT4FS_IMG_SZ} + mkdir rootfs2 + sudo mount -o loop out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.img.raw rootfs2 + sudo cp -a rootfs/* rootfs2 + sudo umount rootfs2 rootfs + sudo ext2simg -v out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.img.raw out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.img sudo kpartx -dv out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.sd.img - sudo rm -rf rootfs out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.sd.img + sudo rm -rf rootfs out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.sd.img rootfs2 out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.img.raw # Compress image(s) gzip -9 out/${VENDOR}-${OS_FLAVOUR}-${rootfs}-${PLATFORM_NAME}-${VERSION}.img |