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
972701a0
Commit
972701a0
authored
Jul 25, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack generic.sh: do fix_cpio_bug_links (workaround for ALT bug 42189)
parent
ae05f97f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
common.sh
repack.d/common.sh
+12
-0
generic.sh
repack.d/generic.sh
+1
-0
No files found.
repack.d/common.sh
View file @
972701a0
...
...
@@ -386,6 +386,18 @@ set_autoprov()
fi
}
# https://bugzilla.altlinux.org/42189
fix_cpio_bug_links
()
{
local
rlink
find
-type
l |
while
read link
;
do
rlink
=
"
$(
readlink
"
$link
"
)
"
echo
"
$rlink
"
|
grep
-E
"^(etc|var|opt|usr)/"
||
continue
echo
"Fixing cpio ALT bug 42189 in
$link
<-
$rlink
"
>
&2
rm
-v
$link
ln
-sv
/
$rlink
$link
done
}
# by default check in $PRODUCTDIR
use_system_xdg
()
...
...
repack.d/generic.sh
View file @
972701a0
...
...
@@ -96,3 +96,4 @@ else
subst
"s|^
\(
(Converted from a
\)
\(
.*
\)
\(
package.*
\)
|(Repacked from binary
\2
package with
$(
epm
--short
--version
)
)
\n\1
\2
\3
|"
$SPEC
fi
fix_cpio_bug_links
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