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
83
Issues
83
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
072667d7
Commit
072667d7
authored
Sep 22, 2014
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: explain how to make an NFS-Root place from official tarball
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
3a2e2679
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
3 deletions
+22
-3
wrs-build.in
doc/wrs-build.in
+22
-3
No files found.
doc/wrs-build.in
View file @
072667d7
...
...
@@ -1045,9 +1045,28 @@ you can add something like the following line to your @file{wrboot} script:
bootargs="$bootargs nfsroot=/opt/root/wrs-3"
@end example
If you use static IP addresses, please note that you should fix
@file{/etc/init.d/S40network} in the filesystem for your switch,
so it doesn'
t
run
the
DHCP
client
.
In order to create an NFS root directory, you should uncompress
@t{wrs-image.tar.gz} that is created at build time. If you use
a released @t{wrs-firmware.tar}, however, you'
ll
have
no
overall
filesystem
for
the
switch
,
and
you
should
rebuild
it
from
two
parts
.
This
is
how
to
create
your
NFS
filesystem
(
please
adapt
for
your
local
pathnames
):
@
example
FW
=/
tftpboot
/
wrs
-
firmware
.
tar
DIR
=/
opt
/
root
/
wrs
-
3
mkdir
-
p
$
DIR
tar
xOf
$
FW
wrs
-
initramfs
.
gz
|
zcat
|
\
(
cd
$
DIR
&&
sudo
cpio
--
make
-
directories
--
extract
)
tar
xOf
$
FW
wrs
-
usr
.
tar
.
gz
|
sudo
tar
xzf
-
-
C
$
DIR
/
usr
@
end
example
The
above
commands
extract
to
@
i
{
stdout
}
the
two
parts
of
the
@
sc
{
wrs
}
filesystem
,
to
then
uncompress
them
to
the
proper
directories
.
The
first
@
i
{
tar
}
pipe
is
less
friendly
because
the
@
i
{
initramfs
}
is
a
compressed
@
i
{
cpio
}
archive
,
and
@
i
{
cpio
}
as
a
command
lacks
automatic
decompression
and
the
@
t
{-
C
}
(
change
directory
)
option
.
@
c
##########################################################################
@
node
The
Individual
Build
Steps
...
...
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