buildsystem: add CPE information to ipkg packages and manifest files
Common Platform Enumeration (CPE) is a structured naming scheme for information technology systems, software, and packages. This information already exists in some makefiles. In order for the information to be processed further, it should also be added to the manifest file and the control file of ipkg packages. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
0fb5962e62
commit
4d86e2ce06
@ -173,6 +173,7 @@ $$(call addfield,Depends,$$(Package/$(1)/DEPENDS)
|
|||||||
)$$(call addfield,LicenseFiles,$(LICENSE_FILES)
|
)$$(call addfield,LicenseFiles,$(LICENSE_FILES)
|
||||||
)$$(call addfield,Section,$(SECTION)
|
)$$(call addfield,Section,$(SECTION)
|
||||||
)$$(call addfield,Require-User,$(USERID)
|
)$$(call addfield,Require-User,$(USERID)
|
||||||
|
)$(if $(PKG_CPE_ID),CPE-ID: $(PKG_CPE_ID)
|
||||||
)$(if $(filter hold,$(PKG_FLAGS)),Status: unknown hold not-installed
|
)$(if $(filter hold,$(PKG_FLAGS)),Status: unknown hold not-installed
|
||||||
)$(if $(filter essential,$(PKG_FLAGS)),Essential: yes
|
)$(if $(filter essential,$(PKG_FLAGS)),Essential: yes
|
||||||
)$(if $(MAINTAINER),Maintainer: $(MAINTAINER)
|
)$(if $(MAINTAINER),Maintainer: $(MAINTAINER)
|
||||||
|
Loading…
Reference in New Issue
Block a user