Browse Source

squashfs-tools: fixed to disable xattr support if the attr package is not effectively installed

user/chris/0.1.0/grsecurity
Christian Wiese 14 years ago
parent
commit
256a63572d
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      filesystem/squashfs-tools/squashfs-tools.conf

+ 7
- 0
filesystem/squashfs-tools/squashfs-tools.conf

@ -16,5 +16,12 @@
makeinstopt=
hook_add preconf 2 'cd squashfs-tools'
# xattr support
if ! pkginstalled -f attr; then
var_append makeopt ' ' "XATTR_SUPPORT=0"
var_append makeopt ' ' "XATTR_DEFAULT=0"
fi
hook_add postmake 5 "install {mk,un}squashfs $root$sbindir/"

Loading…
Cancel
Save