Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
package-helpers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kevin
package-helpers
Commits
07676c0d
Commit
07676c0d
authored
12 years ago
by
Ruben Rodriguez
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into toutatis
parents
713cccc9
e953895a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
makepackage
+2
-6
2 additions, 6 deletions
makepackage
with
2 additions
and
6 deletions
makepackage
+
2
−
6
View file @
07676c0d
...
...
@@ -188,16 +188,12 @@ fi
}
tmpumount
(){
[
$MEM
-lt
16000000
]
&&
return
echo
$PACKAGE
|
grep
-q
"linux"
&&
return
umount jails/
$UPSTREAM
-
$ARCH
/tmp
&&
return
fuser
-k
-m
jails/
$UPSTREAM
-
$ARCH
/tmp
umount jails/
$UPSTREAM
-
$ARCH
/tmp
&&
return
grep
$PWD
/jails/
$UPSTREAM
-
$ARCH
/tmp /proc/mounts
&&
return
umount
$PWD
/jails/
$UPSTREAM
-
$ARCH
/tmp
&&
return
echo
ERROR: could not umount tmpfs at jails/
$UPSTREAM
-
$ARCH
/tmp
exit
1
}
tmpmount
(){
mount|grep tmpfs|grep jails
-q
&&
return
[
$MEM
-lt
16000000
]
&&
return
echo
$PACKAGE
|
grep
-q
"linux"
&&
return
grep
jails/
$UPSTREAM
-
$ARCH
/tmp /proc/mounts
-q
&&
tmpumount
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment