Author: locilka Date: Wed Nov 5 17:17:47 2008 New Revision: 52946 URL: http://svn.opensuse.org/viewcvs/yast?rev=52946&view=rev Log: - Fixed copying files from inst-sys to the system, some might be symbolic links (bnc #441829). - 2.17.39 Modified: trunk/packager/VERSION trunk/packager/package/yast2-packager.changes trunk/packager/src/clients/inst_kickoff.ycp Modified: trunk/packager/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/VERSION?rev=52946&r1=52945&r2=52946&view=diff ============================================================================== --- trunk/packager/VERSION (original) +++ trunk/packager/VERSION Wed Nov 5 17:17:47 2008 @@ -1 +1 @@ -2.17.38 +2.17.39 Modified: trunk/packager/package/yast2-packager.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/package/yast2-packager.changes?rev=52946&r1=52945&r2=52946&view=diff ============================================================================== --- trunk/packager/package/yast2-packager.changes (original) +++ trunk/packager/package/yast2-packager.changes Wed Nov 5 17:17:47 2008 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed Nov 5 17:15:50 CET 2008 - locilka@suse.cz + +- Fixed copying files from inst-sys to the system, some might be + symbolic links (bnc #441829). +- 2.17.39 + +------------------------------------------------------------------- Fri Oct 31 16:49:05 CET 2008 - locilka@suse.cz - Fixed list of files copied in inst_kickoff from inst-sys to the Modified: trunk/packager/src/clients/inst_kickoff.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/clients/inst_kickoff.ycp?rev=52946&r1=52945&r2=52946&view=diff ============================================================================== --- trunk/packager/src/clients/inst_kickoff.ycp (original) +++ trunk/packager/src/clients/inst_kickoff.ycp Wed Nov 5 17:17:47 2008 @@ -416,7 +416,13 @@ filename = sformat ("%1/%2.aaa_base", template_dir, filename); y2milestone ("Copying %1 to %2", filename, filename_copy_to); SCR::Execute (.target.bash, - sformat ("cp -a '%1' '%2'", String::Quote (filename), String::Quote (filename_copy_to)) + sformat ( + // BNC 441829: /etc/shadow can be symlink + // copying the file contents + // preserving the original file access permissions + "cp --dereference --copy-contents '%1' '%2'", + String::Quote (filename), String::Quote (filename_copy_to) + ) ); } }); @@ -434,7 +440,13 @@ } else { y2milestone ("Copying %1 to %2", filename, filename_copy_to); SCR::Execute (.target.bash, - sformat ("cp -a '%1' '%2'", String::Quote (filename), String::Quote (filename_copy_to)) + sformat ( + // BNC 441829: /etc/shadow can be symlink + // copying the file contents + // preserving the original file access permissions + "cp --dereference --copy-contents '%1' '%2'", + String::Quote (filename), String::Quote (filename_copy_to) + ) ); } }); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org