Witaj na Forum Linuxiarzy
Zanim zalogujesz się, by pisać na naszym forum, zapoznaj się z kilkoma zasadami savoir-vivre'u w dziale Administracja.
Wiadomości z problemami zamieszczone w wątku "Przywitaj się" oraz wszelkie reklamy na naszym forum będą usuwane.
Cytat: pavbaranov w Czerwiec 18, 2025, 05:07:07 PMNowy kernel (nowa wersja) w Fedorze zwykle pojawia się wraz z nowym wydaniem. Niekiedy można znaleźć nowsze wersje w jakichś specyficznych repozytoriach oraz - być może - w Fedora Rawhide.
Cytat: jankycoder w Czerwiec 18, 2025, 04:59:22 PMA kiedy ma się ukazać w Fedorze to nowe jądro z SoundBlaster Z SE?
CytatFedora Linux 42 is currently using Linux kernel version 6.14. It was released on April 15, 2025, and features the latest GNOME 48 desktop environment for the Workstation edition. This kernel also includes significant performance improvements, particularly for gaming on Linux through the new anti-sync driver.
CytatTo build a custom kernel for Fedora, you'll need to retrieve the source code, configure it, build the kernel and modules, and then install the resulting packages. The process involves using tools like fedpkg, git, and rpmbuild to manage the source and build artifacts.
Here's a more detailed breakdown:
1. Preparation:
Install necessary packages: You'll need fedpkg, rpmdevtools, and other build dependencies. Install them using sudo dnf install fedpkg rpmdevtools. You may also need git and kernel-devel.
Get the source: Use fedpkg co -a kernel to check out the Fedora kernel source package.
Navigate to the source directory: cd kernel.
Create a branch for your changes: git checkout -b <your_branch_name>.
2. Configuration:
Copy the existing configuration:
You can start with the existing Fedora kernel configuration. Copy the .config file from a running Fedora system or use the one provided by the kernel package.
Configure the kernel:
make menuconfig: This opens a menu-based interface for configuring the kernel.
make xconfig: Similar to menuconfig, but uses a graphical interface.
make olddefconfig: Applies default settings for new kernel options.
Manually edit .config: Edit the .config file directly (advanced users).
Consider using a local version string:
You can append a unique string to the kernel version for easy identification. Modify the %define buildid line in the kernel.spec file. For example, change # define buildid .local to %define buildid .<your_initials>.
3. Building:
Build the RPM packages: Run fedpkg local to build the kernel and modules. This will create RPM packages in the ~/rpmbuild/RPMS directory.
Build using Koji (optional): For more complex builds, consider using the Koji build system.
4. Installation:
Install the RPMs: Navigate to the directory containing the built RPMs and install them using sudo dnf install --nogpgcheck *.rpm.
Update the bootloader: The grubby tool can be used to manage the bootloader entries. grubby --set-default-index=0 will set the default boot entry.
Reboot: Reboot your system to boot into the new kernel.
5. Verification:
Check the kernel version: Use uname -r to verify the running kernel version.
Important notes:
Building a kernel can take a significant amount of time, especially if you're compiling a large number of drivers and modules.
Ensure you have enough disk space to store the source code, build artifacts, and the resulting RPM packages.
Carefully review the configuration options to ensure you're building a kernel that meets your needs.
Consider testing your custom kernel on a separate system or in a virtual machine before deploying it to a production environment.
For development, it's recommended to use a dedicated branch in your local git repository.
Cytat: pavbaranov w Czerwiec 18, 2025, 03:35:59 PMA przyszło Wam do głowy, że znakomita większość dystrybucji jest robiona przez społeczności, których członkowie absolutnie gdzieś mają zarówno Wasze, jak i osób, które tworzą te *-izmy i wrzucają Wam do głów w głębokim poważaniu?
CytatPS: Będzie problem, bo zgodnie z licencją nie będziecie mogli zabronić jej używania czy to przez Niemców, czy to przez Rosjan, czy przez kogokolwiek, kto nie będzie Polakiem.
CytatPS: Kurcze, myślałem, miałem nadzieję, że przynajmniej linux i nasze społeczności będą wolne od tych nacjonalistycznych kretynizmów.
Cytat: maestro w Czerwiec 18, 2025, 03:50:38 PMAle przecież nikt nic złego nie pisze, tylko pan ma jakieś "*-izmy" to już nie wolno o niczym napisać?Trzymajmy się świadczenia pomocy w świecie linuksa na tej stronie może.
Cytat: maestro w Czerwiec 18, 2025, 03:50:38 PMNie popadajmy w taką paranoje poprawności politycznej bo Orwell się kłania.Nie - nie Orwell, a netykieta. To olbrzymia różnica. A kto popada w paranoje? Cóż, nie mi to oceniać.
Cytat: maestro w Czerwiec 18, 2025, 03:50:38 PMNawet Linus Torvalds i Linux zablokował rosyjskich developerów, ale nikt tu przecież nie pisze czy to dobre czy złe. Nie można już nic skomentować czy jak, czy ta UE wyprała wam już logiczne myślenie?Nie - nikt mi, a w każdym bądź razie UE nie wyprało logicznego myślenia. I nie - zgodnie z zasadami forum, zgodnie z netykietą należy odpowiadać na zadany problem. Czyjeś fobie, urojenia i inne pranie mózgów uprawiane przez pewne formacje polityczne, tutaj nikogo nie obchodzi.
Cytat: maestro w Czerwiec 18, 2025, 03:50:38 PMPolityka i ideologia jest nierozłącznie powiązana z fundacją Linuksa i dystrybucjami.Kto Ci takich bzdur naopowadał??? Jakieś dowody?
Cytat: maestro w Czerwiec 18, 2025, 03:50:38 PMCała branża korporacyjna finansuje Linuksa.I całe szczęście, bo inaczej jego rozwój przebiegałby w sposób bardzo powolny.
Cytat: maestro w Czerwiec 18, 2025, 03:50:38 PMA nacjonalizm nie jest czymś złym, może pora się douczyć i nie mylić go. Nacjonalizm broni kobiety i dzieci z własnego narodu gdy inna nacja napada i gwałci.W istocie należy się douczyć. Bardzo wiele douczyć. Otóż nacjonalizm jest jedną z najgorszych ideologii, która doprowadziła już do największych tragedii na przestrzeni lat, od kiedy się pojawił. Bez nacjonalizmu nie byłoby np. IIWWŚ. Tak bardzo chcesz tej powtórki z historii?
Cytat: pavbaranov w Czerwiec 18, 2025, 03:35:59 PMJeśli jesteście takimi nacjonalistami i ktokolwiek z innej nacji się Wam nie podoba, to zróbcie sobie swoją nacjonalistyczną, polską dystrybucję linuksa - NPDLin.Tu pojawia się pytanie... Co to jest legalne:
PS: Będzie problem, bo zgodnie z licencją nie będziecie mogli zabronić jej używania czy to przez Niemców, czy to przez Rosjan, czy przez kogokolwiek, kto nie będzie Polakiem.
CytatFedora Export Control Policy
By contributing to or downloading Fedora content, you acknowledge that you understand all of the following: Fedora software and technical information may be subject to the U.S. Export Administration Regulations (the "EAR") and other U.S. and foreign laws and may not be exported, re-exported or transferred:
(a) to a prohibited destination country under the EAR and the U.S. Department of Treasury, Office of Foreign Assets Controls (currently Cuba, Iran, North Korea, Syria, and the Crimea Region of Ukraine, subject to change as posted by the United States government);
(b) to any prohibited destination or to any end user who has been prohibited from participating in U.S. export transactions by any federal agency of the U.S. government; or
(c) for use in connection with the design, development or production of nuclear, chemical or biological weapons, or rocket systems, space launch vehicles, or sounding rockets, or unmanned air vehicle systems.
You may not download Fedora software or technical information if you are located in one of these countries or otherwise subject to these restrictions. You may not provide Fedora software or technical information to individuals or entities located in one of these countries or otherwise subject to these restrictions. You are also responsible for compliance with foreign law requirements applicable to the import, export and use of Fedora software and technical information.
Fedora software in source code and binary code form are publicly available and are not subject to the EAR in accordance with §742.15(b).