From: Michael Olbrich <mol@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Gavin Schenk <g.schenk@eckelmann.de>
Subject: Re: [ptxdist] [APPLIED] rootfs: Fix creation of the /media directory
Date: Wed, 14 Oct 2020 12:30:50 +0200 [thread overview]
Message-ID: <E1kSe3W-0003fQ-N8@dude02.hi.pengutronix.de> (raw)
In-Reply-To: <20201008073253.20055-1-g.schenk@eckelmann.de>
Thanks, applied as 70ddbd1504778cbf9b5980765cb5f11bbf2f3eb2.
Michael
[sent from post-receive hook]
On Wed, 14 Oct 2020 12:30:50 +0200, Gavin Schenk <g.schenk@eckelmann.de> 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 <g.schenk@eckelmann.de>
> Message-Id: <20201008073253.20055-1-g.schenk@eckelmann.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> 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
prev parent reply other threads:[~2020-10-14 10:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-08 7:32 [ptxdist] [PATCH v3] " Gavin Schenk
2020-10-08 7:49 ` Uwe Kleine-König
2020-10-09 12:18 ` Michael Olbrich
2020-10-14 10:30 ` Michael Olbrich [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1kSe3W-0003fQ-N8@dude02.hi.pengutronix.de \
--to=mol@pengutronix.de \
--cc=g.schenk@eckelmann.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox