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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
isaak yansane-sisk
slapos
Commits
e3be1151
Commit
e3be1151
authored
Jul 29, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos-windows-installer: fix path
parent
7a1857d7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
34 deletions
+23
-34
software/slapos-windows-installer/instance.cfg.in
software/slapos-windows-installer/instance.cfg.in
+10
-25
software/slapos-windows-installer/software.cfg
software/slapos-windows-installer/software.cfg
+13
-9
No files found.
software/slapos-windows-installer/instance.cfg.in
View file @
e3be1151
[buildout]
[buildout]
parts =
parts =
rootdirectory
basedirectory
slapos-instance
slapos-instance
eggs-directory = ${buildout:eggs-directory}
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true
offline = true
[rootdirectory]
recipe = slapos.cookbook:mkdirectory
etc = $${buildout:directory}/etc
var = $${buildout:directory}/var
srv = $${buildout:directory}/srv
bin = $${buildout:directory}/bin
tmp = $${buildout:directory}/tmp
[basedirectory]
recipe = slapos.cookbook:mkdirectory
log = $${rootdirectory:var}/log
services = $${rootdirectory:etc}/service
scripts = $${rootdirectory:etc}/run
run = $${rootdirectory:var}/run
backup = $${rootdirectory:srv}/backup
promises = $${rootdirectory:etc}/promise
[slapos-instance]
[slapos-instance]
recipe = recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
url = ${buildout:directory}/slapos-0.158.8-windows-all-in-one.exe
# This url is useless
url = /usr/bin/true.exe
configure-command = msiexec.exe
configure-command = msiexec.exe
configure-options = /SILENT
configure-options =
/i ${installer:location}/slapos-windows-all-in-one.exe
TARGETDIR=$${buildout:directory}
/quiet
/log $${buildout:directory}/slapos-windows-installer.log
make-binary = true
make-binary = true
post-install = slapos-configure.sh
post-install =
$${buildout:directory}/cygwin/etc/slapos/scripts/slapos-configure.sh
\ No newline at end of file
software/slapos-windows-installer/software.cfg
View file @
e3be1151
...
@@ -7,36 +7,40 @@ parts =
...
@@ -7,36 +7,40 @@ parts =
setup-cygwin
setup-cygwin
slapos-build-installer
slapos-build-installer
inno-setup
inno-setup
windows-
installer
installer
instance-template
instance-template
[inno-setup]
[inno-setup]
recipe = hexagonit.recipe.download
recipe = hexagonit.recipe.download
url = http://dashingsoft.com/products/slapos/inno-setup.tar.gz
url = http://dashingsoft.com/products/slapos/inno-setup.tar.gz
md5sum = 44620b8619c9cc5b3e262655f0089f05
md5sum = 44620b8619c9cc5b3e262655f0089f05
d
estination = ${buildout:directory}
d
ownload-only = true
[slapos-build-installer]
[slapos-build-installer]
recipe = hexagonit.recipe.download
recipe = hexagonit.recipe.download
url = http://git.erp5.org/gitweb/slapos.package.git/blob_plain/heads/cygwin:/windows/scripts/slapos-build-installer
url = http://git.erp5.org/gitweb/slapos.package.git/blob_plain/heads/cygwin:/windows/scripts/slapos-build-installer
md5sum = 217066b8a5bda72e52d97b04461bd9f1
md5sum = 217066b8a5bda72e52d97b04461bd9f1
destination = ${buildout:directory}/bin
download-only = true
download-only = true
[setup-cgywin]
[setup-cgywin]
recipe = hexagonit.recipe.download
recipe = hexagonit.recipe.download
url = http://git.erp5.org/gitweb/slapos.package.git/blob_plain/heads/cygwin:/windows/scripts/setup-cygwin.bat
url = http://git.erp5.org/gitweb/slapos.package.git/blob_plain/heads/cygwin:/windows/scripts/setup-cygwin.bat
md5sum = 5ec4f11eee39230a38ef3d2ba59fde44
md5sum = 5ec4f11eee39230a38ef3d2ba59fde44
destination = ${buildout:directory}/bin
download-only = true
download-only = true
[
windows-
installer]
[installer]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
url = http://dashingsoft.com/products/slapos/cygwin-packages.tar.gz
url = http://dashingsoft.com/products/slapos/cygwin-packages.tar.gz
configure-command = setup-cygwin.bat
pre-configure=
configure-options =
mkdir -p ${:location}/cygwin
make-binary = slapos-build-installer
(cd ${:location}/cygwin ; tar xzf ${inno-setup:location}/inno-setup.tar.gz)
cp /usr/bin/setup.exe ${:location}
cp ${setup-cygwin}/setup-cygwin.bat ${:location}/cygwin
cp ${slapos-build-installer}/slapos-build-installer ${:location}/cygwin
configure-command = ${buildout:directory}/setup-cygwin.bat
make-binary = ${:location}/cygwin/bin/bash --login /slapos-build-installer
make-options =
make-options =
--inno-setup=/inno-setup/ISCC.exe
#----------------
#----------------
#-- Instance-level buildout profiles.
#-- Instance-level buildout profiles.
...
...
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