[softupdate] force-confnew on specific package.
Darshaka Pathirana
dpat at syn-net.org
Mon Mar 22 14:03:25 CET 2010
On 03/22/2010 01:51 PM, Michael Tautschnig wrote:
> [...]
>
>>> As you only want this for a single package and only once, I'd suggest you create
>>> a hook instsoft.FOO (for a proper class FOO) that does
>>>
>>> - create 90mypackage with the above contents
>>> - apt-get install theonepackage
>>> - rm 90mypackage
>>
>> Hmm. Ok. So by using apt-get in the hook-script I also have to
>> remove the package from the PACKAGE_CONFIG-entry? Right?
>
> This should not be necessary, no. Having the package in the package_config/X
> just becomes a no-op as it is installed already.
Ok. But I should have mentionend that the same class is used to
install a new machine with this package.
Don't I have to add some logic to disable the "apt-get install" when
detecting FAI_ACTION=install?
Regards,
- Darsha
More information about the linux-fai
mailing list