Do not remove init.recovery.*.rc in recovery root
When making recovery image, it removes init*.rc under recovery root, then copies init.recovery.*.rc from normal root to recovery root. However, init.recovery.*.rc shouldn't exist in normal root because it is only needed for recovery mode. This change removes init*.rc under recovery root as before but skips removing init.recovery.*.rc. So in device/*/*.mk, we can just copy init.recovery.*.rc to recovery root without coping it to normal root directory. Bug: 65570851 Test: normal/recovery boot sailfish, checks init.recovery.sailfish.rc only exists in recovery root. Change-Id: I069596fe2192d9dcbbdf2b77079b93ede3ed39ae
Loading
Please register or sign in to comment