Re: multistrap rootfs with initramfs
+++ Brendan Simon (eTRIX) [2009-11-02 23:59 +1100]:
>
>
> Wookey wrote:
> >>> I guess it's a dpkg issue rather than a multistrap issue, but one would
> >>> have hoped for a more informative error message rather than a segfault.
> >>>
> >> True. :-)
> >>
> >
> > I would be good for someone to work out what the actual bug is. A
> > bugrep pointing out that there is an issue would be a helpful place to
> > hang such info.
> >
> I could have a go at a bug report for dpkg. Do I need to register as a
> Debian developer or have a Debian account ??
Nope, debian bug system is open to reports by anyone.
> How about having some options in the multistrap config file ??
> examples:
>
> [/etc/fstab] or [fstab]
> <add entries here>
>
> or something more generic like:
> [file /etc/fstab uid gid perm]
> <some content>
>
> or include an external file.
> [file /etc/fstab uid gid perm =
> /my/local/fs/home/brendan/emdebian/config/etc/fstab]
>
> Same for other config files that are needed.
>
> Maybe this is too much the multistrap config file, and another
> config/control (or tool) is a better option.
> If you like an "em_ms_secondstage" or "em_ms_setup"
Definately shouldn't go in multistrap config file directly. Keeping
the two functions largely or possibly entirely separate is a good
thing.
> An "em_ms_secondstage" or "em_ms_config" script could be part of the
> rootfs, that ran 'dpkg --configure -a', but after it did some sanity
> checks for various filesystems such as /proc, /sys, ... It could even
> mount them if they are not already mounted :)
That's quite a good idea. I would implement that as a separate packge
one could optionally include.
Wookey
--
Principal hats: iEndian - Balloonboard - Toby Churchill - Emdebian
http://wookware.org/
Reply to: