Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel393
Commits
81cdcd87
Commit
81cdcd87
authored
Jul 07, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.regenerate confs 2.comments for systemd config
parent
783a15a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
7 deletions
+17
-7
setup.sh
setup.sh
+17
-7
No files found.
setup.sh
View file @
81cdcd87
...
@@ -192,16 +192,23 @@ echo " u-boot" >> $CONF_NOTES
...
@@ -192,16 +192,23 @@ echo " u-boot" >> $CONF_NOTES
echo
" device-tree"
>>
$CONF_NOTES
echo
" device-tree"
>>
$CONF_NOTES
echo
" linux-xlnx"
>>
$CONF_NOTES
echo
" linux-xlnx"
>>
$CONF_NOTES
echo
" core-image-elphel393"
>>
$CONF_NOTES
echo
" core-image-elphel393"
>>
$CONF_NOTES
echo
"Extra targets (somewhat useful for development) are:"
>>
$CONF_NOTES
echo
" update393 -c pull -f"
>>
$CONF_NOTES
echo
" update393 -c generate -f"
>>
$CONF_NOTES
echo
""
>>
$CONF_NOTES
echo
""
>>
$CONF_NOTES
CURRENT_PATH2
=
$(
dirname
$(
readlink
-f
"
$0
"
))
CURRENT_PATH2
=
$(
dirname
$(
readlink
-f
"
$0
"
))
echo
"CHECKPOINT "
$CURRENT_PATH2
echo
"CHECKPOINT "
$CURRENT_PATH2
.
./oe-init-build-env build
BBLAYERS_CONF
=
"conf/bblayers.conf"
BBLAYERS_CONF
=
"conf/bblayers.conf"
LOCAL_CONF
=
"conf/local.conf"
if
[
-f
build/
$BBLAYERS_CONF
]
;
then
echo
"removing build/
$BBLAYERS_CONF
, a new file will be regenerated"
rm
build/
$BBLAYERS_CONF
fi
if
[
-f
build/
$LOCAL_CONF
]
;
then
echo
"removing build/
$LOCAL_CONF
, a new file will be regenerated"
rm
build/
$LOCAL_CONF
fi
echo
""
.
./oe-init-build-env build
echo
"BBLAYERS =
\"
\\
"
>>
$BBLAYERS_CONF
echo
"BBLAYERS =
\"
\\
"
>>
$BBLAYERS_CONF
echo
"
$CURRENT_PATH2
/meta
\\
"
>>
$BBLAYERS_CONF
echo
"
$CURRENT_PATH2
/meta
\\
"
>>
$BBLAYERS_CONF
...
@@ -216,8 +223,11 @@ echo " $CURRENT_PATH1/$E393_METADIR/$MOEROOT/meta-networking \\" >> $BBLAYERS_C
...
@@ -216,8 +223,11 @@ echo " $CURRENT_PATH1/$E393_METADIR/$MOEROOT/meta-networking \\" >> $BBLAYERS_C
echo
"
$CURRENT_PATH1
/
$E393_METADIR
/
$MOEROOT
/meta-webserver
\\
"
>>
$BBLAYERS_CONF
echo
"
$CURRENT_PATH1
/
$E393_METADIR
/
$MOEROOT
/meta-webserver
\\
"
>>
$BBLAYERS_CONF
echo
"
\"
"
>>
$BBLAYERS_CONF
echo
"
\"
"
>>
$BBLAYERS_CONF
LOCAL_CONF
=
"conf/local.conf"
#distro features: systemd
#echo "DISTRO_FEATURES_append = \" systemd\"" >> $LOCAL_CONF
#echo "VIRTUAL-RUNTIME_init_manager = \"systemd\"" >> $LOCAL_CONF
#echo "DISTRO_FEATURES_BACKFILL_CONSIDERED = \"sysvinit\"" >> $LOCAL_CONF
#echo "VIRTUAL-RUNTIME_initscripts = \"\"" >> $LOCAL_CONF
# change the MACHINE
# change the MACHINE
echo
"MACHINE ?=
\"
elphel393
\"
"
>>
$LOCAL_CONF
echo
"MACHINE ?=
\"
elphel393
\"
"
>>
$LOCAL_CONF
# Elphel's MIRROR website, \n is important
# Elphel's MIRROR website, \n is important
...
...
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