Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Modifying Install to Fit my Preferences
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
FOSSilized_Daemon
n00b
n00b


Joined: 08 Mar 2019
Posts: 18

PostPosted: Sat Apr 06, 2019 1:31 am    Post subject: Modifying Install to Fit my Preferences Reply with quote

I am not entirely sure which part of the forum this belongs in, due to the fact it pertains to install I am gonna guess here. I am moving from OpenBSD to Gentoo and have some questions about modifying the base system. I am extremely, lets say particular, about how my system is setup. I want to make some changes to Gentoo, but have a few questions before I do so. I am looking to trim down base into what I want and need and nothing else. Sadly the GNU Coreutils give me way more than I need or want in my base system, thus I want to slim base down to something like this:


    ascii
    awk
    basename
    bc
    cal
    cleanname
    cmp
    date
    dc
    du
    dd
    diff
    echo
    factor
    fortune
    fmt
    freq
    getflags
    grep
    hoc
    join
    look
    ls
    mk
    mkdir
    mtime
    pbd
    primes
    rc
    read
    sha1sum
    sed
    seq
    sleep
    sort
    split
    strings
    tail
    tee
    test
    touch
    tr
    troff
    unicode
    uniq
    unutf
    -------
    Python
    Rsync
    Portage


I know to some this is extremely insane and makes no sense, but this is ideal for me. Now, I understand I will need Python and rsync in base as they are required for Portage so I am not removing those. My question here is this, I know some systems such as OpenBSD and FreeBSD will go ballistic if you remove anything from their base. However, those coreutils are built as part of a whole monolithic system (IE a cathedral not a bazar). Will Gentoo go insane if I slim things down? Keeping in mind I am not removing anything that is required for Portage or any huge part of the Gentoo system.

These next few might seem even more insane, bare with me please haha. I would like to replace glib with either libmowgli or libulz. Will this provide any big problems for me? I also intend to remove GNU autoconf/automake, CMake, imake, scons and/or waf (whichever of these are in the base system) in favor of mk. It's important to note that aside from Python, Rcync and Portage I am removing everything to give me what is listed above. Will I have any huge base system problems if I do this? I love OpenBSD's pdksh, I am looking to replace BASH with it. But, the only port I see for Linux is mksh (not the same thing). Am I missing the glorious pdksh port? Alright, the gauntlet. My last inquiry pertains to GCC, I want to replace GCC in favor of 2c or tcc. Can I do this?

These are some of things that I am looking to do. I am building this system for my perfect setup for my main machine, thanks in advance. :)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43370
Location: 56N 3W

PostPosted: Sat Apr 06, 2019 9:56 am    Post subject: Reply with quote

FOSSilized_Daemon,

Gentoo will let you do all oy the things you want to do.
However, it will not be well tested, it might not be tested at all. This means you get to keep all the pieces when it breaks.
bash is required by portage, that have been attempts to replace bash with other shells with varying degrees of success.

There are two main approaches.

Make a normal Gentoo install so you have a good probably of getting help when it goes wrong. Maybe it won't?
This will be your build environment.

Inside your main environment, make a chroot. This will be your developing, as you wish it was install. You only install binaries here, which you build outside.
This will only take you so far. Running different glibcs inside and outside the chroot can lead to some interesting issues.

Move from a chroot to Virtual Machine or dual booting to keep incompatible thing separate.

If you want to move away from glibc or musl, you need to build things into a different root directory, similar to cross compiling.
Once it will boot, boot into it.

Can you build the linux kernel with your alternative compilers?

It sounds like a world of pain and a wonderful learning experience. Be sure to document it on the wiki as you go. You may find other contributors that way.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
FOSSilized_Daemon
n00b
n00b


Joined: 08 Mar 2019
Posts: 18

PostPosted: Mon Apr 08, 2019 2:08 am    Post subject: Reply with quote

This is going to be quite a project then, however I did already plan to use Gentoo and slowly replace it as I go so it's not a bad news. I will definitely be able to easily replace most coreutils and can at least install OpenBSD's pdksh alongside BASH. I plan to slowly code my own things for some items, I will definitely keep notes and will gladly add to the wiki when I am finish. Thank you for the help :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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