[XDA-University] :
hey guys i finished my building but now i'm getting the error , my device is xperia x8 and we don't have fastboot , but the ota package is packed with the kernel and it's not supposed to

mdpath=`find /home/yair/armv6/out/target/product/shakira/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi

mdpath=`find /home/yair/armv6/out/target/product/shakira/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do mv $i /home/yair/armv6/out/target/product/shakira/system/lib/modules/; done; fi

mdpath=`find /home/yair/armv6/out/target/product/shakira/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi

target Prebuilt: (/home/yair/armv6/out/target/product/shakira/kernel)

----- Making recovery filesystem ------

Copying baseline ramdisk...

Modifying ramdisk contents...

cp: cannot stat `/home/yair/armv6/out/target/product/shakira/root/init.recovery.*.rc': No such file or directory

make: [/home/yair/armv6/out/target/product/shakira/recovery/root.ts] Error 1 (ignored)

mkdir -p /home/yair/armv6/out/target/product/shakira/recovery/root/system/bin

Modifying default.prop

sed -i 's/ro.build.date.utc=.*/ro.build.date.utc=0/g' /home/yair/armv6/out/target/product/shakira/recovery/root/default.prop

----- Made recovery filesystem --------/home/yair/armv6/out/target/product/shakira/recovery/root

----- Making uncompressed recovery ramdisk ------

/home/yair/armv6/out/host/linux-x86/bin/mkbootfs /home/yair/armv6/out/target/product/shakira/recovery/root > /home/yair/armv6/out/target/product/shakira/ramdisk-recovery.cpio

----- Making recovery ramdisk ------

/home/yair/armv6/out/host/linux-x86/bin/minigzip < /home/yair/armv6/out/target/product/shakira/ramdisk-recovery.cpio > /home/yair/armv6/out/target/product/shakira/ramdisk-recovery.img

Boot image: /home/yair/armv6/out/target/product/shakira/boot.img

----- Making recovery image ------

/home/yair/armv6/out/host/linux-x86/bin/mkbootimg --kernel /home/yair/armv6/out/target/product/shakira/kernel --ramdisk /home/yair/armv6/out/target/product/shakira/ramdisk-recovery.img --cmdline "console=null" --base 0x00200000 --output /home/yair/armv6/out/target/product/shakira/recovery.img

----- Made recovery image -------- /home/yair/armv6/out/target/product/shakira/recovery.img

Installed file list: /home/yair/armv6/out/target/product/shakira/installed-files.txt

Target system fs image: /home/yair/armv6/out/target/product/shakira/obj/PACKAGING/systemimage_intermediates/system.img

Running: mkyaffs2image -f /home/yair/armv6/out/target/product/shakira/system /home/yair/armv6/out/target/product/shakira/obj/PACKAGING/systemimage_intermediates/system.img

Install system fs image: /home/yair/armv6/out/target/product/shakira/system.img

Package target files: /home/yair/armv6/out/target/product/shakira/obj/PACKAGING/target_files_intermediates/cm_shakira-target_files-eng.yair.zip

Package OTA: /home/yair/armv6/out/target/product/shakira/cm_shakira-ota-eng.yair.zip

device/semc/msm7x27-common/releasetools/semc_ota_from_target_files -v \

-p /home/yair/armv6/out/host/linux-x86 \

-k build/target/product/security/testkey \

--backup=true \

--override_device=E15i,E15a,E16i,E16a,shakira \

--extras_file=build/tools/releasetools/extras.txt \

/home/yair/armv6/out/target/product/shakira/obj/PACKAGING/target_files_intermediates/cm_shakira-target_files-eng.yair.zip /home/yair/armv6/out/target/product/shakira/cm_shakira-ota-eng.yair.zip

Given a target-files zipfile, produces an OTA package that installs

that build. An incremental OTA is produced if -i is given, otherwise

a full OTA is produced.

Usage: ota_from_target_files [flags] input_target_files output_ota_package

-b (--board_config) <file>

Deprecated.

-k (--package_key) <key> Key to use to sign the package (default is

the value of default_system_dev_certificate from the input

target-files's META/misc_info.txt, or

"build/target/product/security/testkey" if that value is not

specified).

For incremental OTAs, the default value is based on the source

target-file, not the target build.

-i (--incremental_from) <file>

Generate an incremental OTA using the given target-files zip as

the starting build.

-w (--wipe_user_data)

Generate an OTA package that will wipe the user data partition

when installed.

-n (--no_prereq)

Omit the timestamp prereq check normally included at the top of

the build scripts (used for developer OTA packages which

legitimately need to go back and forth).

-e (--extra_script) <file>

Insert the contents of file at the end of the update script.

-a (--aslr_mode) <on|off>

Specify whether to turn on ASLR for the package (on by default).

--backup <boolean>

Enable or disable the execution of backuptool.sh.

Disabled by default.

--configid <boolean>

Enable or disable the execution of modelid_cfg.sh.

Enabled by default.

--override_device <device>

Override device-specific asserts. Can be a comma-separated list.

-p (--path) <dir>

Prepend <dir>/bin to the list of places to search for binaries

run by this script, and expect to find jars in <dir>/framework.

-s (--device_specific) <file>

Path to the python module containing device-specific

releasetools code.

-x (--extra) <key=value>

Add a key/value pair to the 'extras' dict, which device-specific

extension code may look at.

-v (--verbose)

Show command lines being executed.

-h (--help)

Display this usage message and exit.

** option --extras_file not recognized **

make: *** [/home/yair/armv6/out/target/product/shakira/cm_shakira-ota-eng.yair.zip] Error 2