[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#674560: marked as done (A patch to add support for reading Fedora's grub2 config file)



Your message dated Mon, 17 Sep 2012 21:00:08 +0000
with message-id <E1TDiQK-0001T8-2e@franck.debian.org>
and subject line Bug#674560: fixed in os-prober 1.56
has caused the Debian Bug report #674560,
regarding A patch to add support for reading Fedora's grub2 config file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
674560: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674560
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: os-prober
Version: 1.53
Tags: patch


Currently, Fedora installs grub2 inside /boot/grub2 rather than /boot/grub. Therefore, grub.cfg resides in /boot/grub2/, while os-prober assumes that grub.cfg is in /boot/grub/. Therefore, proper boot arguments for Fedora installation is not retrieved. This patch provide a fix for this problem.

diff -up os-prober-1.53/linux-boot-probes/mounted/common/40grub2.fedorafix os-prober-1.53/linux-boot-probes/mounted/common/40grub2
--- os-prober-1.53/linux-boot-probes/mounted/common/40grub2.fedorafix	2012-05-25 12:52:25.067271268 +0430
+++ os-prober-1.53/linux-boot-probes/mounted/common/40grub2	2012-05-25 12:53:41.552315071 +0430
@@ -94,6 +94,9 @@ if [ -e "$mpoint/boot/grub/grub.cfg" ] &
     [ "$mpoint/boot/grub/grub.cfg" -nt "$mpoint/boot/grub/menu.lst" ]); then
 	debug "parsing grub.cfg"
 	parse_grub_menu "$mpoint" "$partition" "$bootpart" < "$mpoint/boot/grub/grub.cfg"
+elif [ -e "$mpoint/boot/grub2/grub.cfg" ]; then
+	debug "parsing grub.cfg"
+	parse_grub_menu "$mpoint" "$partition" "$bootpart" < "$mpoint/boot/grub2/grub.cfg"
 fi
 
 if [ "$found_item" = 0 ]; then

--- End Message ---
--- Begin Message ---
Source: os-prober
Source-Version: 1.56

We believe that the bug you reported is fixed in the latest version of
os-prober, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 674560@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated os-prober package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 17 Sep 2012 19:02:29 +0100
Source: os-prober
Binary: os-prober-udeb os-prober
Architecture: source i386
Version: 1.56
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Description: 
 os-prober  - utility to detect other OSes on a set of drives
 os-prober-udeb - utility to detect other OSes on a set of drives (udeb)
Closes: 674560
Changes: 
 os-prober (1.56) unstable; urgency=low
 .
   [ Hedayat Vatankhah ]
   * Add support for probing Fedora's location for the GRUB 2 configuration
     file (closes: #674560).
 .
   [ Colin Watson ]
   * Fix the parsing code in the grub2 handler so that it no longer gets
     hopelessly confused by multiple single-quoted strings on the same line,
     as produced by GRUB 2.00.
Checksums-Sha1: 
 a2227f7986b1f0056a15d4f28633be21b7175a27 1749 os-prober_1.56.dsc
 b58475dfcda3d3b95c4d8667a5dd3983ebdfc2cd 25738 os-prober_1.56.tar.gz
 692277176744ab91639733ca4423555002f8a21b 12764 os-prober-udeb_1.56_i386.udeb
 ba09de9c3f777b6b9c1009b5bf3ea5e00e045674 28518 os-prober_1.56_i386.deb
Checksums-Sha256: 
 0e2ed24ddda7771e5f50538f9799ea321475babae2f9fd689fe68833d2b59c7c 1749 os-prober_1.56.dsc
 88a79a04617f4ecbeb9c4d318cd9cf8fcb4ae7a724bd503942354011c7da5719 25738 os-prober_1.56.tar.gz
 4fb1b6b3071201a88b77a2ec63d9411d7d225cac0a10f54e0dbc91a6a2312270 12764 os-prober-udeb_1.56_i386.udeb
 12db30d322508a21f17e3002d8287f07fbd4c75800d51ca92ca6229add50918f 28518 os-prober_1.56_i386.deb
Files: 
 76e04588149ce260fff9393b60766af1 1749 debian-installer optional os-prober_1.56.dsc
 bd9c1a7fc49a2499d79977cf2c1ec68d 25738 debian-installer optional os-prober_1.56.tar.gz
 efa68ab7b8b3a04508c79913f8a77d66 12764 debian-installer optional os-prober-udeb_1.56_i386.udeb
 7a707c0d765f9c3736344a1bfc29f3a8 28518 utils extra os-prober_1.56_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Colin Watson <cjwatson@debian.org> -- Debian developer

iQIVAwUBUFdmOzk1h9l9hlALAQhUmg//fQdihy91dnQecwNlwMqRx6+0YX4B+uEa
K77jCOm9eJmpqH09jv0FAmUaudxf/BllqVDkwrV5VxcBsfirPg7XPlXohGjqgxNL
dZK4vqCD87AqZYQAVWooKQaGcmMq+NXYLlSohQo021BT33oc7tAQR+tbPh7obSGF
oWmoxFPwDIVOYNG/Wck/xzpJpHmF00JB7Sqq6lmL3nVALVRwYD7dTVp2wQazUBg6
EaEni/vSCvFtdZeIG/K7Nak/QqM+QBlQhpm9K+Rbp9oiJwXIoH3ZXgc9PZFhRkUR
9ncBR7PCwQNMsSRm1rDOZEI2rffz4+i0QoyWs0urrlCxvdJuy9whgm7G7lO8n9lR
PaBHoE5d+jsOiCKTAM7DvpTe2PjWmZsgF82UhHMhmEZ0Hz8hgnfnozyERs0CJekc
uqKF++kfCcM14jnrh2oQ2JweGpW+H5mQ7bBxkyqp5YTcpuwPeG4KceChoPCdxsxS
8qBSJxaTGjxRhncdDazfyx3WCENEtOm7QjI+AKPOJ512tLhnCusCLeSxCUAr0FGG
Tgu/GzmDCAVZU4ryRbTRYhobgs+nDGBgAru24xJ2En6fSp1mdyIYrJffSvC9tVmi
zx8dAh3SG6EmO6mUJKSi8bZL1z3fAxhfHPBLl7Y4NiHTRpcwL9OBqLLL2/yzjw76
AUfiLhmBPLs=
=2FFx
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: