chore(app-emulation/docker): remove symlink-usr case

We are never shipping another -generic image so just make symlink-usr
the only .service file.
This commit is contained in:
Brandon Philips 2014-05-16 13:56:52 -07:00
parent 17ef058245
commit da4253ab4c
3 changed files with 2 additions and 18 deletions

View File

@ -166,11 +166,7 @@ src_install() {
newinitd contrib/init/openrc/docker.initd docker
newconfd contrib/init/openrc/docker.confd docker
if use symlink-usr; then
systemd_dounit "${FILESDIR}/symlink-usr/docker.service"
else
systemd_dounit "${FILESDIR}/docker.service"
fi
systemd_dounit "${FILESDIR}/docker.service"
systemd_dounit "${FILESDIR}/docker.socket"
insinto /usr/lib/systemd/network

View File

@ -6,7 +6,7 @@ Documentation=http://docs.docker.io
ExecStartPre=/bin/mount --make-rprivate /
# Run docker but don't have docker automatically restart
# containers. This is a job for systemd and unit files.
ExecStart=/usr/bin/docker -d -r=false -H fd://
ExecStart=/usr/bin/docker -d -s=btrfs -r=false -H fd://
[Install]
WantedBy=multi-user.target

View File

@ -1,12 +0,0 @@
[Unit]
Description=Docker Application Container Engine
Documentation=http://docs.docker.io
[Service]
ExecStartPre=/bin/mount --make-rprivate /
# Run docker but don't have docker automatically restart
# containers. This is a job for systemd and unit files.
ExecStart=/usr/bin/docker -d -s=btrfs -r=false -H fd://
[Install]
WantedBy=multi-user.target