From: Alexey Tourbin <at@altlinux.ru> To: ALT Linux kernel packages development <devel-kernel@altlinux.ru> Subject: [d-kernel] Re: kernel order Date: Fri, 19 Dec 2003 16:31:07 +0300 Message-ID: <20031219133107.GZ18450@julia.office.altlinux.ru> (raw) In-Reply-To: <20031218202035.GC1360@osdn.org.ua> [-- Attachment #1: Type: text/plain, Size: 1514 bytes --] On Thu, Dec 18, 2003 at 10:20:35PM +0200, Michael Shigorin wrote: > Докладываю: считаю разумным существующее состояние. OK. %post cd /boot if [ -x /sbin/installkernel ];then /sbin/installkernel -a -c %kversion-%flavour-%krelease fi # later - fix please bootloader-utils package ln -snf vmlinuz-%kversion-%flavour-%krelease /boot/vmlinuz-up ln -snf vmlinuz-%kversion-%flavour-%krelease /boot/vmlinuz ln -snf initrd-%kversion-%flavour-%krelease.img /boot/initrd-up.img ln -snf initrd-%kversion-%flavour-%krelease.img /boot/initrd.img Последний блок можно внести в installkernel, я правильно понимаю? > Если добавить настраиваемости, хуже не станет, но оно вполне > логично as is. > > PS: installkernel разумным _не_ считаю. :) Пожалуйста, напиши подробнее, что в installkernel неразумно. Далее, вопрос по %preun: %preun /sbin/modprobe loop 2> /dev/null > /dev/null REMOVE= if [ -f /etc/sysconfig/system ];then source /etc/sysconfig/system [[ "$CLASS" = "beginner" ]] && REMOVE=yes fi if [ -f /etc/sysconfig/installkernel ];then source /etc/sysconfig/installkernel [[ "$AUTOREMOVE" = [Yy][Ee][Ss] ]] && REMOVE=yes [[ "$AUTOREMOVE" = [Nn][Oo] ]] && REMOVE= fi BUILD=/lib/modules/%kversion-%flavour-%krelease/build /sbin/installkernel -a -R -c %kversion-%flavour-%krelease Я правильно понимаю, что переменная REMOVE (а также переменные из /etc/sysconfig/installkernel) не экспортируются и поэтому на installkernel не влияют? [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-12-19 13:31 UTC|newest] Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-12-16 16:43 [d-kernel] kernel 2.6.0-test11 Ed V. Bartosh 2003-12-16 19:12 ` Michael Shigorin 2003-12-17 10:04 ` Anton Farygin 2003-12-17 9:05 ` Ed V. Bartosh 2005-08-25 23:39 ` [d-kernel] unprivileged klogd vs vanilla kernel 2.6.x Dmitry V. Levin 2003-12-18 7:35 ` [d-kernel] Re: kernel 2.6.0-test11 Andrey Rahmatullin 2003-12-18 7:56 ` Vitaly Lipatov 2003-12-18 9:40 ` Andrey Rahmatullin 2003-12-18 8:52 ` Ed V. Bartosh 2003-12-18 18:38 ` Andrey Rahmatullin 2003-12-22 9:51 ` Anton Farygin 2003-12-22 10:40 ` Michael Shigorin 2003-12-18 8:06 ` Michael Shigorin 2003-12-18 9:24 ` Andrey Rahmatullin 2003-12-18 12:01 ` [d-kernel] Re: kernel labels Alexey Tourbin 2003-12-18 12:08 ` Sergey Vlasov 2003-12-18 12:23 ` [d-kernel] Re: kernel order Alexey Tourbin 2003-12-18 12:34 ` Sergey Vlasov 2003-12-18 15:47 ` Alexey Tourbin 2003-12-18 15:58 ` Michael Shigorin 2003-12-18 16:07 ` Alexey Tourbin 2003-12-18 20:20 ` Michael Shigorin 2003-12-19 13:31 ` Alexey Tourbin [this message] 2003-12-19 13:43 ` Sergey Vlasov 2003-12-22 9:41 ` Anton Farygin 2003-12-22 10:38 ` Michael Shigorin 2003-12-22 10:46 ` Anton Farygin 2003-12-22 10:53 ` Michael Shigorin 2003-12-22 11:11 ` Anton Farygin 2003-12-22 12:28 ` Sergey Vlasov 2003-12-22 17:00 ` Anton Farygin 2003-12-22 16:53 ` Michael Shigorin 2003-12-22 12:30 ` Dmitry V. Levin 2003-12-22 13:00 ` Michael Shigorin 2003-12-22 17:09 ` Anton Farygin 2003-12-22 17:45 ` Michael Shigorin 2003-12-18 12:35 ` Dmitry V. Levin 2003-12-18 13:06 ` Aleksey Avdeev 2003-12-18 18:24 ` [d-kernel] " Денис Смирнов
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=20031219133107.GZ18450@julia.office.altlinux.ru \ --to=at@altlinux.ru \ --cc=devel-kernel@altlinux.ru \ /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
ALT Linux kernel packages development This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/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-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \ devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com public-inbox-index devel-kernel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git