Because it has nothing to do with installing files on a
final destination. It happens in the middle of a script
that creates an image, creates a file system on the image,
mounts it, creates device files, creates and copies other
files, creates links, finds and installs kernel modules
installs busybox, does a handful of other things, and
then umounts the file system and compresses the image.
By the time the script is finished, no destination to
copy to exists.
Sure, I could drive the entire thing with make, and lots
of things are already done in pure make. But then I would
have to start parsing configuration files as well. Not
impossible, but sometimes, it's easier to use Perl.
Abigail
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|