Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
alpine
mkinitfs
Commits
cfeca114
Commit
cfeca114
authored
Dec 18, 2015
by
Timo Teräs
Browse files
mkinitfs: add --quiet to cpio calls
parent
d9a8fe9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
mkinitfs.in
View file @
cfeca114
...
...
@@ -46,7 +46,7 @@ initfs_base() {
$(
feature_files
"
$basedir
"
files
)
\
\
|
sed
-e
"s|^
$basedir
||"
|
sort
-u
\
| cpio
-pdm
"
$tmpdir
"
||
return
1
| cpio
--quiet
-pdm
"
$tmpdir
"
||
return
1
# copy init
cd
"
$startdir
"
...
...
@@ -112,7 +112,7 @@ initfs_kmods() {
cd
"
${
basedir
}
"
for
file
in
$(
find_kmods
)
;
do
echo
"
${
file
#/
}
"
done
|
sort
-u
| cpio
-pdm
"
$tmpdir
"
||
return
1
done
|
sort
-u
| cpio
--quiet
-pdm
"
$tmpdir
"
||
return
1
for
file
in
modules.order modules.builtin
;
do
if
[
-f
"
$kerneldir
"
/
$file
]
;
then
cp
"
$kerneldir
"
/
$file
"
$tmpdir
"
/lib/modules/
$kernel
/
...
...
@@ -143,7 +143,7 @@ initfs_cpio() {
fi
rm
-f
$outfile
umask
0022
(
cd
"
$tmpdir
"
&&
find
.
| cpio
-o
-H
newc |
gzip
)
>
$outfile
(
cd
"
$tmpdir
"
&&
find
.
| cpio
--quiet
-o
-H
newc |
gzip
)
>
$outfile
}
usage
()
{
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment