Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
9192db66
Commit
9192db66
authored
Jan 23, 2013
by
Sebastian Eichelbaum
Browse files
[ADD] added option in buildchroot script to manually en/disable chroot archiving.
parent
9adee893
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
tools/release/owbuildchroot
tools/release/owbuildchroot
+10
-5
No files found.
tools/release/owbuildchroot
View file @
9192db66
...
...
@@ -40,6 +40,9 @@ SERVER=http://ftp.de.debian.org/debian
# the prefix-name of each build chroot dir
CHROOTDIR
=
owbuildchroot-
$SUITE
-
$ARCH
# if set to 1, the chroot gets archived after creation
ARCHIVECHROOT
=
0
#############################################################################################################
# Functions
#############################################################################################################
...
...
@@ -366,11 +369,13 @@ chroot_build()
exit
1
fi
echo
" * Archiving chroot."
tar
czf
$CHROOTDIR
.tar.gz ./
$CHROOTDIR
if
[
$?
-ne
0
]
;
then
echo
" * Failed archving. Not enough space?"
exit
1
if
[
$ARCHIVECHROOT
-ne
0
]
;
then
echo
" * Archiving chroot."
tar
czf
$CHROOTDIR
.tar.gz ./
$CHROOTDIR
if
[
$?
-ne
0
]
;
then
echo
" * Failed archving. Not enough space?"
exit
1
fi
fi
fi
}
...
...
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