|
@@ -4,7 +4,7 @@ VERSION = $(shell cat VERSION)
|
|
|
|
|
|
override_dh_gencontrol:
|
|
|
# if we're on Ubuntu, we need to Recommends: apparmor
|
|
|
- echo 'apparmor:Recommends=$(shell dpkg-vendor --is Ubuntu && echo apparmor)' >> debian/docker-core.substvars
|
|
|
+ echo 'apparmor:Recommends=$(shell dpkg-vendor --is Ubuntu && echo apparmor)' >> debian/docker-engine.substvars
|
|
|
dh_gencontrol
|
|
|
|
|
|
override_dh_auto_build:
|
|
@@ -19,13 +19,13 @@ override_dh_strip:
|
|
|
# also, Go has lots of problems with stripping, so just don't
|
|
|
|
|
|
override_dh_auto_install:
|
|
|
- mkdir -p debian/docker-core/usr/bin
|
|
|
- cp -aT "$$(readlink -f bundles/$(VERSION)/dynbinary/docker)" debian/docker-core/usr/bin/docker
|
|
|
- mkdir -p debian/docker-core/usr/libexec/docker
|
|
|
- cp -aT "$$(readlink -f bundles/$(VERSION)/dynbinary/dockerinit)" debian/docker-core/usr/libexec/docker/dockerinit
|
|
|
+ mkdir -p debian/docker-engine/usr/bin
|
|
|
+ cp -aT "$$(readlink -f bundles/$(VERSION)/dynbinary/docker)" debian/docker-engine/usr/bin/docker
|
|
|
+ mkdir -p debian/docker-engine/usr/libexec/docker
|
|
|
+ cp -aT "$$(readlink -f bundles/$(VERSION)/dynbinary/dockerinit)" debian/docker-engine/usr/libexec/docker/dockerinit
|
|
|
|
|
|
override_dh_installinit:
|
|
|
- # use "docker" as our service name, not "docker-core"
|
|
|
+ # use "docker" as our service name, not "docker-engine"
|
|
|
dh_installinit --name=docker
|
|
|
|
|
|
override_dh_installudev:
|