Adjust base package creation
- include aircraft for 3.6
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -20,3 +20,5 @@ archivebuild
|
|||||||
osgbuild
|
osgbuild
|
||||||
CMakeCache.txt
|
CMakeCache.txt
|
||||||
*.pyc
|
*.pyc
|
||||||
|
base_package
|
||||||
|
extended-data
|
||||||
|
|||||||
16
aircraft.rules
Normal file
16
aircraft.rules
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
+ /Aircraft
|
||||||
|
+ /Aircraft/777
|
||||||
|
+ /Aircraft/777-200
|
||||||
|
+ /Aircraft/b1900d
|
||||||
|
+ /Aircraft/CitationX
|
||||||
|
+ /Aircraft/ZLT-NT
|
||||||
|
+ /Aircraft/dhc2
|
||||||
|
+ /Aircraft/Cub
|
||||||
|
+ /Aircraft/sopwithCamel
|
||||||
|
+ /Aircraft/f-14b
|
||||||
|
+ /Aircraft/ASK13
|
||||||
|
+ /Aircraft/bo105
|
||||||
|
+ /Aircraft/Dragonfly
|
||||||
|
+ /Aircraft/SenecaII
|
||||||
|
+ /Aircraft/A6M2
|
||||||
|
- /Aircraft/*
|
||||||
9
base-package.rules
Normal file
9
base-package.rules
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
- .git
|
||||||
|
- *.xcf
|
||||||
|
- *.tex
|
||||||
|
|
||||||
|
- /fgdata/Textures/Unused
|
||||||
|
- /fgdata/Textures/*.orig
|
||||||
|
- /fgdata/Docs/source
|
||||||
|
- /fgdata/Models/Airspace
|
||||||
|
- /fgdata/Models/MNUAV
|
||||||
@@ -59,5 +59,25 @@ cp flightgear-*.tar.bz2 ../output/.
|
|||||||
echo "Assembling base package"
|
echo "Assembling base package"
|
||||||
cd $WORKSPACE
|
cd $WORKSPACE
|
||||||
|
|
||||||
tar cjf output/FlightGear-$VERSION-data.tar.bz2 fgdata/
|
rm -rf base_package
|
||||||
|
|
||||||
|
# a: archive mode
|
||||||
|
# z: compress
|
||||||
|
# delete: 'delete extraneous files from dest dirs'; avoid bug 1344
|
||||||
|
# filter: use the rules in our rules file
|
||||||
|
|
||||||
|
echo "Copying FGData files"
|
||||||
|
rsync -a --delete \
|
||||||
|
--filter 'merge base-package.rules' \
|
||||||
|
fgdata base_package
|
||||||
|
|
||||||
|
echo "Syncing aircraft data"
|
||||||
|
rsync -a --delete --filter 'merge aircraft.rules' /home/jenkins/fgaddon-3.6.0/ extended-data
|
||||||
|
|
||||||
|
echo "Copying aircraft data"
|
||||||
|
rsync -a extended-data/ base_package/fgdata
|
||||||
|
|
||||||
|
echo "Creating tar archive"
|
||||||
|
pushd base_package
|
||||||
|
tar cjf output/FlightGear-$VERSION-data.tar.bz2 fgdata/
|
||||||
|
popd
|
||||||
|
|||||||
Reference in New Issue
Block a user