Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alain Takoudjou
slapos.package
Commits
78b366b8
Commit
78b366b8
authored
Sep 24, 2012
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated documentation
parent
0a92b307
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
11 deletions
+14
-11
README
README
+14
-11
No files found.
README
View file @
78b366b8
...
@@ -22,10 +22,9 @@ Directory Organisation
...
@@ -22,10 +22,9 @@ Directory Organisation
- prepare_slapos_build.sh : This is the script you have to run to prepare the packet.
- prepare_slapos_build.sh : This is the script you have to run to prepare the packet.
You can choose the version you want to build in it.
You can choose the version you want to build in it.
- ./home:VIFIBnexedi/SlapOS-Node : This is the directory for OBS. It is the one used to generate package so far.
- ./home:VIFIBnexedi:branches:home:VIFIBnexedi/SlapOS-Node : This is the directory for OBS.
It is the one used to generate unreleased package and testing it.
If you have/want to use another directory, update its path in prepare_slapos_build.sh
If you have/want to use another directory, update its path in prepare_slapos_build.sh
- slapos-*version : Used to register current version of packet.
Avoid to rebuild network-cache if you just change packaging configuration files.
- templates/ : Contain templates to build the package.
- templates/ : Contain templates to build the package.
- debian/ : contain configuration files for .deb packaging
- debian/ : contain configuration files for .deb packaging
- Makefile.in : Makefile to build slapos
- Makefile.in : Makefile to build slapos
...
@@ -35,8 +34,9 @@ Directory Organisation
...
@@ -35,8 +34,9 @@ Directory Organisation
- slapos-node/ : Template to build package
- slapos-node/ : Template to build package
- Makefile : Makefile to build slapos and add files for package
- Makefile : Makefile to build slapos and add files for package
- slapos-start : shell script that will be run on startup (called by slapos-node daemon)
- slapos-start : shell script that will be run on startup (called by slapos-node daemon)
- template : template files for package (cron.d, service)
- slaptest : python script to check user configuration and cron file
- slapos : to build slapos. Contain buildout.cfg.in
- template/ : template files for package (cron.d, service)
- slapos/ : to build slapos. Contain buildout.cfg.in
preparing the package
preparing the package
...
@@ -44,8 +44,11 @@ preparing the package
...
@@ -44,8 +44,11 @@ preparing the package
First make sure all files are ready and you have all necessary packages installed.
First make sure all files are ready and you have all necessary packages installed.
SlapOS is build using buildout and need an internet connection to fetch all elements.
SlapOS is build using buildout and need an internet connection to fetch all elements.
On obs package are build on virtual machines without internet acces.
On obs package are build on virtual machines without internet acces
s
.
prepare_slapos_build.sh will compile slapos on your computer and build a network-cache thanks to offline.sh script.
prepare_slapos_build.sh will compile slapos on your computer and build a network-cache thanks to offline.sh script.
At the end it remove slapos installation and only keep cache.
At the end it remove slapos installation and only keep cache.
It makes a tarball out of it to be used by obs.
It makes a tarball out of it to be used by obs.
It then fetch packaging configuration from templates directory. Everything is then commit to obs thanks to osc.
It then fetch packaging configuration from templates directory. Everything is then commit to obs thanks to osc.
So to build package just run:
# bash prepare_slapos_build.sh
\ No newline at end of file
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