mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	* - embed default config - add possibility to export effects and embeded default config to filesystem * do some code style
		
			
				
	
	
		
			27 lines
		
	
	
		
			739 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			739 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| if [ "$#" -ne 2 ] || ! [ -d "$1" ] || ! [ -d "$2" ]; then
 | |
| 	echo "Usage: $0 <BUILD-DIR> <REPO-DIR>" >&2
 | |
| 	exit 1
 | |
| fi
 | |
| 
 | |
| builddir="$1"
 | |
| repodir="$2"
 | |
| echo build directory = $builddir
 | |
| echo repository root dirrectory = $repodir
 | |
| 
 | |
| outfile="$repodir/deploy/hyperion.tar.gz"
 | |
| echo create $outfile
 | |
| 
 | |
| tar --create --verbose --gzip --absolute-names --show-transformed-names \
 | |
| 	--file "$outfile" \
 | |
| 	--transform "s:$builddir/bin/:hyperion/bin/:" \
 | |
| 	--transform "s:$repodir/bin/hyperion.init.sh:hyperion/init.d/hyperion.init.sh:" \
 | |
| 	--transform "s://:/:g" \
 | |
| 	"$builddir/bin/hyperiond" \
 | |
| 	"$builddir/bin/hyperion-remote" \
 | |
| 	"$builddir/bin/hyperion-v4l2" \
 | |
| 	"$builddir/bin/gpio2spi" \
 | |
| 	"$builddir/bin/dispmanx2png" \
 | |
| 	"$repodir/bin/hyperion.init.sh" \
 |