Don't preserve ownership when copying files
PATCH v2 1/1 Don't preserve ownership when copying files
Don't preserve ownership when copying files. Instead let root be owner of all files.
--- recipes-devtools/oracle-java/oracle-jse.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-devtools/oracle-java/oracle-jse.inc +2 -1
@@ -19,7 +19,8 @@ JDK_HOME = "${libdir_jvm}/${JDK_DIR}" do_install () { install -d -m 0755 ${D}${libdir_jvm} - cp -a ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME} + cp -a --no-preserve=ownership \ + ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME} } # All the files are provided in a binaray package, and keeping all the
Signature · 1 line
1.9.1