Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
3d2e8340
Commit
3d2e8340
authored
Jul 10, 2014
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: trivial: add -f to 'rm' to prevent a warning
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
471c1eef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wrs_build_wraprootfs
build/scripts/wrs_build_wraprootfs
+2
-2
No files found.
build/scripts/wrs_build_wraprootfs
View file @
3d2e8340
...
...
@@ -40,7 +40,7 @@ cp -r $WRS_OUTPUT_DIR/images/lib/* $TMPFS/lib
rm -f
$TMPFS
/etc/init.d/*
cp -r
$rootfs_override
/*
$TMPFS
# remove leftovers from on-going edits in rootfs_override
find
$TMPFS
-name '*~' | xargs rm
find
$TMPFS
-name '*~' | xargs rm
-f
rm -rf
$TMPFS
/dev
(cd
$TMPFS
&& tar xzf
$DEVTAR
)
...
...
@@ -51,7 +51,7 @@ if [ ! -z "$CONFIG_NTP_SERVER" ]; then
fi
if [ ! -z "
$CONFIG_DNS_SERVER
" ]; then
rm
$TMPFS
/etc/resolv.conf
rm
-f
$TMPFS
/etc/resolv.conf
echo "nameserver
$CONFIG_DNS_SERVER
" >
$TMPFS
/etc/resolv.conf
if [ ! -z "
$CONFIG_DNS_DOMAIN
" ]; then
echo "domain
$CONFIG_DNS_DOMAIN
" >>
$TMPFS
/etc/resolv.conf
...
...
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