2016-02-15 15:40:03 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# cgroupfs-mount
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-05-23 23:21:45 +02:00
|
|
|
CGROUPFS_MOUNT_VERSION = 1.4
|
2016-02-15 15:40:03 +01:00
|
|
|
CGROUPFS_MOUNT_SITE = $(call github,tianon,cgroupfs-mount,$(CGROUPFS_MOUNT_VERSION))
|
2017-03-30 15:43:33 +02:00
|
|
|
CGROUPFS_MOUNT_LICENSE = GPL-3.0+
|
2016-02-15 15:40:03 +01:00
|
|
|
CGROUPFS_MOUNT_LICENSE_FILES = debian/copyright
|
|
|
|
|
|
|
|
define CGROUPFS_MOUNT_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -D -m 0755 $(@D)/cgroupfs-mount $(TARGET_DIR)/usr/bin/cgroupfs-mount
|
|
|
|
$(INSTALL) -D -m 0755 $(@D)/cgroupfs-umount $(TARGET_DIR)/usr/bin/cgroupfs-umount
|
|
|
|
endef
|
|
|
|
|
|
|
|
define CGROUPFS_MOUNT_INSTALL_INIT_SYSV
|
|
|
|
$(INSTALL) -m 0755 -D $(CGROUPFS_MOUNT_PKGDIR)/S30cgroupfs \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S30cgroupfs
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|