Initial Commit
- initial default booting image
This commit is contained in:
22
package/autofs/Config.in
Normal file
22
package/autofs/Config.in
Normal file
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_AUTOFS
|
||||
bool "autofs"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_STATIC_LIBS # dlfcn
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL # nsswitch
|
||||
select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
||||
help
|
||||
Autofs controls the operation of the automount daemons. The
|
||||
automount daemons automatically mount filesystems when they
|
||||
are used and unmount them after a period of inactivity based
|
||||
on a set of pre-configured maps defined by default in
|
||||
/etc/auto.master. The kernel automounter implements SunOS
|
||||
style automounter under Linux and requires a kernel version
|
||||
of at least 2.6.17 and the autofs4 kernel module.
|
||||
|
||||
http://www.linuxfromscratch.org/blfs/view/svn/general/autofs.html
|
||||
|
||||
comment "autofs needs a glibc or uClibc toolchain w/ NPTL and dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
|
||||
|| BR2_TOOLCHAIN_USES_MUSL
|
||||
6
package/autofs/autofs.hash
Normal file
6
package/autofs/autofs.hash
Normal file
@@ -0,0 +1,6 @@
|
||||
# From https://www.kernel.org/pub/linux/daemons/autofs/v5/sha256sums.asc
|
||||
sha256 87e6af6a03794b9462ea519781e50e7d23b5f7c92cd59e1142c85d2493b3c24b autofs-5.1.9.tar.xz
|
||||
|
||||
# Hash for license files
|
||||
sha256 458028929f712b4795bc5adc31a1d6a2151364ce1b372ac43f613f56c8448fed COPYING
|
||||
sha256 26c826658dfa9e5ce5f182fbfbadf3fda2d184e78dba3d99da34c60113b2ce54 COPYRIGHT
|
||||
48
package/autofs/autofs.mk
Normal file
48
package/autofs/autofs.mk
Normal file
@@ -0,0 +1,48 @@
|
||||
################################################################################
|
||||
#
|
||||
# autofs
|
||||
#
|
||||
################################################################################
|
||||
|
||||
AUTOFS_VERSION = 5.1.9
|
||||
AUTOFS_SOURCE = autofs-$(AUTOFS_VERSION).tar.xz
|
||||
AUTOFS_SITE = $(BR2_KERNEL_MIRROR)/linux/daemons/autofs/v5
|
||||
AUTOFS_LICENSE = GPL-2.0+
|
||||
AUTOFS_LICENSE_FILES = COPYING COPYRIGHT
|
||||
AUTOFS_DEPENDENCIES = host-flex host-bison host-pkgconf host-nfs-utils
|
||||
|
||||
# autofs looks on the build machine for the path of modprobe, mount,
|
||||
# umount and fsck programs so tell it explicitly where they will be
|
||||
# located on the target.
|
||||
AUTOFS_CONF_ENV = \
|
||||
ac_cv_path_E2FSCK=/sbin/fsck \
|
||||
ac_cv_path_E3FSCK=no \
|
||||
ac_cv_path_E4FSCK=no \
|
||||
ac_cv_path_KRB5_CONFIG=no \
|
||||
ac_cv_path_MODPROBE=/sbin/modprobe \
|
||||
ac_cv_path_MOUNT=/bin/mount \
|
||||
ac_cv_path_MOUNT_NFS=/usr/sbin/mount.nfs \
|
||||
ac_cv_path_UMOUNT=/bin/umount \
|
||||
ac_cv_linux_procfs=yes
|
||||
|
||||
# instead of looking in the PATH like any reasonable package, autofs
|
||||
# configure looks only in an hardcoded search path for host tools,
|
||||
# which we have to override with --with-path.
|
||||
AUTOFS_CONF_OPTS = \
|
||||
--disable-mount-locking \
|
||||
--enable-ignore-busy \
|
||||
--without-openldap \
|
||||
--without-sasl \
|
||||
--with-path="$(BR_PATH)" \
|
||||
--with-hesiod=no
|
||||
|
||||
AUTOFS_MAKE_ENV = DONTSTRIP=1
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
|
||||
AUTOFS_CONF_OPTS += --with-libtirpc
|
||||
AUTOFS_DEPENDENCIES += libtirpc
|
||||
else
|
||||
AUTOFS_CONF_OPTS += --without-libtirpc
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user