New recipes not installing in core-image-minimal
In support of a new BSP I've written two new recipes and appended to another to depend on them. The new recipes files are not appearing in the resulting images. I'm sure I'm overlooking something trivial, but I'm not sure what it would be. The layer is available here:
http://git.yoctoproject.org/cgit.cgi/meta-intel-contrib/log/?h=dvhart/sys940x
I've added ranpwd, genmac, and appended to netbase.
netbase RDEPENDS on genmac and genmac RDEPENDS on ranpwd. Building core-image-minimal triggers the build of genmac and ranpwd, and the modified /etc/network/interfaces appears in the rootfs. genmac and ranpwd place the appropriate files in their workdir/image directory, but those files don't make it into the rootfs.
Can anyone offer an explanation as to why that might be? The top 4 commits of the repository linked to above will list the new recipes and the bbappend for reference.
Thanks,
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Quoted 7 lines · Darren Hart
In support of a new BSP I've written two new recipes and appended to another to depend on them. The new recipes files are not appearing in the resulting images. I'm sure I'm overlooking something trivial, but I'm not sure what it would be. The layer is available here:
http://git.yoctoproject.org/cgit.cgi/meta-intel-contrib/log/?h=dvhart/sys940x
Quoted 8 lines
I've added ranpwd, genmac, and appended to netbase.
netbase RDEPENDS on genmac and genmac RDEPENDS on ranpwd. Building core-image-minimal triggers the build of genmac and ranpwd, and the modified
/etc/network/interfacesappears in the rootfs. genmac and ranpwd place the appropriate files in their workdir/image directory, but those files don't make it into the rootfs.
RDEPENDS_${PN} would work much better !
Sau!
Quoted 6 lines
Can anyone offer an explanation as to why that might be? The top 4 commits of the repository linked to above will list the new recipes and the bbappend for reference.
Thanks,
Quoted 10 lines · Saul Wold
Quoted 9 lines · Darren Hart
In support of a new BSP I've written two new recipes and appended to another to depend on them. The new recipes files are not appearing in the resulting images. I'm sure I'm overlooking something trivial, but I'm not sure what it would be. The layer is available here:
http://git.yoctoproject.org/cgit.cgi/meta-intel-contrib/log/?h=dvhart/sys940x
I've added ranpwd, genmac, and appended to netbase.
Quoted 7 lines
Quoted 6 lines
netbase RDEPENDS on genmac and genmac RDEPENDS on ranpwd. Building core-image-minimal triggers the build of genmac and ranpwd, and the modified
/etc/network/interfacesappears in the rootfs. genmac and ranpwd place the appropriate files in their workdir/image directory, but those files don't make it into the rootfs.RDEPENDS_${PN} would work much better !
Perhaps, but it didn't fix this particular problem. Neither /usr/bin/ranpwd nor /etc/init.d/genmac appear in the rootfs. However, each still appears in their respective workdir/image:
$ find tmp/work/sys940x_noemgd-poky-linux/core-image-minimal-1.0-r0/rootfs -name "ranpwd" <NULL>
$ find tmp/work/sys940x_noemgd-poky-linux/core-image-minimal-1.0-r0/rootfs -name "genmac" <NULL>
$ ls tmp/work/core2-poky-linux/genmac-1.0-r0/image/etc/init.d/ genmac
$ ls tmp/work/core2-poky-linux/ranpwd-git-r0/image/usr/bin/ ranpwd
genmac doesn't have a log.do_install in the workdir/temp directory. Is that significant?
ranpwd does, but it isn't instructive:
$ cat tmp/work/core2-poky-linux/ranpwd-git-r0/temp/log.do_install DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
Any other thoughts?
Quoted 9 lines
Sau!
Quoted 6 lines
Can anyone offer an explanation as to why that might be? The top 4 commits of the repository linked to above will list the new recipes and the bbappend for reference.
Thanks,
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Quoted 19 lines · Darren Hart
Quoted 16 lines · Saul Wold
Quoted 15 lines · Darren Hart
In support of a new BSP I've written two new recipes and appended to another to depend on them. The new recipes files are not appearing in the resulting images. I'm sure I'm overlooking something trivial, but I'm not sure what it would be. The layer is available here:
http://git.yoctoproject.org/cgit.cgi/meta-intel-contrib/log/?h=dvhart/sys940x
I've added ranpwd, genmac, and appended to netbase.
netbase RDEPENDS on genmac and genmac RDEPENDS on ranpwd. Building core-image-minimal triggers the build of genmac and ranpwd, and the modified
/etc/network/interfacesappears in the rootfs. genmac and ranpwd place the appropriate files in their workdir/image directory, but those files don't make it into the rootfs.
Quoted 5 lines
Quoted 1 line
RDEPENDS_${PN} would work much better !
Perhaps, but it didn't fix this particular problem. Neither
/usr/bin/ranpwdnor/etc/init.d/genmacappear in the rootfs. However, each still appears in their respective workdir/image:
Are they in workdir/packages-split/genmac/etc/init.d/genmac workdir/packages-split/ranpwd/etc/init.d/ranpwd
Maybe log.do_package even reports them as unpackaged files..
I don't think that update-rc.d adds /etc/init.d to FILES_${PN} for you.
Cheers,
Quoted 47 lines
$ find tmp/work/sys940x_noemgd-poky-linux/core-image-minimal-1.0-r0/rootfs -name "ranpwd" <NULL>$ find tmp/work/sys940x_noemgd-poky-linux/core-image-minimal-1.0-r0/rootfs -name "genmac" <NULL>$ ls tmp/work/core2-poky-linux/genmac-1.0-r0/image/etc/init.d/ genmac$ ls tmp/work/core2-poky-linux/ranpwd-git-r0/image/usr/bin/ ranpwdgenmac doesn't have a log.do_install in the workdir/temp directory. Is that significant?
ranpwd does, but it isn't instructive:
$ cat tmp/work/core2-poky-linux/ranpwd-git-r0/temp/log.do_install DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']Any other thoughts?
Quoted 9 lines
Sau!
Quoted 6 lines
Can anyone offer an explanation as to why that might be? The top 4 commits of the repository linked to above will list the new recipes and the bbappend for reference.
Thanks,
Signature · 7 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Hello Martin,
Quoted 6 lines · Martin Jansa
Quoted 3 lines
Perhaps, but it didn't fix this particular problem. Neither
/usr/bin/ranpwdnor/etc/init.d/genmacappear in the rootfs. However, each still appears in their respective workdir/image:Are they in workdir/packages-split/genmac/etc/init.d/genmac workdir/packages-split/ranpwd/etc/init.d/ranpwd
I too have a similar issue when I try to include a manually constructed fstab file into the rootfs image. The file is available in the following locations
1. core2-poky-linux/${PN}-${PV}-${PR}/etc/fstab
2. core2-poky-linux/${PN}-${PV}-${PR}/packages-split/${PN}/etc/fstab
but not in the final rootfs image. May be I am missing something trivial.
Eager to know the solution on this thread.
Regards
Joshua
Signature · 3 lines
Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in
Quoted 10 lines · Joshua Immanuel
Hello Martin,
Quoted 6 lines · Martin Jansa
Quoted 3 lines
Perhaps, but it didn't fix this particular problem. Neither
/usr/bin/ranpwdnor/etc/init.d/genmacappear in the rootfs. However, each still appears in their respective workdir/image:Are they in workdir/packages-split/genmac/etc/init.d/genmac workdir/packages-split/ranpwd/etc/init.d/ranpwd
Quoted 8 lines
I too have a similar issue when I try to include a manually constructed fstab file into the rootfs image. The file is available in the following locations
1. core2-poky-linux/${PN}-${PV}-${PR}/etc/fstab
2. core2-poky-linux/${PN}-${PV}-${PR}/packages-split/${PN}/etc/fstabbut not in the final rootfs image. May be I am missing something trivial.
Maybe it depends on used package-manager bud I guess that at least opkg will refuse to overwrite /etc/fstab provided by base-files by /etc/fstab from your fancy PN and even if it allows it in do_rootfs, then it's not good idea for image with online package management, because your custom fstab will be overwritten as soon as base-files are changed.
Why not .bbappend base-files and customize fstab there?
Quoted 15 lines
Eager to know the solution on this thread.
Regards
JoshuaSignature · 10 lines
Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 20 lines · Martin Jansa
Quoted 10 lines · Joshua Immanuel
Hello Martin,
Quoted 6 lines · Martin Jansa
Quoted 3 lines
Perhaps, but it didn't fix this particular problem. Neither
/usr/bin/ranpwdnor/etc/init.d/genmacappear in the rootfs. However, each still appears in their respective workdir/image:Are they in workdir/packages-split/genmac/etc/init.d/genmac workdir/packages-split/ranpwd/etc/init.d/ranpwd
Quoted 8 lines
I too have a similar issue when I try to include a manually constructed fstab file into the rootfs image. The file is available in the following locations
1. core2-poky-linux/${PN}-${PV}-${PR}/etc/fstab
2. core2-poky-linux/${PN}-${PV}-${PR}/packages-split/${PN}/etc/fstabbut not in the final rootfs image. May be I am missing something trivial.
Quoted 8 lines
Maybe it depends on used package-manager bud I guess that at least opkg will refuse to overwrite
/etc/fstabprovided by base-files by/etc/fstabfrom your fancy PN and even if it allows it indo_rootfs, then it's not good idea for image with online package management, because your custom fstab will be overwritten as soon as base-files are changed.Why not .bbappend base-files and customize fstab there?
This is how I am modifying /etc/network/interfaces and this is working fine for me. Joshua, I'd second Martin's suggestion.
--
Darren
Quoted 24 lines
Quoted 16 lines
Eager to know the solution on this thread.
Regards
JoshuaSignature · 10 lines
Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Hello Darren, Martin,
Thanks for the reply.
Quoted 4 lines · Darren Hart
Quoted 1 line
Why not .bbappend base-files and customize fstab there?
This is how I am modifying
/etc/network/interfacesand this is working fine for me. Joshua, I'd second Martin's suggestion.
As you suggested I'll use this approach instead of creating a new package.
Regards
Joshua
Signature · 3 lines
Joshua Immanuel HiPro IT Solutions Private Limited http://hipro.co.in
Quoted 15 lines · Darren Hart
In support of a new BSP I've written two new recipes and appended to another to depend on them. The new recipes files are not appearing in the resulting images. I'm sure I'm overlooking something trivial, but I'm not sure what it would be. The layer is available here:
http://git.yoctoproject.org/cgit.cgi/meta-intel-contrib/log/?h=dvhart/sys940x
I've added ranpwd, genmac, and appended to netbase.
netbase RDEPENDS on genmac and genmac RDEPENDS on ranpwd. Building core-image-minimal triggers the build of genmac and ranpwd, and the modified
/etc/network/interfacesappears in the rootfs. genmac and ranpwd place the appropriate files in their workdir/image directory, but those files don't make it into the rootfs.
Quoted 3 lines
Can anyone offer an explanation as to why that might be? The top 4 commits of the repository linked to above will list the new recipes and the bbappend for reference.
Have you tried correct version of RDEPENDS? RDEPENDS_${PN} ?
Cheers,
Quoted 11 lines
Thanks,
Signature · 7 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 11 lines · Martin Jansa
Quoted 10 lines · Darren Hart
In support of a new BSP I've written two new recipes and appended to another to depend on them. The new recipes files are not appearing in the resulting images. I'm sure I'm overlooking something trivial, but I'm not sure what it would be. The layer is available here:
http://git.yoctoproject.org/cgit.cgi/meta-intel-contrib/log/?h=dvhart/sys940x
I've added ranpwd, genmac, and appended to netbase.
Quoted 8 lines
Quoted 8 lines
netbase RDEPENDS on genmac and genmac RDEPENDS on ranpwd. Building core-image-minimal triggers the build of genmac and ranpwd, and the modified
/etc/network/interfacesappears in the rootfs. genmac and ranpwd place the appropriate files in their workdir/image directory, but those files don't make it into the rootfs.
Quoted 5 lines
Quoted 3 lines
Can anyone offer an explanation as to why that might be? The top 4 commits of the repository linked to above will list the new recipes and the bbappend for reference.
Have you tried correct version of RDEPENDS? RDEPENDS_${PN} ?
I have, yes, this is what Saul suggested in his response. Same end result.
- --
Darren
Quoted 10 lines
Cheers,
Quoted 7 lines
Thanks,
-- Darren Hart Intel Open Source Technology Center Yocto Project
- Linux Kernel _______________________________________________ yocto mailing list [email protected]
https://lists.yoctoproject.org/listinfo/yocto
- --
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJPIlrzAAoJEKbMaAwKp364JC4IAJWQOfoNUlbXUSMfe3OQda5V NOSBcFSEfkkk7c/cvxWHq9B298BRvqMDXzTY2kqZOOjx5a8zocg/+wRLdkvPjx7F x9ZpSVjp+UDoHeQDDh9Qx3My7r2w1h2RK6YTM1sc+y3Ubc1USxdvedOLAVCzoE7O Imr2aDKFWgyaK2C5dmxC4kTVwwIVStlciX1KaomcJv2kfvVpV1Cg2jDdEkwwPAu7 m09JcasPnukS+T7yF6XBMelYrWLbkJnH4O19pvaHXbZIDBLBon72zpXC+dahpCmm 41KNwrRKTIzW/iSk562ZF+KwD+tVLnpxGKYqxpmsJ7HyU0dOylSDfcsj8Yf9nsc= =JAHD
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 10 lines · Darren Hart
Quoted 7 lines · Martin Jansa
Quoted 6 lines · Darren Hart
In support of a new BSP I've written two new recipes and appended to another to depend on them. The new recipes files are not appearing in the resulting images. I'm sure I'm overlooking something trivial, but I'm not sure what it would be. The layer is available here:
Quoted 6 lines
Quoted 6 lines
I've added ranpwd, genmac, and appended to netbase.
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
netbase RDEPENDS on genmac and genmac RDEPENDS on ranpwd. Building core-image-minimal triggers the build of genmac and ranpwd, and the modified
/etc/network/interfacesappears in the rootfs. genmac and ranpwd place the appropriate files in their workdir/image directory, but those files don't make it into the rootfs.
Quoted 9 lines
Quoted 5 lines
Quoted 3 lines
Can anyone offer an explanation as to why that might be? The top 4 commits of the repository linked to above will list the new recipes and the bbappend for reference.
Have you tried correct version of RDEPENDS? RDEPENDS_${PN} ?
I have, yes, this is what Saul suggested in his response. Same end result.
Apparently I had failed to cleanall my genmac recipe. So while netbase depended on genmac, genmac was not depending on ranpwd. I can't explain why this resulted in neither genmac nor ranpwd appearing in the rootfs at the time. My current build installed both.
- --
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJPKDETAAoJEKbMaAwKp364ca8IAL5eHwcDENdZlknPUVpUIuDj BVSRbtqKTAzVQgQb8ewWY1Yyt4EEPqlvBl1isKbmNKGz5uyYj+xoHAaQl4Xak2Hp Q8fkTDuUrpMPlJGJYKt9hV9aXHYf/f2lXU0OXRsq389QVHP9JW/Jvjvs7ynx+KcA 4P6pJav+PXfuKBGAu6by+SFnIZYM3DUyVKZANUcVQChC5siLWHNbwMhfPNurnIbe 3+vrr1acXa9/q4e++apkIENLHY8Omasu/JuKa92aM+7dcUp4gNetj/6oPmkBr1OC 407weio81nC8G5nCSXJcbG58Yf12jXDt6605jjOU9R6fBfFrQMquY3QpeNaeZNk= =Mlbi
-----END PGP SIGNATURE-----