ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel-kernel@altlinux.ru
Subject: [d-kernel] bootloader-utils-0.3-alt1, memtest86-3.0-alt8
Date: Fri, 11 Jun 2004 18:37:12 +0400
Message-ID: <20040611143712.GA2253@solemn.turbinal.org> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 705 bytes --]

В /i/S/ уходят:

bootloader-utils-0.3-alt1

* Fri Jun 11 2004 Alexey Tourbin <at@altlinux> 0.3-alt1
- added support for LABEL and UUID volumes (via /etc/mtab)
- installkernel: save entry for /boot/vmlinuz before upgrade
- installkernel: added support for memtest86
- grub: fix for separate /boot partition, by Sergey Vlasov (#4234)
- started test suite (test.pl)

memtest86-3.0-alt8

* Fri Jun 11 2004 Alexey Tourbin <at@altlinux> 3.0-alt8
- use /sbin/installkernel from recent bootloader-utils
  in post/preun scripts; hopefully this should fix #3317


2mike: %_sbindir/installmemtest86 пришлось оставить симлинком, иначе не
отработает старый %preun скрипт.  Полная разница в аттаче.

[-- Attachment #1.2: memtest86.diff --]
[-- Type: text/plain, Size: 2253 bytes --]

--- /home/at/RPM/SPECS/memtest86.spec-	2003-11-26 14:18:43 +0000
+++ /home/at/RPM/SPECS/memtest86.spec	2004-06-11 12:32:46 +0000
@@ -1,27 +1,26 @@
 Name: memtest86
 Version: 3.0
-Release: alt7
+Release: alt8
 
 Summary: Memory test for x86 architecture
 License: GPL
 Group: System/Kernel and hardware
+Packager: Michael Shigorin <mike@altlinux.ru>
 
 Url: http://www.memtest86.com
 Source: %url/%name-%version.tar.bz2
-Source1: memtest86.pm
 Source2: memtest86-3.0-README.rover
 Source3: memtest86-3.0-rover-tested_cpus.tar.gz
 Patch: memtest86-3.0-rover-centrino+c3+amd.patch
 
 ExclusiveArch: %ix86
 
-PreReq: bootloader-utils
+Requires(post,preun): bootloader-utils >= 0.3
 
 # Automatically added by buildreq on Wed Nov 26 2003
 BuildRequires: cpp2.95 gcc2.95
 
 BuildRequires: dev86
-BuildRequires: bootloader-utils
 
 Summary(ru_RU.KOI8-R): фЕУФ РБНСФЙ ДМС x86-БТИЙФЕЛФХТЩ
 Summary(uk_UA.KOI8-U): фЕУФ РБН'СФ¦ ДМС x86-БТИ¦ФЕЛФХТЙ
@@ -70,27 +69,29 @@ Memtest86 -- ТЕФЕМШОЙК ФБ УБНПУФ¦КОЙК ФЕ
 
 %install
 %__install -m644 -pD memtest.bin %buildroot/boot/memtest-%version.bin
-%__install -m755 -pD %SOURCE1 %buildroot%_sbindir/installmemtest86
+%__mkdir -p %buildroot%_sbindir
+%__ln_s `relative /sbin/installkernel %_sbindir/installmemtest86` \
+	%buildroot%_sbindir/installmemtest86
 %__install -m644 -pD %SOURCE2 README.rover
 %__mkdir cpus/
 %__tar -C cpus -zxf %SOURCE3
 
 %post
-%_sbindir/installmemtest86 %version ||:
+%_sbindir/installmemtest86 %version
 
 %preun
-%_sbindir/installmemtest86 -r %version ||:
+%_sbindir/installmemtest86 --remove %version
 
 %files
 /boot/memtest-%version.bin
 %_sbindir/installmemtest86
 %doc README* cpus/
 
-# TODO: detectloader/installmemtest86 are somewhat broken at the time
-# (bootloader misdetection, common problem w/kernel, shouldn't be called
-# at install-time) (also #3317)
-
 %changelog
+* Fri Jun 11 2004 Alexey Tourbin <at@altlinux.ru> 3.0-alt8
+- use /sbin/installkernel from recent bootloader-utils
+  in post/preun scripts; hopefully this should fix #3317
+
 * Wed Nov 26 2003 Michael Shigorin <mike@altlinux.ru> 3.0-alt7
 - removed dependency on initscripts;
   thanks Nick Fedchik <nick fedchik org ua> for noticing

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2004-06-11 14:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-11 14:37 Alexey Tourbin [this message]
2004-06-11 15:08 ` Michael Shigorin

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=20040611143712.GA2253@solemn.turbinal.org \
    --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