Closed lozo2010 closed 8 years ago
Can you provide some more of the error?
/home/lozo/ubu/out/host/linux-x86/bin/minigzip < /home/lozo/ubu/out/target/product/bacon/ramdisk-recovery.cpio > /home/lozo/ubu/out/target/product/bacon/ramdisk-recovery.img
----- Making recovery image ------
usage: mkbootimg
--kernel
Generating master DTB... completed
Made DT image: /home/lozo/ubu/out/target/product/bacon/dt.img
Target Ubuntu Touch ram disk: /home/lozo/ubu/out/target/product/bacon/ramdisk.img
Downloading ubuntu-touch-generic-initrd version 0.83
12212 blocks
----- Making recovery image ------
Copying baseline ramdisk...
Modifying ramdisk contents...
cp: cannot stat ‘/home/lozo/ubu/out/target/product/bacon/root/init.recovery..rc’: No such file or directory
make: [/home/lozo/ubu/out/target/product/bacon/recovery/root.ts] Error 1 (ignored)
mkdir -p /home/lozo/ubu/out/target/product/bacon/recovery/root/system/bin
Modifying default.prop
sed -i 's/ro.build.date.utc=./ro.build.date.utc=0/g' /home/lozo/ubu/out/target/product/bacon/recovery/root/default.prop
sed -i 's/ro.adb.secure=1//g' /home/lozo/ubu/out/target/product/bacon/recovery/root/default.prop
----- Made recovery filesystem --------/home/lozo/ubu/out/target/product/bacon/recovery/root
----- Making uncompressed recovery ramdisk ------
/home/lozo/ubu/out/host/linux-x86/bin/mkbootfs /home/lozo/ubu/out/target/product/bacon/recovery/root > /home/lozo/ubu/out/target/product/bacon/ramdisk-recovery.cpio
----- Making recovery ramdisk ------
/home/lozo/ubu/out/host/linux-x86/bin/minigzip < /home/lozo/ubu/out/target/product/bacon/ramdisk-recovery.cpio > /home/lozo/ubu/out/target/product/bacon/ramdisk-recovery.img
----- Making recovery image ------
usage: mkbootimg
--kernel
look here: https://github.com/ubuntu-touch-oneplus-one/ubuntu-touch-for-oneplus-one/issues/5
Or
Replace mkbootimg with this https://github.com/ubuntu-touch-oneplus-one/ubuntu-touch-for-oneplus-one/blob/master/tools/mkbootimg?raw=true There folder where it's located is: "/out/host/linux-x86/bin"
https://github.com/ubuntu-touch-oneplus-one/ubuntu-touch-for-oneplus-one/issues/6
my fix should work with this issue as well.
I dont fix the error...
Got the same problem. Replacing mkbootimg with the above mentioned one (from github) fixed it.
This error: make: *\ [/home/lozo/ubu/out/target/product/bacon/recovery.img] Error 1