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

Commit e6c1972a authored by Joe Onorato's avatar Joe Onorato
Browse files

Add ability to say a custom partition doesn't want to participate in fastboot flashall

Bug: 399738266
Test: treehugger
Flag: EXEMPT this is a flag!
Change-Id: I59406e9877f8399b90a7dced53eec9decd2a8567
parent 0a68346a
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -5885,7 +5885,10 @@ endif
endif # BOARD_AVB_ENABLE
ifneq (,$(strip $(BOARD_CUSTOMIMAGES_PARTITION_LIST)))
	$(hide) $(foreach partition,$(BOARD_CUSTOMIMAGES_PARTITION_LIST), \
	  echo "flash $(partition)" >> $@;)
		$(if $(BOARD_$(call to-upper,$(partition))_IMAGE_NO_FLASHALL),, \
	      echo "flash $(partition)" >> $@; \
		) \
	)
endif
	$(hide) echo "reboot fastboot" >> $@
	$(hide) echo "update-super" >> $@