however the ramdisk-recovery.img does not get produced during make process. Is there a separate make task that need to be executed as it's not mentioned in the chapter.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To make ramdisk-recovery.img, there are two ways to do it. You can simply remove $OUT/ramdisk-recovery.img and $OUT/recovery. After that, you build again.
If you just want to do a quick test by modifyin the content $OUT/reocovery, you can generate ramdisk-recovery.img using the below command.
ramdisk:
$ $(MKBOOTFS) -d ${OUT}/system ${OUT}/recovery/root | minigzip > ${OUT}/ramdisk-recovery.img
View and moderate all "Chapter 9" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
In section 'Booting to Recovery' there is a configuration
label 5. x86vbox recovery (ROOT=/dev/sda2)
menu x86vbox_recovery
kernel x86vbox/kernel
append ip=dhcp console=ttyS3,115200 initrd=x86vbox/ramdisk-recovery.img androidboot.hardware=x86vbox DEBUG=2 SRC=/android-x86vbox ROOT=/dev/sda2
however the ramdisk-recovery.img does not get produced during make process. Is there a separate make task that need to be executed as it's not mentioned in the chapter.
To make ramdisk-recovery.img, there are two ways to do it. You can simply remove $OUT/ramdisk-recovery.img and $OUT/recovery. After that, you build again.
If you just want to do a quick test by modifyin the content $OUT/reocovery, you can generate ramdisk-recovery.img using the below command.
ramdisk:
$ $(MKBOOTFS) -d ${OUT}/system ${OUT}/recovery/root | minigzip > ${OUT}/ramdisk-recovery.img
You can refer to this Makefile that I use to build individual targets.
https://github.com/shugaoye/x86vbox/blob/android-7.1.1_r4_x86vbox_ch14_r1/Makefile