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
14
Merge Requests
14
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.package
Commits
da0bf253
Commit
da0bf253
authored
Sep 30, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cygwin: extract /opt/slapos within bootstrap.ph
parent
356ef16d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
windows/scripts/slapos-all-in-one.iss
windows/scripts/slapos-all-in-one.iss
+0
-1
windows/scripts/slapos-cygwin-bootstrap.sh
windows/scripts/slapos-cygwin-bootstrap.sh
+8
-0
No files found.
windows/scripts/slapos-all-in-one.iss
View file @
da0bf253
...
@@ -86,7 +86,6 @@ Name: "{group}\User Guide"; Filename: "{app}\user-guide.html";
...
@@ -86,7 +86,6 @@ Name: "{group}\User Guide"; Filename: "{app}\user-guide.html";
[Run]
[Run]
Filename: "{app}\setup-cygwin.bat"; Parameters: """{app}"""; StatusMsg: "Installing Cygwin..."; Flags: runhidden;
Filename: "{app}\setup-cygwin.bat"; Parameters: """{app}"""; StatusMsg: "Installing Cygwin..."; Flags: runhidden;
Filename: "{app}\cygwin\bin\bash.exe"; Parameters: "--login -i /etc/slapos/scripts/slapos-cygwin-bootstrap.sh"; WorkingDir: "{app}\cygwin\bin"; Description: "Configure Cygwin"; StatusMsg: "Configure Cygwin..."; Flags: skipifdoesntexist;
Filename: "{app}\cygwin\bin\bash.exe"; Parameters: "--login -i /etc/slapos/scripts/slapos-cygwin-bootstrap.sh"; WorkingDir: "{app}\cygwin\bin"; Description: "Configure Cygwin"; StatusMsg: "Configure Cygwin..."; Flags: skipifdoesntexist;
Filename: "{app}\cygwin\bin\bash.exe"; Parameters: "--login -i -c ""cd /opt ; tar -xzf /opt/downloads/slapos.tar.gz"""; WorkingDir: "{app}\cygwin\bin"; Description: "Configure Cygwin"; StatusMsg: "Extract slapos node ...";
[UninstallRun]
[UninstallRun]
Filename: "{app}\cygwin\bin\mintty.exe"; Parameters: "-c ~/.minttyrc -h never -t ""Uninstall SlapOS"" /etc/slapos/scripts/slapos-cleanup.sh"; WorkingDir: "{app}\cygwin\bin"; Flags: skipifdoesntexist;
Filename: "{app}\cygwin\bin\mintty.exe"; Parameters: "-c ~/.minttyrc -h never -t ""Uninstall SlapOS"" /etc/slapos/scripts/slapos-cleanup.sh"; WorkingDir: "{app}\cygwin\bin"; Flags: skipifdoesntexist;
...
...
windows/scripts/slapos-cygwin-bootstrap.sh
View file @
da0bf253
...
@@ -342,6 +342,14 @@ fi
...
@@ -342,6 +342,14 @@ fi
# -----------------------------------------------------------
# -----------------------------------------------------------
install_ipv6_protocol
install_ipv6_protocol
# -------------------
# Extract /opt/slapos
# -------------------
[[
-f
/opt/downloads/slapos.tar.gz
]]
&&
(
csih_inform
"Extracting /opt/slapos..."
tar
-xzf
/opt/downloads/slapos.tar.gz
-C
/opt
)
# -----------------------------------------------------------
# -----------------------------------------------------------
# End script
# End script
# -----------------------------------------------------------
# -----------------------------------------------------------
...
...
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