Code Review
/
stor4nfv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
initial code repo
[stor4nfv.git]
/
src
/
ceph
/
qa
/
workunits
/
fs
/
norstats
/
kernel_untar_tar.sh
1
#!/bin/bash
2
# check if there is file changed while being archived
3
4
set -e
5
6
KERNEL=linux-4.0.5
7
8
wget -q http://download.ceph.com/qa/$KERNEL.tar.xz
9
10
mkdir untar_tar
11
cd untar_tar
12
13
tar Jxvf ../$KERNEL.tar.xz $KERNEL/Documentation/
14
tar cf doc.tar $KERNEL
15
16
tar xf doc.tar
17
sync
18
tar c $KERNEL >/dev/null
19
20
rm -rf $KERNEL
21
22
tar xf doc.tar
23
sync
24
tar c $KERNEL >/dev/null
25
26
echo Ok