Initial Commit
- initial default booting image
This commit is contained in:
11
package/libnss-ato/Config.in
Normal file
11
package/libnss-ato/Config.in
Normal file
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_LIBNSS_ATO
|
||||
bool "libnss-ato"
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
help
|
||||
Library to map every nss request for unknown user to a
|
||||
single predefined user.
|
||||
|
||||
https://github.com/donapieppo/libnss-ato
|
||||
|
||||
comment "libnss-ato needs a glibc toolchain"
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC
|
||||
4
package/libnss-ato/libnss-ato.hash
Normal file
4
package/libnss-ato/libnss-ato.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# Locally computed
|
||||
sha256 7fe56dcfaed74884fa1f9323d000135a4de2a32177a474ee2b9e4a217ae83994 libnss-ato-0.2.0.tar.gz
|
||||
sha256 3de3161d298c48e55d7416ad89130e13dd72263b93563f3fb79c899fa8450ce2 copyright
|
||||
sha256 e3a994d82e644b03a792a930f574002658412f62407f5fee083f2555c5f23118 lgpl-3.0.txt
|
||||
26
package/libnss-ato/libnss-ato.mk
Normal file
26
package/libnss-ato/libnss-ato.mk
Normal file
@@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
#
|
||||
# libnss-ato
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBNSS_ATO_VERSION = 0.2.0
|
||||
LIBNSS_ATO_SITE = $(call github,donapieppo,libnss-ato,v$(LIBNSS_ATO_VERSION))
|
||||
LIBNSS_ATO_LICENSE = LGPL-3.0+
|
||||
LIBNSS_ATO_LICENSE_FILES = copyright lgpl-3.0.txt
|
||||
|
||||
# Skip the default build system (avoid patching Makefile for 1 .c)
|
||||
define LIBNSS_ATO_BUILD_CMDS
|
||||
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
|
||||
-fPIC -Wall -shared -o $(@D)/libnss_ato.so.2 \
|
||||
-Wl,-soname,libnss_ato.so.2 \
|
||||
$(@D)/libnss_ato.c
|
||||
endef
|
||||
|
||||
define LIBNSS_ATO_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/libnss_ato.so.2 $(TARGET_DIR)/lib/libnss_ato.so.2
|
||||
ln -sf libnss_ato.so.2 $(TARGET_DIR)/lib/libnss_ato.so
|
||||
$(INSTALL) -D -m 0644 $(@D)/libnss-ato.conf $(TARGET_DIR)/etc/libnss-ato.conf
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user