[Debian-med-packaging] Infernal on i386
Jackson Doak
noskcaj at ubuntu.com
Wed Sep 17 19:41:11 UTC 2014
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 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20140918/57cbf4d8/attachment.html>
More information about the Debian-med-packaging
mailing list