|
Description
|
cp -pr fails to copy certain files. An ISO build of Nevada build 83 failed to install due
to files missing from the SUNWhea package (header file). usr/include/sys/sunddi.h was
missing, as was sunmdi.h. However, sunndi.h was present.
The RE build script add_to_install_server invokes 'cp -pr' to copy packages from
the build area into the DVD build image. pkgchk confirms the package is fine in the
CD build image but missing files in the DVD build image.
The last changes to cp/mv where in build 79, and 6630790 in particular had to deal with
the -p behavior.
I verified that the missing files only occur when cp is invoked with '-pr'. cp -r
copies the entire directory tree.
I verified on a machine running build 75, cp -pr performs as expected.
I verifued on a machine running build 82, cp -pr of the SUNWhea package fails.
To reproduce:
cd /net/xenbld/sp1/jhd/mx31/83/wos/solaris_5.product/Solaris_11/Product
cp -pr SUNWhea /tmp
pkgchk -f /tmp SUNWhea
find /tmp/SUNWhea -name 'sunddi.h' -print
|