Changed some pathes to work with new anaconda

In recent anaconda version, some paths were changed
from usr/lib/anaconda-runtime to usr/share/anaconda
so we had to change this paths also in lorax
This commit is contained in:
Martin Gracik 2010-04-09 13:54:02 +02:00
parent 3419be1223
commit 20b1ddd4b2
2 changed files with 13 additions and 15 deletions

View File

@ -151,8 +151,8 @@ makedirs "var/lib"
symlink "../../tmp" "var/lib/xkb"
## loader
copy "usr/lib/anaconda-runtime/loader/loader" "sbin"
copy "usr/lib/anaconda-runtime/loader/loader.tr" "etc"
copy "usr/lib/anaconda/loader" "sbin"
copy "usr/share/anaconda/loader.tr" "etc"
## ld-linux
% if basearch in ("i386",):
@ -169,7 +169,7 @@ copy "${libdir}/libnss_files.so.2"
copy "usr/${libdir}/libsqlite3.so.0"
## langtable
copy "usr/lib/anaconda/lang-table" "etc"
copy "usr/share/anaconda/lang-table" "etc"
## arch bits
edit "etc/arch" "${buildarch}"
@ -202,13 +202,13 @@ copy "${libdir}/security/*"
## architecture specific code
% if basearch in ("i386", "x86_64"):
copy "usr/lib/anaconda-runtime/loader/init" "sbin"
copy "usr/lib/anaconda/init" "sbin"
symlink "init" "sbin/reboot"
symlink "init" "sbin/halt"
symlink "init" "sbin/poweroff"
## screenfont
copy "usr/lib/anaconda-runtime/screenfont-${basearch}.gz" "etc"
copy "usr/share/anaconda/screenfont-${basearch}.gz" "etc"
rename "etc/screenfont-${basearch}.gz" "etc/screenfont.gz"
% endif
@ -222,12 +222,12 @@ copy "${libdir}/security/*"
copy "${libdir}/libpam_misc.so*"
copy "${libdir}/libwrap*.so*"
copy "usr/lib/anaconda-runtime/loader/shutdown" "sbin"
copy "usr/lib/anaconda-runtime/loader/linuxrc.s390" "sbin"
copy "usr/lib/anaconda/shutdown" "sbin"
copy "usr/lib/anaconda/linuxrc.s390" "sbin"
rename "sbin/linuxrc.s390" "sbin/init"
copy "usr/lib/anaconda-runtime/loader/lsznet.raw" "sbin"
copy "usr/lib/anaconda/lsznet.raw" "sbin"
rename "sbin/lsznet.raw" "sbin/lsznet"
copy "usr/lib/anaconda-runtime/loader/controlunits.sh" "sbin"
copy "usr/lib/anaconda/controlunits.sh" "sbin"
rename "sbin/controlunits.sh" "sbin/controlunits"
copy "${libdir}/security/pam*.so"

View File

@ -27,9 +27,8 @@ class LoraxConstants(object):
ROOT_UID = 0
ANACONDA_PACKAGE = "anaconda"
ANACONDA_RUNTIME = "usr/lib/anaconda-runtime"
ANACONDA_BOOTDIR = "usr/lib/anaconda-runtime/boot"
ANACONDA_LOADERDIR = "usr/lib/anaconda-runtime/loader"
ANACONDA_RUNTIME = "usr/share/anaconda"
ANACONDA_BOOTDIR = "usr/share/anaconda/boot"
BOOTDIR = "boot"
BOOTDIR_IA64 = "boot/efi/EFI/redhat"
@ -48,14 +47,13 @@ class LoraxConstants(object):
MODDEPFILE = "modules.dep"
MODULEINFO = "module-info"
MODLIST = "usr/lib/anaconda-runtime/modlist"
LOCALEDIR = "usr/lib/locale"
LOCALES = "usr/share/locale"
LANGTABLE = "usr/lib/anaconda/lang-table"
LANGTABLE = "usr/share/anaconda/lang-table"
ISOLINUXBIN = "usr/share/syslinux/isolinux.bin"
SYSLINUXCFG = "usr/lib/anaconda-runtime/boot/syslinux.cfg"
SYSLINUXCFG = "usr/share/anaconda/boot/syslinux.cfg"
LDSOCONF = "etc/ld.so.conf"
MANCONF = "etc/man.config"