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
2d7654cc
Commit
2d7654cc
authored
Jul 09, 2012
by
Benoit Rat
Committed by
Alessandro Rubini
Jul 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: correct temp directory and link error in wrapsystem
parent
cead9171
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wrs_build_wraprootfs
build/scripts/wrs_build_wraprootfs
+3
-3
No files found.
build/scripts/wrs_build_wraprootfs
View file @
2d7654cc
...
...
@@ -19,7 +19,7 @@ wrs_echo "--- Wrapping filesystem"
DEVTAR
=
"
$WRS_BASE_DIR
/../userspace/devices.tar.gz"
TMPFS
=
$(
mktemp
/tmp/rootfs.XXXXXX
)
TMPFS
=
$(
mktemp
-d
/tmp/rootfs.XXXXXX
)
rootfs_vanilla
=
"
$WRS_OUTPUT_DIR
/build/buildroot-2011.11/output/target"
rootfs_override
=
"
$WRS_BASE_DIR
/../userspace/rootfs_override"
...
...
@@ -30,7 +30,6 @@ ROOTFS_IMAGE_TGZ="$WRS_OUTPUT_DIR/images/wrs-image.tar.gz"
ROOTFS_IMAGE_JFFS2
=
"
$WRS_OUTPUT_DIR
/images/wrs-image.jffs2"
cat
>
$TMPSCRIPT
<<
EOF
rm -r -f
$TMPFS
mkdir -p
$TMPFS
/wr
cp -r
$rootfs_vanilla
/*
$TMPFS
...
...
@@ -41,7 +40,7 @@ cp -r $rootfs_override/* $TMPFS
rm -rf
$TMPFS
/dev
(cd
$TMPFS
&& tar xzf
$DEVTAR
)
(cd
$TMPFS
&& ln -s sbin/init .)
(cd
$TMPFS
&& ln -
f
s sbin/init .)
mkdir -p
$TMPFS
/root/.ssh
cat
$HOME
/.ssh/id_?sa.pub >>
$TMPFS
/root/.ssh/authorized_keys
...
...
@@ -62,3 +61,4 @@ EOF
fakeroot bash
$X
$TMPSCRIPT
rm
-rf
$TMPFS
rm
-rf
$TMPSCRIPT
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