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
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
Ximper Linux
mkimage-profiles
Commits
4918019b
Commit
4918019b
authored
Jul 15, 2013
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tar2fs: use -s Luke
Really no need to test and sleep when there's sync mode.
parent
0cb540ac
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
tar2fs
bin/tar2fs
+1
-6
No files found.
bin/tar2fs
View file @
4918019b
...
...
@@ -157,14 +157,9 @@ fi
# not ROOTSIZEM but "the rest"; somewhat non-trivial arithmetics lurk in parted
mkpart
kpartx
-a
"
$LOOPDEV
"
kpartx
-a
-s
"
$LOOPDEV
"
LOOPROOT
=
"/dev/mapper/
$(
basename
"
$LOOPDEV
"
)
p
$ROOTPART
"
# might take a tiny bit of time to actually appear
for
i
in
`
seq
10
`
;
do
[
-b
"
$LOOPROOT
"
]
&&
break
||
sleep
0.1
done
mkfs.
"
$ROOTFSTYPE
"
"
$LOOPROOT
"
if
[
-n
"
$BOOTPART
"
]
;
then
...
...
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