Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
slapos
Commits
b77f1c8a
Commit
b77f1c8a
authored
Oct 19, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nayuos: cleaning of the software and instance
configuration files
parent
5ee58d42
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
47 deletions
+23
-47
software/nayuos/instance.cfg
software/nayuos/instance.cfg
+15
-13
software/nayuos/software.cfg
software/nayuos/software.cfg
+8
-34
No files found.
software/nayuos/instance.cfg
View file @
b77f1c8a
...
@@ -5,7 +5,7 @@ parts =
...
@@ -5,7 +5,7 @@ parts =
template-sudo-wrapper
template-sudo-wrapper
template-cros-sdk-wrapper
template-cros-sdk-wrapper
#
eggs given by software.cfg
#
standard declaration of eggs directories
eggs-directory = {{ eggs_directory }}
eggs-directory = {{ eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
...
@@ -16,6 +16,7 @@ develop-eggs-directory = {{ develop_eggs_directory }}
...
@@ -16,6 +16,7 @@ develop-eggs-directory = {{ develop_eggs_directory }}
recipe = slapos.recipe.build:gitclone
recipe = slapos.recipe.build:gitclone
repository = https://chromium.googlesource.com/chromium/tools/depot_tools.git
repository = https://chromium.googlesource.com/chromium/tools/depot_tools.git
branch = master
branch = master
git-executable = {{ git_path }}/git
[customize-path]
[customize-path]
# add depot tools directory (for cros_sdk binary among others) and git directory to the path
# add depot tools directory (for cros_sdk binary among others) and git directory to the path
...
@@ -26,6 +27,7 @@ command =
...
@@ -26,6 +27,7 @@ command =
recipe = slapos.recipe.build:gitclone
recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/nexedi/nayuos-ebuilds.git
repository = https://lab.nexedi.com/nexedi/nayuos-ebuilds.git
branch = master
branch = master
git-executable = {{ git_path }}/git
############################################################################################
############################################################################################
...
...
software/nayuos/software.cfg
View file @
b77f1c8a
...
@@ -6,28 +6,10 @@ extends =
...
@@ -6,28 +6,10 @@ extends =
parts +=
parts +=
# use stack/slapos.cfg
# use stack/slapos.cfg
slapos-cookbook
slapos-cookbook
verify-packages-exist-on-host
template-instance
template-instance
install-eggs-for-the-instance
#add eggs needed by the instance
find-links +=
https://pypi.python.org/packages/source/s/slapos.recipe.build/slapos.recipe.build-0.21.tar.gz
https://pypi.python.org/packages/source/p/plone.recipe.command/plone.recipe.command-1.1.zip
versions = versions
[versions]
[versions]
plone.recipe.command = 1.1
slapos.recipe.template = 2.9
slapos.recipe.template = 2.8
slapos.recipe.build = 0.21
[verify-packages-exist-on-host]
recipe = plone.recipe.command
stop-on-error = true
# run the same command when installing and on updates
update-command = ${:command}
command = sudo -V
[template-instance]
[template-instance]
# create the instance.cfg file in the buildout directory
# create the instance.cfg file in the buildout directory
...
@@ -35,24 +17,16 @@ command = sudo -V
...
@@ -35,24 +17,16 @@ command = sudo -V
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg
template = ${:_profile_base_location_}/instance.cfg
rendered = ${buildout:directory}/instance.cfg
rendered = ${buildout:directory}/instance.cfg
md5sum =
beae7b081543219fdf4f402681fa8af5
md5sum =
0d26dd9f3f30504409142c6f701a9221
mode = 0644
mode = 0644
scripts_dir = ${:_profile_base_location_}/scripts
scripts_dir = ${:_profile_base_location_}/scripts
logo_dir = ${:_profile_base_location_}/logo
logo_dir = ${:_profile_base_location_}/logo
curl_path = ${curl:location}/bin
curl_path = ${curl:location}/bin
git_path = ${git:location}/bin
git_path = ${git:location}/bin
context =
context =
# for access to the eggs from the instance
key eggs_directory buildout:eggs-directory
key develop_eggs_directory buildout:develop-eggs-directory
key scripts_dir :scripts_dir
key scripts_dir :scripts_dir
key logo_dir :logo_dir
key logo_dir :logo_dir
key curl_path :curl_path
key curl_path :curl_path
key git_path :git_path
key git_path :git_path
key eggs_directory buildout:eggs-directory
[install-eggs-for-the-instance]
key develop_eggs_directory buildout:develop-eggs-directory
# after installation of the eggs, the recipes
\ No newline at end of file
# will be available (added to sys.path)
recipe = zc.recipe.egg
eggs = slapos.recipe.build
plone.recipe.command
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