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
d638d07d
Commit
d638d07d
authored
Mar 28, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-repack-rpm: use fakeroot when is not root (to avoid alien warning about root)
parent
ad9e3fa6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
epm-repack-rpm
bin/epm-repack-rpm
+8
-3
No files found.
bin/epm-repack-rpm
View file @
d638d07d
...
...
@@ -131,6 +131,7 @@ __epm_repack_to_rpm()
# Note: install epm-repack for static (package based) dependencies
assure_exists alien
||
fatal
assure_exists fakeroot
# will set RPMBUILD
__try_install_eepm_rpmbuild
...
...
@@ -184,11 +185,15 @@ __epm_repack_to_rpm()
__prepare_source_package
"
$(
realpath
$alpkg
)
"
cd
$tmpbuilddir
/
||
fatal
local
fakeroot
fakeroot
=
''
!
is_root
&&
is_command fakeroot
&&
fakeroot
=
'fakeroot'
if
[
-n
"
$verbose
"
]
;
then
docmd alien
--generate
--to-rpm
$verbose
$scripts
"../
$alpkg
"
||
fatal
docmd
$fakeroot
alien
--generate
--to-rpm
$verbose
$scripts
"../
$alpkg
"
||
fatal
else
showcmd alien
--generate
--to-rpm
$scripts
"../
$alpkg
"
a
=
''
alien
--generate
--to-rpm
$scripts
"../
$alpkg
"
>
/dev/null
||
fatal
showcmd
$fakeroot
alien
--generate
--to-rpm
$scripts
"../
$alpkg
"
a
=
''
$fakeroot
alien
--generate
--to-rpm
$scripts
"../
$alpkg
"
>
/dev/null
||
fatal
fi
# remove all empty dirs (hack against broken dpkg with LF in the end of line) (hack for linux_pantum.deb)
...
...
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