diff options
author | Christian Melki <christian.melki@t2data.com> | 2022-02-22 10:24:36 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2022-02-25 11:17:15 +0100 |
commit | 2b511c4bc2cb9d0b265c7aab770d2abfe34e07db (patch) | |
tree | 164eef0d8916ba3f14d9ca9a2b6b9af59bfa186f /scripts/migrate | |
parent | fa384bf22cc15daab196337d198a932792e2365d (diff) | |
download | ptxdist-2b511c4bc2cb9d0b265c7aab770d2abfe34e07db.tar.gz ptxdist-2b511c4bc2cb9d0b265c7aab770d2abfe34e07db.tar.xz |
image-root-cpio: Move compression options into one menu.
* Clean cpio generation, drop separate in and make for gz.
* Extend image-root-cpio.in with compression methods
(raw, gz, zstd, xz, lzop).
* Compression mode selects compression utility.
* Filename suffix depends on compression mode.
* Platform migration from PTXCONF_IMAGE_ROOT_CPIO_GZ to
PTXCONF_IMAGE_ROOT_CPIO and PTXCONF_IMAGE_ROOT_CPIO_COMPRESSION_MODE_GZ
* Extend help. Explain that compression for integrated cpios
in kernel blob are compressed by the kernel build system.
Signed-off-by: Christian Melki <christian.melki@t2data.com>
Message-Id: <20220222092436.3860271-1-christian.melki@t2data.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/migrate')
-rwxr-xr-x | scripts/migrate/migrate_platform | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/migrate/migrate_platform b/scripts/migrate/migrate_platform index e9b4854d5..c75705f3a 100755 --- a/scripts/migrate/migrate_platform +++ b/scripts/migrate/migrate_platform @@ -51,3 +51,11 @@ s/^\(\(# \)\?PTXCONF_TF_A_PLATFORM\>\)\(.*$\)/\1S\3/ # s/^\(\(# \)\?PTXCONF\)_DTC\>\(.*$\)/\1_KERNEL_DTB\3/ s/^\(\(# \)\?PTXCONF\)_DTC_OFTREE\(_DTS\(\|_PATH\)\)\(.*$\)/\1_KERNEL\3\5/ + +# +# from : ptxdist-2022.02.0 +# to : ptxdist-2022.03.0 +# symbol : PTXCONF_IMAGE_ROOT_CPIO_GZ -> PTXCONF_IMAGE_ROOT_CPIO, PTXCONF_IMAGE_ROOT_CPIO_COMPRESSION_MODE_GZ +# reason : root.cpio generation consolidated. gz generation now dependent on regular cpio generation. +# +s/^\(\(# \)\?PTXCONF_\)IMAGE_ROOT_CPIO_GZ\>\(.*\)$/\1IMAGE_ROOT_CPIO\3\n\1IMAGE_ROOT_CPIO_COMPRESSION_MODE_GZ\3/ |