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
Valentin Benozillo
slapos
Commits
3fd68412
Commit
3fd68412
authored
Jul 29, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos-windows-installer: fix running problem
parent
e3be1151
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
17 deletions
+29
-17
software/slapos-windows-installer/instance.cfg.in
software/slapos-windows-installer/instance.cfg.in
+1
-1
software/slapos-windows-installer/software.cfg
software/slapos-windows-installer/software.cfg
+28
-16
No files found.
software/slapos-windows-installer/instance.cfg.in
View file @
3fd68412
...
...
@@ -9,7 +9,7 @@ offline = true
[slapos-instance]
recipe = slapos.recipe.cmmi
# This url is useless
url = /usr/bin/true.exe
path = $${buildout:directory}
configure-command = msiexec.exe
configure-options =
/i ${installer:location}/slapos-windows-all-in-one.exe
...
...
software/slapos-windows-installer/software.cfg
View file @
3fd68412
...
...
@@ -4,9 +4,6 @@ extends =
../../stack/slapos.cfg
parts =
setup-cygwin
slapos-build-installer
inno-setup
installer
instance-template
...
...
@@ -19,28 +16,43 @@ download-only = true
[slapos-build-installer]
recipe = hexagonit.recipe.download
url = http://git.erp5.org/gitweb/slapos.package.git/blob_plain/heads/cygwin:/windows/scripts/slapos-build-installer
md5sum =
217066b8a5bda72e52d97b04461bd9f1
md5sum =
6fc482120dc41d230dc360ea56344fea
download-only = true
[setup-cgywin]
[slapos-build-installer.bat]
recipe = hexagonit.recipe.download
url = http://git.erp5.org/gitweb/slapos.package.git/blob_plain/heads/cygwin:/windows/scripts/slapos-build-installer.bat
md5sum = 5f9a3880efdec2c1e53e0f4d1f960146
download-only = true
[setup-cygwin]
recipe = hexagonit.recipe.download
url = http://git.erp5.org/gitweb/slapos.package.git/blob_plain/heads/cygwin:/windows/scripts/setup-cygwin.bat
md5sum = 5ec4f11eee39230a38ef3d2ba59fde44
md5sum = eb868bed0d0fd9d950f4f972b09a2479
download-only = true
[cygwin-packages]
recipe = hexagonit.recipe.download
url = http://dashingsoft.com/products/slapos/cygwin-packages.tar.bz2
md5sum = b0e3f3cf51573c3c94c787201fbb8cdf
download-only = true
[installer]
recipe = slapos.recipe.cmmi
url = http://dashingsoft.com/products/slapos/cygwin-packages.tar.gz
path = ${buildout:parts-directory}/${:_buildout_section_name_}
cygroot = ${buildout:parts-directory}/${:_buildout_section_name_}
pre-configure=
mkdir -p ${:location}/cygwin
(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 =
--inno-setup=/inno-setup/ISCC.exe
mkdir -p ${:cygroot}/cygwin
(cd ${:cygroot}/cygwin ; tar xzf ${inno-setup:location}/inno-setup.tar.gz)
(cd ${:cygroot} ; tar xjf ${cygwin-packages:location}/cygwin-packages.tar.bz2)
cp /usr/bin/setup.exe ${:cygroot}
cp ${slapos-build-installer:location}/slapos-build-installer ${:cygroot}/cygwin
cp ${slapos-build-installer.bat:location}/slapos-build-installer.bat ${:cygroot}
cp ${setup-cygwin:location}/setup-cygwin.bat ${:cygroot}
chmod +x ${:cygroot}/*.bat
configure-command = ${:cygroot}/setup-cygwin.bat
make-binary = true
post-install= ${:cygroot}/slapos-build-installer.bat
#----------------
#-- 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