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
Alain Takoudjou
slapos
Commits
e05d2f05
Commit
e05d2f05
authored
Aug 01, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos-windows-installer: fix $$ problem in the instance.cfg.in
parent
39fc2c7f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
software/slapos-windows-installer/instance.cfg.in
software/slapos-windows-installer/instance.cfg.in
+6
-6
software/slapos-windows-installer/software.cfg
software/slapos-windows-installer/software.cfg
+2
-1
No files found.
software/slapos-windows-installer/instance.cfg.in
View file @
e05d2f05
...
...
@@ -19,12 +19,12 @@ pre-configure =
chmod +x $${:configure-command}
configure-command = $${buildout:directory}/bootloader.sh
pre-install =
declare -r cyghome="$
$
(cygpath -m -a /)/.."
cp $
$
cyghome/setup.exe $${buildout:directory}
cp $
$
cyghome/certificate $${buildout:directory}/cygwin/certificate
cp $
$
cyghome/key $${buildout:directory}/cygwin/key
cp $
$
cyghome/test-computer.crt $${buildout:directory}/cygwin/computer.crt
cp $
$
cyghome/test-computer.key $${buildout:directory}/cygwin/computer.key
declare -r cyghome="$(cygpath -m -a /)/.."
cp $cyghome/setup.exe $${buildout:directory}
cp $cyghome/certificate $${buildout:directory}/cygwin/certificate
cp $cyghome/key $${buildout:directory}/cygwin/key
cp $cyghome/test-computer.crt $${buildout:directory}/cygwin/computer.crt
cp $cyghome/test-computer.key $${buildout:directory}/cygwin/computer.key
cp ${installer:cygroot}/slapos-windows-wrapper.bat $${buildout:directory}/slapos-windows-wrapper.bat
make-binary = true
# The parameter "slaptester" is the password of slapos administrator
...
...
software/slapos-windows-installer/software.cfg
View file @
e05d2f05
...
...
@@ -45,6 +45,7 @@ pre-configure=
mkdir -p ${:cygroot}/cygwin
(cd ${:cygroot} ; tar xjf ${inno-setup:location}/inno-setup.tar.bz2)
(cd ${:cygroot} ; tar xjf ${cygwin-packages:location}/cygwin-packages.tar.bz2)
cp $(cygpath -m -a /)/../setup.exe ${:cygroot}
cp ${slapos-build-installer:location}/slapos-build-installer ${:cygroot}/cygwin
cp ${slapos-windows-wrapper:location}/slapos-windows-wrapper.bat ${:cygroot}
cp ${setup-cygwin:location}/setup-cygwin.bat ${:cygroot}
...
...
@@ -59,7 +60,7 @@ post-install= ${:cygroot}/slapos-windows-wrapper.bat slapos-build-installer
[instance-template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg.in
md5sum =
b78830f4591aa7ac93675348c51a1e90
md5sum =
0878ed717321d474d0d2d7a264779d76
output = ${buildout:directory}/instance.cfg
mode = 0644
...
...
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