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
Kasra Jamshidi
slapos.package
Commits
5a82bfd5
Commit
5a82bfd5
authored
Jun 07, 2013
by
Vivien Alger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove debian directory copy after tar creation
parent
ca123455
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
prepare_slapos_build.sh
prepare_slapos_build.sh
+7
-6
No files found.
prepare_slapos_build.sh
View file @
5a82bfd5
...
@@ -74,6 +74,7 @@ function prepare_deb_packaging
...
@@ -74,6 +74,7 @@ function prepare_deb_packaging
# Create tarball
# Create tarball
tar
-czf
$OBS_DIRECTORY
/debian.tar.gz
$OBS_DIRECTORY
/debian
tar
-czf
$OBS_DIRECTORY
/debian.tar.gz
$OBS_DIRECTORY
/debian
rm
-Rf
$OBS_DIRECTORY
/debian
# Generate .dsc
# Generate .dsc
sed
$VERSION_REGEX
$DEB_DIRECTORY
/slapos.dsc.in
>
$SLAPOS_DIRECTORY
.dsc
sed
$VERSION_REGEX
$DEB_DIRECTORY
/slapos.dsc.in
>
$SLAPOS_DIRECTORY
.dsc
...
@@ -116,13 +117,13 @@ if [ ! -d "$CURRENT_DIRECTORY/$SLAPOS_DIRECTORY" ]; then
...
@@ -116,13 +117,13 @@ if [ ! -d "$CURRENT_DIRECTORY/$SLAPOS_DIRECTORY" ]; then
fi
fi
# Prepare Makefile and offline script
# Prepare Makefile and offline script
#
prepare_template_files
prepare_template_files
# Prepare Download Cache for SlapOS
# Prepare Download Cache for SlapOS
#
prepare_download_cache
prepare_download_cache
# Prepare tarball
# Prepare tarball
#
prepare_tarball
prepare_tarball
# Generate spec file
# Generate spec file
spec_generation
spec_generation
...
@@ -131,8 +132,8 @@ spec_generation
...
@@ -131,8 +132,8 @@ spec_generation
prepare_deb_packaging
prepare_deb_packaging
# Upload to obs
# Upload to obs
#
obs_upload
obs_upload
# Save current version
# Save current version
#
echo "$RECIPE_VERSION" > $CURRENT_DIRECTORY/slapos-recipe-version
echo
"
$RECIPE_VERSION
"
>
$CURRENT_DIRECTORY
/slapos-recipe-version
#
echo "$VERSION" > $CURRENT_DIRECTORY/slapos-version
echo
"
$VERSION
"
>
$CURRENT_DIRECTORY
/slapos-version
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