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 1ZXP5t-0003Tk-29 for ptxdist@pengutronix.de; Thu, 03 Sep 2015 09:38:01 +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 354318E55B for ; Thu, 3 Sep 2015 07:37:59 +0000 (UTC) References: <55E6B0AD.1000207@pengutronix.de> <55E6B760.1090008@pengutronix.de> <55E6C17A.6070201@pengutronix.de> <55E7F107.2010804@pengutronix.de> From: Marc Kleine-Budde Message-ID: <55E7F8D4.9070003@pengutronix.de> Date: Thu, 3 Sep 2015 09:37:56 +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="===============0468728830==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============0468728830== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1gADHuMWvOLm6ExtCxFm56HdnMqXWb4uR" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --1gADHuMWvOLm6ExtCxFm56HdnMqXWb4uR Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/03/2015 09:20 AM, Hardik A Gohil wrote: >> I see two options: >> Let ptxdist generate a tar.gz of the rootfs. The rootfs has proper >> owner/permissions and device node inside. You can do what ever you wan= t >> with this. > Yes now I am generating tar.gz of the rootfs and passing the tar ball t= o > other team to add the application. Are you using ptxdist to generate the tar.gz? > 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 >=20 > $MKFS_UBIFS -d $FS_SOURCE_PATH -e $LEB_SIZE -m $MINIMUM_IO_UNIT_SIZE -c= > $MAX_LEB_COUNT $EXTRA_ARGS -o $ROOTFS > -----------------------------------------------------------------------= ---------- >=20 > After root.ubifs loaded to target permissions are missing in few folder= s. Are you extracting the tarball and creating the ubifs in one go in a fakeroot environment? 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 | --1gADHuMWvOLm6ExtCxFm56HdnMqXWb4uR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJV5/jUAAoJEP5prqPJtc/H5i8H/iiFwd33U/XJhYZXSrqI4FW2 38FGL9ke5QE+NCdZB/kyf7/B6MPkT0kLZEDmLtMfXxKKu8hYXUbCDT1HfSZFFm7K 6TYE2IbkRpBSQUMH5gk0M4ucbMbtdSUOTACW5dEN5j8ETLIWMSErt7jFv4/CdWJy PgKN1/ZqpZcHb7VtYAqkmvPjiBO08GpsNd2zLyp2zw5adJzjysrle6hXahH1UcfU uJ8OIkIP5oVPQIR5STdXX7sQ/36z2PdWjSTDOa2IFi1rgk6U50+OFbwV6EBbYbhp d20XCeg5qa56JuxtLEASu5doYwaWPu8IQOAR1tPzigUHJn/2HQF6vHLeNrufP1Q= =R3Zt -----END PGP SIGNATURE----- --1gADHuMWvOLm6ExtCxFm56HdnMqXWb4uR-- --===============0468728830== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline LS0gCnB0eGRpc3QgbWFpbGluZyBsaXN0CnB0eGRpc3RAcGVuZ3V0cm9uaXguZGUK --===============0468728830==--