-----Original Message----- From: Bruce Ashfield [mailto:bruce.ashfi...@windriver.com] Sent: Tuesday, January 10, 2017 2:58 PM To: Schmitt, Richard <richard.schm...@commscope.com>; yocto@yoctoproject.org Subject: Re: [yocto] kernel config fragments not applied
On 2017-01-10 1:05 PM, Schmitt, Richard wrote: >> I am having a heck of a hard time getting a minor kernel config >> fragment applied. >> >> >> >> In order to minimize all variables, I am simply trying to build >> linux-yocto for a qemux86 MACHINE target. >> >> >> > > What release ? Everything is working here, but I can switch to whatever > release you are using and run the test there (I'm using master). I'm using krogoth. I'll try a build based on master and see if it's release specific. > Bruce >> There had been some discussion on the mailing list previously that >> suggested making sure linux-yocto.inc was included within the recipes. >> The ones being used are standard poky recipes and they do include the >> linux-yocto.inc file. >> >> My configuration is very simple. I have my own layer and linux-yocto >> bbappend: >> >> meta-mylayer/recipes-kernel/linux/linux-yocto_4.4.bbappend >> >> Whose contents are: >> > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" >> >> SRC_URI += " \ >> file://overlayfs.cfg \ >> " >> >> With the config fragment in: >> >>meta-mylayer/recipes-kernel/linux/linux-yocto/overlayfs.cfg >> >> whose contents is: >> >> CONFIG_OVERLAY_FS=y >> >> If I do a "bitbake linux-yocto" I would expect it to generate a config >> file that includes CONFIG_OVERLAY_FS=y and a kernel that includes this >> filesystem. I don't. >> >> My layer is parsed correctly and the bbappend is found and parsed. I >> know this because in the tmp directory: >> >> tmp/work/qemux86-poky-linux/linux-yocto/4.4.26+gitAUTOINC+3030330b06_c >> a6a08bd7f-r0/ >> >> the file overlayfs.cfg exists. >> >> Searching the log files, the only one that references this file though >> is log.do_unpack. I do not see any reference to it in >> log.do_kernel_configme or log.do_configure. I'm not sure how kernel >> fragments are applied, but looking through the classes and recipes for >> linux-yocto in poky/meta, I do not see any code that would apply >> kernel fragments. So I'm not sure if I'm missing some piece. >> >> Searching through the files in poky/meta, I find meta-config.sh only >> in recipes-core/uclibc and recipes-core/busybox. That's why I think >> I'm missing something. >> >> I'm using the krogoth branch of poky. >> >> What am I missing? >> >> Thanks, >> Rich -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto