-
Notifications
You must be signed in to change notification settings - Fork 354
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
Implement support for running on Wayland through Weston #5401
Draft
Conan-Kudo
wants to merge
2
commits into
rhinstaller:master
Choose a base branch
from
Conan-Kudo:waylandize
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.
+973
−366
Draft
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright (C) 2024 Neal Gompa. | ||
# | ||
# This program is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU Lesser General Public License as published | ||
# by the Free Software Foundation; either version 2.1 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU Lesser General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
CLEANFILES = *~ | ||
|
||
pamdir = $(sysconfdir)/pam.d | ||
dist_pam_DATA = anaconda | ||
|
||
MAINTAINERCLEANFILES = Makefile.in |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#%PAM-1.0 | ||
auth sufficient pam_permit.so | ||
account sufficient pam_permit.so | ||
password sufficient pam_permit.so | ||
session required pam_loginuid.so | ||
-session optional pam_keyinit.so revoke | ||
-session optional pam_limits.so | ||
session required pam_systemd.so |
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
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
56 changes: 56 additions & 0 deletions
56
dockerfile/anaconda-iso-creator/adjust-templates-for-weston.patch
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
From 3b6fcfc755ee9b2a5b4de7965ee2e3fc41045379 Mon Sep 17 00:00:00 2001 | ||
From: Neal Gompa <[email protected]> | ||
Date: Thu, 18 Jan 2024 11:59:00 -0500 | ||
Subject: [PATCH] templates.d/99-generic/runtime-cleanup: Do not purge sound | ||
packages | ||
|
||
These cause the build to fail when adding Weston to the boot.iso. | ||
--- | ||
share/templates.d/99-generic/runtime-cleanup.tmpl | 10 +--------- | ||
1 file changed, 1 insertion(+), 9 deletions(-) | ||
|
||
diff --git a/share/templates.d/99-generic/runtime-cleanup.tmpl b/share/templates.d/99-generic/runtime-cleanup.tmpl | ||
index aad31f77..e4148b7c 100644 | ||
--- a/share/templates.d/99-generic/runtime-cleanup.tmpl | ||
+++ b/share/templates.d/99-generic/runtime-cleanup.tmpl | ||
@@ -9,8 +9,6 @@ remove usr/share/i18n | ||
## perl needed for powerpc-utils | ||
## perl is needed by /usr/bin/rxe_cfg from libibverbs | ||
|
||
-## no sound support, thanks | ||
-removepkg flac-libs libsndfile pipewire pulseaudio* rtkit sound-theme-freedesktop wireplumber* | ||
## we don't create new initramfs/bootloader conf inside anaconda | ||
## (that happens inside the target system after we install dracut/grubby) | ||
removepkg dracut-network grubby anaconda-dracut | ||
@@ -52,7 +50,6 @@ removepkg mtools glibc-gconv-extra | ||
|
||
## various other things we remove to save space | ||
removepkg diffutils file | ||
-removepkg libasyncns | ||
removepkg lvm2-libs | ||
removepkg mobile-broadband-provider-info | ||
removepkg rmt rpcbind squashfs-tools | ||
@@ -196,7 +193,6 @@ removefrom libidn2 /usr/share/locale/* | ||
removefrom libnotify /usr/bin/* | ||
removefrom libsemanage /etc/selinux/* | ||
removefrom libstdc++ /usr/share/* | ||
-removefrom libvorbis /usr/${libdir}/libvorbisenc.* | ||
removefrom libxml2 /usr/bin/* | ||
removefrom linux-firmware /usr/lib/firmware/dvb* | ||
removefrom linux-firmware /usr/lib/firmware/*_12mhz* | ||
@@ -365,11 +361,7 @@ removefrom gstreamer1-plugins-base --allbut \ | ||
removepkg geoclue2 | ||
|
||
## And remove the packages that those extra libraries pulled in | ||
-removepkg cdparanoia-libs opus libtheora libvisual flac-libs gsm avahi-glib avahi-libs \ | ||
- ModemManager-glib | ||
- | ||
-## metacity requires libvorbis and libvorbisfile, but enc/dec are no longer needed | ||
-removefrom libvorbis --allbut /usr/${libdir}/libvorbisfile.* /usr/${libdir}/libvorbis.* | ||
+removepkg cdparanoia-libs libvisual avahi-glib avahi-libs ModemManager-glib | ||
|
||
## Remove build-id links, they are used with debuginfo | ||
remove /usr/lib/.build-id | ||
-- | ||
2.43.0 | ||
|
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Can this be more specific than just Exception?
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.
In theory, I could, but I have intentionally not done so because I want it to happen in any exception case. It's merely for shorting the loop to iterate on the timeout.