Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
3703b101
Commit
3703b101
authored
Mar 02, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack i586-fix: add support for Fedora based distro
parent
7d6fe9fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
9 deletions
+36
-9
i586-fix.sh
prescription.d/i586-fix.sh
+36
-9
No files found.
prescription.d/i586-fix.sh
View file @
3703b101
...
...
@@ -2,16 +2,11 @@
[
"
$1
"
!=
"--run"
]
&&
echo
"Fix missed 32 bit package modules on 64 bit system"
&&
exit
vendor
=
"
$(
$DISTRVENDOR
-s
)
"
;
[
"
$vendor
"
=
"alt"
]
||
{
echo
"Only ALT distros is supported for now"
;
exit
1
;
}
[
"
$(
epm print info
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
[
"
$(
$DISTRVENDOR
-a
)
"
!=
"x86_64"
]
&&
echo
"Only x86_64 is supported"
&&
exit
1
get_list_alt
()
{
LIST
=
''
# copied from
echo
echo
"Checking for installed modules... "
for
i
in
glibc-nss glibc-gconv-modules
\
sssd-client
\
vulkan-amdgpu libvulkan1
\
...
...
@@ -20,7 +15,39 @@ for i in glibc-nss glibc-gconv-modules \
do
epm
--quiet
installed
$i
&&
LIST
=
"
$LIST
i586-
$i
"
done
}
get_list_fedora
()
{
for
i
in
\
sssd-client
\
mesa-vulkan-drivers mesa-dri-drivers vulkan-loader
do
epm
--quiet
installed
$i
&&
LIST
=
"
$LIST
$i
.i686"
done
}
vendor
=
"
$(
epm print info
-s
)
"
LIST
=
''
echo
echo
"Installing all appropiate i586-* packages ..."
echo
"Checking for installed packages ... "
case
"
$vendor
"
in
"alt"
)
get_list_alt
;;
"fedora"
|
"centos"
|
"redos"
)
get_list_fedora
;;
*
)
info
"Unsupported
$(
epm print info
-e
)
system. Just skipping the operation."
exit
;;
esac
echo
echo
"Installing all appropiate 32 bit packages ..."
epm
install
$LIST
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment