View previous topic :: View next topic |
Author |
Message |
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3928
|
Posted: Tue Mar 23, 2021 7:18 pm Post subject: No clutter DE ready before you can say "Gentoo" |
|
|
Yesterday i was missing the thrill of a new Gentoo installation so I went ahead and installed Enlightenment over openrc.
It was my quickest installation so far that took me roughly less than three hours @-j 4 and a 12Gig tmpfs for var/tmp/portage --from partitioning to booting in.
Things I learnt:
1.Have ready the tarball ,samples of make.conf fstab /etc/default/grub /etc/conf.d/net and maybe the 00cpuflags for package.use any other stock configs you need and a chroot script.
2.untar copy the above samples and chroot
3.emerge --sync
4.eselect profile
5.emerge -av layman
6.add the "miramir" overlay.
7.Liberate yourself from spidermonkey rust clang llvm and other such atrocities.
run :
Code: |
echo "sys-auth/polkit::gentoo" > etc/portage/package.mask/polkit
echo "media-libs/mesa -llvm" > /etc/portage/package.use/mesa
echo "sys-auth/polkit::miramir duktape" > /etc/portage/package.use/polkit
emerge -1av rust-bin duktape
emerge -uDNav @world
emerge -av xorg-server
emerge -a --depclean
cat >> /etc/portage/package.accept_keywords << EOF
x11-misc/pcmanfm ~amd64
lxde-base/menu-cache ~amd64
x11-libs/libfm ~amd64
x11-libs/libfm-extra ~amd64
EOF
emerge -av enlightenment terminology pcmanfm lightdm grub dracut lvm2 efibootmgr
emerge -1av gentoo-kernel-bin
emerge --noreplace dist-kernel
|
8.Do all remaining tasks according to the Handbook and edit your sample files to reflect your new installation.(can be done while emerge-ing --in a second chroot or from the host)
9.Install and update grub.
10.exit chroot and reboot.
Less than 3 hours..........
_________________
Last edited by alamahant on Sat Mar 27, 2021 4:34 pm; edited 2 times in total |
|
Back to top |
|
|
Juippisi Developer
Joined: 30 Sep 2005 Posts: 757 Location: /home
|
Posted: Wed Mar 24, 2021 7:30 am Post subject: |
|
|
alamahant wrote: |
7.Liberate yourself from spidermonkey rust clang llvm and other such atrocities.
|
Do note that if you have "svg" use flag enabled with dev-libs/efl, it'll pull rust in a dep chain. |
|
Back to top |
|
|
fredbear5150 Tux's lil' helper
Joined: 11 Oct 2003 Posts: 113
|
Posted: Wed Mar 31, 2021 8:20 am Post subject: |
|
|
For someone who does a lot of Gentoo builds on older hardware, these are both excellent posts!
Thanks to Juippisi and alamahant for the really good info. |
|
Back to top |
|
|
Lokesh Apprentice
Joined: 01 Apr 2012 Posts: 161
|
Posted: Fri Apr 09, 2021 3:52 pm Post subject: |
|
|
Hello alamahant
May I ask you a couple of questions about how to use your instructions?
1) Code: | echo "sys-auth/polkit::miramir duktape" > /etc/portage/package.use/polkit |
What is duktape? Seems you use it as replacement for polkit.
2) Code: | emerge -1av rust-bin duktape |
Why rust-bin, is it from the Gentoo or miramar overlay? Why "-1", not into the world file?
3) It seems that you are replacing polkit and rust rather than dropping it. Is it just for using binaries instead of compiling them?
4) Quote: | Do note that if you have "svg" use flag enabled with dev-libs/efl, it'll pull rust in a dep chain |
just adding "dev-libs/efl -svg" to package use?
Thanks in advance, I am keen to try it.
Lokesh _________________ Sometimes frustrated Linux User |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3928
|
Posted: Fri Apr 09, 2021 5:40 pm Post subject: |
|
|
Sure
1.This a version of polkit that does not have spidermonkey(=mozzila nodejs) as a dependency but rather "duktape" which is another nodejs.
This way one avoids long compiles of spidermonkey which in turn pulls llvm and clang.
2.Rust takes a long time to compile.and is only used as a build time dependency in many web packages.
There is the precompiled binary version "rust-bin" in the main Gentoo repo.
You use "emerge -1" because rust is a dependency of other packages and you should avoid installing dependencies or libs explicitly because this will lead to emerge problems later.
virtual/rust needs either rust or rust bin so by emerging temporaily rust-bin virtual/rust will pick this instead of rust as a necessary and sufficient condition.
3 I am masking polkit::gentoo and update @world so hopefully emerge will remove polkit::gentoo and install polkit::miramir.
If not you can manually run
emerge -1av sys-auth/polkit::miramir
Then later during @--depclean you will see spidermonkey and possibly llvm and clang deleted
4.It doesnt matter if it will pull rust because rust-bin already present. _________________
|
|
Back to top |
|
|
Lokesh Apprentice
Joined: 01 Apr 2012 Posts: 161
|
Posted: Fri Apr 09, 2021 5:43 pm Post subject: |
|
|
Quote: | What is duktape? Seems you use it as replacement for polkit.
|
Found some posts here and here . But no explanation as to what is the advantage of duktape over spidermonkey. _________________ Sometimes frustrated Linux User |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3928
|
Posted: Fri Apr 09, 2021 5:45 pm Post subject: |
|
|
Because spidermonkey is disgusting.
It takes a long time to compile...
It will pull llvm and clang.
if you USE="-clang" then only llvm.
Clang is also disgusting because although it started as a fast compiler now @latest versions it takes up to 3 times more time to compile packages.. _________________
|
|
Back to top |
|
|
Lokesh Apprentice
Joined: 01 Apr 2012 Posts: 161
|
Posted: Sat Apr 10, 2021 7:08 pm Post subject: |
|
|
Hey, thank you very much for the info alamahant. Although I have no clue about those packages, I am pretty much annoid when it comes to compilation of rust, llvm, and clang. Qt-webkit is another candidate that has been banned by me because of this.
I will give it a try although I just finished an installation. There are updates to come, however...
In case I do not report back, everything went fine and your proposal made me happy...until upstream makes changes.
Thank you,
Lokesh _________________ Sometimes frustrated Linux User |
|
Back to top |
|
|
RIA77 Guru
Joined: 24 Feb 2016 Posts: 396
|
|
Back to top |
|
|
|