[SM-Discuss] removing files from spell's install file

Elisamuel Resto ryuji at codemages.net
Thu Dec 4 15:34:19 EST 2008


On 2008-12-04 09:36:36, Jaka Kranjc wrote:
>On Thursday 04 of December 2008 02:07:39 Elisamuel Resto wrote:
>> Well, here's the situation:
>>
>> I have a kernel-headers spell for easier updates of the kernel headers,
>> but to get it in a usable state I need to strip the headers out of glibc
>> so that when glibc is recasted it doesn't remove the headers.
>>
>> The best solution I can think of is having kernel-headers sniff through
>> the glibc install log and remove the relevant lines so to avoid that.
>> But that arises the question, what is the safest way to do it?
>
> Yuck. Why not make glibc not install them anymore and then trigger a recast of 
> both spells in the proper order?

Then, install kernel-headers, then cast glibc (which will dispell itself) and
remove (potentially) files installed by kernel-headers. It's a nasty situation.

-- 
Elisamuel Resto <samuel at dragonboricua.net>
Source Mage General Guru / http://sourcemage.org
GPG ID: 18615F19/1024D   / http://simplysam.us
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/sm-discuss/attachments/20081204/9b5ea5d2/attachment.bin 


More information about the SM-Discuss mailing list