[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Rescue flavor improvements

Daniel Baumann <daniel at debian.org> writes:

> Alex Owen wrote:
>> I think we should think carefully about this... we don't want to end
>> up with too many files with the same list of packages in them...
>> also don't want too many different list files...
>> Maybe some kind of "#ifdef amd46" or #ifdef etch" in the regular files?
>> Not sure how to implement that though...
> hmm.. using something like #ifdef (or any other 'magic word') should be
> easy doable with some sed magic in a pre-processing stage just like
> #includes are evaluated/expanded.

That's really simple to do. As a reference I suggest to take a look at
python-cdd code since it's done there.

1. https://projetos.ossystems.com.br/python-cdd/browser/trunk/cdd/PackageList.py#L358


        O T A V I O    S A L V A D O R
 E-mail: otavio at debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
"Microsoft sells you Windows ... Linux gives
 you the whole house."

Reply to: