Problem with build variants and package/install
|Reported by:||bas@…||Owned by:||developers|
|Priority:||normal||Milestone:||Chaos Calmer 15.05|
There is a problem with build variants and i guess it is related to changeset 33631 (https://dev.openwrt.org/changeset/33631). For example, when libncursesw is chosen to be installed, $(STAGING_DIR)/pkginfo/ncurses.install only contains terminfo and libncurses (i.e. one of the variants) and so, libncursesw is not installed.
When i append manually libncursesw to $(STAGING_DIR)/pkginfo/ncurses.install and do make package/install, libncursesw gets installed.
During package install, one of the variants gets into the install list, and packagename.install.clean is created. But, when the second variant kicks in, this information gets removed (see include/package-ipkg.mk, line 90).
The attached patch tries to fix this issue by really collecting all package install lists, and then just making the list unique.