Projects
Eulaceura:Mainline:GA
anaconda
_service:obs_scm:backport-Don-t-attempt-to-add-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:backport-Don-t-attempt-to-add-frozen-python-modules-to-initramfs.patch of Package anaconda
From 67d146999a2356dd445cc4c6532e052596cae4db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz> Date: Tue, 21 Jun 2022 18:50:35 +0200 Subject: [PATCH] Don't attempt to add frozen python modules to initramfs --- dracut/python-deps | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dracut/python-deps b/dracut/python-deps index cc6138a5e4..587b44a46f 100644 --- a/dracut/python-deps +++ b/dracut/python-deps @@ -70,6 +70,10 @@ except AttributeError: while scripts: script = scripts.pop() + if script == 'frozen': + # https://docs.python.org/3.11/whatsnew/3.11.html#frozen-imports-static-code-objects + continue + finder = ModuleFinder() finder.run_script(script) # parse the script for mod in finder.modules.values(): -- 2.23.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2