From 321e7c956d543d3ad9b5141f3d27e96399a63dbc Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Mon, 1 Mar 2010 08:58:45 +0100 Subject: [PATCH] Copy arch specific files for i386 to initrd also on x86_64 --- etc/templates/initrd.ltmpl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/etc/templates/initrd.ltmpl b/etc/templates/initrd.ltmpl index be9ceaa6..74e8310e 100644 --- a/etc/templates/initrd.ltmpl +++ b/etc/templates/initrd.ltmpl @@ -153,8 +153,14 @@ symlink "../../tmp" "var/lib/xkb" copy "usr/lib/anaconda-runtime/loader/loader" "sbin" copy "usr/lib/anaconda-runtime/loader/loader.tr" "etc" +## ld-linux +% if basearch in ("i386",): + copy "${libdir}/ld-linux.so.2" +% elif basearch in ("x86_64",): + copy "${libdir}/ld-linux-x86-64.so.2" +% endif + ## indirect dependencies -copy "${libdir}/ld-linux.so.2" copy "${libdir}/libcom_err.so.2" copy "${libdir}/libgcc_s.so.1" copy "${libdir}/libnss_dns.so.2" @@ -169,7 +175,7 @@ edit "etc/arch" "${buildarch}" ## architecture specific code -% if basearch in ("i386",): +% if basearch in ("i386", "x86_64"): copy "usr/lib/anaconda-runtime/loader/init" "sbin" symlink "init" "sbin/reboot" symlink "init" "sbin/halt"