Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos-caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Guillaume Hervier
slapos-caddy
Commits
1d1f0c1f
Commit
1d1f0c1f
authored
Dec 28, 2015
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nayuos: Fix final images location + changing checksums + fix keep_cache option.
parent
80eae80e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
instance.cfg
instance.cfg
+1
-1
scripts/cros_full_build.in
scripts/cros_full_build.in
+2
-2
software.cfg
software.cfg
+1
-1
No files found.
instance.cfg
View file @
1d1f0c1f
...
...
@@ -48,7 +48,7 @@ logo_dir = {{ logo_dir }}
recipe = slapos.recipe.template:jinja2
template = {{ scripts_dir }}/cros_full_build.in
rendered = ${directory:run}/cros_full_build
md5sum =
e000e4187afcff0fa369904d944bbf78
md5sum =
ce2c5c5caf51ff5311f238538a52da40
mode = 0770
context =
# for access to the eggs from the instance
...
...
scripts/cros_full_build.in
View file @
1d1f0c1f
...
...
@@ -68,7 +68,7 @@ sed -i '/openssh-server-init/ d' ${BASE_CHROMEOS_DEV_ROOT_EBUILD}
######################################## Build ##############################################
BOARDS
=
"{{ boards_list }}"
KEEP_CACHE
=
"{{ keep_cache }}"
KEEP_CACHE
=
"{{ keep_cache }}"
for
board
in
${
BOARDS
}
;
do
echo
${
board
}
if
[
${
board
}
==
daisy
]
;
then
...
...
@@ -127,7 +127,7 @@ done
####################################### Post build ##########################################
# keep only the substring between - as current release
RELEASE
=
$(
echo
${
BRANCH
}
|
cut
-d-
-f2
)
DIR_IMAGE_LOCATION
={{
cros_location
}}
/
{{
branch
}}
/
images/
${
RELEASE
}
/
$(
date
+
'%F'
)
DIR_IMAGE_LOCATION
={{
cros_location
}}
/images/
${
RELEASE
}
/
$(
date
+
'%F'
)
install
${
DIR_IMAGE_LOCATION
}
-d
mv
{{
cros_location
}}
/
{{
branch
}}
/src/scripts/
*
.img
${
DIR_IMAGE_LOCATION
}
...
...
software.cfg
View file @
1d1f0c1f
...
...
@@ -35,7 +35,7 @@ command = sudo -V
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg
rendered = ${buildout:directory}/instance.cfg
md5sum =
c4f1b8c807051d2fd343ebfa099776ca
md5sum =
e8de561564b53357e0932b3f017c6ece
mode = 0644
scripts_dir = ${:_profile_base_location_}/scripts
ebuilds_dir = ${:_profile_base_location_}/custom_ebuilds
...
...
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