24 lines
768 B
Makefile
24 lines
768 B
Makefile
################################################################################
|
|
#
|
|
# minikube automount
|
|
#
|
|
################################################################################
|
|
|
|
define AUTOMOUNT_INSTALL_INIT_SYSTEMD
|
|
$(INSTALL) -D -m 644 \
|
|
$(AUTOMOUNT_PKGDIR)/minikube-automount.service \
|
|
$(TARGET_DIR)/usr/lib/systemd/system/minikube-automount.service
|
|
|
|
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
|
ln -fs /usr/lib/systemd/system/minikube-automount.service \
|
|
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/minikube-automount.service
|
|
endef
|
|
|
|
define AUTOMOUNT_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -Dm755 \
|
|
$(AUTOMOUNT_PKGDIR)/minikube-automount \
|
|
$(TARGET_DIR)/usr/sbin/minikube-automount
|
|
endef
|
|
|
|
$(eval $(generic-package))
|