Hi All, I have another absurd idea and I would like to share it with community.
Problem to solve: My application needs to create a complex running environment after the boot. At boot time I have just a file with the file system that need to be analyzed to be mounted (I cannot mount it directly). Solution The idea is to have a micro initramfs with a (small) busybox and some scripts in order to perform the needed operation and create the final root file system. I have two choice: create a Image Makefile under my target that creates a minimal static busybox or give into the busybox' Config menu n option that permit to compile the busybox (in static way) avoiding to install into the main squashfs. The image Makefile will create an opportune initramfs file list that includes the created busybox and a init script that will link during the boot sequence the busybox into the final filesystem. I think that a "Package/*/InstallInitramfs" defne should be invoked to permit to the packages the installation of initramfs files. These are my confused 2EuroCents. ciao luigi -- Luigi Mantellini R&D - Software Industrie Dial Face S.p.A. Via Canzo, 4 20068 Peschiera Borromeo (MI), Italy Tel.: +39 02 5167 2813 Fax: +39 02 5167 2459 Email: luigi.mantell...@idf-hit.com
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel