Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tapasco
tapasco
Commits
6c8a19dc
Commit
6c8a19dc
authored
Nov 10, 2017
by
Jens Korinth
Browse files
generate_boot_image: Fix /etc/hosts file
parent
695a461d
Changes
1
Hide whitespace changes
Inline
Side-by-side
boot/generate_boot_image.sh
View file @
6c8a19dc
...
...
@@ -470,7 +470,7 @@ copy_files_to_root () {
dusudo sh
-c
"echo
$BOARD
>
$TO
/etc/hostname"
||
echo
>
&2
"
$LINENO
: WARNING: could not set hostname"
echo
"Updating /etc/hosts ..."
dusudo
sed
-i
"s/pynq/
$BOARD
/g"
$TO
/etc/hosts
||
dusudo
sh
-c
"
sed -i "
s/pynq/
$BOARD
/g
"
$TO
/etc/hosts
"
||
echo
>
&2
"
$LINENO
: WARNING: could not update /etc/hosts"
echo
"Setting env vars ... "
dusudo sh
-c
"echo export LINUX_HOME=/linux-xlnx >>
$TO
/home/xilinx/.bashrc"
||
...
...
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