Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Łukasz Nowak
chromebrew
Commits
1d0d4116
Commit
1d0d4116
authored
Jan 29, 2017
by
Kazushi (Jam) Marukawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change to use xz and specify xz compression option
parent
c44dd0c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
create_package.sh
create_package.sh
+6
-3
No files found.
create_package.sh
View file @
1d0d4116
#!/bin/bash
#!/bin/bash
DIRNAME
=
${
PWD
##*/
}
DIRNAME
=
${
PWD
##*/
}
XZ_OPT
=
${
XZ_OPT
-
"-7e"
}
export
XZ_OPT
echo
creating file list
echo
creating file list
find
.
-type
f
>
../filelist
&&
find
.
-type
l
>>
../filelist
&&
cut
-c2-
../filelist
>
filelist
find
.
-type
f
>
../filelist
&&
find
.
-type
l
>>
../filelist
&&
cut
-c2-
../filelist
>
filelist
...
@@ -11,8 +14,8 @@ echo removing temporary files
...
@@ -11,8 +14,8 @@ echo removing temporary files
rm
dlistcut ../dlist ../filelist
rm
dlistcut ../dlist ../filelist
echo
building binary package
echo
building binary package
tar
-c
zf
../
$DIRNAME
.tar.g
z
*
tar
-c
Jf
../
$DIRNAME
.tar.x
z
*
sha1sum
../
$DIRNAME
.tar.
gz
>
../
$DIRNAME
.tar.g
z.sha1
sha1sum
../
$DIRNAME
.tar.
xz
>
../
$DIRNAME
.tar.x
z.sha1
echo
finished
echo
finished
cat
../
$DIRNAME
.tar.
g
z.sha1
cat
../
$DIRNAME
.tar.
x
z.sha1
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