From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-yk0-f173.google.com ([209.85.160.173]) by metis.ext.pengutronix.de with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from ) id 1ZXIod-0002xH-Ve for ptxdist@pengutronix.de; Thu, 03 Sep 2015 02:55:48 +0200 Received: by ykcf206 with SMTP id f206so28580243ykc.3 for ; Wed, 02 Sep 2015 17:55:41 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <55E6C17A.6070201@pengutronix.de> References: <55E6B0AD.1000207@pengutronix.de> <55E6B760.1090008@pengutronix.de> <55E6C17A.6070201@pengutronix.de> Date: Thu, 3 Sep 2015 08:55:40 +0800 Message-ID: From: Hardik A Gohil Subject: Re: [ptxdist] Script List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============1286903806==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --===============1286903806== Content-Type: multipart/alternative; boundary=001a113b98ea02594b051ecd3e52 --001a113b98ea02594b051ecd3e52 Content-Type: text/plain; charset=UTF-8 On Wed, Sep 2, 2015 at 5:29 PM, Marc Kleine-Budde 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 --001a113b98ea02594b051ecd3e52 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Wed, Sep 2, 2015 at 5:29 PM, Marc Kleine-Budde <= ;mkl@pengutronix.de= > wrote:
O= n 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<= br> > from environment

Why?

We have another team who ad= ds applications to root and generates RFS.

> -------------------------------------------
> LEB_SIZE=3D"126976"
> MINIMUM_IO_UNIT_SIZE=3D"2048"
> MAX_LEB_COUNT=3D"3929"
> EXTRA_ARGS=3D" -F"
> ROOTFS=3Droot.ubifs
> FS_SOURCE_PATH=3D/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phy= CORE-AM335x/root
> MKFS_UBIFS=3D/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 primiti= ves by
ptxdist, see rules/post/install.make.


--
Regards
Hardik A Gohil
Wil= lowglen Msc Bhd

--001a113b98ea02594b051ecd3e52-- --===============1286903806== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline LS0gCnB0eGRpc3QgbWFpbGluZyBsaXN0CnB0eGRpc3RAcGVuZ3V0cm9uaXguZGUK --===============1286903806==--