Hi Alex,

Can someone suggest a way to install different versions of the same package for different HW platforms?
Our thoughts were the following.
1) Using instsoft hook, which is run before packages installation process starts, to add HW specific repository for the platform handled. apt-get update is run after adding a HW repository to sources.list. We tried this but didn't succeed.

Write an instsoft hook which just does

fcopy /etc/apt/sources.list /etc/apt/preferences

Then you can put all the configuration for your Hardware CLASS in files/etc/apt/{sources.list,preferences}/CLASS.

Regards,
Michael

Antwort per Email an