From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1gTwri-0005Xe-R1 for ptxdist@pengutronix.de; Mon, 03 Dec 2018 23:38:59 +0100 Received: by mail-lj1-x236.google.com with SMTP id g11-v6so13002471ljk.3 for ; Mon, 03 Dec 2018 14:38:58 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Andreas Friesen Date: Mon, 3 Dec 2018 23:38:46 +0100 Message-ID: Subject: Re: [ptxdist] rootfs: package 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="===============0981633827==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --===============0981633827== Content-Type: multipart/alternative; boundary="00000000000082a3c9057c25d06a" --00000000000082a3c9057c25d06a Content-Type: text/plain; charset="UTF-8" Hello everyone, it's work now. Here is a little patch. --- /usr/local/lib/ptxdist-2018.11.0/rules/host-opkg.make 2018-11-22 20:12:56.000000000 +0100 +++ rules/host-opkg.make 2018-12-03 23:36:48.214811901 +0100 @@ -31,7 +31,6 @@ # HOST_OPKG_CONF_TOOL := autoconf HOST_OPKG_CONF_OPT := \ - $(HOST_AUTOCONF) \ --disable-libopkg-api \ --disable-static \ --disable-pathfinder \ @@ -45,4 +44,6 @@ --without-libsolv \ --without-static-libopkg +# $(HOST_AUTOCONF) \ + # vim: syntax=make Am Do., 29. Nov. 2018 um 08:35 Uhr schrieb Andreas Friesen < ms.frsn@gmail.com>: > ... > Hello everyone, > > I migrated my project from 2017.05.0 to 2018.11.0 without any troubles, > but > "ptxdist images" has a problem with rootfs package. Options > PTXCONF_ROOTFS_RUN=y > PTXCONF_ROOTFS_VAR_RUN=y are active and I don't have any packages, which > install /run or /var/run as a directory. I checked all packages with > manually extract with : > ar x $package ; tar -xf ./data.tar.gz ; > > rootfs_1.0.0_armhf.ipk > ... > drwx------ 2 40 Nov 1 01:00 root > drwxr-xr-x 2 40 Nov 1 01:00 run > drwxr-xr-x 2 40 Nov 1 01:00 sys > ... > drwxr-xr-x 2 40 Nov 1 01:00 var/log > lrwxrwxrwx 1 6 Nov 1 01:00 var/run -> ../run > drwxr-xr-x 2 40 Nov 1 01:00 var/tmp > > also, rootfs package looks great for me, but what is wrong with "ptxdist > images" > ... > Installing usr-rootfs (1.0) on root. > InstallinCollected errors: > * check_data_file_clashes: Package rootfs wants to install file > /home/faix/ptx-multi/platform-soc/build-target/image-nor-mxfs4/var/run > But that path is currently a directory > * opkg_solver_install: Cannot install package rootfs. > g luacjson (1.0.0) on root. > .... > Installing rootfs (1.0.0) on root. > To remove package debris, try `opkg remove rootfs`. > To re-attempt the install, try `opkg install rootfs`. > ... > Configuring libndp. > make: *** [/home/faix/ptx-multi/rules/image-ubifs-mxfs4.make:12: > /home/ffaix/ptx-multi/platform-soc/images/root-mxfs4.ubifs] Error 255 > > - Andreas > --00000000000082a3c9057c25d06a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello everyone,

=
it's work now. Here is a little patch.

--- /usr/local/lib/ptxdist-2018.11.0/rules/host-opkg.make=C2= =A0 =C2=A0 =C2=A0 =C2=A02018-11-22 20:12:56.000000000 +0100=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0
+++ rules/host-opkg.make=C2=A0 =C2=A0 =C2=A0 =C2=A0= 2018-12-03 23:36:48.214811901 +0100
@@ -31,7 +31,6 @@
= =C2=A0#
=C2=A0HOST_OPKG_CONF_TOOL=C2=A0 =C2=A0 :=3D autoconf
=C2=A0HOST_OPKG_CONF_OPT=C2=A0 =C2=A0 =C2=A0:=3D \
-=C2=A0 = =C2=A0 =C2=A0 =C2=A0$(HOST_AUTOCONF) \
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 --disable-libopkg-api \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 --disable= -static \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 --disable-pathfinder \
@@ -45,4 +44,6 @@
=C2=A0 =C2=A0 =C2=A0 =C2=A0 --without-lib= solv \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 --without-static-libopkg
=

+#=C2=A0 =C2=A0 =C2=A0 $(HOST_AUTOCONF) \
+
=C2=A0# vim: syntax=3Dmake


Am Do., 29. Nov. 2018 um 08:35=C2= =A0Uhr schrieb Andreas Friesen <ms.= frsn@gmail.com>:
<= div dir=3D"ltr">
...
Hello everyone,

I migrated my=C2=A0project from 2017.05.0 to 2018.11.0 wi= thout any troubles, but=C2=A0
"ptxdist=C2=A0images" has= a problem with rootfs=C2=A0package. Options=C2=A0 PTXCONF_ROOTFS_RUN=3Dy
PTXCONF_ROOTFS_VAR_RUN=3Dy are active and I don't have an= y packages, which install /run or /var/run as a directory.=C2=A0 I checked = all packages with manually extract with :
ar x $package ; t= ar -xf ./data.tar.gz ;

rootfs_1.0.0_armhf.ipk<= br>
...
drwx------=C2=A0 =C2=A02=C2=A0 =C2=A0 40 N= ov=C2=A0 1 01:00 root
drwxr-xr-x=C2=A0 =C2=A02=C2=A0 =C2=A0 40 No= v=C2=A0 1 01:00 run
drwxr-xr-x=C2=A0 =C2=A02=C2=A0 =C2=A0 40 Nov= =C2=A0 1 01:00 sys
...
drwxr-xr-x=C2=A0 2=C2=A0 =C2=A04= 0 Nov=C2=A0 1 01:00 var/log
lrwxrwxrwx=C2=A0 1=C2=A0 =C2=A06 = Nov=C2=A0 1 01:00 var/run -> ../run
drwxr-xr-x=C2=A0 2=C2=A0 = =C2=A040 Nov=C2=A0 1 01:00 var/tmp

also, roo= tfs=C2=A0package looks great for me, but what is wrong=C2=A0 with "ptx= dist images"
...
Installing usr-rootfs (1.0) on ro= ot.
InstallinCollected errors:
=C2=A0* check_data_file_= clashes: Package rootfs wants to install file /home/faix/ptx-multi/platform= -soc/build-target/image-nor-mxfs4/var/run
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 But that path is currently a directory
=C2=A0* opkg_solver= _install: Cannot install package rootfs.
g luacjson (1.0.0) on ro= ot.
....=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
Installing r= ootfs (1.0.0) on root.
To remove package debris, try `opkg remove= rootfs`.
To re-attempt the install, try `opkg install rootfs`.
...
Configuring libndp.=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0
make: *** [/home/faix/ptx-multi/rules= /image-ubifs-mxfs4.make:12: /home/ffaix/ptx-multi/platform-soc/images/root-= mxfs4.ubifs] Error 255=C2=A0=C2=A0

- Andreas=
--00000000000082a3c9057c25d06a-- --===============0981633827== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============0981633827==--