Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (7) </ 1 2 3 4 [5] 6 7 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: January Extensions< Next Oldest | Next Newest >
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Jan. 25 2008,22:30 QUOTE

S_I: Many people don't chroot, but if it makes things cleaner, go for it :)

Are you following a recent LFS with old packages (ie, some instructions and patches don't apply) or an old LFS?

Oh. Have fun, LFS is a great way to get a system just to your liking!


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
stupid_idiot Offline





Group: Members
Posts: 344
Joined: Oct. 2006
Posted: Jan. 25 2008,23:40 QUOTE

I am using LFS 5.0.
Link to LFS-5.0 index [archive.linuxfromscratch.org]
I'm sorry I forgot to mention which version I was using.

Re: patches
I only patched gcc and glibc so far.
For gcc, the patches are meant for gcc-3.3.1, but would still be relevant for gcc-3.3.6, so I manually edited a few files inside 'gcc-3.3.6/'. The patches are very small and very simple, so it's not very hard.

For glibc:
glibc-2.3.2-sscanf-1.patch
glibc-2.3.2-inlining-fixes-2.patch

For gcc pass 2:
gcc-3.3.1-specs-2.patch
gcc-3.3.1-no-fixincludes-2.patch
For gcc last pass (actual LFS install):
('gcc-3.3.1-specs-2.patch' from pass 1 must NOT  be applied this time.)
gcc-3.3.1-no-fixincludes-2.patch
gcc-3.3.1-suppress-libiberty.patch

For other software, e.g. coreutils, zlib, etc, I am using newer releases, so there is no need to apply the LFS-5.0 patches.
Back to top
Profile PM 
stupid_idiot Offline





Group: Members
Posts: 344
Joined: Oct. 2006
Posted: Jan. 31 2008,15:22 QUOTE

Small update:
I am no longer using '-fdata-sections -ffunction-sections' in $CFLAGS/CXXFLAGS and '-Wl,--gc-sections' in $LDFLAGS because '--gc-sections' does not work for all packages.
Am also not using '-fomit-frame-pointer', purely for the sake of convenience.
Now using simply CFLAGS/CXXFLAGS='-Os' for all packages in the experimental chroot-environment extension.

I am thinking of naming the extension 'dev-chroot.unc'.
Is that a good name??

Thanks for reading.
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: Jan. 31 2008,16:51 QUOTE

Note for slock.dsl:

I thought it locked out ctrl-alt-backspace, but that's apparently not the case. I think slock is better than nothing, but knowledgeable and/or crafty people can still get past it by killing X. I also think it's better than xscreensaver since it's a lot smaller in size and has lower resource demands (no daemon running in background) as long as the reason for running xscreensaver is to lock and/or require password for resuming a session in X. If you want a daemon to automatically set off fireworks or whatever after certain periods of inactivity, then slock never would appeal to you anyway.

If tighter security than this is desired, I can point users to gnu screen. If you're willing to suspend your X session (go to console) while in screen, you can use screen's lock (C-a C-x) to effectively keep users who don't have or can't break your password from using your computer (without rebooting). And if you're using console apps, you can resume your X session without ever interrupting any of your console apps running in screen. And, of course, screen allows you to detach and reattach sessions even remotely if you need to access your session(s) from elsewhere.


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
chaostic Offline





Group: Members
Posts: 328
Joined: Mar. 2005
Posted: Feb. 02 2008,19:03 QUOTE

Quote (stupid_idiot @ Jan. 25 2008,18:40)
I am using LFS 5.0.
Link to LFS-5.0 index [archive.linuxfromscratch.org]
I'm sorry I forgot to mention which version I was using.

Re: patches
I only patched gcc and glibc so far.
For gcc, the patches are meant for gcc-3.3.1, but would still be relevant for gcc-3.3.6, so I manually edited a few files inside 'gcc-3.3.6/'. The patches are very small and very simple, so it's not very hard.

For glibc:
glibc-2.3.2-sscanf-1.patch
glibc-2.3.2-inlining-fixes-2.patch

For gcc pass 2:
gcc-3.3.1-specs-2.patch
gcc-3.3.1-no-fixincludes-2.patch
For gcc last pass (actual LFS install):
('gcc-3.3.1-specs-2.patch' from pass 1 must NOT  be applied this time.)
gcc-3.3.1-no-fixincludes-2.patch
gcc-3.3.1-suppress-libiberty.patch

For other software, e.g. coreutils, zlib, etc, I am using newer releases, so there is no need to apply the LFS-5.0 patches.

If it helps in compiling for DSL, awesome.

I've been trying to find a a distro that had the same kernel as dsl, apt-get, gcc and gnu-utils while allowing usb boot and apt-getting to ram (Live cd compile only :D) but no luck :/

Even then, usb boot is only needed if I couldn't get live-cd toram and apt-get standard. Debian Sarge with a 2.4.27 kernel installed to a HD won't usb-boot :/
Back to top
Profile PM 
31 replies since Jan. 04 2008,15:48 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (7) </ 1 2 3 4 [5] 6 7 >/
reply to topic new topic new poll
Quick Reply: January Extensions

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code