Commit c25eb112 authored by Erick Hitter's avatar Erick Hitter

`install` doesn't have a recursive option

parent b9941631
Pipeline #1117 failed with stage
in 1 minute and 25 seconds
# TODO: replace with container that provides all build deps.
image: image:
before_script: before_script:
- apt-get update
- apt-get -y --no-install-recommends install devscripts lintian fakeroot
# Relies on latest binary build artifact from # Relies on latest binary build artifact from
- curl -o nginx-build "${NGINX_BINARY}" - curl -o nginx-build "${NGINX_BINARY}"
- ls -la $CI_BUILDS_DIR
- ls -la $CI_PROJECT_DIR
package: package:
stage: build stage: build
script: script:
...@@ -20,4 +11,5 @@ package: ...@@ -20,4 +11,5 @@ package:
- debuild -us -uc - debuild -us -uc
artifacts: artifacts:
paths: paths:
- nginx* - nginx_${NGINX_VERSION}*
- nginx-dbgsym_${NGINX_VERSION}*
...@@ -7,13 +7,24 @@ export DESTROOT=$(CURDIR)/debian/nginx ...@@ -7,13 +7,24 @@ export DESTROOT=$(CURDIR)/debian/nginx
override_dh_auto_install: override_dh_auto_install:
dh_auto_install dh_auto_install
install -D -p -m 0755 ../nginx-build $(DESTROOT)/usr/sbin/nginx
install -D -p etc/default/nginx $(DESTROOT)/etc/default/nginx install -D -p etc/default/nginx $(DESTROOT)/etc/default/nginx
install -D -p etc/init.d/nginx $(DESTROOT)/etc/init.d/nginx install -D -p etc/init.d/nginx $(DESTROOT)/etc/init.d/nginx
install -D -p etc/logrotate.d/nginx $(DESTROOT)/etc/logrotate.d/nginx install -D -p etc/logrotate.d/nginx $(DESTROOT)/etc/logrotate.d/nginx
install -d -p etc/nginx/ $(DESTROOT)/etc/nginx/ install -D -p etc/nginx/fastcgi_params $(DESTROOT)/etc/nginx/fastcgi_params
install -D -p etc/nginx/koi-utf $(DESTROOT)/etc/nginx/koi-utf
install -D -p etc/nginx/koi-win $(DESTROOT)/etc/nginx/koi-win
install -D -p etc/nginx/mime.types $(DESTROOT)/etc/nginx/mime.types
install -D -p etc/nginx/nginx.conf $(DESTROOT)/etc/nginx/nginx.conf
install -D -p etc/nginx/scgi_params $(DESTROOT)/etc/nginx/scgi_params
install -D -p etc/nginx/uwsgi_params $(DESTROOT)/etc/nginx/uwsgi_params
install -D -p etc/nginx/wint-utf $(DESTROOT)/etc/nginx/win-utf
install -D -p etc/nginx/conf.d/default.conf $(DESTROOT)/etc/nginx/conf.d/default.conf
install -d -p etc/nginx/modules $(DESTROOT)/etc/nginx/modules
install -d -p usr/lib/nginx/modules/ $(DESTROOT)/usr/lib/nginx/modules/ install -d -p usr/lib/nginx/modules/ $(DESTROOT)/usr/lib/nginx/modules/
install -D -p -m 0755 ../nginx-build $(DESTROOT)/usr/sbin/nginx install -D -p usr/share/doc/nginx/copyright $(DESTROOT)/usr/share/doc/nginx/copyright
install -d -p usr/share/doc/nginx/ $(DESTROOT)/usr/share/doc/nginx/ install -D -p usr/share/doc/nginx/README $(DESTROOT)/usr/share/doc/nginx/README
install -d -p usr/share/nginx/ $(DESTROOT)/usr/share/nginx/ install -D -p usr/share/nginx/html/50x.html $(DESTROOT)/usr/share/nginx/html/50x.html
install -D -p usr/share/nginx/html/index.html $(DESTROOT)/usr/share/nginx/html/index.html
install -d -p var/cache/nginx/ $(DESTROOT)/var/cache/nginx/ install -d -p var/cache/nginx/ $(DESTROOT)/var/cache/nginx/
install -d -p var/log/nginx/ $(DESTROOT)/var/log/nginx/ install -d -p var/log/nginx/ $(DESTROOT)/var/log/nginx/
This work was packaged by: This work was packaged by:
Erick Hitter <> on Tue, 24 Jan 2017 09:00:00 -0800 Erick Hitter <> on Tue, 24 Jan 2017 09:00:00 -0800
It was downloaded from: It was downloaded from:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment