coreos-base/coreos-init: ensure rpcbind.service is started when other units depend on rpcbind.target

This commit is contained in:
Nick Owens 2015-09-15 17:56:50 -07:00
parent be55a228a3
commit 383b4da26d
2 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,7 @@ REQUIRED_USE="symlink-usr"
DEPEND=" DEPEND="
app-emulation/docker app-emulation/docker
net-misc/openssh net-misc/openssh
net-nds/rpcbind
!<dev-db/etcd-0.0.1-r6 !<dev-db/etcd-0.0.1-r6
!coreos-base/oem-service !coreos-base/oem-service
test? ( dev-lang/python:2.7 ) test? ( dev-lang/python:2.7 )
@ -49,4 +50,7 @@ src_install() {
# Enable some sockets that aren't enabled by their own ebuilds. # Enable some sockets that aren't enabled by their own ebuilds.
systemd_enable_service sockets.target sshd.socket systemd_enable_service sockets.target sshd.socket
systemd_enable_service sockets.target docker.socket systemd_enable_service sockets.target docker.socket
# Enable some services that aren't enabled elsewhere.
systemd_enable_service rpcbind.target rpcbind.service
} }