[yast-commit] r48005 - in /branches/SuSE-Linux-11_0-Branch/installation: VERSION package/yast2-installation.changes src/modules/ImageInstallation.ycp
Author: locilka Date: Tue Jun 3 15:15:00 2008 New Revision: 48005 URL: http://svn.opensuse.org/viewcvs/yast?rev=48005&view=rev Log: - Always use --numeric-owner (always use numbers for user/group names) when deploying images (bnc #396689). - 2.16.50 Modified: branches/SuSE-Linux-11_0-Branch/installation/VERSION branches/SuSE-Linux-11_0-Branch/installation/package/yast2-installation.changes branches/SuSE-Linux-11_0-Branch/installation/src/modules/ImageInstallation.ycp Modified: branches/SuSE-Linux-11_0-Branch/installation/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Linux-11_0-Branch/installation/VERSION?rev=48005&r1=48004&r2=48005&view=diff ============================================================================== --- branches/SuSE-Linux-11_0-Branch/installation/VERSION (original) +++ branches/SuSE-Linux-11_0-Branch/installation/VERSION Tue Jun 3 15:15:00 2008 @@ -1 +1 @@ -2.16.49 +2.16.50 Modified: branches/SuSE-Linux-11_0-Branch/installation/package/yast2-installation.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Linux-11_0-Branch/installation/package/yast2-installation.changes?rev=48005&r1=48004&r2=48005&view=diff ============================================================================== --- branches/SuSE-Linux-11_0-Branch/installation/package/yast2-installation.changes (original) +++ branches/SuSE-Linux-11_0-Branch/installation/package/yast2-installation.changes Tue Jun 3 15:15:00 2008 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jun 3 15:11:15 CEST 2008 - locilka@suse.cz + +- Always use --numeric-owner (always use numbers for user/group + names) when deploying images (bnc #396689). +- 2.16.50 + +------------------------------------------------------------------- Mon Jun 2 12:33:57 CEST 2008 - locilka@suse.cz - Return `next when going back to the automatic configuration Modified: branches/SuSE-Linux-11_0-Branch/installation/src/modules/ImageInstallation.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Linux-11_0-Branch/installation/src/modules/ImageInstallation.ycp?rev=48005&r1=48004&r2=48005&view=diff ============================================================================== --- branches/SuSE-Linux-11_0-Branch/installation/src/modules/ImageInstallation.ycp (original) +++ branches/SuSE-Linux-11_0-Branch/installation/src/modules/ImageInstallation.ycp Tue Jun 3 15:15:00 2008 @@ -214,13 +214,13 @@ // lzma if (regexpmatch (image, "\.lzma$")) { cmd = sformat ( - "lzmadec < '%1' | tar --totals --checkpoint=%3 --record-size=%4 -C '%2' -xf -", + "lzmadec < '%1' | tar --numeric-owner --totals --checkpoint=%3 --record-size=%4 -C '%2' -xf -", String::Quote (image), String::Quote (target), _checkpoint, _record_size ); // bzip2, gzip } else { cmd = sformat ( - "tar --checkpoint=%3 --record-size=%4 --totals -C '%2' -xf '%1'", + "tar --numeric-owner --checkpoint=%3 --record-size=%4 --totals -C '%2' -xf '%1'", String::Quote (image), String::Quote (target), _checkpoint, _record_size ); } @@ -791,10 +791,10 @@ cmd = sformat ( "mkfifo %3 ; mkfifo %4 ; - tar -C %1 -cSf %3 --one-file-system . & + tar -C %1 --numeric-owner -cSf %3 --one-file-system . & dd bs=1048576 if=%3 of=%4 >&2 & jobs -l >&2; - tar -C %2 -xSf %4", + tar -C %2 --numeric-owner -xSf %4", from, to, tmp_pipe1, tmp_pipe2); y2milestone ("Executing %1", cmd); integer process = (integer)SCR::Execute(.process.start_shell, cmd, $[]); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
locilka@svn.opensuse.org