Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
slim stage3 (with preinstalled gcc 3.4.4 and ... [DON'T USE]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
krigav
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2005
Posts: 121

PostPosted: Thu Dec 15, 2005 8:10 pm    Post subject: slim stage3 (with preinstalled gcc 3.4.4 and ... [DON'T USE] Reply with quote

DON'T USE THIS STAGE TARBALL ANYMORE! THERE ARE SOME PERMISSION ISSUES AND I DON'T HAVE THE TIME TO FIX THEM AT THE MOMENT

Hi all,

Do you want to have a current stage3 installation tarball with the freshest (stable) ebuilds to build your new gentoo system upon it? But you are too lazy or do not have the time to download a stage3-pentium3 tarball and reemerge all the updated stuff including the new gcc and glibc, because it would take too much time?

Here is a possible solution for you: slim stage3 (download: http://www.kriga.net/dl/stage3-pentium3-gcc34-slim-krigav.tar.gz)

Features:

- updated packages (including toolchain): gcc 3.4.4-r1, glibc 2.3.5-r2 (with nptl theads), binutils 2.16.1, python 2.3.2 and much more:
Code:
app-admin/perl-cleaner-1.01
app-arch/tar-1.15.1
app-arch/bzip2-1.0.3-r5
app-arch/gzip-1.3.5-r8
app-arch/cpio-2.6-r5
app-crypt/hashalot-0.3-r1
app-editors/nano-1.3.7
app-portage/gentoolkit-0.2.0-r3
app-shells/bash-3.0-r12
dev-lang/python-2.4.2
dev-lang/perl-5.8.6-r8
dev-libs/popt-1.7-r1
dev-libs/openssl-0.9.7e-r2
dev-libs/expat-1.95.8
dev-perl/Locale-gettext-1.03
dev-python/python-fchksum-1.7.1
dev-util/pkgconfig-0.17.2-r1
net-misc/wget-1.10.2
net-misc/iputils-021109-r3
net-misc/rsync-2.6.0-r6
net-misc/openssh-4.2_p1
sys-apps/texinfo-4.8-r2
sys-apps/pam-login-3.17
sys-apps/hdparm-5.9
sys-apps/findutils-4.1.20-r1
sys-apps/sed-4.1.4
sys-apps/util-linux-2.12r-r1
sys-apps/kbd-1.12-r5
sys-apps/tcp-wrappers-7.6-r8
sys-apps/help2man-1.33.1
sys-apps/hotplug-base-20040401
sys-apps/portage-2.0.51.22-r3
sys-apps/debianutils-2.14.1-r1
sys-apps/net-tools-1.60-r11
sys-apps/baselayout-1.11.13-r1
sys-apps/gawk-3.1.4-r4
sys-apps/grep-2.5.1-r8
sys-apps/diffutils-2.8.7-r1
sys-apps/busybox-1.00-r4
sys-apps/sandbox-1.2.12
sys-apps/man-pages-2.16
sys-apps/man-1.6-r1
sys-apps/shadow-4.0.7-r4
sys-apps/groff-1.19.1-r2
sys-apps/less-385_p4-r2
sys-apps/sysvinit-2.86
sys-apps/module-init-tools-3.0-r2
sys-apps/file-4.13
sys-apps/coreutils-5.2.1-r6
sys-apps/which-2.16
sys-devel/autoconf-wrapper-3-r1
sys-devel/gettext-0.14.4
sys-devel/automake-1.7.9-r1
sys-devel/automake-1.8.5-r3
sys-devel/automake-1.9.6-r1
sys-devel/patch-2.5.9
sys-devel/autoconf-2.59-r6
sys-devel/automake-1.5
sys-devel/libperl-5.8.6-r1
sys-devel/automake-wrapper-1-r1
sys-devel/flex-2.5.4a-r6
sys-devel/gnuconfig-20051113
sys-devel/automake-1.4_p6
sys-devel/bc-1.06-r6
sys-devel/automake-1.6.3
sys-devel/gcc-3.4.4-r1
sys-devel/binutils-config-1.8-r6
sys-devel/autoconf-2.13
sys-devel/bison-1.875d
sys-devel/binutils-2.16.1
sys-devel/gcc-config-1.3.12-r4
sys-devel/libtool-1.5.20
sys-devel/m4-1.4.3
sys-devel/make-3.80-r2
sys-fs/udev-070-r1
sys-fs/e2fsprogs-1.38
sys-kernel/linux-headers-2.6.11-r2
sys-libs/com_err-1.38
sys-libs/zlib-1.2.3
sys-libs/cracklib-2.8.3-r1
sys-libs/libstdc++-v3-3.3.4
sys-libs/ss-1.38
sys-libs/readline-5.0-r2
sys-libs/pam-0.78-r3
sys-libs/db-4.2.52_p2-r1
sys-libs/ncurses-5.4-r6
sys-libs/gdbm-1.8.3-r2
sys-libs/glibc-2.3.5-r2
sys-libs/pwdb-0.62
sys-process/cronbase-0.3.2
sys-process/psmisc-21.6
sys-process/procps-3.2.5-r1


- optimized for pentium3: CFLAGS that will (presumably :)) not break your ebuilds but still offer you a good performance:
Code:
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1"


- optimized for size: build with no documentation, info- or manpages, no native language support that you don't need on your disk. Just the stuff that is really needed. (Of course you can rebuild the packages if you need some documentation or native language support ;-) )
Code:
FEATURES=" ...  nodoc noinfo noman  ..."

Code:
USE=" ... -nls -doc ..."


I build this stage3 tarball because I wanted to have a clean, slim and relatively current foundation for my new gentoo system but didn't want to wait for a new release. Of course everybody can start from a stage3 tarball and upgrade to the new ebuilds, but maybe some people dont have the time to do a longsome gcc/glibc upgrade.

This stage3 tarball can be be used in the same way as the standard gentoo stage3 tarbal mentioned in the install documentation. So for installation just read the gentoo documentation http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1 but use my slim stage3 tarball instead of the standard gentoo stage3 tarball.

There are smal differences between the standard and slim stage3 tarball:
Code:
  - no gpm support (if you need it just edit the USE flag and do "emerge gpm")
  - gentoolkit already emerged


I hope some will find this tarball useful. Have fun! :D


Last edited by krigav on Mon Jan 16, 2006 9:09 pm; edited 3 times in total
Back to top
View user's profile Send private message
krigav
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2005
Posts: 121

PostPosted: Thu Dec 15, 2005 8:56 pm    Post subject: Reply with quote

If you want to be flexible and to have native language support you can achieve it without the longsome reemerge of the "big ones" (like glibc, gcc, binutils):

Just append/add the "-nls" USE-Flag to the packages you won't to be reemeged when you decide to use native language support:

your /etc/portage/package.use could look this way
Code:
sys-libs/glibc    userlocales -nls
sys-devel/gcc      -nls
sys-libs/libstdc++-v3    -nls
sys-devel/binutils   -nls


Now you just reemerge the system with the "--newuse" flag:
emerge --newuse world
and than you have a system with native language support without the need to recompile the really big packages.
Back to top
View user's profile Send private message
mpsii
l33t
l33t


Joined: 11 Mar 2003
Posts: 658
Location: Jackson, TN

PostPosted: Mon Jan 16, 2006 8:31 pm    Post subject: Reply with quote

May I clarify something with you? I have wanted to create my own stage 3 for some time now and was wondering what you did to get to this point. Did you do something along the lines of:

  1. Follow handbook up to the point of extracting stage3
  2. Chroot per handbook
  3. emerge sync
  4. modify /etc/make.conf for USE/CFLAGS/etc
  5. emerge -vuD --newuse world (or follow Bob P's GCC 3.4.4 migration guide)
  6. exit chroot
  7. umount /mnt/gentoo/proc, /mnt/gentoo/dev, etc
  8. tar (what options) /mnt/gentoo stage3.tar.bz2

_________________
-----------------------------------------
Michael
Back to top
View user's profile Send private message
krigav
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2005
Posts: 121

PostPosted: Mon Jan 16, 2006 9:05 pm    Post subject: Reply with quote

Now, almost a whole month passed since than, so I don't know exactly all the commands I used.
But as long as I can remember it worked for me. Now, I think that 3 weeks ago I recognize that I've forgot to use --preserve-permissions when made the tar file.
So I think that there could be some permissions issues when using this tarbal. :(

I've marked this one for not using. Sorry, if I've confused anybody with this faulty package (the next will be better).
_________________
There are no dumb questions, just dumb answers. So please help users that are new to linux/gentoo by answering unanswered questions.
Back to top
View user's profile Send private message
mpsii
l33t
l33t


Joined: 11 Mar 2003
Posts: 658
Location: Jackson, TN

PostPosted: Mon Jan 16, 2006 9:15 pm    Post subject: Reply with quote

I was just wondering since the decompression options for a standard stage3 tarball are:
Code:
# tar -xvjpf stage3*.bz2
Would the following work?
Code:
# tar -cvjpf stage3.tar.bz2

_________________
-----------------------------------------
Michael
Back to top
View user's profile Send private message
krigav
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2005
Posts: 121

PostPosted: Fri Feb 17, 2006 11:54 pm    Post subject: Reply with quote

mpsii wrote:
I was just wondering since the decompression options for a standard stage3 tarball are:
Code:
# tar -xvjpf stage3*.bz2
Would the following work?
Code:
# tar -cvjpf stage3.tar.bz2


Yes, I think that the second one would work when you want to create a new archive with preserved permissions.
_________________
There are no dumb questions, just dumb answers. So please help users that are new to linux/gentoo by answering unanswered questions.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum