I'd like to recompile everything in knoppix to i686, and then delete the source and remaster it back into a CD. Is there an easy way to do this with apt?
I'd like to recompile everything in knoppix to i686, and then delete the source and remaster it back into a CD. Is there an easy way to do this with apt?
I guess not, though are is apt-src repositories, if you add them to your /etc/apt/sources.list you can get them via apt-get sources packagename. There even seems to be some 'gentoo-like' automatic compilation going on. Though files downloaded and created this way are completely non-managed, aka apt-get won't keep a database about them. See the apt-get man page for more info, I never used it it this way.
I think you would be better of getting a Gentoo setup and maybe porting some of the Knoppix stuff to it.
Well, actually there's apt-build, a front-end for apt-get to install source packages and wrap gcc to add your own flags. You don't get use flags like with gentoo, but can optimize for architecture/cpu and use Cflags.
I'm playing with this now, using
-mcpu=athlon-xp -march-i686 -O3 -fomit-frame-pointer -ffast-math
Now its got a few kinks in it. Some packages don't have source available in the sources.list I have. Others you might get yourself into trouble if you upgraded - libc6, knoppix-specific stuff, gcc, openoffice.....
Its great for installing single optimized packages. Its also got a world option to update from a list (which you need to create).
Using apt-get upgrade or dist-upgrade would replace your optimized packages, unless you pin them with a higher priority, but then pinned shared libraries might prevent upgrading other packages with apt-get, so that can give you a little trouble.
Heh, answering my own question....

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$39.99
NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless
$22.00
10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99
TP-Link Omada SG3428 24-Port Gigabit L2+ Managed Switch 4x SFP w/ Ears
$99.99
TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$19.99
TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597
$36.98
Monoprice 5-Port 10/100/1000Mbps Gigabit Ethernet Unmanaged Switch Network Hub
$8.99
TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern
$15.25
5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play
$31.99
Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch
$46.99