tutorial-level questions to clean up recipes for demo purposes
(NOTE: i'm currently tutoring some colleagues in the basics of OE
and using standard OE recipes as examples of good programming practice, so occasionally i run across something that looks strange and i just want to clarify so i don't have to say, "i don't know, i guess there's a reason for that, i just don't know what it is." so, first question that has arisen ...)
in current dropbear recipe, very last line:
the line:
FILES:${PN} += "${bindir}"but as i read bitbake.conf, ${bindir} is *already* part of FILES:${PN} and i see nothing in the rest of the dropbear recipe that redefines the PACKAGES or reorders them. is there some point to that last line that i am simply missing? it seems unnecessary.
rday
Hi Robert,
for this kind of things I usually run bitbake -e dropbear > out-before.txt, remove the line, then run bitbake -e dropbear > out-after.txt, and finally vimdiff out-before.txt out-after.txt
Etienne
Quoted 37 lines · Robert P. J. Day
(NOTE: i'm currently tutoring some colleagues in the basics of OE
and using standard OE recipes as examples of good programming practice, so occasionally i run across something that looks strange and i just want to clarify so i don't have to say, "i don't know, i guess there's a reason for that, i just don't know what it is." so, first question that has arisen ...)in current dropbear recipe, very last line:
the line:
FILES:${PN} += "${bindir}"but as i read bitbake.conf, ${bindir} is *already* part of FILES:${PN} and i see nothing in the rest of the dropbear recipe that redefines the PACKAGES or reorders them. is there some point to that last line that i am simply missing? it seems unnecessary.
rday
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#194316):
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_message_194316&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=W9n61A0zDvN6Tj5VtV34qyc-BOCTDVwKaiOFK5rQRDBz5hCnNdgxjqE-W6fBEXyw&s=b3lIkj-uzwH3R3PAtvwsqddETQXBbyGzbtGML2_kje4&e=
Mute This Topic:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_mt_103951915_7048771&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=W9n61A0zDvN6Tj5VtV34qyc-BOCTDVwKaiOFK5rQRDBz5hCnNdgxjqE-W6fBEXyw&s=AGZrjZ4iI2DC_pbE22zmkfHRJw1dgIEJX_N9fVG-apw&e=
Group Owner: [email protected] Unsubscribe:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_unsub&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=W9n61A0zDvN6Tj5VtV34qyc-BOCTDVwKaiOFK5rQRDBz5hCnNdgxjqE-W6fBEXyw&s=GB-VslI64OKXLBmDlL4OYTuEtTNXHh0CKjD_3LRfzMk&e=
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
A message that is not in the archive (sent off-list or not yet received): [email protected]
In this particular case the line should be removed IMO.
Quoted 50 lines · Etienne Cordonnier via lists.openembedded.org
Hi Robert,
for this kind of things I usually run bitbake -e dropbear > out-before.txt, remove the line, then run bitbake -e dropbear > out-after.txt, and finally vimdiff out-before.txt out-after.txtEtienne
Quoted 15 lines · Robert P. J. Day
(NOTE: i'm currently tutoring some colleagues in the basics of OE
and using standard OE recipes as examples of good programming practice, so occasionally i run across something that looks strange and i just want to clarify so i don't have to say, "i don't know, i guess there's a reason for that, i just don't know what it is." so, first question that has arisen ...)in current dropbear recipe, very last line:
the line:
Quoted 12 lines
FILES:${PN} += "${bindir}"but as i read bitbake.conf, ${bindir} is *already* part of FILES:${PN} and i see nothing in the rest of the dropbear recipe that redefines the PACKAGES or reorders them. is there some point to that last line that i am simply missing? it seems unnecessary.
rday
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#194318):
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_message_194318&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=zVYtui1-buDCB31Pr4h-xYybBLfB96D4CQeKf_eoqglIMz29VGHwJyWd9DfD8PEi&s=agEgfwR4KV375IZ6cUd6X4Pq1VRdmUKPEomyfxdjDeA&e=
Mute This Topic:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_mt_103951915_7048771&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=zVYtui1-buDCB31Pr4h-xYybBLfB96D4CQeKf_eoqglIMz29VGHwJyWd9DfD8PEi&s=15IZUiJaQ3firKmkyBQ1ckz_wkdIXtM1DD88z_G3Kc8&e=
Group Owner: [email protected] Unsubscribe:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Dcore_unsub&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=zVYtui1-buDCB31Pr4h-xYybBLfB96D4CQeKf_eoqglIMz29VGHwJyWd9DfD8PEi&s=-TGSLxDUPbnRtvkllQRcOGGmdN_951RyrRDh6ms39ec&e=
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-