--- file_not_specified_in_diff +++ file_not_specified_in_diff @@ -49,0 +49,10 @@ +# +# UNIPATCH_LIST_LOCAL - a space delimited list of local (unsupported) patch +# sets (xxx.tar.gz) to be applied to the kernel. Can +# be specified as ${FILESDIR}/patch.tgz or +# ${DISTDIR}/patch.tgz depending upon whether the +# patches are stored in the files subdirectory or +# specified in ${SRC_URI}. The patch sets should follow +# the standard genpatches organizational and naming +# structure. +# @@ -617,0 +627,13 @@ + + if [[ -n "${UNIPATCH_LIST_LOCAL}" ]]; then + ewarn "This kernel contains unsupported 3rd party patches." + ewarn "and IS NOT supported by the Gentoo kernel developers." + echo + ewarn "Please do not file bugs (of any kind) while using this kernel." + ewarn "You may have to drop these patches when working through bug reports." + echo + ewarn "If you absolutely must report a bug while using this kernel," + ewarn "you must state that you applied your own kernel patches and" + ewarn "specify the nature of those changes on all Gentoo bug reports." + echo + fi @@ -957,2 +980,4 @@ - [[ -n ${UNIPATCH_LIST} || -n ${UNIPATCH_LIST_DEFAULT} || -n ${UNIPATCH_LIST_GENPATCHES} ]] && \ - unipatch "${UNIPATCH_LIST_DEFAULT} ${UNIPATCH_LIST_GENPATCHES} ${UNIPATCH_LIST}" --- + [[ -n ${UNIPATCH_LIST} || -n ${UNIPATCH_LIST_DEFAULT} || \ + -n ${UNIPATCH_LIST_GENPATCHES} || -n ${UNIPATCH_LIST_LOCAL} ]] && \ + unipatch "${UNIPATCH_LIST_DEFAULT} ${UNIPATCH_LIST_GENPATCHES} + ${UNIPATCH_LIST} ${UNIPATCH_LIST_LOCAL}"