Re: backup to vmlinuz.fou4s ?
Lars Ellenberg <[email protected]> Thu, 14 Oct 2004 17:15:41 +0200
| Newsgroups | gmane.linux.suse.fou4s.devel |
|---|---|
| Message-ID | <0C1G1cmXvhwgGnVAJNYj/[email protected]> |
/ 2004-10-12 20:31:29 +0200 \ Kai Schaetzl: > When upgrading the kernel I see the following backup message in the latest > fou4s releases: > Creating backup of old Kernel (to /boot/vmlinuz.fou4s) > > But when I look in /boot there's nothing. oopsie ... Markus, did you ever test it? lge --- fou4s.orig 2004-10-03 17:14:14.000000000 +0200 +++ fou4s 2004-10-14 17:14:18.000000000 +0200 @@ -1366,7 +1366,7 @@ myNote 0 "Remember to create an appropriate entry in your grub or lilo configuration." for i in vmlinuz System.map initrd ; do rm -f /boot/$i.fou4s - test -f $i && cp /boot/$i /boot/$i.fou4s + test -f /boot/$i && cp /boot/$i /boot/$i.fou4s done rm -rf /lib/modules/[23].[0-9]*.fou4s cp -a /lib/modules/$KERNELVER /lib/modules/$KERNELVER.fou4s --