generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
12
package/fscryptctl/Config.in
Normal file
12
package/fscryptctl/Config.in
Normal file
@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_FSCRYPTCTL
|
||||
bool "fscryptctl"
|
||||
help
|
||||
fscryptctl is a low-level tool written in C that handles raw
|
||||
keys and manages policies for Linux filesystem encryption.
|
||||
|
||||
Notice: Fscrypt support on EXT4 requires a kernel with
|
||||
CONFIG_EXT4_ENCRYPTION=y and a file system with the
|
||||
encryption option and block size equal to CPU page size
|
||||
(BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O encrypt -b 4096")
|
||||
|
||||
https://github.com/google/fscryptctl
|
||||
3
package/fscryptctl/fscryptctl.hash
Normal file
3
package/fscryptctl/fscryptctl.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 3828d5ad9b93664b9fec0174fc5d8e96d7b021a7896da74efe18fabe5f01d638 fscryptctl-1.0.0.tar.gz
|
||||
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
|
||||
21
package/fscryptctl/fscryptctl.mk
Normal file
21
package/fscryptctl/fscryptctl.mk
Normal file
@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# fscryptctl
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FSCRYPTCTL_VERSION = 1.0.0
|
||||
FSCRYPTCTL_SITE = $(call github,google,fscryptctl,v$(FSCRYPTCTL_VERSION))
|
||||
FSCRYPTCTL_LICENSE = Apache-2.0
|
||||
FSCRYPTCTL_LICENSE_FILES = LICENSE
|
||||
|
||||
define FSCRYPTCTL_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -std=c99" fscryptctl
|
||||
endef
|
||||
|
||||
define FSCRYPTCTL_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 -D $(@D)/fscryptctl $(TARGET_DIR)/usr/bin/fscryptctl
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user