mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Hardik A Gohil <hardik@willowglen.com.my>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Script
Date: Wed, 2 Sep 2015 16:35:28 +0800	[thread overview]
Message-ID: <CAEZH62PbsX5Ktr1oJ=-xFU1=baY_AY7_Ta1b4Y-jVcxVuuTuwQ@mail.gmail.com> (raw)
In-Reply-To: <55E6B0AD.1000207@pengutronix.de>


[-- Attachment #1.1: Type: text/plain, Size: 1005 bytes --]

Hello

On Wed, Sep 2, 2015 at 4:17 PM, Marc Kleine-Budde <mkl@pengutronix.de>
wrote:

> On 09/02/2015 09:44 AM, Hardik A Gohil wrote:
> > Hello,
> >
> > Can any one explain me this script from
> > rules/post/ptxd_make_image_common.make used while creating root.ubifs
> image
> >
> > DOPERMISSIONS := '{     \
> >         if ($$1 == "f") \
> >                 printf("chmod %s \".%s\"; chown %s.%s \".%s\";\n", $$5,
> > $$2, $$3, $$4, $$2);    \
> >         if ($$1 == "n") \
> >                 printf("rm -f \".%s\"; mkdir -p \".`dirname \"%s\"`\";
> > mknod -m %s \".%s\" %s %s %s; chown %s.%s \".%s\";\n", $$2, $$2, $$5,
> > $$2, $$6, $$7, $$8, $$3, $$4, $$2);}'
>
> This scripts generates chmod, chown commands to change the ownership and
> permission of a file or generates commands to create device nodes with
> given ownership and permissions.
>
>
awk -F: $(DOPERMISSIONS) $(image/permissions) called from here

I cannot find image/permissions file ??
-- 
Regards
Hardik A Gohil
Willowglen Msc Bhd

[-- Attachment #1.2: Type: text/html, Size: 1804 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2015-09-02  8:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-02  7:44 Hardik A Gohil
2015-09-02  8:17 ` Marc Kleine-Budde
2015-09-02  8:35   ` Hardik A Gohil [this message]
2015-09-02  8:46     ` Marc Kleine-Budde
2015-09-02  8:54       ` Hardik A Gohil
2015-09-02  9:29         ` Marc Kleine-Budde
2015-09-03  0:55           ` Hardik A Gohil
2015-09-03  7:04             ` Marc Kleine-Budde
2015-09-03  7:20               ` Hardik A Gohil
2015-09-03  7:37                 ` Marc Kleine-Budde
2015-09-03  7:46                   ` Hardik A Gohil
2015-09-03  7:49                     ` Marc Kleine-Budde
2015-09-03  9:50                       ` Hardik A Gohil

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='CAEZH62PbsX5Ktr1oJ=-xFU1=baY_AY7_Ta1b4Y-jVcxVuuTuwQ@mail.gmail.com' \
    --to=hardik@willowglen.com.my \
    --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