Re: simple-cdd debconf questions
Hy!
Hope you are still interested on solving this issue, I haven't read
the list for some time.
2007/11/16, vagrant@freegeek.org <vagrant@freegeek.org>:
> On Tue, Nov 13, 2007 at 10:55:58PM +0100, Pablo R. wrote:
> > I'm testing simple-cdd to build a debian installer and it works fine,
> > but I need to ask some questions in the installation of one package.
> > I've tried to export DEBIAN_FRONTEND=dialog and dpkg-reconfigure
> > package from myprofile.postinst but it doesn't work correctly. I dont
> > know if I'm making some step wrong or if it's not posible. Please,
> > could you give me any help about what files should I modify to make it
> > work?
>
> since the postinst script is running from within debian-installer, you
> might get some strange results- i'm not sure how to get it to work
> properly.
This is right, and I wasn't able to make it work this way too.
> maybe someone else on the list has an idea how to get it to work?
I have got a solution, horrible but works fine :) , just add in your
profile/yourprofile.postinst file:
#!/bin/bash
dpkg-reconfigure -p low -f gtk yourpackage
This way the package will still be installed with none Debian
front-end, but by the time the postinst script is called this has
changed and you are able to reconfigure the package and the debconf
questions will be shown.
If you find a "cleaner" way of solving this please let all us know.
Kind regards,
--
Matias S. Soler
gnuler.blogspot.com
Reply to: