All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/genimage: bump to version 15
@ 2021-11-28 13:18 Pierre-Jean Texier
  2021-11-30 16:24 ` Peter Korsgaard
  2021-12-02 18:59 ` Peter Korsgaard
  0 siblings, 2 replies; 5+ messages in thread
From: Pierre-Jean Texier @ 2021-11-28 13:18 UTC (permalink / raw)
  To: buildroot; +Cc: Pierre-Jean Texier

This includes the following changes:

aa76b22 release version 15
dd49fec util: Fix warn_unused_result build warnings
6ba2b4d image-hd: more error output when bootloaders overlap with the partition table
90b83ba allow specifying 'holes' in the partition section
09fde2e [ci skip] typo "used used fill" -> "used to fill"
b0d794c image-flash: don't ignore truncate errors except ENOENT
93d1f26 .github: replace ubuntu-16.04 with ubuntu-18.04
1e9b9be util: systemp(): don't use shell defined in SHELL, but GENIMAGE_SHELL
1c53012 util: systemp(): use shell defined in SHELL rather than /bin/sh
89490b9 image-android-sparse: use off_t instead of int for lseek return values
f1cab39 test: add tests for --includepath
9e7f23a README.rst: reflow paragraph
0778817 add --includepath option
e210857 config.c: remove redundant helper add_opt()
18b3cfd config.c: allow hiding specific command line options from --help
65548f6 config.c: remove unused member cmdlineopt
f606a33 util: remove unused pad_file function
62e1d4f image-flash: use insert_image instead of pad_file
8c0fe58 image-ext2: use insert_image instead of pad_file
7d0003b util: insert_image: allow specifying the fill value
b847f3e image-hd: resize the image to the final size at the begining
8e3bf8b test: hdimage: check the disk usage of the second image as well
e2bd4c3 test: handle new genext2fs and e2fsprogs versions
06ac16e insert_image: fix read/write loop
17e2c3c test: filter 'rauc info' output for newer distros
1d72d80 image-hd: stricter option handling
d912549 image-hd.c: make GPT backup handling a little less special
69f6644 add test for partitions out of order
9190a2b image-hd.c: correct computation of first_usable_lba
8505aed image-hd.c: switch to insert_image() instead of pad_file()
5cc31c6 image-hd.c: truncate output file before looping over partitions
2194e31 image-hd.c: replace use of pad_file() with extend_file()
5638a9e util.c: add insert_image() helper
8eef854 test: add tests for "bootloader with holes allowing some overlap"
a72ca69 image-hd.c: take image holes into consideration when checking for overlap
564e359 document "file" image type and "hole" syntax in particular
998a118 image-file.c: allow specifying "don't care" regions
7f8f19d image-hd.c: fix missing check for overlap with GPT table
e91c8e2 image-hd.c: check all partitions for overlap
44d5346 image-hd.c: allow partitions to appear out-of-order
cd3ceac image-hd.c: ensure an autoresize partition has a size consistent with its alignment
0a61f64 README.rst: add description of how default align/size/offset are computed
efaae46 test: fix copy/paste error in the test refactoring
086380a config: don't try to access non-existent section
fe74ea1 image-vfat: drop '-b' from mcopy
7ef351d test: factor out some test data generation
94af174 image-hd.c: fix extended partition with offset
649602b image-hd.c: prepare for fake partitions
cc13e78 image-hd.c: don't sanity check partition_type_uuid for !part->in_partition_table
5f53df3 image-hd.c: move overlap check below partition size determination
b77f38b image-hd.c: allow specifying minimum size for auto-resize partitions
5f07c1c image-hd.c: do not require the autoresize partition to be specified last
8269fa7 image-hd.c: enforce proper alignment of all partitions
5bd7283 image-hd.c: ignore in-partition-table when the image has no partition table
3e2b616 image-hd.c: always sanity check child->size v part->size
fa619fb image-hd.c: separate computation of part->offset from the sanity checks
030e7a3 allow each partition to have its own align value
cf192fd image-hd.c: fix computation of autoresize size
d6c477c image-hd.c: don't lazily initialize now
6cbbf86 README.rst: document default value of in-partition-table option
e43e02e test: add some tests for overlap of GPT
11f3528 image-hd.c: refactor updating chs values
8c74183 image-hd.c: add and use "struct mbr_tail"
9ffd5e0 add macro for compile-time assertions
9e59a27 change insert_data() to take const void* instead of const char*
bcd7fa6 util: strtoul_suffix: allow s suffix for sector size (512 bytes)
41d77c4 image-hd.c: fix copy-pasto access of random memory
5dc2e22 list.h: drop prefetch()
be29822 image-rauc: add intermediate option
344416f util: add save string concat with formated string
351d50e image-rauc: ensure clean-up on rauc_generate() exit
5cba95c image-rauc: free keyringargs after use
23adab0 image-ext: ensure size is always interpreted as kilobytes
8014c7e .github: run apt-get update to update package cache

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
---
 package/genimage/genimage.hash | 2 +-
 package/genimage/genimage.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/genimage/genimage.hash b/package/genimage/genimage.hash
