/[gentoo-x86]/eclass/fcaps.eclass
Gentoo

Diff of /eclass/fcaps.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.7 Revision 1.8
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/fcaps.eclass,v 1.7 2013/06/02 15:21:04 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/fcaps.eclass,v 1.8 2013/06/27 01:18:57 vapier Exp $
4 4
5# @ECLASS: fcaps.eclass 5# @ECLASS: fcaps.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Constanze Hausner <constanze@gentoo.org> 7# Constanze Hausner <constanze@gentoo.org>
8# base-system@gentoo.org 8# base-system@gentoo.org
160 : $(( ++notfound )) 160 : $(( ++notfound ))
161 continue 161 continue
162 ;; 162 ;;
163 *"Operation not supported"*) 163 *"Operation not supported"*)
164 local fstype=$(stat -f -c %T "${file}") 164 local fstype=$(stat -f -c %T "${file}")
165 ewarn "Could not set caps on '${file}' due to missing filesystem support." 165 ewarn "Could not set caps on '${file}' due to missing filesystem support:"
166 ewarn "Make sure you enable XATTR support for '${fstype}' in your kernel." 166 ewarn "* enable XATTR support for '${fstype}' in your kernel (if configurable)"
167 ewarn "You might also have to enable the relevant FS_SECURITY option." 167 ewarn "* mount the fs with the user_xattr option (if not the default)"
168 ewarn "* enable the relevant FS_SECURITY option (if configurable)"
168 break 169 break
169 ;; 170 ;;
170 *) 171 *)
171 eerror "Setting caps '${caps}' on file '${file}' failed:" 172 eerror "Setting caps '${caps}' on file '${file}' failed:"
172 eerror "${out}" 173 eerror "${out}"

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20