Project Talk:Hardened musl

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (~~~~), and indent successive comments with colons (:). Add new sections at the bottom of the page, under a heading (== ==). Please remember to mark sections as "open for discussion" using {{talk|open}}, so they 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)