index 9f60261b53..80065d53b1 100644
--- a/package/genimage/genimage.hash
+++ b/package/genimage/genimage.hash
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  9d1d53b33309fe24ea367ea057eb689bdb8ea33cb99d796de31127ca44ccf44c  genimage-14.tar.xz
+sha256  9bca24bf883310b30ee4511cbc3a580e40ad4540826e5ed3992c595ce72d003e  genimage-15.tar.xz
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
diff --git a/package/genimage/genimage.mk b/package/genimage/genimage.mk
index 1934223b23..44963b48fb 100644
--- a/package/genimage/genimage.mk
+++ b/package/genimage/genimage.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-GENIMAGE_VERSION = 14
+GENIMAGE_VERSION = 15
 GENIMAGE_SOURCE = genimage-$(GENIMAGE_VERSION).tar.xz
 GENIMAGE_SITE = https://github.com/pengutronix/genimage/releases/download/v$(GENIMAGE_VERSION)
 HOST_GENIMAGE_DEPENDENCIES = host-pkgconf host-libconfuse
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH] package/genimage: bump to version 15
  2021-11-28 13:18 [Buildroot] [PATCH] package/genimage: bump to version 15 Pierre-Jean Texier
@ 2021-11-30 16:24 ` Peter Korsgaard
  2021-12-02 19:55   ` Pierre-Jean Texier
  2021-12-11 10:12   ` Peter Korsgaard
  2021-12-02 18:59 ` Peter Korsgaard
  1 sibling, 2 replies; 5+ messages in thread
From: Peter Korsgaard @ 2021-11-30 16:24 UTC (permalink / raw)
  To: Pierre-Jean Texier; +Cc: buildroot

>>>>> "Pierre-Jean" == Pierre-Jean Texier <texier.pj2@gmail.com> writes:

 > This includes the following changes:

[snip]

Not exactly the most useful summary to read, but OK. Diff'ing the
readme, I notice:

 > 1d72d80 image-hd: stricter option handling

Which introduces a partition-table-type = none/mbr/gpt/hybrid and
deprecates partition-table, which is used by:

board/altera/socrates_cyclone5/genimage.cfg

Care to send a followup patch to update that? Given

 > 5bd7283 image-hd.c: ignore in-partition-table when the image has no partition table

You can presumably drop the explicit in-partition-table from that file
as well.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH] package/genimage: bump to version 15
  2021-11-28 13:18 [Buildroot] [PATCH] package/genimage: bump to version 15 Pierre-Jean Texier
  2021-11-30 16:24 ` Peter Korsgaard
@ 2021-12-02 18:59 ` Peter Korsgaard
  1 sibling, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2021-12-02 18:59 UTC (permalink / raw)
  To: Pierre-Jean Texier; +Cc: buildroot

