On Thu, Sep 3, 2015 at 3:49 PM, Marc Kleine-Budde <[email protected]>
wrote:

> On 09/03/2015 09:46 AM, Hardik A Gohil wrote:
> >> Are you using ptxdist to generate the tar.gz?
> >
> > Yes first i am generating tar.gz file using ptxdist.
>
> >>>  and they are generating root.ubifs using the following script
> >>>
> >>
> -----------------------------------------------------------------------------
> >>> LEB_SIZE="126976"
> >>> MINIMUM_IO_UNIT_SIZE="2048"
> >>> MAX_LEB_COUNT="3929"
> >>> EXTRA_ARGS=" -F"
> >>> ROOTFS=root.ubifs
> >>> FS_SOURCE_PATH=$HOME/Downloads/root
> >>> #FS_SOURCE_PATH=$HOME/tmp
> >>>
> >>
> 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
> >>>
> >>
> ---------------------------------------------------------------------------------
> >>>
> >>> After root.ubifs loaded to target permissions are missing in few
> folders.
> >>
> >> Are you extracting the tarball and creating the ubifs in one go in a
> >> fakeroot environment?
> >>
> >
> > Then extract the root.tgz , add applications and create the root.ubifs
> > image using the above script.
>
> The question is, are you running the extract and mkfs.ubifs in a single
> fakeroot instance or as root?
>
>

> I extracted the root.tgz using the root permissions and loaded to
> target.Now permissions are intact without corruption.
>

   May be this was the problem.

   Thank you



-- 
Regards
Hardik A Gohil
Willowglen Msc Bhd
-- 
ptxdist mailing list
[email protected]

Reply via email to