[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 23/62] contents_make_cpio: Make files owned by root
This function is called to generate overlays for use, mainly, by the initramfs. We are going to use it to ship udev rules. Annoyingly, udev hates files which aren't owned by root - it simply ignores them. Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- Osstest/TestSupport.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 1f01ac6a..41f6f5f8 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -1521,7 +1521,7 @@ sub contents_make_cpio ($$$) { open STDIN, 'find ! -name "*~" ! -name "#*" -type f,l -print0 |' or die $!; open STDOUT, '>&', $fh or die $!; - system "cpio -H$format -o --quiet -0 -R 1000:1000"; + system "cpio -H$format -o --quiet -0 -R 0:0"; $? and die $?; $!=0; close STDIN; die "$! $?" if $! or $?; exit 0; -- 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |