Package: grub-common Version: 1.98~20100126-1 Severity: normal Tags: patch All:
This minor patch enables grub-set-default(8) and the savedefault option to work correctly by reading the grubenv "saved_entry". Regards, --Tom -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-trunk-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages grub-common depends on: ii base-files 5.0.0 Debian base system miscellaneous f ii dpkg 1.15.5.6 Debian package management system ii gettext-base 0.17-8 GNU Internationalization utilities ii install-info 4.13a.dfsg.1-5 Manage installed documentation in ii libc6 2.10.2-5 Embedded GNU C Library: Shared lib ii libfreetype6 2.3.11-1 FreeType 2 font engine, shared lib ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages grub-common recommends: ii os-prober 1.35 utility to detect other OSes on a Versions of packages grub-common suggests: pn grub-emu <none> (no description available) pn multiboot-doc <none> (no description available) -- no debconf information
--- 00_header~ 2010-01-27 22:35:16.946281548 -0600 +++ 00_header 2010-01-27 22:28:44.365351645 -0600 @@ -43,6 +43,9 @@ load_env fi set default="${GRUB_DEFAULT}" +if [ \${saved_entry} ]; then + set default="\${saved_entry}" +fi if [ \${prev_saved_entry} ]; then set saved_entry=\${prev_saved_entry} save_env saved_entry