Fix packaging images

This commit is contained in:
Tyler 2017-09-11 00:05:19 -04:00
parent 864ac32228
commit 171df7ab30
2 changed files with 4 additions and 1 deletions

View File

@ -25,6 +25,7 @@ build:
package-i386: package-i386:
stage: package stage: package
image: tystuyfzand/fpm
script: script:
- cd $CI_PROJECT_DIR - cd $CI_PROJECT_DIR
- ARCH=i386 packaging/build-package.sh - ARCH=i386 packaging/build-package.sh
@ -36,6 +37,7 @@ package-i386:
package-amd64: package-amd64:
stage: package stage: package
image: tystuyfzand/fpm
script: script:
- cd $CI_PROJECT_DIR - cd $CI_PROJECT_DIR
- ARCH=amd64 packaging/build-package.sh - ARCH=amd64 packaging/build-package.sh
@ -47,6 +49,7 @@ package-amd64:
package-armv7: package-armv7:
stage: package stage: package
image: tystuyfzand/fpm
script: script:
- cd $CI_PROJECT_DIR - cd $CI_PROJECT_DIR
- ARCH=armv7 packaging/build-package.sh - ARCH=armv7 packaging/build-package.sh

View File

@ -4,7 +4,7 @@ fpm -s dir -t deb -p build/amd64/deb-simple_$VERSION.deb \
--deb-priority optional --force \ --deb-priority optional --force \
--deb-compression bzip2 \ --deb-compression bzip2 \
--description "Dead Simple Package Manager" \ --description "Dead Simple Package Manager" \
-m "Tyler Stuyfzand <admin@meow.tf>" --vendor "Meow.tf" -m "Tyler Stuyfzand <admin@meow.tf>" --vendor "Meow.tf" \
--before-install packaging/scripts/preinst.deb \ --before-install packaging/scripts/preinst.deb \
-a $ARCH build/$ARCH/deb-simple=/usr/bin/deb-simple \ -a $ARCH build/$ARCH/deb-simple=/usr/bin/deb-simple \
packaging/deb-simple.service=/lib/systemd/system/deb-simple.service \ packaging/deb-simple.service=/lib/systemd/system/deb-simple.service \