From b856297986d3893810938a079cf976ca1f892be7 Mon Sep 17 00:00:00 2001 From: Will Woods Date: Mon, 19 Mar 2012 14:22:52 -0400 Subject: [PATCH] add symlink from /mnt/install -> /run/install Since noloader mounts stuff under /run/install, but anaconda (and people's scripts etc.) look under /mnt/install, make a symlink so everything works as expected. --- share/runtime-cleanup.tmpl | 2 +- share/runtime-postinstall.tmpl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl index e211cf2c..1c57a634 100644 --- a/share/runtime-cleanup.tmpl +++ b/share/runtime-cleanup.tmpl @@ -59,7 +59,7 @@ removepkg tigervnc-license ttmkfdir xml-common xorg-x11-font-utils removepkg xorg-x11-server-common yum-utils ## other removals -remove /boot /home /media /mnt /opt /srv /tmp/* +remove /boot /home /media /opt /srv /tmp/* remove /usr/etc /usr/games /usr/local /usr/tmp remove /usr/share/doc /usr/share/info /usr/share/man /usr/share/gnome remove /usr/share/mime/application /usr/share/mime/audio /usr/share/mime/image diff --git a/share/runtime-postinstall.tmpl b/share/runtime-postinstall.tmpl index 2166a899..a1acea0d 100644 --- a/share/runtime-postinstall.tmpl +++ b/share/runtime-postinstall.tmpl @@ -95,6 +95,7 @@ move usr/libexec/anaconda/auditd sbin ## for compatibility with Ancient Anaconda Traditions symlink lib/modules /modules symlink lib/firmware /firmware +symlink ../run/install mnt/install ## create_depmod_conf() append etc/depmod.d/dd.conf "search updates built-in"