LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 07-13-2006, 08:51 AM   #1
sl4ckw4re
Member
 
Registered: Jul 2006
Distribution: Slackware 10.2
Posts: 31

Rep: Reputation: 15
Custom slackware CD with optimized packs


Hi. as i've stated in a thread below i would like to recompile and optimize some slack packages for my p4 cpu. after i optimize them, the ones i use and need not all, how can i add them to the slack iso and still keep it bootable. what files should i edit and remove the packages i don't need from the slack installer and modify the packages name ofcourse instead of i486 to pentium4 ? can this be done ? thanks

oh and btw, i would like to strip it down so i can get kde on the first cd too, add a new optimized and compiled 2.6 kernel to suit my needs.
 
Old 07-13-2006, 09:55 AM   #2
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
check out the how to here on the forums, in the tutorials, you're looking for "cooking up some slack" how to.
 
Old 07-13-2006, 10:39 AM   #3
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 465

Rep: Reputation: 53
Old_Fogie?, you mean this-> http://www.cookingupsomeslack.com/ link seems down...
Thread is here: http://www.linuxquestions.org/questi...+up+some+slack
I should have a copy somewhere, where...
I will keep an eye on this thread, seems interesting

edit: Nevermind, found it, thanks Anonymo
http://www.linuxquestions.org/questi...+up+some+slack

Last edited by MannyNix; 07-13-2006 at 10:41 AM.
 
Old 07-13-2006, 10:48 AM   #4
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
Here is the exact link from the Tutorial zone of LQ for Cooking up some Slack
 
Old 07-13-2006, 01:58 PM   #5
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
also check out the documentation on the CD itself (under isolinux or something with iso in the name, I don't remember). It tells you how to create a bootable CD, just download the Slackware directory from a mirror and replace any packages with the ones you want. Then use 'mkisofs' while excluding any directories you don't want to add to the CD.

regards,
...drkstr
 
Old 07-13-2006, 04:03 PM   #6
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
I'm greatly interested in this manner myself. About optimizing, recompiling for pentium4 and repacking my slackware packages (only the ones I need) and then make a custom slack CD with them. My question is: do I need to do this in a special order on my host system where I optimize and repack them ? For example, optimize, recompile and repack gcc,glibc, etc (maybe follow the order from LFS??? building), then remove the i486 packages and install the pentium4 optimized base programs and start optimizing the others with those ? or I can optimize all packages using Pat's slack.Build's using the normal optimized slack system, make the custom cd, install it and final. Hope I made myself clear, if not please ask and I'll try beeing more specific.

For the record, I already optimized gcc with [-O3 -march=pentium 4 -mcpu=pentium4 -mtune=pentium4 (I actually used all 3 options just to make sure and it looks like it didn't create any problems for me at compiling, so I think it just choosed whatever was needed and worked) and I've also modified the ARCH=${ARCH:-i486} to ARCH=${ARCH:-pentium4} so I got /usr/lib/gcc/pentium4-slackware-linux/ instead of /usr/lib/gcc/i486-slackware-linux/ ]. Then I removed the gcc package already installed on my system (the one optimized for i486 by Pat) and installed my own. And with this gcc I optimized, recompiled and repacked glibc which I haven't had the chance to test it... btw, I've optimized it with the same options as gcc and will try to use them on all packages, but if I get errors I'll might just lower it a bit untill it works ( I mean the -O3 option the most, is which causes frequent problems from what I've read).
 
  


Reply



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
custom installation of slackware boeldogie Slackware - Installation 4 05-16-2006 07:19 PM
Custom cups printers in slackware bman2 Slackware 0 10-10-2005 07:59 PM
Useful custom commands for Slackware thegeekster Slackware 56 03-08-2005 11:16 AM
Is Slackware booting already optimized? dhave Slackware 1 11-21-2004 12:09 PM
Slackware Packs Interchangeable? tubatodd Slackware 3 07-15-2004 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:05 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration