[elbe-devel] Error in increasing image size.

Köry Maincent kory.maincent at bootlin.com
Mon Aug 31 10:42:49 CEST 2020


Hello,

Noticed an error after I have tried to enlarge the image size of my
project. 

To reproduce it:
$ elbe control create project
$ PRJ=...
$ elbe control set_xml $PRJ examples/armhf-ti-beaglebone-black.xml
$ elbe control build $PRJ
$ elbe control wait_busy $PRJ
The build end well.
Enlarge the image size.
$ elbe control set_xml $PRJ examples/armhf-ti-beaglebone-black.xml
$ elbe control build $PRJ
$ elbe control wait_busy $PRJ

[ERROR] Build failed
Traceback (most recent call last):
  File "/var/cache/elbe/devel/elbepack/asyncworker.py", line 194, in
execute skip_pbuild=self.skip_pbuilder)
  File "/var/cache/elbe/devel/elbepack/elbeproject.py", line 698, in
build self.targetfs.part_target(self.builddir, grub_version,
grub_fw_type) File "/var/cache/elbe/devel/elbepack/efilesystem.py",
line 417, in part_target grub_fw_type)
  File "/var/cache/elbe/devel/elbepack/hdimg.py", line 563, in do_hdimg
    grub_fw_type)
  File "/var/cache/elbe/devel/elbepack/hdimg.py", line 447, in
do_image_hd current_sector)
  File "/var/cache/elbe/devel/elbepack/hdimg.py", line 337, in
create_partition disk.addPartition(ppart, cons)
  File "/usr/lib/python2.7/dist-packages/parted/decorators.py", line
42, in new ret = fn(*args, **kwds)
  File "/usr/lib/python2.7/dist-packages/parted/disk.py", line 245, in
addPartition constraint.getPedConstraint())
PartitionException: Unable to satisfy all constraints on the partition.
Project build was not successful, current status: build_failed

Regards,

-- 
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com


More information about the elbe-devel mailing list