Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
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
korinf
etersoft-build-utils
Commits
bd17f7d0
Commit
bd17f7d0
authored
May 20, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
functions/repl: add some workarounds
parent
53af3a3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
repl
share/eterbuild/functions/repl
+7
-5
No files found.
share/eterbuild/functions/repl
View file @
bd17f7d0
...
@@ -50,13 +50,15 @@ fix_arch_requires()
...
@@ -50,13 +50,15 @@ fix_arch_requires()
rhas
"
$GREP
"
"-devel$"
&&
!
rhas
"
$i
"
":i386$"
&&
!
rhas
"
$i
"
":amd64$"
&&
echo
"
$i
:i386"
&&
continue
rhas
"
$GREP
"
"-devel$"
&&
!
rhas
"
$i
"
":i386$"
&&
!
rhas
"
$i
"
":amd64$"
&&
echo
"
$i
:i386"
&&
continue
echo
"
$i
"
echo
"
$i
"
done
| xargs
-n
1000
echo
done
| xargs
-n
1000
echo
elif
[
"
$DISTRNAME
"
=
"AstraLinux"
]
;
then
elif
[
"
$DISTRNAME
"
=
"AstraLinux"
]
||[
"
$DISTRNAME
"
=
"AstraLinuxCE"
]
||
[
"
$DISTRNAME
"
=
"AstraLinuxSE"
]
;
then
for
i
in
$*
;
do
for
i
in
$*
;
do
rhas
"
$i
"
"^ia32-libs$"
&&
continue
rhas
"
$i
"
"^ia32-libs$"
&&
continue
rhas
"
$i
"
"^libtool$"
&&
continue
rhas
"
$i
"
"^libtool$"
&&
continue
# AstraLinux have no :i386 devel packages (see https://bugs.etersoft.ru/show_bug.cgi?id=12955)
rhas
"
$i
"
"-dev$"
&&
echo
"
$i
"
&&
continue
rhas
"
$i
"
"^lib"
&&
!
rhas
"
$i
"
":i386$"
&&
!
rhas
"
$i
"
":amd64$"
&&
echo
"
$i
:i386"
&&
continue
rhas
"
$i
"
"^lib"
&&
!
rhas
"
$i
"
":i386$"
&&
!
rhas
"
$i
"
":amd64$"
&&
echo
"
$i
:i386"
&&
continue
rhas
"
$i
"
"-devel$"
&&
!
rhas
"
$i
"
":i386$"
&&
!
rhas
"
$i
"
":amd64$"
&&
echo
"
$i
:i386"
&&
continue
# AstraLinux have no :i386 packages (see https://bugs.etersoft.ru/show_bug.cgi?id=12955)
#
! rhas "$i" ":i386$" && ! rhas "$i" ":amd64$" && echo "$i:any
" && continue
#
rhas "$i" "-devel$" && ! rhas "$i" ":i386$" && ! rhas "$i" ":amd64$" && echo "$i:i386
" && continue
echo
"
$i
"
echo
"
$i
"
done
| xargs
-n
1000
echo
done
| xargs
-n
1000
echo
# TODO
# TODO
...
@@ -94,7 +96,7 @@ fix_arch_requires()
...
@@ -94,7 +96,7 @@ fix_arch_requires()
fi
fi
else
else
case
"
$DISTRNAME
"
in
case
"
$DISTRNAME
"
in
"Mandriva"
|
"ROSA"
)
"Mandriva"
|
"ROSA"
|
"ROSAFresh"
|
"Mageia"
)
if
[
$TARGETARCH
=
"x86_64"
]
;
then
if
[
$TARGETARCH
=
"x86_64"
]
;
then
for
i
in
$*
;
do
for
i
in
$*
;
do
rhas
"
$GREP
"
"^libtool$"
&&
echo
"
$i
"
&&
continue
rhas
"
$GREP
"
"^libtool$"
&&
echo
"
$i
"
&&
continue
...
@@ -122,7 +124,7 @@ hack_distr_requires()
...
@@ -122,7 +124,7 @@ hack_distr_requires()
esac
esac
case
"
$DISTRNAME
"
in
case
"
$DISTRNAME
"
in
"Mandriva"
|
"ROSA"
)
"Mandriva"
|
"ROSA"
|
"ROSAFresh"
|
"Mageia"
)
if
[
$TARGETARCH
=
"x86_64"
]
;
then
if
[
$TARGETARCH
=
"x86_64"
]
;
then
rhas
"
$GREP
"
"^libtool$"
&&
echo
"
$GREP
"
&&
return
rhas
"
$GREP
"
"^libtool$"
&&
echo
"
$GREP
"
&&
return
echo
"
$GREP
"
|
sed
-e
"s|^lib
\(
[^6]
\)
|lib64
\1
|g"
echo
"
$GREP
"
|
sed
-e
"s|^lib
\(
[^6]
\)
|lib64
\1
|g"
...
...
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