Project Talk:Hardened musl

From Gentoo Wiki
Jump to: navigation, search
Note
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (~~~~). When adding a new section (at the bottom of the page), please mark it as "open for discussion" by using {{talk|open}} so it will show up in the list of open discussions.

Layman source line is redundant and world -> @world

Talk status
This discussion is done.

Ah I've noticed the line:

root #echo "source /var/lib/layman/make.conf" >> /etc/portage/make.conf

is redundant. Trying it myself causes emerge to fail as /var/lib/layman/make.conf doesn't exist. I would remove the line myself but I don't have permission to edit this article. Brenton (contribs · email · talk) 08:25, 5 June 2017 (UTC)

root #emerge -uvNDq world
should also be changed to
root #emerge -uvNDq @world
. Brenton (contribs · email · talk) 08:27, 5 June 2017 (UTC)
Changed, thanks. --Grknight (talk) 13:34, 8 November 2018 (UTC)

Replace Layman with eselect repository

Talk status
This discussion is still ongoing.

I would like to replace the Layman instructions with eselect repository. Layman is unnecessary as the sync architecture is now redundant and requires the user to take extra steps.

Anthony G. Basile (Blueness) what do you think?

Suggested:

3) We need to get git in order to add the overlay. Unfortunately, right now we can't build git with gnupg support:

root #echo "dev-vcs/git -gpg" >> /etc/portage/package.use
root #emerge --ask --noreplace app-eselect/eselect-repository dev-vcs/git

4) Let's add the overlay.

root #eselect repository enable musl
root #emerge --sync musl

5) Okay now we can update. If we tried to update without the overlay, we get a bunch of downgrades to ebuilds that are slightly broken on musl and will not build.

root #emerge -uvNDq @world

6) In the future, emerge --sync will update both the portage tree and the overlay before repeating step 5.

root #emerge --sync
root #emerge -uvNDq @world


--Grknight (talk) 18:32, 22 January 2019 (UTC)