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
Romain Courteaud
slapos.package
Commits
9c994df9
Commit
9c994df9
authored
Mar 10, 2014
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Roll back to a working revision
More recently revisions are broken
parent
b4fad477
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
obs/prepare_slapos_build.sh
obs/prepare_slapos_build.sh
+3
-3
No files found.
obs/prepare_slapos_build.sh
View file @
9c994df9
...
@@ -5,8 +5,8 @@ VERSION=1.0.3
...
@@ -5,8 +5,8 @@ VERSION=1.0.3
# Edit for release
# Edit for release
RECIPE_VERSION
=
0.209
RECIPE_VERSION
=
0.209
# Edit for release
# Edit for release
RELEASE
=
1
RELEASE
=
7
GITHASH
=
c2b5180ab7a8b2455ef8be13a33571b161d2b94d
GITHASH
=
568ffc57ecd8c23f60f4f37984294149d2b17e25
CURRENT_DIRECTORY
=
"
$(
pwd
)
"
CURRENT_DIRECTORY
=
"
$(
pwd
)
"
# Define URL to compile
# Define URL to compile
...
@@ -90,7 +90,7 @@ function obs_upload
...
@@ -90,7 +90,7 @@ function obs_upload
osc
rm
-f
PKGBUILD
osc
rm
-f
PKGBUILD
SOURCEMD5
=
`
md5sum
$SLAPOS_DIRECTORY
.tar.gz |
cut
-d
\
-f1
`
SOURCEMD5
=
`
md5sum
$SLAPOS_DIRECTORY
.tar.gz |
cut
-d
\
-f1
`
sed
$VERSION_REGEX
;
s/
\%
SOURCEMD5
\%
/
$SOURCEMD5
/g
$TEMPLATES_DIRECTORY
/PKGBUILD.in
>
PKGBUILD
sed
"
$VERSION_REGEX
;s/
\%
SOURCEMD5
\%
/
$SOURCEMD5
/g"
$TEMPLATES_DIRECTORY
/PKGBUILD.in
>
PKGBUILD
cp
$TEMPLATES_DIRECTORY
/slapos-node.install
.
cp
$TEMPLATES_DIRECTORY
/slapos-node.install
.
osc add PKGBUILD slapos-node.install
osc add PKGBUILD slapos-node.install
...
...
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