瀏覽代碼

package/apparmor: fixing installation os detection

Actually the install target of some tools like the parser tries to do
an os detection to understand what install and where.
Incidentally, when the install is invoked on SuSE, this will trig a bug
in parallel install which manifests as "target/lib/apparmor: File exists"
error. For this problem, a patch is already sent upstream.

For buildroot instead, the os detection is useless so we disable it
and use a generic install method.

Fixes:
http://autobuild.buildroot.net/results/b18c6a9ce67065dcb7968c6f473b3b403d2925d2

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Angelo Compagnucci 5 年之前
父節點
當前提交
cf56da5481
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package/apparmor/apparmor.mk

+ 1 - 1
package/apparmor/apparmor.mk

@@ -15,7 +15,7 @@ APPARMOR_LICENSE_FILES = LICENSE parser/COPYING.GPL
 APPARMOR_DEPENDENCIES = libapparmor
 APPARMOR_DEPENDENCIES = libapparmor
 
 
 APPARMOR_TOOLS = parser
 APPARMOR_TOOLS = parser
-APPARMOR_MAKE_OPTS = USE_SYSTEM=1
+APPARMOR_MAKE_OPTS = USE_SYSTEM=1 DISTRO=unknown
 
 
 ifeq ($(BR2_PACKAGE_APPARMOR_BINUTILS),y)
 ifeq ($(BR2_PACKAGE_APPARMOR_BINUTILS),y)
 APPARMOR_TOOLS += binutils
 APPARMOR_TOOLS += binutils