Commit Graph

12 Commits

Author SHA1 Message Date
Alex Stewart
a246dd26a5 fuse: Correct runlevels and startup order
:**/fuse*.bb
* Assert INITSCRIPT_PARAMS to install the fuse initscript according to
  its LSB header instead of defaults. Script now starts only during
  runlevel 'S'.
* Also set priority to 03 such that fuse is loaded before udev. This
  enables systems which utilize udev to mount exfat and other
  fuse-provided filesystems as a part of the boot process.

Natinst-CAR-ID: 630632

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:57:33 +02:00
Ismo Puustinen
d3dd8bc372 fuse: fix fetcher error.
The recent fuse recipe update broke fetching the sources when building
fuse-native (it tried to fetch non-existent package
fuse-native-2.9.7.tar.gz).

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-14 14:51:17 +02:00
Krisztian Litkey
5ab7b440bc fuse: let overriding base_sbindir have the proper effect.
Set MOUNT_FUSE_PATH explicitly to ${base_sbindir} before configure.
Making this explicit will let people override base_sbindir with the
desired effect (for instance when building a distro with merged /
and /usr).

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
2017-06-14 14:51:15 +02:00
Kyle Russell
90a65b7d31 fuse: update 2.9.4 to 2.9.7
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-12 06:56:24 +02:00
mike.looijmans@topic.nl
0d0709cf06 fuse: Remove unneeded RDEPENDS on util-linux-mount
Fuse claimed to need util-linux-mount at runtime, which isn't true. This
drags util-linux-mount into any image that uses fuse.

Encountered no problems with busybox's mount command and fuse (and never
had). Fuse doesn't call the "mount" program anywhere, so the dependency
doesn't make sense anyway.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-04 12:39:51 +01:00
Patrick Ohly
f732d17969 fuse: support native compilation
This is required for swtpm-native (from meta-security) and
simulating a virtual TPM in qemu. Right now, accessing
swtpm only works via CUSE and thus needs fuse.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-13 18:43:32 +01:00
Jackie Huang
90eb8fa980 fuse: upgrade to 2.9.4
Changes:
 * Remove 001-fix_exec_environment_for_mount_and_umount.patch
   which has been included in the new version

 * Add sysvinit and systemd support

 * For systemd, there is not a fuse.service since systemd provides
   sys-fs-fuse-connections.mount to mount the fuse control
   filesystem, so instead, only fuse.conf is added to modules-load.d
   to load the required fuse kernel module.

 * Add RDEPENDS on util-linux-mount

 * Add a patch to fix the return value of "--help" option

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-23 15:39:46 +02:00
Tudor Florea
96a4d9ad7b fuse: fix for CVE-2015-3202 Privilege Escalation
fusermount in FUSE before 2.9.3-15 does not properly clear the environment before
invoking (1) mount or (2) umount as root, which allows local users to write
to arbitrary files via a crafted LIBMOUNT_MTAB environment variable that is
used by mount's debugging feature.

References:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-3202
http://www.openwall.com/lists/oss-security/2015/05/21/9

Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-30 21:03:26 +02:00
Martin Jansa
8192e4a3d8 fuse: remove unrecognized configure option
* fixes following QA warning:
  fuse-2.9.3: fuse: configure was passed unrecognised options:
  --disable-kernel-module [unknown-configure-option]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-11 10:59:20 +02:00
Richard Purdie
f5580b13df fuse/libmtp/tcsh/enca: Add missing explict gettext-native dependency
This is needed for the AM_ICONV macro and friends.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 14:53:31 +02:00
Matthieu CRAPET
c95e155780 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
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>
2014-02-23 23:20:02 +01:00
Hongxu Jia
5972198b0f fuse: move to meta-filesystems and upgrade
- Move fuse from meta-oe to meta-filesystems
- Upgrade fuse to 2.9.3

[YOCTO #4178]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-16 12:58:31 +02:00