any comments?

thanks

luigi

On Tuesday 20 January 2009 23:02:41 Luigi Mantellini wrote:
> Hi developers,
> Hi users,
>
> I made the homework.
>
> The idea is to permit to have custom initramfs root and (at same time)
> the normal rootfs (jffs2, squash, ...) to give better flexibility at
> boot time for the applications (like mine...) that requires that.
>
> This patchset adds:
>
>   CONFIG_TARGET_CUSTOM_INITRAMFS option to enable/disable the support
> for a custom initramfs
>
> two (example) packets:
>
>   base-initramfs-files
>   busybox-mini
>
> that install files into the custom initramfs. In general the macros
> present into package-ipkg.mk file have a _initramfs suffixed version
> that follow the action on the initramfs root directory.
>
> Into the target build_dir is also created a root-initramfs-$(TARGET)
> with the root structure that will be linked with the kernel.
>
> Feel free to give me any comments on this patchset.
>
> ciao
>
> luigi
>
> 2009/1/19 Luigi 'Comio' Mantellini <luigi.mantellini...@gmail.com>:
> > 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

-- 
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

Reply via email to