summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/autofs
Commit message (Collapse)AuthorAgeFilesLines
* autofs: install sysvinit script manually if systemd is enabledAndreas Oberritter2019-11-071-0/+5
| | | | | | | | | Update-rc.d complains if no sysvinit script is present. This happens in hybrid systemd/sysvinit builds, because autofs does not install the init script if configured with '--with-systemd'. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* autofs: set some paths for configure scriptAndreas Oberritter2019-11-071-0/+6
| | | | | | | | The configure script used by autofs tries to detect paths on the build system. Avoid it by presetting fixed values. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* autofs: upgrade 5.1.5 -> 5.1.6Zang Ruochen2019-11-013-4/+35
| | | | | | | | | | | | | -When compiling version 5.1.6 on musl, the following error occurs: | In file included from defaults.c:32: | ../include/log.h:49:8: error: unknown type name 'pid_t' -Add autofs/0001-Bug-fix-for-pid_t-not-found-on-musl.patch to fix it. -Refresh the following patch: autofs/0001-Do-not-hardcode-path-for-pkg.m4.patch Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* autofs: upgrade to 5.1.5Changqing Li2018-11-296-130/+83
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* autofs: Do not use pkg.m4 from build hostKhem Raj2018-08-242-0/+30
| | | | | | | | When build host does not have this macro file the build fails, we therefore make sure that the file is used from native sysroot Signed-off-by: Khem Raj <raj.khem@gmail.com>
* autofs: specify fifodir and flagdirYi Zhao2018-08-241-1/+2
| | | | | | | | Explicitly specify the fifodir and flagdir to ${localstatedir}/run. Remove the line for fixing typo since it had been fixed upstream. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* autofs: upgrade 5.1.2 -> 5.1.4Changqing Li2018-07-273-78/+2
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* autofs: add UPSTREAM_CHECK_URIYi Zhao2018-05-291-0/+2
| | | | | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* autofs: refresh patchesArmin Kuster2018-04-1317-135/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | WARNING: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. The context lines in the patches can be updated with devtool: devtool modify <recipe> devtool finish --force-patch-refresh <recipe> <layer_path> Then the updated patches and the source tree (in devtool's workspace) should be reviewed to make sure the patches apply in the correct place and don't introduce duplicate lines (which can, and does happen when some of the context is ignored). Further information: http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450 Details: checking file configure.in checking file daemon/module.c Hunk #1 succeeded at 19 with fuzz 2 (offset 1 line). Hunk #2 succeeded at 55 with fuzz 2 (offset 1 line). checking file include/automount.h Hunk #1 succeeded at 51 (offset 1 line). WARNING: among others Signed-off-by: Armin Kuster <akuster808@gmail.com>
* autofs: Fix build with muslKhem Raj2017-09-222-0/+30
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* autofs: Add build dependency on libnsl2Khem Raj2017-09-081-1/+1
| | | | | | | | | | this is needed with glibc 2.26 where libnsl is deprecated and is provided using separate recipe building it from external sources now. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* autofs: Upgrade to 5.1.2 releaseKhem Raj2017-04-255-46/+69
| | | | | | | Add patches to make it work when SECURITY_FLAGS are enabled Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* autofs: Patch to build on muslKhem Raj2017-04-253-1/+106
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* recipes: delete obsolete patchesOleksandr Kravchuk2017-03-163-82/+0
| | | | | | | Deleted bunch of patches which are not used anymore by any recipe. Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-071-1/+1
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-oe: fix indentationMartin Jansa2016-08-221-2/+2
| | | | | | | | * remove tabs which sneaked in since last cleanup * meta-oe layers are using consistent indentation with 4 spaces, see http://www.openembedded.org/wiki/Styleguide Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* meta-networking: use bb.utils.contains() instead of base_contains()Ross Burton2016-05-051-1/+1
| | | | | | | | | base_contains() is a compatibility wrapper and may warn in the future, so replace all instances with bb.utils.contains(). Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* autofs: 5.1.0 -> 5.1.1Kai Kang2015-09-1117-2/+2
| | | | | | Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* meta-networking: standardize SECTION valuesJoe MacDonald2015-06-051-1/+1
| | | | | | | SECTION has been used inconsistently throughout the recipes in this layer. Convert them to all use the same convention. Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* autofs: fix a building failureRoy Li2015-06-052-0/+63
| | | | | | Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* autofs: remove bashismRobert Yang2014-09-262-0/+121
| | | | | | The autofs.init can work with /bin/sh in busybox, so remove bashsim. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* autofs: uprev it to 5.1.0Roy Li2014-08-2157-3931/+176
| | | | | | | | | | 1. Uprev it to 5.1.0, add remove the unneed patches 2. fix a building failure since not include stdarg.h 3. using pkg-config to check xml and krb5 4. force STRIP to empty to not strip the file Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* autofs: inherit autotools-brokensepRobert Yang2014-06-151-1/+1
| | | | | | | | Otherwise do_configure failed: sed: can't read configure.in: No such file or directory Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
* recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET2014-02-231-1/+1
| | | | | | | | | | | | | Changes: - rename SUMMARY with length > 80 to DESCRIPTION - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* autofs: correct QA issues with orphaned systemd filesJoe MacDonald2013-11-042-2/+49
| | | | | | | | | | | | | | | | If we build a project without systemd support on a system that has systemd enabled, the following QA items get flagged: /lib /lib/systemd /lib/systemd/system /lib/systemd/system/autofs.service Trying to keep the solution to the problem as contained as possible in a way that may be accepted up-stream by adding an optional parameter to the --with-systemd flag. Signed-off-by: Joe MacDonald <joe@deserted.net>
* autofs: fix do_install failure and remove unused /var/run directoryChen Qi2013-10-241-1/+6
| | | | | | | | | | | | | | | | | If ${D}/run doesn't exist, the following statement will have non-zero exit code, which leads to do_install failure. test -d ${D}/run && rmdir ${D}/run Modify it to use the if statement to make the do_install task succeed no matter ${D}/run exists or not. Also, this patch removes the unused /var/run directory. Leaving that directory there will result in /run directory created before splitting package, which in turn lead to 'installed-vs-shipped' QA error or QA warning. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
* autofs: change DESCRIPTION to SUMMARYAndreas Oberritter2013-10-181-1/+1
| | | | | Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe@deserted.net>
* autofs: pass systemd directory to configureAndreas Oberritter2013-10-181-0/+1
| | | | | | | Otherwise, configure will try to auto-detect using host paths. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe@deserted.net>
* autofs: two fixesRoy.Li2013-06-182-0/+30
| | | | | | | | | | autofs's lib sources have a dependency on a number of files that are generated by rpcgen during buildtime. fix a typo in configure.in Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
* recipes: Unify indentationMartin Jansa2013-04-151-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | * This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
* autofs: move systemd support from meta-systemd back to meta-networkingMartin Jansa2013-04-151-2/+7
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* autofs: update to current patchlevelAndreas Oberritter2013-03-2125-3/+2582
| | | | | | | * Apply all patches from ftp.kernel.org/pub/linux/daemons/autofs/v5/patches-5.0.8/ Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
* autofs: Fix build breakage with systemd in DISTRO_FEATUREKhem Raj2013-03-181-0/+2
| | | | | | | | When systemd is in distro features we need to translate it into the appropriate PACKAGECONFIG flag Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
* autofs: fix QA error when building without systemdJoe MacDonald2013-03-181-2/+4
| | | | | | | | | | | | | | Building without systemd enabled results in: WARNING: QA Issue: autofs: Files/directories were installed but not shipped /lib /lib/systemd /lib/systemd/system /lib/systemd/system/autofs.service fix that in the PKGCONFIG way. Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
* autofs: fix compile with uclibcAndreas Oberritter2013-03-183-1/+180
| | | | | | | | * Backport patch to make yp optional, which uclibc doesn't provide. * Create patch to include linux/nfs.h instead of nfs/nfs.h. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
* autofs: fix QA warningsMartin Jansa2013-01-251-0/+4
| | | | | | | autofs-5.0.7: autofs: Files/directories were installed but not shipped /run Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* autofs: fails to compile with openldap disabledAmy Fong2013-01-242-1/+46
| | | | | | | | | | | As of 5.0.6, it appears that changes were introduced so that if you compile with openldap disabled and openldap headers are not available, then autofs fails to build. Since autofs no longer depends on openldap, remove the dependency. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
* autofs: do not check for modprobeyanjun.zhu2013-01-172-0/+76
| | | | | | | | | | | | | Reference: http://www.spinics.net/lists/autofs/msg00139.html Loading autofs module is #ifdef'ed in the source, so there is no need to check for /proc (which is only used to load module) or modprobe. Both modprobe and /proc are always in the fixed location so there's no need to check for these to start with. Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
* autofs: Remove systemd related things.Noor Ahsan2013-01-101-4/+1
| | | | | | | | | | * Autofs was being inherited from systemd. This class is only present in meta-systemd. So bitbake was giving parse error about systemd class. So removed systemd from inherit and removed SYSTEMD_PACKAGES and SYSTEMD_SERVICE. Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* autofs: Add recipes for 5.0.7Khem Raj2013-01-0824-0/+1318
Forward port from OE classic Signed-off-by: Khem Raj <raj.khem@gmail.com>