Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-13-2006, 08:51 AM
|
#1
|
|
Member
Registered: Jul 2006
Distribution: Slackware 10.2
Posts: 31
Rep:
|
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.
|
|
|
|
07-13-2006, 09:55 AM
|
#2
|
|
Senior Member
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515
Rep:
|
check out the how to here on the forums, in the tutorials, you're looking for "cooking up some slack" how to.
|
|
|
|
07-13-2006, 10:48 AM
|
#4
|
|
Member
Registered: Nov 2003
Location: Tg-Jiu, Romania
Distribution: OpenSUSE 11.1 / echo "Windows XP" > Trash
Posts: 360
Rep:
|
Here is the exact link from the Tutorial zone of LQ for Cooking up some Slack
|
|
|
|
07-13-2006, 01:58 PM
|
#5
|
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
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
|
|
|
|
07-13-2006, 04:03 PM
|
#6
|
|
Member
Registered: Nov 2003
Location: Tg-Jiu, Romania
Distribution: OpenSUSE 11.1 / echo "Windows XP" > Trash
Posts: 360
Rep:
|
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).
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:22 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|