On 4/11/25 15:45, Jan Kiszka wrote:
From: Jan Kiszka <[email protected]>

As an eMMC block device image may consist of more than just the user
data partition, provide a helper script that can compose the image from
boot partitions, an RPMB partition and the user data image. The script
also does the required size validation and/or rounding.

Signed-off-by: Jan Kiszka <[email protected]>
---

Changes in v6.1:
  - address BSD shell portability issue of stat -c

  scripts/mkemmc.sh | 219 ++++++++++++++++++++++++++++++++++++++++++++++
  1 file changed, 219 insertions(+)
  create mode 100755 scripts/mkemmc.sh

diff --git a/scripts/mkemmc.sh b/scripts/mkemmc.sh
new file mode 100755
index 0000000000..45dc3f08fa
--- /dev/null
+++ b/scripts/mkemmc.sh
@@ -0,0 +1,219 @@
+#!/bin/sh -e
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# Create eMMC block device image from boot, RPMB and user data images
+#
+# Copyright (c) Siemens, 2025
+#
+# Authors:
+#  Jan Kiszka <[email protected]>
+#
+# This work is licensed under the terms of the GNU GPL version 2.
+# See the COPYING file in the top-level directory.

Failing CI with:

ERROR: New file 'scripts/mkemmc.sh' must not have license boilerplate header text, only the SPDX-License-Identifier, unless this file was copied from existing code already having such text.

Do you mind if I drop these 2 lines?

Reply via email to