Message ID | 1441157873-12285-1-git-send-email-rdkehn@yahoo.com |
---|---|
State | Accepted |
Headers | show |
Dear Doug Kehn, On Tue, 1 Sep 2015 20:37:53 -0500, Doug Kehn wrote: > Observed the following when building cryptodev-linux: > >>> cryptodev-linux 1.7 Building kernel module(s) > grep: /.config: No such file or directory > ERROR: Kernel does not support loadable modules > > Fix LINUX_DIR reference when determining if kernel configuration > supports loadable modules. > > Signed-off-by: Doug Kehn <rdkehn@yahoo.com> Indeed: Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Doug, All, On 2015-09-01 20:37 -0500, Doug Kehn spake thusly: > Observed the following when building cryptodev-linux: > >>> cryptodev-linux 1.7 Building kernel module(s) > grep: /.config: No such file or directory > ERROR: Kernel does not support loadable modules > > Fix LINUX_DIR reference when determining if kernel configuration > supports loadable modules. Dang.. I let that skip before the release... > Signed-off-by: Doug Kehn <rdkehn@yahoo.com> On principle: Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> However, there's a series that did not have time to make it to master before the release, and that is an improvement over the current situation, which would render this patch moot: https://patchwork.ozlabs.org/patch/510186/ https://patchwork.ozlabs.org/patch/510187/ https://patchwork.ozlabs.org/patch/510188/ So, even though this patch is good, I'd prefer we aply the series instead. Still, the kernel-module infra is indeed broken in the release, thus making all kernel module packages broken. I'll Oeter and Thomas decide whether we want to put out a .1 release to fix just that. Regards, Yann E. MORIN. > --- > package/pkg-kernel-module.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/pkg-kernel-module.mk b/package/pkg-kernel-module.mk > index 6fb7704..7628352 100644 > --- a/package/pkg-kernel-module.mk > +++ b/package/pkg-kernel-module.mk > @@ -60,7 +60,7 @@ $(2)_MODULE_SUBDIRS ?= . > # includes and other support files (Booo!) > define $(2)_KERNEL_MODULES_BUILD > @$$(call MESSAGE,"Building kernel module(s)") > - @if ! grep -Fqx 'CONFIG_MODULES=y' $(LINUX_DIR)/.config; then \ > + @if ! grep -Fqx 'CONFIG_MODULES=y' $$(LINUX_DIR)/.config; then \ > echo "ERROR: Kernel does not support loadable modules"; \ > exit 1; \ > fi > -- > 2.5.0 > > _______________________________________________ > buildroot mailing list > buildroot@busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes: Hi, >> Fix LINUX_DIR reference when determining if kernel configuration >> supports loadable modules. > Dang.. I let that skip before the release... >> Signed-off-by: Doug Kehn <rdkehn@yahoo.com> > On principle: > Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> > However, there's a series that did not have time to make it to master > before the release, and that is an improvement over the current > situation, which would render this patch moot: > https://patchwork.ozlabs.org/patch/510186/ > https://patchwork.ozlabs.org/patch/510187/ > https://patchwork.ozlabs.org/patch/510188/ > So, even though this patch is good, I'd prefer we aply the series > instead. Yes, I'll do so shortly for master. > Still, the kernel-module infra is indeed broken in the release, thus > making all kernel module packages broken. I'll Oeter and Thomas decide > whether we want to put out a .1 release to fix just that. I've created a 2015.08.x branch and applied it. I'll wait a few days and see if anything else shows up before releasing 2015.08.1.
Hi Peter, ----- Mail original ----- > De: "Peter Korsgaard" <peter@korsgaard.com> > À: "Yann E. MORIN" <yann.morin.1998@free.fr> > Cc: "buildroot" <buildroot@buildroot.org> > Envoyé: Vendredi 4 Septembre 2015 12:08:32 > Objet: Re: [Buildroot] [PATCH 1/1] package/pkg-kernel-module.mk: module build fails >>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes: > > Hi, > > >> Fix LINUX_DIR reference when determining if kernel configuration > >> supports loadable modules. > > > Dang.. I let that skip before the release... > > >> Signed-off-by: Doug Kehn <rdkehn@yahoo.com> > > > On principle: > > > Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> > > > However, there's a series that did not have time to make it to master > > before the release, and that is an improvement over the current > > situation, which would render this patch moot: > > > https://patchwork.ozlabs.org/patch/510186/ > > https://patchwork.ozlabs.org/patch/510187/ > > https://patchwork.ozlabs.org/patch/510188/ > > > So, even though this patch is good, I'd prefer we aply the series > > instead. > > Yes, I'll do so shortly for master. > > > Still, the kernel-module infra is indeed broken in the release, thus > > making all kernel module packages broken. I'll Oeter and Thomas decide > > whether we want to put out a .1 release to fix just that. > > I've created a 2015.08.x branch and applied it. I'll wait a few days and > see if anything else shows up before releasing 2015.08.1. Since you are preparing a bug fix release, can you backport this little patch ? ;-) http://patchwork.ozlabs.org/patch/512785/ Thanks! Best regards, Romain > > -- > Bye, Peter Korsgaard > _______________________________________________ > buildroot mailing list > buildroot@busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot
>>>>> "Romain" == Romain Naour <romain.naour@openwide.fr> writes: Hi, > Hi Peter, >> I've created a 2015.08.x branch and applied it. I'll wait a few days and >> see if anything else shows up before releasing 2015.08.1. > Since you are preparing a bug fix release, can you backport this little > patch ? ;-) > http://patchwork.ozlabs.org/patch/512785/ Cherrypicked, thanks. Please let me know if there are any other fixes that should go in 2015.08.1.
diff --git a/package/pkg-kernel-module.mk b/package/pkg-kernel-module.mk index 6fb7704..7628352 100644 --- a/package/pkg-kernel-module.mk +++ b/package/pkg-kernel-module.mk @@ -60,7 +60,7 @@ $(2)_MODULE_SUBDIRS ?= . # includes and other support files (Booo!) define $(2)_KERNEL_MODULES_BUILD @$$(call MESSAGE,"Building kernel module(s)") - @if ! grep -Fqx 'CONFIG_MODULES=y' $(LINUX_DIR)/.config; then \ + @if ! grep -Fqx 'CONFIG_MODULES=y' $$(LINUX_DIR)/.config; then \ echo "ERROR: Kernel does not support loadable modules"; \ exit 1; \ fi