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
1f790542
Commit
1f790542
authored
Jul 31, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos-windows-installer:
fix typos add wrapper for instance configure command
parent
d46d59ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
software/slapos-windows-installer/instance.cfg.in
software/slapos-windows-installer/instance.cfg.in
+6
-8
software/slapos-windows-installer/software.cfg
software/slapos-windows-installer/software.cfg
+1
-1
No files found.
software/slapos-windows-installer/instance.cfg.in
View file @
1f790542
...
...
@@ -10,18 +10,16 @@ offline = true
recipe = slapos.recipe.cmmi
# This url is useless
path = $${buildout:directory}
configure-command = msiexec.exe
configure-options =
/i ${installer:location}/slapos-windows-all-in-one.exe
TARGETDIR=$${buildout:directory}
/quiet
/log $${buildout:directory}/slapos-windows-installer.log
pre-configure =
echo -e "#! /bin/bash\nmsiexec.exe /i `cygpath -w ${installer:location}/slapos-windows-all-in-one.exe` TARGETDIR=`cygpath -w $${buildout:directory}` /log `cygpath -w $${buildout:directory}/slapos-windows-installer.log` /quiet" > $${buildout:directory}/boot-installer
chmod +x $${buildout:directory}/boot-installer
configure-command = $${buildout:directory}/boot-installer
pre-install =
cp ${installer:cygroot}/slapos-windows-wrapper.bat $${buildout:directory}/
cp ${installer:cygroot}/test-computer.key $${buildout:directory}/cygwin/computer.key
cp ${installer:cygroot}/test-/computer.crt $${buildout:directory}/cygwin/computer.crt
cp
~
/.slapos/key $${buildout:directory}/cygwin/key
cp
~
/.slapos/certificate $${buildout:directory}/cygwin/certificate
cp
${installer:cygroot}
/.slapos/key $${buildout:directory}/cygwin/key
cp
${installer:cygroot}
/.slapos/certificate $${buildout:directory}/cygwin/certificate
make-binary = true
# The parameter "slaptester" is the password of slapos administrator
# passed to configure script
...
...
software/slapos-windows-installer/software.cfg
View file @
1f790542
...
...
@@ -46,7 +46,7 @@ path = ${buildout:parts-directory}/${:_buildout_section_name_}
cygroot = ${buildout:parts-directory}/${:_buildout_section_name_}
pre-configure=
mkdir -p ${:cygroot}/cygwin
(cd ${:cygroot}
/cygwin ; tar xzf ${inno-setup:location}/inno-setup.tar.gz
)
(cd ${:cygroot}
; tar xjf ${inno-setup:location}/inno-setup.tar.bz2
)
(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
...
...
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