aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonela Voinescu <ionela.voinescu@arm.com>2019-02-03 14:24:57 +0000
committerArvind Chauhan <arvind.chauhan@arm.com>2019-02-08 06:29:03 +0000
commit46a36751d0a3b72ca9dfd51b835c9aecca3d38dd (patch)
treef82f379a37d5a604cdb7858c2e8c08c23075c9fe
parent76c35f0758ce108bff787537fa906c4de00b1360 (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-xbuild-oe-binaries.sh2
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]