From patchwork Mon Mar 18 16:30:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Norbert Lange X-Patchwork-Id: 1057941 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.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.b="RGBaXu55"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44NM9n1K4Mz9s5c for ; Tue, 19 Mar 2019 03:30:36 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8EAD187C14; Mon, 18 Mar 2019 16:30:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ia2itfKB6Q+8; Mon, 18 Mar 2019 16:30:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id E869587C0C; Mon, 18 Mar 2019 16:30:29 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id A22B71BF2B0 for ; Mon, 18 Mar 2019 16:30:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9EEE486130 for ; Mon, 18 Mar 2019 16:30:28 +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 prweCjGrq2Mk for ; Mon, 18 Mar 2019 16:30:28 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by fraxinus.osuosl.org (Postfix) with ESMTPS id BBC6486126 for ; Mon, 18 Mar 2019 16:30:27 +0000 (UTC) Received: by mail-wr1-f43.google.com with SMTP id k1so17326416wre.1 for ; Mon, 18 Mar 2019 09:30:27 -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:mime-version :content-transfer-encoding; bh=cLgETcSj4sr7xrE09EebJZrh4q7sbxVpGGv5DDw8VpQ=; b=RGBaXu55iLF5SCmB9s7iJyH3WH4+6zM0/Lc+00wIhA31E5GEOo6PT+HtGD+IEBhLh7 w+afflNmdmkoiXB/AfYbhW0WNpkstEf7Nw5YM34F6dEVJ04rNMnssm18Cr8+ucN0yFF5 LSSWybhfri7q3A7vs9nSynNIjLgnHEZsCIfUrdqhcNx6mYp6LEH1ebXRHWnDHoMchwwE Kzr4FNXNxkMAQWTBdVojtd/k5NnbnNPhDO8rCzEaeXLPdtrYJ7sgPri9HnPosI7BOAIa yfMBnDarLdcfOkEJGdL5iololDrpiWOrGt2AvzEyDVUsV+C3iuBk+yInsSxXNTqP2D2y cfTg== 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:mime-version :content-transfer-encoding; bh=cLgETcSj4sr7xrE09EebJZrh4q7sbxVpGGv5DDw8VpQ=; b=aY/l48KTfQPdnWg8oJXmSkQOsjNu9QbvwC2LVGagIptoq2cCBjE+XczEHebhRgoXDp JTttw58QzK7Q/5hX2ZnpY44jrbT11/jXaNdiBPsIhhCrcdlTVZNal9WePA8LZpPIbh1C E80r3+5QhYOKtZbwRqgnpwu68o5Z9e7ZnvXEdKpz0orpuw+AXO/AmtGl/AlIbBQfnSB1 zAGIJHCdhIBKJ+5nA5K3wml3lpTHzLGrPs4XBmpA87BvOBfgtQ4zpLdfNpNm1IafyJgg tht1BQKkfCnMFs1eMNbo8hff5Cey9+ZFaAzsuDKwjCZe0zzTdVJGyvp5i9xGi/hOVIuT DTlw== X-Gm-Message-State: APjAAAUsVNRFi/w1aoZTSqHRwAd609XcAXv1vcNp29Gg5Q5EiIU3nzb+ zm1YGGcCvJoW2ZhJRjPMvRfyI8iY X-Google-Smtp-Source: APXvYqy/oEFCG0fLawccqIuOnRmQEyvtCMy43z1XIuGkjRsaMOwFp+pVtjFPr1RsHOUfGX7LMv2ulA== X-Received: by 2002:a5d:428f:: with SMTP id k15mr6041798wrq.113.1552926626154; Mon, 18 Mar 2019 09:30:26 -0700 (PDT) Received: from lano-work.andritz.com ([80.120.136.76]) by smtp.gmail.com with ESMTPSA id f1sm7824393wmh.44.2019.03.18.09.30.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Mar 2019 09:30:25 -0700 (PDT) From: Norbert Lange X-Google-Original-From: Norbert Lange To: buildroot@buildroot.org Date: Mon, 18 Mar 2019 17:30:10 +0100 Message-Id: <20190318163010.8056-1-norbert.lange@andritz.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/skeleton-init-common: Create /lib/modules directory 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: Norbert Lange Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" For read-only root file systems, the kernel-modules will be mounted over this directory. This directory should always exist for this reason, just as /mnt and /opt are in the skeleton. Signed-off-by: Norbert Lange --- package/skeleton-init-common/skeleton-init-common.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/skeleton-init-common/skeleton-init-common.mk b/package/skeleton-init-common/skeleton-init-common.mk index e429b13d78..b39794eddc 100644 --- a/package/skeleton-init-common/skeleton-init-common.mk +++ b/package/skeleton-init-common/skeleton-init-common.mk @@ -20,6 +20,7 @@ define SKELETON_INIT_COMMON_INSTALL_TARGET_CMDS $(call SYSTEM_RSYNC,$(SKELETON_INIT_COMMON_PATH),$(TARGET_DIR)) $(call SYSTEM_USR_SYMLINKS_OR_DIRS,$(TARGET_DIR)) $(call SYSTEM_LIB_SYMLINK,$(TARGET_DIR)) + $(INSTALL) -d -m 0755 $(TARGET_DIR)/lib/modules $(SED) 's,@PATH@,$(BR2_SYSTEM_DEFAULT_PATH),' $(TARGET_DIR)/etc/profile $(INSTALL) -m 0644 support/misc/target-dir-warning.txt \ $(TARGET_DIR_WARNING_FILE)