aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-07Vexpress: android: double system and userdata partitionHEADmasterVishal Bhoj
We need larger system and userdata partition for AOSP now. Hence doubling the size and minimum sdcard image size would be 4G Change-Id: I8724b0a0d8aa7d3a38914b4d75046faa3cf26414 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2016-10-27Release 2016.10.2016.10Fathi Boudra
Change-Id: I50e57c7ff49ffcb24814b7035e6d478a99e84c31 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-10-27android: increase the partion boundaries to work with sfdisk 2.26+Milosz Wasilewski
sfdisk 2.26+ isn't backward compatible. It causes issues when creating partitions. Increase the partition boundaries to work with sfdisk new version and older versions. Change-Id: I7ee437618691709a3a3bb2a5103a4245a6c37a0d Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2016-08-25android: Increase system partition for junoVishal Bhoj
current size for system partition is not enough on Android N Change-Id: Ied2c9b8bc721b4763cb4b4633f86b7b80fbf7692 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2016-06-02Release 2016.05.2016.05Fathi Boudra
Change-Id: Ia8e80c5bc7bca0bd0947f368e3bc8b1235bf431d Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-05-19Add support for sfdisk 2.26+Fathi Boudra
Since version 2.26, sfdisk does not provide the --DOS, --cylinders, --heads, --sectors options. Get rid of the deprecated options used by linaro-media-create and update the test suite accordingly. Fix https://bugs.linaro.org/show_bug.cgi?id=1838 Change-Id: Ib4f61d20f1b28f795175f23c1c97a4ac240b2aae Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-05-19test_packages: fix md5/sha256 testsFathi Boudra
Change-Id: Id53753d04dc94e55fdfc1040c9ad44d7f414d5f6 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-05-19packages: fix typo md5sum -> md5Fathi Boudra
Change-Id: I63baf399560160dc2307e98af9d1b86c47bb90b3 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-05-19Improve readabilityFathi Boudra
Change-Id: Ifaec71ff8b4f4659e49f19dd1344c5662c63367d Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-05-19testing: add sha256 propertyFathi Boudra
Change-Id: I4547a809618fef196e8cec8eea461b1706bf9e55 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-05-19packages: keep using md5sumFathi Boudra
Change-Id: Ic134489e905a783433902cd429e1a40813264490 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-05-17add support for sha256 hashes in Packages fileHéctor Orón Martínez
Since APT disabled MD5sum support, linaro-hwpack-install fails with checksum mismatch errors as it is unable to verify package integrity using md5 hash. The following implements sha256 hash support. Change-Id: Ic4a277c1a33b5e76343c79b92ef792b0a3ce7e66 Signed-off-by: Héctor Orón Martínez <zumbi@debian.org>
2016-05-11Filter out symlinks in _get_file_matching()Fathi Boudra
Due to the rootfs changes, kernel/initrd are shipped with unversioned symlinks now. The number of files is now 2 at minimum (symlink and real file). Fix the following error: ValueError: Too many files matching '/tmp/tmpq2xWZQ/rootfs/binary/boot/Image*' found. Regression introduced in: https://git.linaro.org/ci/ubuntu-build-service.git/commitdiff/9d07c7b60f18c207b9b446e1f3bb2eedf8ad4876 Change-Id: I0235dcd1e0faa9c6159345b1f35987f7fa8fe4fb Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Reported-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2016-03-04Release 2016.02.2016.02Fathi Boudra
Change-Id: I1e4bc2a124df010b7a6c0c5f1a5b09261efee5d9 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-02-23Fix pep8 E125/E128Fathi Boudra
E125 continuation line does not distinguish itself from next logical line E128 continuation line under-indented for visual indent Change-Id: I3b235981bdee84e4b52f52918987023db38e9a1b Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-02-23hwpack-create: add option to conditionally enable -backports*Nicolas Dechesne
While some users might want to use the backports, it should not be the default case. Change-Id: I2f3c718e7ff86812ae0e5b9fc28d53b523662cd0 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2016-02-23Fix test suite errorsFathi Boudra
Change-Id: If97db12020eca5723b0d5dbb89c48c1b4332902c Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2016-02-17hwpack/packages: level priority for backportsRicardo Salveti
Change-Id: Icee4af355b9bd50baa24e1ad46a012362afa8603 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2016-02-10Fix qemu-arm-static version parsingFathi Boudra
Closes https://bugs.linaro.org/show_bug.cgi?id=2020 qemu_version is referenced before assignment. Parse -version output and include a fallback in case it fails. In addition, fix also the output formatting as we need the raw formatter to display \n as expected. Change-Id: I3248696194f0ca4077ff9ac3d9e86e5088d577d6 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2015-12-03Release 2015.11.2015.11Fathi Boudra
Change-Id: I9524482ab35e8ad34380d9f4aa792fc80be5cb6f Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2015-12-03boards: switch logic from or to and when checking for dtbsRicardo Salveti
Since we just want to warn the user if it can't find any dtb. Change-Id: I7b4addf9fe8bcda60b9c55e19b7d83e0724a4e49 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2015-11-12Increase system partition since it is not enough for junoVishal Bhoj
Change-Id: I5040abb6e86f5f3aaf2dd3340def53ba6801445e Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
2015-10-26chroot_utils: check for links and copy with --archiveRicardo Salveti
This allows overwriting links and also move them back after creating the image, with the original permission and properties. Change-Id: I3f1b8848d0d66f9a0d7bc4dfd5e3509ddb7ac438 Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2015-05-07boards.py: Fix GPT table type when using reserved-boot-root partition layout.Ying-Chun Liu (PaulLiu)
The vfat partition type have to be EF00 because in partitions.py, partition.getFlagsAsString() returns 'boot' only when the type is EF00. Use 0C00 will cause partitions.py crash because no boot partition can be found. Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
2015-05-06linaro-hwpack-install: create dummy fstabFathi Boudra
fsck initramfs-tools hook is reading fstab entries in order to copy e2fsck into initramfs image. Change-Id: If47a87a7c5333511bb4f29fa0642b505f78087d0 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-12-18Release 2014.12.Fathi Boudra
Change-Id: I95165b6990720b4dbacf5f1f9bef0e0309244cdd Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-12-09linaro-hwpack-install: relax pre-boot package naming schemeFathi Boudra
pre-boot package can be versioned. Change-Id: If228ad5619acb34703c6cbd8c3930eb9def63cff Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-12-04Add -F param to mkfs callsRyan Harkin
Latest mkfs always asks for permission to create a partition, adding -F forces it to create the partition without prompting. Change-Id: Icff7d1e287141ca8956cbc49be978fa073108b8a Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2014-11-25Release 2014.11.2014.11Fathi Boudra
Change-Id: I85ef85e02d85acc3739d0b6b9e54f9e0d633615a Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-09-12linaro-android-media-create: fix problem for deploying data partitionYongqin Liu
when use userdata.tar.bz2 to deploy the android image, no files will be deployed to the data partition because of the typo that specified system_partition there incorrectly. This change fix the problem to use the correct data_partition Change-Id: I3ee747f33061c6cbe1fe51ecadaab47aed802fe8 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-08-25Release 2014.08.2014.08Fathi Boudra
Change-Id: Ic43087fd849aba2e8a1f85eb8dfb73e24d710af7 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-08-18media-create: sort devicelist in help output alphabetically.Koen Kooi
Change-Id: I16dce5defddef39dddc73c5cd2cc8277a6a4391e Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
2014-08-18unpack_binary_tarball.py: add --selinux option for tar commandYongqin Liu
to support selinux for android with tarball files, we need to use the --selinux option of tar command to retain the security label information to filesystem from tarball files. and here we pass the --selinux option only when the tar command in the OS supports it except the --selinux option for tar command, changed the method to populate content for system/userdata partition. since with the move method, it can not keep the security information for the root directory of that partition. Change-Id: I1beef41042a883f31abd2a658c8368a15fa08247 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-08-03Drop all calls to syncNeil Williams
Remove calls to sync as umount correctly flushes the buffers for the filesystem to umount whereas sync forces flushing of all kernel buffers, local and remote, which causes l-m-c tasks to stall when multiple jobs run l-m-c simultaneously on a single machine. Change-Id: I87acbb4fed4717a9d5fdeaf21156562cc8d9c201
2014-07-31Release 2014.07.2014.07Fathi Boudra
Change-Id: Ia5720e55cf85e0dd0e13f00eb54aedf07dc3c75e
2014-07-31fix error when not specify --userdataimage optionYongqin Liu
when not specify the --userdataimage option, will get the help displayed and following error even with --userdata option specified: linaro-android-media-create: error: one of the arguments --userdataimage is required Change-Id: Ia5a406d868a024704caafdd1ce4fe501c9702eff Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-07-15Revert "sgdisk requires a block device"Fathi Boudra
This reverts commit 84ac5df57bee8757e897b19faf2369e2dc8c1858. Change-Id: I4e821498962e498059b1c936992bd564d97e1ef0 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-07-08linaro-android-media-create: add support to use img filesYongqin Liu
add support for using system.img and userdata.img generated by android build system directly. this is needed for the support of selinux on Android since the img files have the selabel information persisted Change-Id: I40ad1c94817821f6c9a12062c0fa82dd35e34ae4 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-06-14sgdisk requires a block deviceFathi Boudra
Return an error if an image file is used in conjunction with GPT partition table. "--part-table gpt" should be explicitely used with "--mmc device". Change-Id: I4c9763ab259864de8a6a207101bef77fe248b90a Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-06-14linaro-media-create: add GPT support (--part-table option)Semen Protsenko
Now user can choose partition table between MBR (default) or GPT, using the option "--part-table". For GPT partitioning, "sgdisk" tool is required. Call-chain of interest (before this patch): linaro-media-create: __main__() -> linaro_image_tools/media_create/partitions.py: setup_partitions() -> linaro_image_tools/media_create/partitions.py: create_partitions() -> linaro_image_tools/media_create/partitions.py: run_sfdisk_commands() The same operation can be done manually as follows: $ dd if=/dev/zero of=linaro.img bs=1M count=2k $ /sbin/sgdisk -n 1:-:200m -t 1:EF00 linaro.img $ /sbin/sgdisk -n 2:-:- -t 2:8300 linaro.img $ sudo kpartx -a linaro.img $ sudo mkfs.vfat -F32 -s 2 /dev/mapper/loop0p1 $ sudo mkfs.ext4 /dev/mapper/loop0p2 $ sudo kpartx -d linaro.img Change-Id: Iba274c18bdb1f618124c8cc2784f233b049de7f0 Signed-off-by: Semen Protsenko <semen.protsenko@linaro.org>
2014-06-14Refactor kernel image renaming to avoid to hardcode the kernel nameFathi Boudra
Change-Id: I4cd53f935b8e423676815fd0dd5cae57e0a6a573 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-06-14Add a generic board configRyan Harkin
Add a generic config for boards that drop a kernel and an initrd into the boot partition. Juno is such a board, where the other boot files, such as DTB and firmware are put into the boot partition by the hardware pack metadata. FastModel config now herits from the generic config. Change-Id: Ib60c57f738eaa0199bbefd49cf77e0cd4a9ddb97 Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-06-14Fix tests regression introduced by multi_arch supportFathi Boudra
Change-Id: I72b4c7ae629615b36fe95833217e4a789d90a72b Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-05-27fastmodel: copy initrd to the output directoryFathi Boudra
initrd.img is used to boot with Ubuntu arm64 images. Change-Id: Ia8fa456811d776d83e6c1dfcc4b6d065fb7336ad Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-05-26copy qemu-aarch64-static binary in the chrootFathi Boudra
QEMU release with arm64 support has the binary qemu-arm64-static renamed to qemu-aarch64-static. Change-Id: I8cef3d08d0e092d96518b0616ed437bc864bc36e Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-04-24Release 2014.04.2014.04Fathi Boudra
Change-Id: I66a160aff9bdfe2981ddb96f6e2a34c33da21eec
2014-04-24Revert "Release 2014.04."Fathi Boudra
This reverts commit 491903f2f7f8b1c1c09003fe63f550c08f8aa908. Change-Id: Ib383640f16012d3bcf61366aec824d816303a793 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-04-24Specify gzip as the compression type to use when building dummy package (LP: ↵Fathi Boudra
#1311829) Change-Id: I70e7bb7f0c2294b9c0500dd649b27c91a24498e0 Signed-off-by: Sean Payne <sean.d.payne@gmail.com>
2014-04-24Add multi-arch support (LP: #1311829)Fathi Boudra
Any time a pre_depends clause is read or written, make sure multi_arch is also read or written. Change-Id: Ie6b0d2637e607d51031fe8411231826a91504aab Signed-off-by: Sean Payne <sean.d.payne@gmail.com>
2014-04-24gitreview: update projectFathi Boudra
Change-Id: Ia297da9916d288a1139ff656c430cb6de84df3e7 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>