LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-03-2013, 06:59 AM   #1
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware, Xubuntu, PartedMagic
Posts: 72

Rep: Reputation: 7
initrd.gz multilib vs pure 64 : 5.8 MB vs 4.8 MB


An initrd.gz generated under current64 with multilib is much bigger (5.8 MB vs 4.8 MB) than one generated under current64 without multilib. Some research shows that the "with" /lib contains some 32-bit libraries, whereas the "without" /lib does not. For the remainder "with" and "without" are identical. The 32-bit libraries have no meaning in the initrd.

/sbin/mkinitrd contains 2 "find /lib /lib64 ... | cp ... $SOURCE_TREE/" constructs. As i?86 and s390 have their libraries in /lib and x86_64 in /lib64 this is a clever way to not have to sense the machine type. But with x86_64/multilib things turn out to be too clever. The attached patch resolves the problem.
Attached Files
File Type: txt mkinitrd.diff.txt (1.2 KB, 26 views)

Last edited by burdi01; 04-03-2013 at 07:04 AM.
 
Old 04-03-2013, 01:56 PM   #2
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,252

Rep: Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630
I noticed this as well and have a nearly identical patch working for me. My /boot partition is only so big and will hold 3 kernels+initrds, so when /boot became full (thus creating an incomplete initrd) after going multilib I had to patch it as well. Since multilib is unsupported though I don't know if it's considered a Slackware bug.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANN] mk-slack64-multilib : A tool to create slackware64+multilib tree/iso phenixia2003 Slackware 5 12-28-2012 05:42 AM
pure 64 versus multilib: issue with some software compilation tramni1980 Slackware 1 05-03-2012 02:52 AM
[SOLVED] Broffice not compile on Slack64(multilib or no multilib);SlackBuild afreitascs Slackware 4 06-14-2010 07:16 AM
Slackware64-13.0 multilib can not build valid initrd for kernels 2.6.30 sid77 Slackware 11 03-03-2010 03:32 AM
[SOLVED] CLFS 64 bit multilib and pure 64 bit pacthes wanted Openumerix Linux From Scratch 1 11-16-2009 12:23 AM


All times are GMT -5. The time now is 06:22 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration