On Wed, Sep 2, 2015 at 5:29 PM, Marc Kleine-Budde <mkl@pengutronix.de> wrote:
On 09/02/2015 10:54 AM, Hardik A Gohil wrote:

> ultimately the permissions file which I cannot find in the ptxdist
> directory.
>
> Actually I am creating a script to generate the root.ubifs separately
> from environment

Why?

We have another team who adds applications to root and generates RFS.

> -------------------------------------------
> LEB_SIZE="126976"
> MINIMUM_IO_UNIT_SIZE="2048"
> MAX_LEB_COUNT="3929"
> EXTRA_ARGS=" -F"
> ROOTFS=root.ubifs
> FS_SOURCE_PATH=/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/root
> MKFS_UBIFS=/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/sbin/mkfs.ubifs
>
> $MKFS_UBIFS -d $FS_SOURCE_PATH -e $LEB_SIZE -m $MINIMUM_IO_UNIT_SIZE -c
> $MAX_LEB_COUNT $EXTRA_ARGS -o $ROOTFS
>
> ----------------------------------------------
>
> I need to add the permission manipulation and trying to figure out how
> to fit in this script.

Don't do this. Just install your files with the provided primitives by
ptxdist, see rules/post/install.make.


--
Regards
Hardik A Gohil
Willowglen Msc Bhd