Skip to content

Commit

Permalink
support unicode filenames in chroot (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
crbaird committed Feb 23, 2017
1 parent f1a0ef9 commit 46f4f0d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- warewulf-vnfs-3.7/bin/wwvnfs 2017-02-22 09:32:02.000000000 -0800
+++ warewulf-vnfs-3.7.patch/bin/wwvnfs 2017-02-23 13:26:30.000000000 -0800
@@ -27,6 +27,7 @@
require "sys/types.ph";
require "syscall.ph";
}
+use open OUT => ":utf8";

my $sysconfdir = Warewulf::ACVars::get('SYSCONFDIR');
my $config = Warewulf::Config->new("vnfs.conf");
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ Patch1: rhel-proxy.patch
Patch2: warewulf-vnfs.pigz.patch
# 02/23/17 [email protected] - fixes for zypper in wwmkchroot
Patch3: warewulf-vnfs.wwmkchroot.patch
# 02/23/17 [email protected] - fixes unicode in files inserted to vnfs
Patch4: warewulf-vnfs.utf8.patch


%description
Expand All @@ -67,6 +69,7 @@ cd %{dname}
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1


%build
Expand Down

0 comments on commit 46f4f0d

Please sign in to comment.