SCIENTIFIC-LINUX-USERS Archives

September 2004

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Perret Yannick <[log in to unmask]>
Reply To:
Date:
Mon, 27 Sep 2004 13:08:29 +0200
Content-Type:
multipart/mixed
Parts/Attachments:
text/plain (1325 bytes) , install_i386.sh (4 kB) , create_symlinks.sh (4 kB)
Here the two scripts used to extract i386 libs and to install
them on a SL - x86_64.

The main script is 'install_i386.sh', which uses the
other script 'create_symlinks.sh'.

Some notes about that script:
1. it is _really_ not a nice script. Many things should
have be done with something else than shell commands
(i.e. awk, sed, ...).
2. the script uses some pre-defined pathes. The
script expects that create_symlinks.sh is in the /scratch
path, with also two directories called DATA and RELLOC,
with enough space.
3. the script is not optimal in disk usage. It first extract
all files from all i386 RPMs, and then it checks files to
copy on the system... It can be easely changed so that
a RPM is extracted, then files are checked and then
temporary files are removed before treating next RPM.
4. the script supposes that /mnt/nfs exists and is mounted
on the SL repository (at the base of the SL repository,
where i386 and x86_64 stands).


If you want a proper script, I can build a more generic and
better designed one. The script should also create a list
of all the files it creates, so that it should be used to treat
"uninstall" of i386 part, or even "updates".

--
Yannick Perret





> Jaroslaw Polok wrote:
>
>>
>> But this script could be used to provide a package
>> (set of packages) providing 32bit compatibility ..
>> (can we have a copy, please ?)
>>


ATOM RSS1 RSS2