Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Testing
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Testing
Commits
ac39fabf
Commit
ac39fabf
authored
Sep 06, 2012
by
Benoit Rat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw: improve instalation script
parent
e2e591c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
install.sh
sw/install.sh
+7
-4
No files found.
sw/install.sh
View file @
ac39fabf
...
...
@@ -19,13 +19,16 @@ if [ -d ${NFSROOT} ]; then
echo
"--- Installing in
${
NFSROOT
}
"
mkdir
-p
${
NFSROOT
}
/alpha-pts/
mkdir
-p
${
NFSROOT
}
/alpha-pts/
firmwares/
rm
${
NFSROOT
}
/alpha-pts/
*
.sh &> /dev/null
rm
${
NFSROOT
}
/alpha-pts/bin/
*
&> /dev/null
cp
-Rvf
${
SCRIPTDIR
}
/alpha-pts/
${
NFSROOT
}
/
echo
""
echo
"
...
"
cp
-v
${
SCRIPTDIR
}
/S70apts
${
NFSROOT
}
/etc/init.d/
chmod
-x
${
NFSROOT
}
/etc/init.d/S60wr
echo
"Reflashing firmware..."
cp
-v
/tftpboot/zImage
${
NFSROOT
}
/alpha-pts/firmwares/
cp
-v
/tftpboot/wrs-image.jffs2.img
${
NFSROOT
}
/alpha-pts/firmwares/
sudo chmod
-x
${
NFSROOT
}
/etc/init.d/S60wr
exit
0
else
...
...
@@ -40,7 +43,7 @@ else
ROOTFS_IMAGE_CPIO
=
"
$WRS_OUTPUT_DIR
/images/wrs-image_test.cpio.gz"
ROOTFS_IMAGE_TGZ
=
"
$WRS_OUTPUT_DIR
/images/wrs-image_test.tar.gz"
ROOTFS_IMAGE_JFFS2
=
"
$WRS_OUTPUT_DIR
/images/wrs-image_test.jffs2"
ROOTFS_IMAGE_JFFS2
=
"
$WRS_OUTPUT_DIR
/images/wrs-image_test.jffs2
.img
"
TMPFS
=
$(
mktemp
-d
/tmp/rootfs.XXXXXX
)
TMPSCRIPT
=
$(
mktemp
/tmp/rootfs-script.XXXXXX
)
...
...
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