From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: In-Reply-To: <20201008073253.20055-1-g.schenk@eckelmann.de> MIME-Version: 1.0 Message-Id: From: Michael Olbrich Date: Wed, 14 Oct 2020 12:30:50 +0200 Subject: Re: [ptxdist] [APPLIED] 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 Cc: Gavin Schenk Thanks, applied as 70ddbd1504778cbf9b5980765cb5f11bbf2f3eb2. Michael [sent from post-receive hook] On Wed, 14 Oct 2020 12:30:50 +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 > Message-Id: <20201008073253.20055-1-g.schenk@eckelmann.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/rootfs.make b/rules/rootfs.make > index 6b37db5bdd52..419ca001e4ac 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 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de