[LEDE-DEV] [PATCH v2] package-ipkg: Do not fail build without base-files

Florian Fainelli f.fainelli at gmail.com
Tue Dec 27 12:15:28 PST 2016


(please stop top-posting).

On 12/27/2016 12:07 PM, Christian Schoenebeck wrote:
> In general that's right, but disabling all postinst(-pkg) and prerm(-pkg) is more than awful.
> If base-files not selected you should nevertheless call postinst-/prerm-pkg.

To what purpose is that helpful? base-files is deselected, not much is
going to work anyway.

What do you suggest as a change we make to keep builds working even if
base-files is deselected and satisfy running scripts at the same time?

> Otherwise their is no real chance to work without base-files whatever you do in package Makefile.
> 
> Am 27.12.2016 um 21:00 schrieb Florian Fainelli:
>> base-files can be deselected (and it should remain that way), in which
>> case you cannot complete an OpenWrt build because we stop with the
>> errors mentioned below, fixing that alone has value IMHO.
>>
>> It seems reasonable to expect that nothing in your system that relies on
>> base-files can be working, the use case for a system without base-files
>> can be: a) replacement of the full OpenWrt/LEDE user-space with
>> something custom, b) build testing/combination coverage (how this was
>> caught here), c) minimal system getting you to a prompt without starting
>> anything.
>>


-- 
Florian



More information about the Lede-dev mailing list