From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1ZXPHX-0004LW-Ge for ptxdist@pengutronix.de; Thu, 03 Sep 2015 09:50:03 +0200 Received: from [172.17.34.152] (unknown [172.17.34.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: mkl@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id 9E07D8E56E for ; Thu, 3 Sep 2015 07:50:01 +0000 (UTC) References: <55E6B0AD.1000207@pengutronix.de> <55E6B760.1090008@pengutronix.de> <55E6C17A.6070201@pengutronix.de> <55E7F107.2010804@pengutronix.de> <55E7F8D4.9070003@pengutronix.de> From: Marc Kleine-Budde Message-ID: <55E7FBA6.1000806@pengutronix.de> Date: Thu, 3 Sep 2015 09:49:58 +0200 MIME-Version: 1.0 In-Reply-To: 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="===============0663085089==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============0663085089== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="n5pqr8HBPN5q5jcUEiElxsJcvWWtl2AcP" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --n5pqr8HBPN5q5jcUEiElxsJcvWWtl2AcP Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/03/2015 09:46 AM, Hardik A Gohil wrote: >> Are you using ptxdist to generate the tar.gz? >=20 > Yes first i am generating tar.gz file using ptxdist. >>> and they are generating root.ubifs using the following script >>> >> ----------------------------------------------------------------------= ------- >>> 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$HOME/Downloads/root >>> #FS_SOURCE_PATH=3D$HOME/tmp >>> >> 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 >>> >> ----------------------------------------------------------------------= ----------- >>> >>> After root.ubifs loaded to target permissions are missing in few fold= ers. >> >> Are you extracting the tarball and creating the ubifs in one go in a >> fakeroot environment? >> >=20 > 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? Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | --n5pqr8HBPN5q5jcUEiElxsJcvWWtl2AcP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJV5/umAAoJEP5prqPJtc/Hz6QIAKkC1k6q9Wn7KDzXuA2uC7h2 c5UkQyt74KbyoNbayOwL1SVOZ4Hpe7I9QtGoWfQNGdU+AlrJvK59VT9x2z4OMpRZ oi4WhujEGNXNb/RuPiKR83S7plwUqVi4rY89M2rwMpXQT35L8tTp46c0iiUdnjGj PoU8eb8+sDrtJ2HtNNnyHuEoO2KP95erIggB4mlseUSzzvxJjO7nAQ+vatMc+exS 5MpKb88Oseqlrvcyjmcm7u9VsFWeriRCC55cbfitS8mLBcyLH6ZkXKPIRU1D5Yr/ lkAH94R1vN8l1Ui04LiQBjCfeqzWnKqY51jHP2SIZv1DcCXjvyc757G92wHfNC4= =aE5R -----END PGP SIGNATURE----- --n5pqr8HBPN5q5jcUEiElxsJcvWWtl2AcP-- --===============0663085089== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline LS0gCnB0eGRpc3QgbWFpbGluZyBsaXN0CnB0eGRpc3RAcGVuZ3V0cm9uaXguZGUK --===============0663085089==--