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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
slapos.package
Commits
a18ab305
Commit
a18ab305
authored
Jun 06, 2013
by
Vivien Alger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected old typo
parent
d0f561d7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
prepare_slapos_build.sh
prepare_slapos_build.sh
+5
-5
No files found.
prepare_slapos_build.sh
View file @
a18ab305
...
...
@@ -9,7 +9,7 @@ CURRENT_DIRECTORY="$(pwd)"
TEMPLATES_DIRECTORY
=
$CURRENT_DIRECTORY
/templates
DEB_DIRECTORY
=
$TEMPLATES_DIRECTORY
/deb
RPM_DIRECTORY
=
$TEMPLATES_DIRECTORY
/rpm
SLAPOS_ORGINAL_DIRECTORY
=
slapos-node
SLAPOS_OR
I
GINAL_DIRECTORY
=
slapos-node
SLAPOS_DIRECTORY
=
slapos-node_
$VERSION
+
$RECIPE_VERSION
+
$RELEASE
OBS_DIRECTORY
=
$CURRENT_DIRECTORY
/home:VIFIBnexedi:branches:home:VIFIBnexedi/SlapOS-Node
...
...
@@ -63,8 +63,8 @@ function prepare_deb_packaging
# Add cron and logrotate files
cp
-R
$DEB_DIRECTORY
/debian
$OBS_DIRECTORY
/
cp
$CURRENT_DIRECTORY
/
$SLAPOS_ORGINAL_DIRECTORY
/template/slapos-node.cron.d
$OBS_DIRECTORY
/debian/cron.d
cp
$CURRENT_DIRECTORY
/
$SLAPOS_ORGINAL_DIRECTORY
/template/slapos-node.logrotate
$OBS_DIRECTORY
/debian/slapos-node.logrotate
cp
$CURRENT_DIRECTORY
/
$SLAPOS_OR
I
GINAL_DIRECTORY
/template/slapos-node.cron.d
$OBS_DIRECTORY
/debian/cron.d
cp
$CURRENT_DIRECTORY
/
$SLAPOS_OR
I
GINAL_DIRECTORY
/template/slapos-node.logrotate
$OBS_DIRECTORY
/debian/slapos-node.logrotate
# Create postinst
cat
$RE6STNET_SCRIPT
>>
$OBS_DIRECTORY
/debian/postinst.base
...
...
@@ -87,7 +87,7 @@ function obs_upload
osc up
# Remove former configuration
osc
rm
-f
$SLAPOS_ORGINAL_DIRECTORY
*
.tar.gz
osc
rm
-f
$SLAPOS_OR
I
GINAL_DIRECTORY
*
.tar.gz
osc
rm
-f
slapos.spec
osc
rm
-f
slapos
*
.dsc
...
...
@@ -112,7 +112,7 @@ function obs_upload
# Prepare directory for new version if needed
if
[
!
-d
"
$CURRENT_DIRECTORY
/
$SLAPOS_DIRECTORY
"
]
;
then
cp
-r
$CURRENT_DIRECTORY
/
$SLAPOS_ORGINAL_DIRECTORY
$CURRENT_DIRECTORY
/
$SLAPOS_DIRECTORY
cp
-r
$CURRENT_DIRECTORY
/
$SLAPOS_OR
I
GINAL_DIRECTORY
$CURRENT_DIRECTORY
/
$SLAPOS_DIRECTORY
fi
# Prepare Makefile and offline 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