>>>>> "Pierre-Jean" == Pierre-Jean Texier <texier.pj2@gmail.com> writes:

 > This includes the following changes:
 > aa76b22 release version 15
 > dd49fec util: Fix warn_unused_result build warnings
 > 6ba2b4d image-hd: more error output when bootloaders overlap with the partition table
 > 90b83ba allow specifying 'holes' in the partition section
 > 09fde2e [ci skip] typo "used used fill" -> "used to fill"
 > b0d794c image-flash: don't ignore truncate errors except ENOENT
 > 93d1f26 .github: replace ubuntu-16.04 with ubuntu-18.04
 > 1e9b9be util: systemp(): don't use shell defined in SHELL, but GENIMAGE_SHELL
 > 1c53012 util: systemp(): use shell defined in SHELL rather than /bin/sh
 > 89490b9 image-android-sparse: use off_t instead of int for lseek return values
 > f1cab39 test: add tests for --includepath
 > 9e7f23a README.rst: reflow paragraph
 > 0778817 add --includepath option
 > e210857 config.c: remove redundant helper add_opt()
 > 18b3cfd config.c: allow hiding specific command line options from --help
 > 65548f6 config.c: remove unused member cmdlineopt
 > f606a33 util: remove unused pad_file function
 > 62e1d4f image-flash: use insert_image instead of pad_file
 > 8c0fe58 image-ext2: use insert_image instead of pad_file
 > 7d0003b util: insert_image: allow specifying the fill value
 > b847f3e image-hd: resize the image to the final size at the begining
 > 8e3bf8b test: hdimage: check the disk usage of the second image as well
 > e2bd4c3 test: handle new genext2fs and e2fsprogs versions
 > 06ac16e insert_image: fix read/write loop
 > 17e2c3c test: filter 'rauc info' output for newer distros
 > 1d72d80 image-hd: stricter option handling
 > d912549 image-hd.c: make GPT backup handling a little less special
 > 69f6644 add test for partitions out of order
 > 9190a2b image-hd.c: correct computation of first_usable_lba
 > 8505aed image-hd.c: switch to insert_image() instead of pad_file()
 > 5cc31c6 image-hd.c: truncate output file before looping over partitions
 > 2194e31 image-hd.c: replace use of pad_file() with extend_file()
 > 5638a9e util.c: add insert_image() helper
 > 8eef854 test: add tests for "bootloader with holes allowing some overlap"
 > a72ca69 image-hd.c: take image holes into consideration when checking for overlap
 > 564e359 document "file" image type and "hole" syntax in particular
 > 998a118 image-file.c: allow specifying "don't care" regions
 > 7f8f19d image-hd.c: fix missing check for overlap with GPT table
 > e91c8e2 image-hd.c: check all partitions for overlap
 > 44d5346 image-hd.c: allow partitions to appear out-of-order
 > cd3ceac image-hd.c: ensure an autoresize partition has a size consistent with its alignment
 > 0a61f64 README.rst: add description of how default align/size/offset are computed
 > efaae46 test: fix copy/paste error in the test refactoring
 > 086380a config: don't try to access non-existent section
 > fe74ea1 image-vfat: drop '-b' from mcopy
 > 7ef351d test: factor out some test data generation
 > 94af174 image-hd.c: fix extended partition with offset
 > 649602b image-hd.c: prepare for fake partitions
 > cc13e78 image-hd.c: don't sanity check partition_type_uuid for !part->in_partition_table
 > 5f53df3 image-hd.c: move overlap check below partition size determination
 > b77f38b image-hd.c: allow specifying minimum size for auto-resize partitions
 > 5f07c1c image-hd.c: do not require the autoresize partition to be specified last
 > 8269fa7 image-hd.c: enforce proper alignment of all partitions
 > 5bd7283 image-hd.c: ignore in-partition-table when the image has no partition table
 > 3e2b616 image-hd.c: always sanity check child->size v part->size
 > fa619fb image-hd.c: separate computation of part->offset from the sanity checks
 > 030e7a3 allow each partition to have its own align value
 > cf192fd image-hd.c: fix computation of autoresize size
 > d6c477c image-hd.c: don't lazily initialize now
 > 6cbbf86 README.rst: document default value of in-partition-table option
 > e43e02e test: add some tests for overlap of GPT
 > 11f3528 image-hd.c: refactor updating chs values
 > 8c74183 image-hd.c: add and use "struct mbr_tail"
 > 9ffd5e0 add macro for compile-time assertions
 > 9e59a27 change insert_data() to take const void* instead of const char*
 > bcd7fa6 util: strtoul_suffix: allow s suffix for sector size (512 bytes)
 > 41d77c4 image-hd.c: fix copy-pasto access of random memory
 > 5dc2e22 list.h: drop prefetch()
 > be29822 image-rauc: add intermediate option
 > 344416f util: add save string concat with formated string
 > 351d50e image-rauc: ensure clean-up on rauc_generate() exit
 > 5cba95c image-rauc: free keyringargs after use
 > 23adab0 image-ext: ensure size is always interpreted as kilobytes
 > 8014c7e .github: run apt-get update to update package cache

 > Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>

