summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-03-02 10:31:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-03-02 10:31:52 +0000
commit679b5b5745901c9be56565b3f6e9e1e2a9ec4bd5 (patch)
tree367aae5dc51ae735f34eaaae9c19ff46557dec1e
parent5b37ccc01ca37806de809fc795ecd19bb27aedff (diff)
downloaddrakx-679b5b5745901c9be56565b3f6e9e1e2a9ec4bd5.tar
drakx-679b5b5745901c9be56565b3f6e9e1e2a9ec4bd5.tar.gz
drakx-679b5b5745901c9be56565b3f6e9e1e2a9ec4bd5.tar.bz2
drakx-679b5b5745901c9be56565b3f6e9e1e2a9ec4bd5.tar.xz
drakx-679b5b5745901c9be56565b3f6e9e1e2a9ec4bd5.zip
add SecurityPolicy to remove "error opening security policy file" warning
-rw-r--r--perl-install/install_gtk.pm3
-rw-r--r--perl-install/share/list1
2 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm
index b1eebb006..3e5b65395 100644
--- a/perl-install/install_gtk.pm
+++ b/perl-install/install_gtk.pm
@@ -252,6 +252,9 @@ sub createXconf {
symlink("/tmp/stage2/etc/imrc", "/etc/imrc");
symlink("/tmp/stage2/etc/im_palette.pal", "etc/im_palette.pal");
+ #- remove "error opening security policy file" warning
+ symlink("/tmp/stage2/etc/X11", "/etc/X11");
+
if ($Driver) {
output($file, sprintf(<<'END', $mouse_type, $Driver, $Driver eq 'fbdev' ? '"default"' : '"800x600" "640x480"'));
diff --git a/perl-install/share/list b/perl-install/share/list
index 721cf42c5..e551d74dc 100644
--- a/perl-install/share/list
+++ b/perl-install/share/list
@@ -9,6 +9,7 @@
/etc/protocols
/etc/imrc
/etc/im_palette.pal
+/etc/X11/xserver/SecurityPolicy
/sbin/badblocks
/sbin/e2fsck
/sbin/tune2fs