ALT Linux Bugzilla
– Attachment 515 Details for
Bug 4888
support for x86_64
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
checking for running arch
mkinitrd-x86_64.diff (text/plain), 584 bytes, created by
Kachalov Anton
on 2004-07-26 18:36:53 MSD
(
hide
)
Description:
checking for running arch
Filename:
MIME Type:
Creator:
Kachalov Anton
Created:
2004-07-26 18:36:53 MSD
Size:
584 bytes
patch
obsolete
>--- mkinitrd.orig 2004-03-11 19:26:57 +0300 >+++ mkinitrd 2004-07-24 18:11:52 +0400 >@@ -151,6 +151,15 @@ > loopFs= > loopFile= > uname_r=`uname -r` >+uname_m=`uname -m` >+case "$uname_m" in >+ x86_64) >+ libdir=/lib64 >+ ;; >+ *) >+ libdir=/lib >+ ;; >+esac > > ModuleAlreadyLoaded() > { >@@ -397,7 +406,7 @@ > Mkdir -p $MNTDIR/{etc,dev,safedev,loopfs} || > Fatal "Failed to create directories." > >- Install /lib/mkinitrd/busybox "$MNTDIR/bin/sh" >+ Install $libdir/mkinitrd/busybox "$MNTDIR/bin/sh" > Ln -s sh "$MNTDIR/bin/echo" > Ln -s sh "$MNTDIR/bin/insmod" > Ln -s sh "$MNTDIR/bin/modprobe"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 4888
: 515