-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup & useradd -l
#95
Merged
Merged
Conversation
This file contains 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
Avoid conflicts of python packages between pip and the Fedora system by using a virtual environment. The EDK2 dependencies are pre-installed too. Signed-off-by: Oliver Steffen <[email protected]>
Avoid conflicts of python packages between pip and the Fedora system by using a virtual environment. The EDK2 dependencies are pre-installed too. Signed-off-by: Oliver Steffen <[email protected]>
Avoid conflicts of python packages between pip and the Fedora system by using a virtual environment. The EDK2 dependencies are pre-installed too. Signed-off-by: Oliver Steffen <[email protected]>
Remove the Ubuntu 20.04 image, since the distribution is very old and this image is not maintainable anymore. Note: The existing image will still be available on ghcr. The availble python version (3.9) is too old for current EDK2. The edk2-pytools are not available for it: $ python --version Python 3.9.5 python -m pip install --upgrade -r pip-requirements.txt ERROR: Ignored the following versions that require a different python version: 0.19.0 Requires-Python >=3.10; 0.19.1 Requires-Python >=3.10; 0.19.2 Requires-Python >=3.10; 0.19.3 Requires-Python >=3.10; 0.19.4 Requires-Python >=3.10; 0.19.5 Requires-Python >=3.10; 0.19.6 Requires-Python >=3.10; 0.19.7 Requires-Python >=3.10; 0.19.8 Requires-Python >=3.10; 0.19.9 Requires-Python >=3.10; 0.20.0 Requires-Python >=3.10; 0.21.2 Requires-Python >=3.10; 0.21.3 Requires-Python >=3.10; 0.21.4 Requires-Python >=3.10; 0.21.5 Requires-Python >=3.10 ERROR: Could not find a version that satisfies the requirement edk2-pytool-library==0.20.04 (from versions: 0.9.0, 0.9.1, 0.9.2, 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.10.5, 0.10.6, 0.10.7, 0.10.8, 0.10.9, 0.10.10, 0.10.11, 0.10.12, 0.10.13, 0.10.15, 0.11.0, 0.11.1, 0.11.2, 0.11.4, 0.11.5, 0.11.6, 0.12.0, 0.12.1, 0.12.2, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.15.4, 0.16.0, 0.16.1, 0.16.2, 0.17.0, 0.18.0, 0.18.1, 0.18.2) ERROR: No matching distribution found for edk2-pytool-library==0.20.0 Signed-off-by: Oliver Steffen <[email protected]>
Without the -l (--no-log-init) parameter when running useradd, it can create huge /var/log/faillog and /var/log/lastlog files since it reserves space for all users between 0 and the UID. See docker/hub-feedback#2263 (comment) for more information. Signed-off-by: Rebecca Cran <[email protected]>
osteffenrh
force-pushed
the
cleanup+useradd-l
branch
from
May 27, 2024 19:22
54890dd
to
8109f99
Compare
Ping @bcran |
ghost
approved these changes
Jun 4, 2024
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.
Unrelated to this PR, but I noticed some adduser
commands are missing -o
.
Add the missing `-o` flag on the `useradd` command in the entrypoint scripts of the Fedora-37 and Ubuntu-22 images. Signed-off-by: Oliver Steffen <[email protected]>
Indeed. Let's fix it in this cleanup PR too :-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR combines 2 changes