This repository was archived by the owner on Aug 2, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Gentoo Support #3175
Open
JoseJX
wants to merge
49
commits into
dnschneid:master
Choose a base branch
from
JoseJX:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Gentoo Support #3175
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
8493f95
Gentoo: Add initial support for the core target.
30e634a
Gentoo: Add support for the audio target.
7a18dbd
Gentoo: Make portage rebuild packages if the use flags have changed.
48d0585
Gentoo: Add support for the cli-extra target.
a9d7b84
Gentoo: Add support for the xorg and x11-common targets.
06f3ccc
Gentoo: Fix sudo duplication and group GID.
d191fd2
Gentoo: Support the gtk-extra target.
96cc337
Gentoo: Update the portage tree during a core update.
5eaeb25
Gentoo: Add support for the xfce and xfce-desktop targets.
53ce0cb
Gentoo: Don't call install when there's nothing passed to install.
495a933
Gentoo: Add support for extension target.
c07cc92
Gentoo: Add support for enlightenment.
4dcbe08
Gentoo: Add the ability to keyword packages and accept licenses.
2db07c6
Gentoo: Add support for the chrome targets.
a6ed7f7
Gentoo: Add support for lxde target.
835ccde
Gentoo: Add support for the xiwi target.
40a0601
Gentoo: Remove the suid bit to allow LD_PRELOAD for libcroutonfreon.
0ba9260
Gentoo: Support use expand variables for simultaneous xiwi and xorg.
a026730
Gentoo: Add support for RSYNC_PROXY.
acbc6a2
Gentoo: Add support for MIRROR, remove debugging code.
28e09e8
Gentoo: Use CHOST from make.conf to determine architecture.
fd765fb
Gentoo: Simplify prepare functions.
2051ba1
Gentoo: Simplify changes to prepare.sh.
70a8ce7
Gentoo: Simplify packages for core target. Add dbus to global use flags.
a875747
Gentoo: Clean up audio target changes, remove redundant check.
ddabc68
Gentoo: Remove extra dbus use flag setting from cli-extra.
27cce46
Gentoo: Remove unused X utils from extension target.
8f71234
Gentoo: Simplify the gtk-extra target's install logic.
9bc8bef
Gentoo: Fix lxde-desktop target, remove lightdm.
fafe25e
Gentoo: Fix use flags, clean up package installation for X targets.
d9b3507
Gentoo: Update cpu flag code for cpuid2cflags >=2.
c9379bd
Gentoo: Add ability to turn off use flags in prepare.
6b58f4f
Gentoo: Make sure to trigger a world update in core.
4d0b883
Gentoo: Add support for other arches, remove temporary files.
f90cc28
Gentoo: Patch xf86-video-dummy and xf86-video-intel before the build.
85f1b94
Gentoo: Change xorg input targets to remove unused targets.
2ef3ccf
Gentoo: Make Gentoo update chrome using the package manager.
6f82d65
Let the user change the /tmp directory for low memory devices.
b430183
Gentoo: Simplify audio dependency code.
5ef61c3
Gentoo: Simplify creating the sudo group in core.
69ed164
Gentoo: Add support for extra arm targets, fix ARCH variable usage.
ec2bbfb
Gentoo: Rework intel and fbdev video_cards use expand.
821d21d
Gentoo: Add note for users installing *-desktop targets.
9d5e783
Gentoo: Adjust CPU use expand code to be more reliable.
a61e162
Gentoo: Set flags earlier to prevent recompiles. Add i915, i965 to VI…
fb56dff
Gentoo: Support switching profiles. Add support for kde and gnome tar…
8928954
Gentoo: Add kodi support and make the xbmc package work with kodi.
723dd74
Gentoo: Update copyright year for all of the files I've touched.
5655d86
Gentoo: Fix issue where disabled flags would cause prepare script to …
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Gentoo: Fix sudo duplication and group GID.
- Loading branch information
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -126,9 +126,12 @@ fi | |
| install --minimal ${CORE_pkgs} | ||
|
|
||
| # Gentoo doesn't have a group for sudo, add it now and allow those users to use sudo | ||
| # Debian uses GID 28 for sudo | ||
| if [ "${DISTROAKA:-"$DISTRO"}" = 'gentoo' ]; then | ||
| groupadd sudo | ||
| echo "%sudo ALL=(ALL) ALL" >> /etc/sudoers.d/crouton-group | ||
| if [ -z `getent group sudo | cut -f1 -d:` ]; then | ||
| groupadd -g 28 sudo | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think it's necessary to use gid 28 specifically? |
||
| fi | ||
| echo "%sudo ALL=(ALL) ALL" > /etc/sudoers.d/crouton-group | ||
| fi | ||
|
|
||
| if [ "${DISTROAKA:-"$DISTRO"}" = 'debian' ]; then | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need this test? Since other distros have a sudo group, the test below will fail and the group won't be created?