Re: multistrap rootfs with initramfs
I managed to boot into a linux environment from an initramfs provided by
a vendor SDK. I then nfsmounted the multistrap rootfs to /nfsrootfs,
chroot to /nfsrootfs and executed 'dpkg --configure -a'.
It segfaulted :(
Running dpkg without args works ok, so it is the correct architecture :)
I know it is vague, but what could be causing the segfault ??
Any other dpkg commands I can/should try ??
>> So if the inittab can be setup to run 'dpkg --configure -a', either
>> every boot or by detecting the first boot, then telinit into the proper
>> runlevel, then things could work well ??
> 'dpkg --configure -a' is idempotent so it could be run every time - it
> would probably waste a second or two but the more packages get
> installed, the longer dpkg will take to start up. I've heard of ways of
> detecting first boot but I haven't tried any for real.
>> An other alternative could be to have an early rc.d script that could
>> run 'dpkg --configure -a' ??
> Probably too late - that's the issue, the maintainer scripts have not
> been run at all, not even preinst ones. For Grip 2.0, I'm going to be
> testing things like this to see just how far things can go before the
> unconfigured packages break things. By all means go ahead and test then
> put the results on the Wiki.