summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-05-18 09:51:52 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-05-18 09:51:52 +0200
commit6e241bfd0ba2e3d2f226f2423e9429c2d90b9d60 (patch)
tree21bcc8fa8d37606b12089a6292d7cd0f80f157ae
parent9077c84df0016ca521f8ad1cfe4e28e4b0e5c0b6 (diff)
downloaddrakx-6e241bfd0ba2e3d2f226f2423e9429c2d90b9d60.tar
drakx-6e241bfd0ba2e3d2f226f2423e9429c2d90b9d60.tar.gz
drakx-6e241bfd0ba2e3d2f226f2423e9429c2d90b9d60.tar.bz2
drakx-6e241bfd0ba2e3d2f226f2423e9429c2d90b9d60.tar.xz
drakx-6e241bfd0ba2e3d2f226f2423e9429c2d90b9d60.zip
/usr/X11R6 paths are obsolete for years...
-rw-r--r--mdk-stage1/init.c4
-rw-r--r--mdk-stage1/rescue-gui.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c
index 7cec1076b..664ce2e82 100644
--- a/mdk-stage1/init.c
+++ b/mdk-stage1/init.c
@@ -62,9 +62,9 @@ static inline long reboot(unsigned int command)
char * env[] = {
"PATH=/usr/bin:/bin:/sbin:/usr/sbin:/mnt/sbin:/mnt/usr/sbin:/mnt/bin:/mnt/usr/bin",
- "LD_LIBRARY_PATH=/lib:/usr/lib:/mnt/lib:/mnt/usr/lib:/usr/X11R6/lib:/mnt/usr/X11R6/lib"
+ "LD_LIBRARY_PATH=/lib:/usr/lib:/mnt/lib:/mnt/usr/lib"
#if defined(__x86_64__) || defined(__ppc64__)
- ":/lib64:/usr/lib64:/usr/X11R6/lib64:/mnt/lib64:/mnt/usr/lib64:/mnt/usr/X11R6/lib64"
+ ":/lib64:/usr/lib64:/mnt/lib64:/mnt/usr/lib64"
#endif
,
"HOME=/",
diff --git a/mdk-stage1/rescue-gui.c b/mdk-stage1/rescue-gui.c
index 7d5b0a423..e59f9c57c 100644
--- a/mdk-stage1/rescue-gui.c
+++ b/mdk-stage1/rescue-gui.c
@@ -47,9 +47,9 @@ static inline long reboot(void)
char * env[] = {
"PATH=/usr/bin:/bin:/sbin:/usr/sbin:/mnt/sbin:/mnt/usr/sbin:/mnt/bin:/mnt/usr/bin",
- "LD_LIBRARY_PATH=/lib:/usr/lib:/mnt/lib:/mnt/usr/lib:/usr/X11R6/lib:/mnt/usr/X11R6/lib"
+ "LD_LIBRARY_PATH=/lib:/usr/lib:/mnt/lib:/mnt/usr/lib"
#if defined(__x86_64__) || defined(__ppc64__)
- ":/lib64:/usr/lib64:/usr/X11R6/lib64:/mnt/lib64:/mnt/usr/lib64:/mnt/usr/X11R6/lib64"
+ ":/lib64:/usr/lib64:/mnt/lib64:/mnt/usr/lib64"
#endif
,
"HOME=/",