diff options
author | Ionela Voinescu <ionela.voinescu@arm.com> | 2019-02-03 14:24:57 +0000 |
---|---|---|
committer | Arvind Chauhan <arvind.chauhan@arm.com> | 2019-02-08 06:29:03 +0000 |
commit | 46a36751d0a3b72ca9dfd51b835c9aecca3d38dd (patch) | |
tree | f82f379a37d5a604cdb7858c2e8c08c23075c9fe | |
parent | 76c35f0758ce108bff787537fa906c4de00b1360 (diff) |
build-oe-binaries.sh: update ramdisk to use new cpio format
The old ramdisk-oe.img format is causing issues on 5.0 kernels in which
initramfs errors are no longer ignored:
ff1522bb7d98 ("initramfs: cleanup incomplete rootfs")
Update cpio command to use newc format, the new (SVR4) portable format,
which does not cause issues on recent kernels.
Signed-off-by: Ionela Voinescu <ionela.voinescu@arm.com>
-rwxr-xr-x | build-oe-binaries.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-oe-binaries.sh b/build-oe-binaries.sh index 4312a88..a2707c5 100755 --- a/build-oe-binaries.sh +++ b/build-oe-binaries.sh @@ -76,7 +76,7 @@ do_package () # OpenEmbedded ramdisks mkdir -p oe touch oe/initrd - echo oe/initrd | cpio -ov > ramdisk-oe.img + echo oe/initrd | cpio -ov -H newc > ramdisk-oe.img if [ "$UBOOT_BUILD_ENABLED" == "1" ]; then for target in $TARGET_BINS_PLATS; do local addr=TARGET_$target[ramdisk] |