ImageBuilder rewrites the local changes (base-files package)

Hi guys!
I have a couple of devices not yet officially supported in OpenWrt:

Devices requires modified files related to base-files package:

base-files/etc/board.d/01_leds
base-files/etc/board.d/02_network
base-files/etc/init.d/bootcount
base-files/lib/upgrade/platform.sh

I built an ImageBuilder 21.02 and tried to use it.

Unfortunatelly, ImageBuilder downloads the base-files package (that alredy compiled and included in my firmware) and rewrites the files mentioned above. As a result the firmware doesn't work as expected.

How to avoid such ImageBuilder behavour and forbid it rewrite my local base-files by official one?

You have to use FILES!

2 Likes

I also had that idea and tried it before but without success. I tried again... And it works now! Maybe wrong dir/filename was the reason. Thanks a lot!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.