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

Re: [Debian-med-packaging] Infernal on i386



I'm not able to make it, but the ideal way would be to make  preinst that notifies the user that the program won't start, and gives them the option to cancel the install there.

On Wed, Sep 17, 2014 at 11:27 PM, Andreas Tille <andreas@an3as.eu> wrote:
Hi Jackson,

thanks for your input.

On Wed, Sep 17, 2014 at 11:10:24AM +1000, Jackson Doak wrote:
> Hello all,
>
> Would it be possible to build infernal on i386 again, and use a script to
> check for SSE2 support?
>
> For example, The package "ikarus", also requires SSE2 support.
> It has a check in the preinst script which aborts installation if
> sse2 is unavailable.
>
> case "$1" in
>     install|upgrade)
>       if egrep -q '^flags[[:space:]]*:.*\bsse2\b' /proc/cpuinfo; then
>           # echo CPU instruction set extension sse2 confirmed
>           true
>       else
>           echo "error: CPU flag sse2 not found, aborting installation"
>           exit 1
>       fi
>     ;;

I admit I'm not sure whether this is really the best solution for the
problem.  If you try to install a set of packages including infernal (or
ikarus) the installation just throws an error.  This sounds suboptimal
to me.  Is there any better solution for this problem?

Kind regards

      Andreas.

--
http://fam-tille.de


Reply to: