Summary: | [TRACKER] Linux-info eclass using userland ebuilds that have hard checks and dependancies | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Auty (RETIRED) <ikelos> |
Component: | Eclasses | Assignee: | Mike Auty (RETIRED) <ikelos> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bonbons, hollow, kernel-misc, robbat2, vapier, zzam |
Priority: | High | Keywords: | Tracker |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://archives.gentoo.org/gentoo-dev/msg_829163256397bedb7c96e751347ee4d8.xml | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 283368, 283585, 300337 | ||
Bug Blocks: | 283845 |
Description
Mike Auty (RETIRED)
![]() This bug will also track the need to run linux_config_exists before calling linux_chkconfig_* functions. This is due to changes in the eclass to ensure that config.gz files can be used as potential configs. If these configs are missing, the chkconfig functions will have undefined results, so best to do the checks first... I_KNOW_WHAT_I_AM_DOING=1 is now available for linux-info.eclass. It makes the absence of the .config file non-fatal for testing this migration. New functions: linux_config_src_exists - explicit check for .config in sources linux_config_bin_exists - explicit check for /proc/config.gz linux-info_get_any_version - the version of sources else of the running kernel Also related to this, is that once we are certain of the state of the tree and hard checks not being over-used, we can remove the dependency of on linux-sources in linux-info (and move it to linux-mod instead). Adding the kernel-misc herd to the bug. While updating the eclass, please consider the issue noted in bug #87242. The patch I put there allows using the eclass properly by just specifying the KBUILD_OUTPUT (letting eclass discover KERNEL_DIR by itself - that information is available from Makefile in KBUILD_OUTPUT so no need to manually repeat it) Ok, all the userland ebuilds should be using ~OPTION. 5:) *** Bug 283266 has been marked as a duplicate of this bug. *** *** Bug 218970 has been marked as a duplicate of this bug. *** Per my warning one month [1] ago, the changes prototyped under I_KNOW_WHAT_I_AM_DOING are now default. Summary [2]: - ALL linux_chkconfig calls MUST be preceeded by a linux_config*exists function. - CONFIG_CHECK warning mode (~) no longer requires existence of kernel sources or any configuration. - The eclass no longer introduces linux-sources into the dependency tree. References: [1] http://thread.gmane.org/gmane.linux.gentoo.devel/64125 [2] http://thread.gmane.org/gmane.linux.gentoo.devel/62986 All blocking bugs have been resolved, so marking this tracker as resolved. |