<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<font face="Arial Unicode MS">I have some scripts I'd like to copy to the target to a simple folder, e.g. /lib/foo</font>
<div><font face="Arial Unicode MS"><br>
</font></div>
<div><font face="Arial Unicode MS">Ideally I'd like to just create a simple recipe something like this:</font></div>
<div><font face="Arial Unicode MS"><br>
</font></div>
<div>
<pre style="margin-top: 0px; margin-bottom: 0px; "><!--StartFragment--><font face="Arial Unicode MS">SRC_URI<span style=" color:#c0c0c0;"> </span>=<span style=" color:#c0c0c0;"> </span>"<a href="file:///lib/foo/foo.sh">file://lib/foo/foo.sh</a>"</font></pre>
<pre style="margin-top: 0px; margin-bottom: 0px; "><font face="Arial Unicode MS">inherit install_only<!--EndFragment--></font></pre>
<pre style="margin-top: 0px; margin-bottom: 0px; "><font face="Arial Unicode MS"><br></font></pre>
<pre style="margin-top: 0px; margin-bottom: 0px; "><font face="Arial Unicode MS">Is there a class like this?  </font></pre>
<pre style="margin-top: 0px; margin-bottom: 0px; "><font face="Arial Unicode MS"><br></font></pre>
<pre style="margin-top: 0px; margin-bottom: 0px; "><font face="Arial Unicode MS">It seems like most recipes of this form accomplish this by a custom do_install step, such as this:</font></pre>
<pre style="margin-top: 0px; margin-bottom: 0px; "><font face="Arial Unicode MS"><br></font></pre>
<pre style="margin-top: 0px; margin-bottom: 0px; "><font face="Arial Unicode MS">do_install() {</font></pre>
<pre style="margin-top: 0px; margin-bottom: 0px; "><font face="Arial Unicode MS">   install -D -m 755 ${S}/lib/foo/foo.sh ${D}/lib/foo</font></pre>
<pre style="margin-top: 0px; margin-bottom: 0px; "><font face="Arial Unicode MS">}</font></pre>
<pre style="margin-top: 0px; margin-bottom: 0px; "><font face="Arial Unicode MS"><br></font></pre>
<pre style="margin-top: 0px; margin-bottom: 0px; "><font face="Arial Unicode MS">and I was just hoping there might be a base class for examining the input files and generating the install steps?</font></pre>
<pre style="margin-top: 0px; margin-bottom: 0px; "><font face="Arial Unicode MS"><br></font></pre>
<pre style="margin-top: 0px; margin-bottom: 0px; "><font face="Arial Unicode MS">Thanks,</font></pre>
<pre style="margin-top: 0px; margin-bottom: 0px; "><font face="Arial Unicode MS">Brad</font></pre>
</div>
</body>
</html>