From: Anton Chernyshov <flammifer@inbox.ru> To: "devel@ where you _can_ ask" <devel-newbies@lists.altlinux.org> Subject: [newbies] powder toy and alternatives Date: Tue, 9 Nov 2010 13:54:57 +0300 Message-ID: <AANLkTindBwE+WhNqQE=mtNgPqRPg6DwTCuRnMaWHszVM@mail.gmail.com> (raw) Я тут решил поменять опции сборки powder toy. Теперь собирается много бинарников с поддержкой sse,sse2,sse3. Чтобы пользователь мог переключать разные бинарники - я создал несколько файлов для alternatives. Пакет нормально собирается, устанавливается. Только переключалка через alterator не работает в принципе. Альтернативу можно выбрать, только после нажатия кнопки применить - возвращается вариант по умолчанию. Если в /etc/alternatives/manual написать такую строчку: /usr/bin/powder /usr/bin/powder-64-sse3 manual А затем вызывать alternatives-update, то она матюгается вот так: [root@host13 alternatives]# alternatives-update alternatives-auto: /usr/bin/powder is not alternative in manual mode alternatives-auto: /usr/bin/powder is not alternative in manual mode alternatives-auto: don't forget to run alternatives-update to apply changes Но ссылку перетыкает. spec-файл можно тут посмотреть: http://git.altlinux.org/people/ach/packages/?p=powder.git;a=tree;h=1f718fa855563fbef74ff6afb29aef23c3a60ffc;hb=1f718fa855563fbef74ff6afb29aef23c3a60ffc Что я не так делаю? -- С уважением, Чернышов Антон
reply other threads:[~2010-11-09 10:54 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to='AANLkTindBwE+WhNqQE=mtNgPqRPg6DwTCuRnMaWHszVM@mail.gmail.com' \ --to=flammifer@inbox.ru \ --cc=devel-newbies@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
devel@ where you _can_ ask This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \ devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com public-inbox-index devel-newbies Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies AGPL code for this site: git clone https://public-inbox.org/public-inbox.git