Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 021fa44b authored by Marko Man's avatar Marko Man Committed by Danny Baumann
Browse files

build: recovery: add vendor to exclusion list

on some devices there is a vendor symlink in rootdir.
Ignore that for recovery.

Change-Id: Id0e54f7d135418cbe3adc1985c2dd26e260ab495
parent 35ffd201
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1254,7 +1254,7 @@ define build-recoveryramdisk
  $(hide) mkdir -p $(TARGET_RECOVERY_ROOT_OUT)/etc $(TARGET_RECOVERY_ROOT_OUT)/sdcard $(TARGET_RECOVERY_ROOT_OUT)/tmp
  @echo Copying baseline ramdisk...
  # Use rsync because "cp -Rf" fails to overwrite broken symlinks on Mac.
  $(hide) rsync -a --exclude=etc --exclude=sdcard $(IGNORE_RECOVERY_SEPOLICY) $(IGNORE_CACHE_LINK) $(TARGET_ROOT_OUT) $(TARGET_RECOVERY_OUT)
  $(hide) rsync -a --exclude=etc --exclude=sdcard --exclude=vendor $(IGNORE_RECOVERY_SEPOLICY) $(IGNORE_CACHE_LINK) $(TARGET_ROOT_OUT) $(TARGET_RECOVERY_OUT)
  # Copy adbd from system/bin to recovery/root/sbin
  $(hide) cp -f $(TARGET_OUT_EXECUTABLES)/adbd $(TARGET_RECOVERY_ROOT_OUT)/sbin/adbd
  @echo Modifying ramdisk contents...