Committed to next, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH] package/genimage: bump to version 15
  2021-11-30 16:24 ` Peter Korsgaard
@ 2021-12-02 19:55   ` Pierre-Jean Texier
  2021-12-11 10:12   ` Peter Korsgaard
  1 sibling, 0 replies; 5+ messages in thread
From: Pierre-Jean Texier @ 2021-12-02 19:55 UTC (permalink / raw)
  To: Peter Korsgaard; +Cc: buildroot

Hi Peter,

Le 30/11/2021 à 17:24, Peter Korsgaard a écrit :
>>>>>> "Pierre-Jean" == Pierre-Jean Texier <texier.pj2@gmail.com> writes:
> 
>   > This includes the following changes:
> 
> [snip]
> 
> Not exactly the most useful summary to read, but OK. Diff'ing the
> readme, I notice:
> 
>   > 1d72d80 image-hd: stricter option handling
> 
> Which introduces a partition-table-type = none/mbr/gpt/hybrid and
> deprecates partition-table, which is used by:
> 
> board/altera/socrates_cyclone5/genimage.cfg
> 
> Care to send a followup patch to update that? Given
> 
>   > 5bd7283 image-hd.c: ignore in-partition-table when the image has no partition table
> 
> You can presumably drop the explicit in-partition-table from that file
> as well.
> 

Sure, will send a patch.


Thanks !

--
Pierre-Jean Texier
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH] package/genimage: bump to version 15
  2021-11-30 16:24 ` Peter Korsgaard
  2021-12-02 19:55   ` Pierre-Jean Texier
@ 2021-12-11 10:12   ` Peter Korsgaard
  1 sibling, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2021-12-11 10:12 UTC (permalink / raw)
  To: Pierre-Jean Texier; +Cc: buildroot

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

>>>>> "Pierre-Jean" == Pierre-Jean Texier <texier.pj2@gmail.com> writes:
 >> This includes the following changes:

 > [snip]

 > Not exactly the most useful summary to read, but OK. Diff'ing the
 > readme, I notice:

 >> 1d72d80 image-hd: stricter option handling

 > Which introduces a partition-table-type = none/mbr/gpt/hybrid and
 > deprecates partition-table, which is used by:

 > board/altera/socrates_cyclone5/genimage.cfg

 > Care to send a followup patch to update that? Given

 >> 5bd7283 image-hd.c: ignore in-partition-table when the image has no partition table

 > You can presumably drop the explicit in-partition-table from that file
 > as well.

It looks like it isn't just about deprecation warnings. The new
genimage now really errors out on some of the configuration files, E.G.:

https://gitlab.com/buildroot.org/buildroot/-/jobs/1865935239

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-12-11 10:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-28 13:18 [Buildroot] [PATCH] package/genimage: bump to version 15 Pierre-Jean Texier
2021-11-30 16:24 ` Peter Korsgaard
2021-12-02 19:55   ` Pierre-Jean Texier
2021-12-11 10:12   ` Peter Korsgaard
2021-12-02 18:59 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.