From patchwork Fri Jul 31 20:40:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Duskett X-Patchwork-Id: 1339600 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=LEmiWB4Q; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BJK273HqXz9sRW for ; Sat, 1 Aug 2020 06:41:35 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B5B8A86D17; Fri, 31 Jul 2020 20:41:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4VEm2H1L81mN; Fri, 31 Jul 2020 20:41:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id D33D4869C9; Fri, 31 Jul 2020 20:41:30 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 9938A1BF4DB for ; Fri, 31 Jul 2020 20:41:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7689121513 for ; Fri, 31 Jul 2020 20:41:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AJbiSGLIIUy3 for ; Fri, 31 Jul 2020 20:41:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by silver.osuosl.org (Postfix) with ESMTPS id A2DE920534 for ; Fri, 31 Jul 2020 20:41:13 +0000 (UTC) Received: by mail-pl1-f194.google.com with SMTP id w19so4981659plq.3 for ; Fri, 31 Jul 2020 13:41:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Wgy/pvd8K5RCzf2sJBw7AWAy5+YHKoWEy4imPomku8c=; b=LEmiWB4QwHd5/qL4ej//+BpLLw1RaXw9bOX9SltqgOst6ezZK+fQckGRx2BaAt41FW Jck2MEtqG/gQdJJ3fq7JUMty+xv34nHTgjbtODz5h41oDk/ytERZTeGlZlBWyuiDsrzz uiRu//U8PCJ0CefxSMh0z9HSMSXqoJl8WTIhGENe+kyQdqILN3soeIuyOYN2HyRbr2Js yDmJiW7n6DhwHssUt3VtYHVOHItapQ/kSvTlvOozi5BMFT5Q7qnzY7CQaeEqc8Sop7sc pPvdD8O2d3O7SzZMmwM5472/2RIVE/ocyujckkxp9NLLZTM/5sdrG+j0DA22yTqUTTBt z73A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Wgy/pvd8K5RCzf2sJBw7AWAy5+YHKoWEy4imPomku8c=; b=qQKhkAoxvMwSzFf4sjdS1rBA6iCtuOTp/VONlt8VS7fZMJj95ksiUpzEdvkfalndgc hRkxzYoJDICOymVLSMNVtceyercsDdal6j478/Og0wVM6gluztwhsKXxSF0Qf/7xSGqa x1wY6pzKcujN6PwZ+113RH6tloA3aV4xNIIt7KWQ7jaPAr2EzfXgn+0ysh2nmkfDZZwn ikKj+SsbEmKGv4TdoU550hCWWM74KoBytgUD02rS3mpNWHuOqwYLbsQgCAnj+KYnytoZ +p6WaseeoARD3R0wkJdrOO6L1gQuxGFgOR1xdPWO5FxmBBnfQTe1ozvpiAO61Lnw/vQF WBJA== X-Gm-Message-State: AOAM531qBuOlxgnSkpXszsYYgTHZL0bJw+J6RDaNw6wFHEKuBqPbKiOG JcrgWxAOPxr234AbBdAdnsaq3lfEkUs= X-Google-Smtp-Source: ABdhPJyvfKEk+ZKQQb9b03TebIUw/Wt2/NEXzygbJr23tqtNyjALadkBL6RMBKr2fLrMQB7JLRWR+w== X-Received: by 2002:a17:902:d90e:: with SMTP id c14mr5034597plz.37.1596228073007; Fri, 31 Jul 2020 13:41:13 -0700 (PDT) Received: from localhost.localdomain ([47.149.8.172]) by smtp.gmail.com with ESMTPSA id j20sm2899368pjy.51.2020.07.31.13.41.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2020 13:41:12 -0700 (PDT) From: aduskett@gmail.com To: buildroot@buildroot.org Date: Fri, 31 Jul 2020 13:40:59 -0700 Message-Id: <20200731204100.1171427-9-aduskett@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200731204100.1171427-1-aduskett@gmail.com> References: <20200731204100.1171427-1-aduskett@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 8/9] package/libselinux: enable kernel selinux support for squashfs images X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matt Weber , Marcus Folkesson , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Adam Duskett If BR2_TARGET_ROOTFS_SQUASHFS is selected, enable the following kernel options: - CONFIG_SQUASHFS_XATTR Signed-off-by: Adam Duskett --- package/libselinux/libselinux.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libselinux/libselinux.mk b/package/libselinux/libselinux.mk index 3dee922214..f2c2922122 100644 --- a/package/libselinux/libselinux.mk +++ b/package/libselinux/libselinux.mk @@ -127,6 +127,8 @@ define LIBSELINUX_LINUX_CONFIG_FIXUPS $(call KCONFIG_ENABLE_OPT,CONFIG_F2FS_FS_SECURITY)) $(if $(BR2_TARGET_ROOTFS_JFFS2), $(call KCONFIG_ENABLE_OPT,CONFIG_JFS_SECURITY)) + $(if $(BR2_TARGET_ROOTFS_SQUASHFS), + $(call KCONFIG_ENABLE_OPT,CONFIG_SQUASHFS_XATTR)) endef $(eval $(generic-package))