From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kQrLh-0007vh-Cm for ptxdist@pengutronix.de; Fri, 09 Oct 2020 14:18:13 +0200 Received: from mol by dude02.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1kQrLh-00064y-3v for ptxdist@pengutronix.de; Fri, 09 Oct 2020 14:18:13 +0200 Date: Fri, 9 Oct 2020 14:18:13 +0200 From: Michael Olbrich Message-ID: <20201009121813.GC26482@pengutronix.de> References: <20201008073253.20055-1-g.schenk@eckelmann.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201008073253.20055-1-g.schenk@eckelmann.de> Subject: Re: [ptxdist] [PATCH v3] 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On Thu, Oct 08, 2020 at 09:32:53AM +0200, Gavin Schenk wrote: > Ensure that with PTXCONF_ROOTFS_MEDIA set directory '/media' is created > even if none of PTXCONF_ROOTFS_MEDIA[1-6] is set. > > On our read-only system we mount a tmpfs on directory '/media' in order > to dynamically create additional mount points there. > > Fixes: 63e2d8696 (rootfs: don't create empty /media subdirs) > Signed-off-by: Gavin Schenk > --- > Hi, > > the "messed whitespaces" of changes in our mail server software. > Our IT department implemented a workaround, I hope this > mail looks better. Looks good now. Michael > Regards > Gavin > > > 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_MEDIA1)) > endif > -- > 2.28.0 > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de