From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx-relay70-hz1.antispameurope.com ([94.100.133.235]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kPMbr-0000K4-Kt for ptxdist@pengutronix.de; Mon, 05 Oct 2020 11:16:44 +0200 From: Gavin Schenk Date: Mon, 5 Oct 2020 11:16:16 +0200 Message-ID: <20201005091616.1281120-1-g.schenk@eckelmann.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH] rootfs: Fix creation of the /media directory List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============1257859908==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Gavin Schenk --===============1257859908== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain The directory /media is created depending on PTXCONF_ROOTFS_MEDIA only. On our read-only system we mount a tmpfs on /media, so that we can dynamically create additional mount points. With PTXCONF_ROOTFS_MEDIA set, but none of PTXCONF_ROOTFS_MEDIA[1-6], the /media directory was not created and mounting failed. fixes: 63e2d8696124083fc Signed-off-by: Gavin Schenk --- rules/rootfs.make | 1 + 1 file changed, 1 insertion(+) diff --git a/rules/rootfs.make b/rules/rootfs.make index 6b37db5bd..419ca001e 100644 --- a/rules/rootfs.make +++ b/rules/rootfs.make @@ -63,6 +63,7 @@ ifdef PTXCONF_ROOTFS_HOME_ROOT @$(call install_copy, rootfs, 0, 0, 0700, /root) endif ifdef PTXCONF_ROOTFS_MEDIA + @$(call install_copy, rootfs, 0, 0, 0755, /media) ifneq ($(call remove_quotes,$(PTXCONF_ROOTFS_MEDIA1)),) @$(call install_copy, rootfs, 0, 0, 0777, /media/$(PTXCONF_ROOTFS_M= EDIA1)) endif -- 2.28.0 Eckelmann AG Vorstand: Dipl.-Ing. Peter Frankenbach (Sprecher) Dipl.-Wi.-Ing. Philipp Ec= kelmann Dr.-Ing. Marco M=FCnchhof Dr.-Ing. Frank Uhlemann Vorsitzender des Aufsichtsrats: Hubertus G. Krossa Stv. Vorsitzender des Au= fsichtsrats: Dr.-Ing. Gerd Eckelmann Sitz der Gesellschaft: Berliner Str. 161, 65205 Wiesbaden, Amtsgericht Wies= baden HRB 12636 http://www.eckelmann.de --===============1257859908== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de --===============1257859908==--