Age | Commit message (Collapse) | Author |
|
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>
|
|
Change-Id: I50e57c7ff49ffcb24814b7035e6d478a99e84c31
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
|
|
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>
|
|
current size for system partition is not enough on Android N
Change-Id: Ied2c9b8bc721b4763cb4b4633f86b7b80fbf7692
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
|
|
Change-Id: Ia8e80c5bc7bca0bd0947f368e3bc8b1235bf431d
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
|
|
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>
|
|
Change-Id: Id53753d04dc94e55fdfc1040c9ad44d7f414d5f6
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
|
|
Change-Id: I63baf399560160dc2307e98af9d1b86c47bb90b3
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
|
|
Change-Id: Ifaec71ff8b4f4659e49f19dd1344c5662c63367d
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
|
|
Change-Id: I4547a809618fef196e8cec8eea461b1706bf9e55
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
|
|
Change-Id: Ic134489e905a783433902cd429e1a40813264490
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
|
|
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>
|
|
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>
|
|
Change-Id: I1e4bc2a124df010b7a6c0c5f1a5b09261efee5d9
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
|
|
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>
|
|
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>
|
|
Change-Id: If97db12020eca5723b0d5dbb89c48c1b4332902c
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
|
|
Change-Id: Icee4af355b9bd50baa24e1ad46a012362afa8603
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
|
|
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>
|
|
Change-Id: I9524482ab35e8ad34380d9f4aa792fc80be5cb6f
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
|
|
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>
|
|
Change-Id: I5040abb6e86f5f3aaf2dd3340def53ba6801445e
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I95165b6990720b4dbacf5f1f9bef0e0309244cdd
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
|
|
pre-boot package can be versioned.
Change-Id: If228ad5619acb34703c6cbd8c3930eb9def63cff
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
|
|
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>
|
|
Change-Id: I85ef85e02d85acc3739d0b6b9e54f9e0d633615a
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
|
|
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>
|
|
Change-Id: Ic43087fd849aba2e8a1f85eb8dfb73e24d710af7
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
|
|
Change-Id: I16dce5defddef39dddc73c5cd2cc8277a6a4391e
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
|
|
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>
|
|
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
|
|
Change-Id: Ia5720e55cf85e0dd0e13f00eb54aedf07dc3c75e
|
|
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>
|
|
This reverts commit 84ac5df57bee8757e897b19faf2369e2dc8c1858.
Change-Id: I4e821498962e498059b1c936992bd564d97e1ef0
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I4cd53f935b8e423676815fd0dd5cae57e0a6a573
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
|
|
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>
|
|
Change-Id: I72b4c7ae629615b36fe95833217e4a789d90a72b
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
|
|
initrd.img is used to boot with Ubuntu arm64 images.
Change-Id: Ia8fa456811d776d83e6c1dfcc4b6d065fb7336ad
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
|
|
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>
|
|
Change-Id: I66a160aff9bdfe2981ddb96f6e2a34c33da21eec
|
|
This reverts commit 491903f2f7f8b1c1c09003fe63f550c08f8aa908.
Change-Id: Ib383640f16012d3bcf61366aec824d816303a793
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
|
|
#1311829)
Change-Id: I70e7bb7f0c2294b9c0500dd649b27c91a24498e0
Signed-off-by: Sean Payne <sean.d.payne@gmail.com>
|
|
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>
|
|
Change-Id: Ia297da9916d288a1139ff656c430cb6de84df3e7
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
|