Skip to content

Commit

Permalink
Disable read cache when building SONiC fs part 1 (sonic-net#16936)
Browse files Browse the repository at this point in the history
Why I did it
RFS cache have issues which breaks official build and PR checker.
By reading cache, fsroot-vs/lib/modules folder don't exist.

Work item tracking
Microsoft ADO (number only): 25481484
How I did it
Disable read cache currently.

How to verify it
  • Loading branch information
liushilongbuaa authored Oct 19, 2023
1 parent 7ab27c1 commit 25842ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slave.mk
Original file line number Diff line number Diff line change
Expand Up @@ -1247,7 +1247,7 @@ $(addprefix $(TARGET_PATH)/, $(SONIC_RFS_TARGETS)) : $(TARGET_PATH)/% : \
$(call dpkg_depend,$(TARGET_PATH)/%.dep)
$(HEADER)

$(call LOAD_CACHE,$*,$@)
# $(call LOAD_CACHE,$*,$@)

# Skip building the target if it is already loaded from cache
if [ -z '$($*_CACHE_LOADED)' ] ; then
Expand Down

0 comments on commit 25842ec

Please sign in to comment.