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
250ef676
Commit
250ef676
authored
Jan 13, 2009
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable mount /proc in hsh-shell
parent
4b67d25f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
loginhsh
bin/loginhsh
+3
-4
No files found.
bin/loginhsh
View file @
250ef676
...
...
@@ -87,7 +87,7 @@ if [ ! -d $HASHERDIR -o "$INITIALIZE" = "1" ]; then
mkdir
-p
$HASHERDIR
&&
$HSH
--initroot-only
$HASHERDIR
||
fatal
"mkdir"
fi
HASHERARG
=
"
$HASHERARG
--mountpoints=/proc"
SHELLHASHERARG
=
"
--mountpoints=/proc"
check_locking
...
...
@@ -100,13 +100,12 @@ if [ -n "$TESTMODE" ] ; then
else
UTILPKG
=
"
$UTILPKG
etersoft-build-utils"
fi
$HSH
-install
$HASHERDIR
$UTILPKG
$LISTRPMARGS
$LISTNAMES
||
fatal
"Error with install"
$HSH
-install
$HASHERDIR
--wait-lock
$UTILPKG
$LISTRPMARGS
$LISTNAMES
||
fatal
"Error with install"
echog
"You are in hasher shell"
$HSH
-shell
$HASHERDIR
-Y
--shell
$HSH
-shell
$HASHERDIR
$SHELLHASHERARG
-Y
--shell
if
[
-n
"
$TESTMODE
"
]
;
then
echo
"Remove package for test preun scripts"
$HSH
-run
--rooter
$HASHERDIR
--
rpm
-e
$(
drop_pkg_extensions
$LISTNAMES
)
echo
"Cleanup hasher..."
$HSH
--cleanup-only
$HASHERDIR
fi
# $HASHERARG
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