mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Script
@ 2015-09-02  7:44 Hardik A Gohil
  2015-09-02  8:17 ` Marc Kleine-Budde
  0 siblings, 1 reply; 13+ messages in thread
From: Hardik A Gohil @ 2015-09-02  7:44 UTC (permalink / raw)
  To: ptxdist


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

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);}'


-- 
Regards
Hardik A Gohil
Willowglen Msc Bhd

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

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

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-09-03  9:50 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-02  7:44 [ptxdist] Script Hardik A Gohil
2015-09-02  8:17 ` Marc Kleine-Budde
2015-09-02  8:35   ` Hardik A Gohil
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox