Re: [OpenWrt-Devel] base-files: preinit scripts issue and mtd-utils package

2012-10-23 Thread Catalin Patulea
On Mon, Oct 22, 2012 at 11:51 AM, Roman Yeryomin leroi.li...@gmail.com wrote: https://lists.openwrt.org/pipermail/openwrt-devel/2011-September/012184.html Right, that's basically the same modification I was trying too.. except it doesn't compile: $ make package/mtd/compile V=s [...] ccache_cc

Re: [OpenWrt-Devel] base-files: preinit scripts issue and mtd-utils package

2012-10-22 Thread Petr Štetiar
Catalin Patulea c...@vv.carleton.ca [2012-10-21 14:26:58]: I noticed that many of the system scripts use mtd, so to reflect this in the package metadata I tried to make mtd a dependency of base-files. This would mean that if you select base-files, you also get mtd, achieving the same effect

Re: [OpenWrt-Devel] base-files: preinit scripts issue and mtd-utils package

2012-10-22 Thread Roman Yeryomin
On 22 October 2012 09:19, Petr Štetiar yn...@true.cz wrote: Catalin Patulea c...@vv.carleton.ca [2012-10-21 14:26:58]: I noticed that many of the system scripts use mtd, so to reflect this in the package metadata I tried to make mtd a dependency of base-files. This would mean that if you

[OpenWrt-Devel] base-files: preinit scripts issue and mtd-utils package

2012-10-21 Thread Petr Štetiar
Hi, while doing some testing of new firmware image yesterday, I've noticed, that no jffs2 overlay has been used, but just ramfs overlay. I've tracked it down to the lib/preinit/40_mount_jffs2 script: find_mount_jffs2() { mkdir -p /tmp/overlay mount

Re: [OpenWrt-Devel] base-files: preinit scripts issue and mtd-utils package

2012-10-21 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 mtd is in the mtd package, not mtd-utils. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCD598ACgkQdputYINPTPN9xgCfRq2BEieU5Zp6RdL90yMW5zz/

Re: [OpenWrt-Devel] base-files: preinit scripts issue and mtd-utils package

2012-10-21 Thread Petr Štetiar
Jo-Philipp Wich x...@subsignal.org [2012-10-21 15:17:35]: mtd is in the mtd package, not mtd-utils. Ok, sorry. I've meant mtd package, but wrote mtd-utils. Anyway, the conditions metioned in my previous email still apply. Without that mtd package it's not possible to use jffs2 /overlay. --

Re: [OpenWrt-Devel] base-files: preinit scripts issue and mtd-utils package

2012-10-21 Thread Catalin Patulea
On Sun, Oct 21, 2012 at 9:24 AM, Petr Štetiar yn...@true.cz wrote: Ok, sorry. I've meant mtd package, but wrote mtd-utils. Anyway, the conditions metioned in my previous email still apply. Without that mtd package it's not possible to use jffs2 /overlay. I noticed that many of the system

Re: [OpenWrt-Devel] base-files: preinit scripts issue and mtd-utils package

2012-10-21 Thread Catalin Patulea
On Sun, Oct 21, 2012 at 2:26 PM, Catalin Patulea c...@vv.carleton.ca wrote: Hope this helps :) If anyone knows some of the philosophy behind this, I would be happy to hack away at some patches, but as it stands, I don't have much to go on. An interesting example is myloader.h. It lives in