Diego Torres wrote:
>I need to copy some files (kernel modules) on the install stage of the alsa-driver script to $CDDIR/lib/modules/2.4.22.
>
>What is the difference between these two lines and which one should i use?
>
>cp -dpR $WORKDIR/tmp/* $CDDIR || exit 1
>
>copy_files $WORKDIR/tmp/lib/modules/ $CDDIR/ || exit 1
>
>
It's the same. copy_files is just in there for older scripts.
There's another function copy_files_links, which actually follows symlinks.
>another one:
>
>copy_files $WORKDIR/tmp/usr $CDDIR/ || exit 1
>
>is the same as
>
>copy_files $WORKDIR/tmp/usr $CDDIR/usr || exit 1
>
>?
>
>
Yeah same.
As I mentioned before, it's just old stuff in there. I didn't want to
touch it, because you have to test all that crap.
cya
Heiko
|