Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
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
Anton Palgunov
mkimage-profiles
Commits
3d4ba223
Commit
3d4ba223
authored
Oct 23, 2020
by
Anton V. Boyarshinov
Committed by
Anton Midyukov
Oct 26, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename all RPMs to canonical names before genbasedir
parent
f33644ed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
01-genbasedir
features.in/repo/scripts.d/01-genbasedir
+7
-1
No files found.
features.in/repo/scripts.d/01-genbasedir
View file @
3d4ba223
#!/bin/sh -e
f
u
#!/bin/sh -eu
PREFIX
=
ALTLinux
cd
"
$WORKDIR
/
$PREFIX
"
...
...
@@ -9,6 +9,12 @@ COMPS="$(find -mindepth 1 -maxdepth 1 -type d -name 'RPMS.*' -printf '%f\n' |
[
-z
"
$GLOBAL_VERBOSE
"
]
||
echo
"** COMPS=
$COMPS
"
>
&2
[
-n
"
$COMPS
"
]
||
exit
1
for
comp
in
$COMPS
;
do
for
f
in
RPMS.
$comp
/
*
rpm
;
do
[
"
$f
"
=
"RPMS.
$comp
/
$(
rpm
-qp
$f
)
.rpm"
]
||
mv
$f
RPMS.
$comp
/
$(
rpm
-qp
$f
)
.rpm
done
done
# NB: bz2 still needed for apt-cdrom add to work
genbasedir
\
--topdir
=
"
$WORKDIR
"
\
...
...
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