os-prober (1.70ubuntu3) xenial; urgency=low * Check for MSDOS extended partitions and skip any further tests which would require the partition to be mounted (LP: #1374759). -- Stefan Bader Tue, 08 Mar 2016 09:35:20 +0100 os-prober (1.70ubuntu2) xenial; urgency=medium [ Mario Chamorro ] * Sort detected kernels by modification time, if possible. (LP: #1317153) -- Dimitri John Ledkov Tue, 23 Feb 2016 16:10:29 +0000 os-prober (1.70ubuntu1) xenial; urgency=medium * Resynchronise with Debian. Remaining changes: - Mount btrfs subvolume @ when present to access a btrfs formatted rootfs. - When called with WINOSDATA, return the list of Windows partitions containing the system instead of only listing these containing the bootrecord. -- Sebastien Bacher Fri, 20 Nov 2015 11:06:01 +0100 os-prober (1.70) unstable; urgency=medium [ Justus Winter ] * Fix hurd-any support: Test for /servers instead of /servers/exec to avoid starting an translator in the mounted system. Also, /hurd/init might be phased out at some point (Closes: #802053). -- Christian Perrier Tue, 27 Oct 2015 06:45:58 +0100 os-prober (1.68) unstable; urgency=medium * Adjust extended dos partition support for blkid/util-linux 2.24+, thanks to Andreas Henriksson (Closes: #735169). * Add support for Windows 10 (otherwise reported as Windows Recovery Environment). Thanks, Philipp Wolfer! (Closes: #801278). -- Cyril Brulebois Thu, 08 Oct 2015 14:26:16 +0200 os-prober (1.67) unstable; urgency=medium [ James Clarke ] * rules: Use DEB_HOST_ARCH_CPU instead of DEB_HOST_ARCH, and thus treat *-{i386,amd64} as x86 * Support probing on hurd-any. Closes: #799883. -- Christian Perrier Wed, 30 Sep 2015 06:55:48 +0200 os-prober (1.66) unstable; urgency=medium * Add -a flag to grep -qs for Windows Vista detection. It appears the file isn't always considered as a text file, so this should be more robust. Thanks to Gianluigi Tiesi for the report and the suggestion (Closes: #791383). -- Cyril Brulebois Fri, 10 Jul 2015 01:34:23 +0200 os-prober (1.65) unstable; urgency=medium [ Steve McIntyre ] * Recognise the new ignore_uefi flag from partman-efi. -- Steve McIntyre <93sam@debian.org> Tue, 25 Nov 2014 17:41:06 +0000 os-prober (1.64) unstable; urgency=medium [ Frederic Bonnard ] * Add ppc64el support. Closes: #752416. -- Aurelien Jarno Sun, 17 Aug 2014 23:36:52 +0200 os-prober (1.63ubuntu2) wily; urgency=medium * os-probes/mounted/x86/20microsoft: - add Windows 10 to the list (thanks for David Martin for the patch!) (LP: #1482851) - cherry-pick a change from Debian: use -a with grep in case the file isn't considered a text file. -- Mathieu Trudel-Lapierre Mon, 21 Sep 2015 14:52:53 -0400 os-prober (1.63ubuntu1) trusty; urgency=medium * Resynchronise with Debian. Remaining changes: - Mount btrfs subvolume @ when present to access a btrfs formatted rootfs. - When called with WINOSDATA, return the list of Windows partitions containing the system instead of only listing these containing the bootrecord. -- Colin Watson Thu, 13 Feb 2014 11:24:13 +0000 os-prober (1.63) unstable; urgency=low [ Cyril Brulebois ] * Drop reiserfs, it's no longer supported. -- Christian Perrier Tue, 23 Jul 2013 09:38:17 +0200 os-prober (1.62) unstable; urgency=low [ Dmitrijs Ledkovs ] * Set debian source format to '3.0 (native)'. * Bump debhelper compat level to 9. * Set Vcs-* to canonical format. [ Christian Perrier ] * Update Standards to 3.9.4 (checked) -- Christian Perrier Sun, 14 Jul 2013 12:43:27 +0200 os-prober (1.61ubuntu1) saucy; urgency=low * Resynchronise with Debian. Remaining changes: - Mount btrfs subvolume @ when present to access a btrfs formatted rootfs. - When called with WINOSDATA, return the list of Windows partitions containing the system instead of only listing these containing the bootrecord. -- Colin Watson Tue, 21 May 2013 23:03:55 +0100 os-prober (1.61) unstable; urgency=low * Add an extra backslash to the code in parse_proc_mdstat to remove [...], so that it works properly in dash (thanks, John Ryan; LP: #905607). -- Colin Watson Tue, 21 May 2013 22:57:42 +0100 os-prober (1.60) unstable; urgency=low * os-probes/mounted/x86/05efi: Handle the case where we used grub-mount to mount the EFI System Partition. -- Colin Watson Fri, 17 May 2013 13:02:41 +0100 os-prober (1.59ubuntu2) saucy; urgency=low * Re-enable os-probes/mounted/x86/20microsoft on EFI systems if WINOSDATA is set. -- Colin Watson Mon, 20 May 2013 12:42:06 +0100 os-prober (1.59ubuntu1) saucy; urgency=low * Resynchronise with Debian (LP: #1178072). Remaining changes: - Mount btrfs subvolume @ when present to access a btrfs formatted rootfs. - When called with WINOSDATA, return the list of Windows partitions containing the system instead of only listing these containing the bootrecord. -- Matthew Fischer Wed, 08 May 2013 21:42:12 -0600 os-prober (1.59) unstable; urgency=low [ Colin Watson ] * Fix cross-building and use dpkg-buildflags. -- Christian Perrier Wed, 15 May 2013 17:36:49 +0200 os-prober (1.58) unstable; urgency=low [ Steve McIntyre ] * add UEFI support, patch from Andrey Borzenkov: + skip legacy MS loader detection on UEFI platform + add framework for searching EFI System Partition + add scripts that detect Microsoft bootloader and ELILO. * Add myself to uploaders. -- Steve McIntyre <93sam@debian.org> Sun, 28 Apr 2013 16:01:50 +0100 os-prober (1.57ubuntu1) raring; urgency=low * Resynchronise with Debian (LP: #1038093). Remaining changes: - Mount btrfs subvolume @ when present to access a btrfs formatted rootfs. - When called with WINOSDATA, return the list of Windows partitions containing the system instead of only listing these containing the bootrecord. -- Dmitrijs Ledkovs Tue, 05 Feb 2013 11:25:43 +0100 os-prober (1.57) unstable; urgency=low [ Christian Perrier ] * Deal with grub-probe exiting with non zero status on some devices, which in turns can stuck update-grub Closes: #680084 [ Joey Hess ] * Fix detection of Fedora and other distros that moved /lib into /usr and left behind a symlink. Grub's filesystem code does not support symlinks. Closes: #685159 Thanks Andreas Bombe for the patch. -- Christian Perrier Sat, 22 Dec 2012 12:54:54 +0100 os-prober (1.56ubuntu1) quantal; urgency=low * Resynchronise with Debian (LP: #1050774). Remaining changes: - Mount btrfs subvolume @ when present to access a btrfs formatted rootfs. - When called with WINOSDATA, return the list of Windows partitions containing the system instead of only listing these containing the bootrecord. -- Colin Watson Tue, 18 Sep 2012 00:05:11 +0100 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. -- Colin Watson Mon, 17 Sep 2012 19:02:29 +0100 os-prober (1.55) unstable; urgency=low * Improve detection of Haiku: detect the 64-bit version Closes: #685228 * Add myself to Uploaders -- Christian Perrier Sat, 25 Aug 2012 09:58:51 +0200 os-prober (1.54ubuntu1) quantal; urgency=low * Resynchronise with Debian. Remaining changes: - Mount btrfs subvolume @ when present to access a btrfs formatted rootfs. - When called with WINOSDATA, return the list of Windows partitions containing the system instead of only listing these containing the bootrecord. (LP: #772470) -- Stéphane Graber Mon, 09 Jul 2012 10:54:52 -0400 os-prober (1.54) unstable; urgency=low * Team upload [ Joey Hess ] * Avoid noise when /proc/swaps does not exist. Closes: #673566 -- Christian Perrier Sat, 07 Jul 2012 20:42:47 +0200 os-prober (1.53) unstable; urgency=low * Team upload * Use Package-Type instead of deprecated XC-Package-Type for os-prober-udeb * Add ${misc:Depends} to udeb dependencies * Link to explicit GPL-2 document in debian/copyright * sed off (hdn,n) from the front of an initrd path, as seen in Mandriva/Mageia grub configs. Thanks to François Jaouen and Barry Jackson for the patch Closes: #566102 -- Christian Perrier Mon, 07 May 2012 22:37:20 +0200 os-prober (1.52ubuntu1) quantal; urgency=low * Resynchronise with Debian. Remaining changes: - Mount btrfs subvolume @ when present to access a btrfs formatted rootfs. - When called with WINOSDATA, return the list of Windows partitions containing the system instead of only listing these containing the bootrecord. (LP: #772470) -- Stéphane Graber Wed, 02 May 2012 09:14:38 -0400 os-prober (1.52) unstable; urgency=low [ Stéphane Graber ] * Add support for Windows 8. [ Colin Watson ] * Install README and TODO in the .deb. [ Joey Hess ] * Revert broken patch adding support for BSD distributions. Closes: #668860 -- Joey Hess Fri, 20 Apr 2012 10:50:38 -0400 os-prober (1.51ubuntu3) precise; urgency=low * When called with WINOSDATA, return the list of Windows partitions containing the system instead of only listing these containing the bootrecord. (LP: #772470) -- Stéphane Graber Wed, 04 Apr 2012 18:34:56 -0400 os-prober (1.51ubuntu2) precise; urgency=low * Add support for Windows 8. -- Stéphane Graber Wed, 04 Apr 2012 13:30:28 -0400 os-prober (1.51ubuntu1) precise; urgency=low * Resynchronise with Debian. Remaining changes: - Mount btrfs subvolume @ when present to access a btrfs formatted rootfs. -- Colin Watson Tue, 27 Mar 2012 18:48:08 +0100 os-prober (1.51) unstable; urgency=low [ Joey Hess ] * Relax the MS-DOS detection again now that it will not cause false positives for non-FAT filesystems. [ Colin Watson ] * Use 'type' rather than 'which' to test for grub-mount, as d-i doesn't have 'which'. Also test for grub-probe before using it, as that isn't currently in grub-mount-udeb and I'm going to need to add it (LP: #963471). -- Colin Watson Tue, 27 Mar 2012 15:47:04 +0100 os-prober (1.50ubuntu1) precise; urgency=low * Resynchronise with Debian. Remaining changes: - Mount btrfs subvolume @ when present to access a btrfs formatted rootfs. -- Colin Watson Thu, 15 Mar 2012 15:13:49 +0000 os-prober (1.50) unstable; urgency=low [ Joey Hess ] * Clarify license version is GPL-2+, for all code written by Joey Hess, Colin Watson, Christian Perrier, Otavio Salvador and Joshua Kwan. The license had just been "GNU GPL"; other contributors to os-prober are encouraged to clarify which GPL versions apply to their code. [ Otavio Salvador ] * Add support to detect BSD systems. Thanks to Gavrilin Andrey for the patch (refs: #659208). [ Joey Hess ] * Avoid false positives in MS-DOS detection by also looking for autoexec.bat. Closes: #663540 [ Colin Watson ] * When using grub-mount, pass the GRUB filesystem type to individual tests rather than "fuseblk". Adjust a number of tests to handle GRUB filesystem names as well as OS names (closes: #663540, #663600). -- Colin Watson Thu, 15 Mar 2012 13:52:30 +0000 os-prober (1.49ubuntu1) oneiric; urgency=low [ Surbhi Palande ] * mount btrfs subvolume @ when present to access a btrfs formatted rootfs. (LP: #764893) -- Colin Watson Fri, 16 Sep 2011 14:01:36 +0100 os-prober (1.49) unstable; urgency=low [ Robert Millan ] * Depend on grub-mount-udeb only on architectures with FUSE support. [ Colin Watson ] * Restrict grub-mount-udeb dependency to architectures where grub-mount-udeb exists (closes: #639599). -- Colin Watson Mon, 29 Aug 2011 12:34:21 +0100 os-prober (1.48) unstable; urgency=low [ Colin Watson ] * Depend on grub-mount-udeb (see changelog for 1.45). * item_in_dir: return 1 immediately if second argument is not a directory (thanks, Daniel Richard G.; LP: #798447). [ Otavio Salvador ] * add MeeGo detection support; thanks to Chengwei Yang for the patch. * Fix Windows detection when there are more then one boot directories (e.g boot and Boot). Closes: #634649. -- Otavio Salvador Sat, 23 Jul 2011 17:46:13 +0200 os-prober (1.47) unstable; urgency=low [ Joey Hess ] * Fix unwanted wildcard expansions. Closes: #624815 -- Otavio Salvador Sun, 15 May 2011 17:49:10 -0300 os-prober (1.46) unstable; urgency=low * Correct syntax error in LFS detection. Closes: #623981 -- Christian Perrier Mon, 25 Apr 2011 07:09:02 +0200 os-prober (1.45) unstable; urgency=low [ Matti Kurkela ] * Improve MS-DOS detection by using an absolute path when verifying that "dos" is a directory. [ Colin Watson ] * Fix fatal typo in QNX prober. * Use grub-mount if it exists. This lets us do true read-only mounts, and works better on journalling filesystems that were mounted uncleanly (LP: #683355). * Attempt to load the fuse module, to improve the chances of grub-mount working. [ Armin Krejzi ] * Add detection of Linux From Scratch distribution. Closes: #623939 -- Christian Perrier Sun, 24 Apr 2011 20:02:10 +0200 os-prober (1.44) unstable; urgency=low * Team upload * Fix syntax errors in 83haiku and make it executable -- Christian Perrier Fri, 18 Feb 2011 20:17:55 +0100 os-prober (1.43) unstable; urgency=low * Team upload [ Christian Perrier ] * Fix Gentoo detection (different name for kernel and initrd files). Thanks to caillean for the patch Closes: #611670 * Detect Haiku on BeFS partitions. Thanks to Jeroen Oortwijn for the proposed patch Closes: #590897 [ Joey Hess ] * 90fallback: Avoid ever accidentially identifying the same file as initrd and kernel. Closes: #612303 -- Christian Perrier Fri, 18 Feb 2011 06:02:22 +0100 os-prober (1.42) unstable; urgency=low [ Milan Kupcevic ] * Let yaboot linux-boot-prober work on all chrp machines. * Handle YDL initrd image in linux-boot-prober fallback test. -- Otavio Salvador Fri, 24 Dec 2010 19:13:19 -0200 os-prober (1.41) unstable; urgency=low [ Joey Hess ] * Fix probes for MacOS 9 on m68k and powerpc. Closes: #604192 (Thanks, Milan Kupcevic) -- Otavio Salvador Wed, 24 Nov 2010 09:58:18 -0200 os-prober (1.40) unstable; urgency=low [ Christian Perrier ] * Fix Windows Vista and Windows Recovery Environment partitions recognition. (Thanks, Bouke Bunnik) Closes: #589676, LP: #476625 * Allow recognition of recent MINIX installations. Thanks to Feiran Zheng Closes: #592924 [ Colin Watson ] * Improve error message when /sys/block is missing. * os-prober doesn't know how to probe other OSes on non-Linux kernels. For now, just exit quietly rather than confusing people (closes: #567953). * Ignore active swap partitions (thanks, Alex Owen; see #417407). * Refactor linux_mount_boot to look up labels and UUIDs using blkid or /dev/disk/by-*/ rather than relying on mount being smart enough. This removes some horrible code that executes mount from /target. * Set partitions read-only before mounting them (based on a patch by Alex Owen; closes: #417407, #556739, #599203). -- Colin Watson Wed, 10 Nov 2010 11:51:19 +0000 os-prober (1.39) unstable; urgency=low [ Joey Hess ] * Fix FreeDOS test to use case-insensative filename lookup as was already done for all other DOS/Windows tests. Closes: #582257 (Thanks, Harald Dunkel) [ Colin Watson ] * Handle Dracut-generated initramfs names in linux-boot-prober fallback test (thanks, Piscium; LP: #420900). -- Colin Watson Mon, 28 Jun 2010 18:01:00 +0100 os-prober (1.38) unstable; urgency=low * Handle single-quoted items in grub.cfg; this has been part of the syntax for a while, but recently started being used upstream to avoid another bug. -- Colin Watson Fri, 16 Apr 2010 12:17:28 +0100 os-prober (1.37) unstable; urgency=low [ Frans Pop ] * 90linux-distro: also allow for lib32 and lib64 directories when looking for ld*.so*. With thanks to Maximilian Gerhard. Closes: #574407. [ Colin Watson ] * Detect Windows Server 2008 and Windows Server 2008 R2, thanks to Thorsten. LP: #544117 * Detect Arch Linux initrds: http://wiki.archlinux.org/index.php/GRUB2 and http://repos.archlinux.org/wsvn/packages/grub2/trunk/grubconfig.archlinux.patch indicate that /boot/vmlinuz26 is associated with /boot/kernel26.img. LP: #518826 -- Colin Watson Tue, 13 Apr 2010 14:15:35 +0100 os-prober (1.36) unstable; urgency=low [ Colin Watson ] * Suppress tedious fd leak warnings from LVM tools. [ Frans Pop ] * Drop support for the discontinued lpia architecture. [ Christian Perrier ] * Properly quote variable in os-probes/mounted/x86. Thanks to Fabian Greffrath for the patch. Closes: #563825 [ Otavio Salvador ] * Applied patch from Brad Jorsch to properly detect Windows' recovery partitions. Closes: #547382 [ Joey Hess ] * Load btrfs module if available. * Fix arbitrary code execution via eval. Closes: #569229 * Tighten up quoting of shell variables overall. * Avoid ever running mount command from filesystems being probed. Closes: #569222 * Avoid leaving a temporary mountpoint behind when exiting in some exceptional conditions. Closes: #569235 -- Otavio Salvador Tue, 23 Feb 2010 15:50:17 -0300 os-prober (1.35) unstable; urgency=medium * Set LC_ALL=C when grepping out accented characters from Windows descriptions (LP: #438095). -- Colin Watson Mon, 05 Oct 2009 23:12:11 +0100 os-prober (1.34) unstable; urgency=low * Only look for a smart version of mount if we're using busybox mount. In a normal system, mount probably already handles labels and UUIDs, and using mount from another filesystem is risky enough that it's worth avoiding if possible. * Memoise calls to 'basename $0' in log function. * Handle escaped special characters in /etc/fstab and /proc/mounts (LP: #433910). * dash defines test's -nt operator differently from bash, as it's entitled to do since this is an extension not defined in POSIX. If file1 exists and file2 does not, bash returns true but dash returns false. Don't rely on bash's behaviour when checking whether to use GRUB Legacy or GRUB 2 configuration files, otherwise we end up using neither when only one set of configuration exists and /bin/sh is dash. * Try to map LABEL= and UUID= ourselves in linux_mount_boot rather than relying on mount to do it, to further reduce the chance that we need to use mount from another filesystem. * If the filesystem identified by linux-boot-prober as /boot is already mounted somewhere else, then bind-mount it rather than trying to mount it again. -- Colin Watson Mon, 21 Sep 2009 14:55:23 +0100 os-prober (1.33) unstable; urgency=low * Distinguish Windows 7, based on a patch from "mattduckman" (LP: #393565). * Don't try to mount LUKS partitions (thanks, Chow Loong Jin and Soren Hansen; closes: #546546, LP: #428785). -- Colin Watson Tue, 15 Sep 2009 14:02:45 +0100 os-prober (1.32) unstable; urgency=low * Pass arguments properly to newns (thanks, Roger E Critchlow Jr; LP: #426061). -- Colin Watson Tue, 08 Sep 2009 12:29:05 +0100 os-prober (1.31) unstable; urgency=low * Upgrade to debhelper v7. * Detect Acronis Secure Zone (thanks, Alexey Fisher; LP: #354334). * Run os-prober and linux-boot-prober in a private mount namespace if possible, to avoid desktop environments picking up the mounts. Thanks to Gabor Gombas for the suggestion. (Closes: #476184) * Use vol_id/blkid output if possible to avoid having to try every possible filesystem for every partition. This isn't actually very much faster for me, but it certainly cuts down on syslog noise. * Skip extended and swap partitions (closes: #511518). * Install Mac OS X probe on i386/amd64 too (LP: #353639). -- Colin Watson Mon, 07 Sep 2009 11:06:55 +0100 os-prober (1.30) unstable; urgency=low [ Colin Watson ] * Use result function in macosx prober, so that its output appears in syslog. * Quote arguments to tests, and in general quote mountpoints that were fetched from mounted-maps. I've seen the odd log with errors due to funny characters in mount points. [ Otavio Salvador ] * When there're both grub-legacy and grub2 configuration files available we ought to use the most recently changed. Closes: 534478 -- Otavio Salvador Tue, 21 Jul 2009 12:22:09 -0300 os-prober (1.29) unstable; urgency=low [ Colin Watson ] * Merge from Ubuntu: - Load ext4 module if available. - Check dmraid's exit code rather than parsing its output. * Windows Vista has been released for some time now, so just call it that rather than "Vista/Longhorn". [ Frans Pop ] * Remove myself as uploader. -- Colin Watson Wed, 11 Mar 2009 16:45:32 +0000 os-prober (1.28) unstable; urgency=low [ Giuseppe Iuculano ] * Probe all partitions that are a part of active dmraid arrays. Patch based on work done by Luke Yelavich in Ubuntu. -- Otavio Salvador Sun, 21 Sep 2008 22:02:30 -0300 os-prober (1.27) unstable; urgency=low [ Joey Hess ] * Add support for detecting K-DEMar based on an example from Adonay Sanz. Closes: #485617 -- Otavio Salvador Tue, 29 Jul 2008 12:33:43 -0300 os-prober (1.26) unstable; urgency=HIGH * Remove hardcoded line in grub2 that must have slipped in during testing. Closes: #476389 -- Joey Hess Tue, 03 Jun 2008 13:35:39 -0400 os-prober (1.25) unstable; urgency=low [ Frans Pop ] * Disable excessive debug messages when parsing grub configs (see #471501). [ Joey Hess ] * Warn if umount fails for some reason (such as a desktop environment keeping the mount point busy). * Avoid exiting test scripts when a umount fails, as that can result in incomplete OS detection, and does not result in os-prober as a whole failing. -- Otavio Salvador Thu, 08 May 2008 13:31:46 -0300 os-prober (1.24) unstable; urgency=low [ Colin Watson ] * udev 117 merged all udev tools into a single binary called udevadm. Check for this and use it instead of udevinfo if available. [ Joey Hess ] * Avoid using log-output when run outside of d-i. * Add preliminary support for grub2's grub.cfg file. Closes: #464928 -- Otavio Salvador Fri, 15 Feb 2008 15:23:52 -0200 os-prober (1.23) unstable; urgency=low * If fuseblk is in /proc/filesystems and ntfs-3g is present, try mounting filesystems as ntfs-3g. * Try finding a LABEL/UUID-capable /bin/mount in $tmpmnt as well as in /target. * Set LD_LIBRARY_PATH appropriately in the event that we have to use a foreign mount binary (LP: #145424). * Adjust Microsoft probe to cope with NTFS partitions appearing with type ntfs-3g. -- Colin Watson Mon, 26 Nov 2007 15:20:17 +0000 os-prober (1.22) unstable; urgency=low [ Joey Hess ] * Call dh_md5sums. [ Jérémy Bobbio ] * Remove references to devfs-style device names in documentation and comments. [ Colin Watson ] * Accept fuseblk as well as fuse in the Microsoft probe. * Make sure to select only the first mountpoint for a given device (in case of bind mounts). * Treat the lpia architecture (used in the Ubuntu mobile project) as x86, since it is. -- Jérémy Bobbio Thu, 27 Sep 2007 18:43:50 +0200 os-prober (1.21) unstable; urgency=low [ Joey Hess ] * Remove the largely obsolete --mounted option. [ Colin Watson ] * Recognise filesystems of type 'fuse' as applicable to the Microsoft probe (thanks, Agostino Russo). * Handle vga= options in lilo.conf (LP: #59525). -- Colin Watson Tue, 31 Jul 2007 17:03:10 +0100 os-prober (1.20) unstable; urgency=low * Skip grub-installer's "(on /dev/blah)" entries detected in GRUB configuration files, as if they're useful they will probably be found by another probe, and detecting them can result in exponential growth of menu.lst files if you do repeated test installs on multiple partitions. * Use readlink -f in mapdevfs shim so that os-prober runs outside d-i handle mount-by-UUID correctly. * Use mktemp -d rather than /tmp, to make use outside d-i safer. * Merge from Ubuntu: - Try to install fs-core-modules and fs-secondary-modules udebs. These are specific to the Ubuntu kernel udeb layout, but it's fairly cheap to check for them as well and saves on divergence here. - Add os-probes/mounted/sparc/80solaris to recognize Solaris/SPARC (Fabio M. Di Nitto). - Add linux-boot-probes/mounted/sparc/50silo support (Fabio M. Di Nitto). - Try to load ufs module, for Solaris support (Fabio M. Di Nitto). - Tighten check for whether we're running in d-i; anna-install isn't quite enough because if you're running d-i code outside d-i it's sometimes reasonable to install a shim for anna-install. * Don't probe partitions mounted on /target/boot. * Teach linux-boot-prober to deal with mounted partitions correctly, unless they're mounted on /, /target, or /target/boot (LP: #14780). This should largely obsolete the --mounted option. * Only use /target/bin/mount if it exists, in order to work better outside d-i. -- Colin Watson Thu, 26 Jul 2007 12:33:31 +0100 os-prober (1.19) unstable; urgency=low [ Joey Hess ] * Make the microsoft OS test completely case-insensative in the file and directory named it looks for. This is reportedly needed at least for Vista (Boot/BCD vs boot/bcd), and was already done on an ad-hoc basis for 2000/XP/NT4.0. * Patch from VMiklos to add support for recognising Frugalware. [ Frans Pop ] * Skip partitions on a physical disk that is part of a Serial ATA RAID disk. * Use log-output when checking for volume groups. * Also use the case insensitive test for Dell Utility partition detection. [ Fabio M. Di Nitto ] * Skip partitions that have the "whole_disk" sysfs attribute set. The kernel set the attribute for partitions like SUN Whole Disk. These partitions that encompass the whole disk can be mounted and often confused for the first partition on the disk. In situations where the OS is on the first partition, it would be detected twice in the first and the whole disk partition. -- Frans Pop Sat, 07 Jul 2007 20:11:49 +0200 os-prober (1.18) unstable; urgency=low * Add detection for Dell Utility partition (can be chainloaded). Closes: #417279. * Remove support for devfs style paths. -- Frans Pop Sat, 21 Apr 2007 01:11:08 +0200 os-prober (1.17) unstable; urgency=low * Check for both upper and lowercase filenames when detecting Windows NT/XP/2000. Thanks to Thanatermesis. -- Frans Pop Tue, 27 Feb 2007 20:16:49 +0100 os-prober (1.16) unstable; urgency=low [ Joey Hess ] * Support for recognising Pardus linux. [ Frans Pop ] * Skip grub entries that have "module" lines as we currently don't support those. Based on #399882 where they were used for entries related to Xen. * Support for recognizing Kanotix linux. * Add support for probing other operating systems on LVM partitions. This will only work if LVM support has already been loaded. Closes: #277901. -- Frans Pop Tue, 20 Feb 2007 12:57:42 +0100 os-prober (1.15) unstable; urgency=low [ Colin Watson ] * Discard stderr from udevinfo call in parse_proc_mdstat. [ Fabio M. Di Nitto ] * Nuke os-probes/x86. Empty useless dir. * Use -qs to grep and avoid an annoying warning when running os-probes. -- Frans Pop Thu, 21 Dec 2006 16:29:06 +0100 os-prober (1.14) unstable; urgency=low * Use udevinfo if available in parse_proc_mdstat to figure out whether a device is a partition. -- Colin Watson Tue, 29 Aug 2006 11:27:47 +0100 os-prober (1.13) unstable; urgency=low * Add support for detecting Windows Vista/Longhorn. -- Frans Pop Tue, 25 Jul 2006 13:06:13 +0200 os-prober (1.12) unstable; urgency=low [ Joey Hess ] * Patch from VMiklos to sed off (hdn,n) from the front of a kernel path, as seen in SuSE grub configs. Closes: #258623 although this is fixed imprefectly since it assumes stripping the string is enough. * Patch from VMiklos to not require an initrd be specified in the grub probe. * Patch from VMiklos to add --mounted option to linux-boot-prober. May not be useful for d-i but in other situations including for the Frugalware installer. [ Frans Pop ] * When parsing a lilo configuration, dereference symbolic links. Not doing this will break booting the old OS if the link was in / and there was a separate /boot partition. And grub in general prefers full paths. Closes: #259825. * Use environment variable to pass --mounted option to lower level scripts instead of perpetuating the parameter. * Add myself to uploaders. -- Frans Pop Fri, 23 Jun 2006 21:46:41 +0200 os-prober (1.11) unstable; urgency=low * Remove a useless debug message. -- Joey Hess Wed, 7 Jun 2006 22:10:10 -0400 os-prober (1.10) unstable; urgency=low [ Colin Watson ] * Drop os-prober's priority to extra to match overrides. [ Frans Pop ] * Old-style options for head/tail are no longer supported by new busybox. -- Frans Pop Fri, 12 May 2006 15:26:30 +0200 os-prober (1.09) unstable; urgency=low * To make it easier to use os-prober outside d-i, add a mapdevfs shim and avoid using anna-install if it isn't present. * Fix count_for to avoid failing outside d-i if /var/lib/os-prober/labels is missing. * Look for partitions in /sys/block if /dev/discs isn't present. * Add /usr/share/common-licenses/GPL reference to debian/copyright. * Rename os-prober to os-prober-udeb (leaving a Provides: behind) and create an os-prober deb. * Avoid yaboot probe failing outside d-i due to archdetect being missing. * Don't install /var/lib/os-prober/mount in either binary package, just /var/lib/os-prober; the former will be created/removed on the fly anyway. -- Colin Watson Thu, 8 Dec 2005 02:58:36 +0000 os-prober (1.08) unstable; urgency=low [ Colin Watson ] * Install necessary kernel modules on the fly using anna-install, rather than depending on them. Requires anna >= 1.16. -- Frans Pop Tue, 15 Nov 2005 20:37:52 +0100 os-prober (1.07) unstable; urgency=low [ Matt Kraai ] * Add support for QNX. -- Joey Hess Mon, 26 Sep 2005 17:18:18 +0200 os-prober (1.06) unstable; urgency=low * Frans Pop - Make idempotent by deleting files in /var/lib/os-prober/ on start (resets count_next_label). - Properly determine whether partitions are mounted or not by using mapdevfs to match device names. Closes: #251794, #251662. - Add dependency on di-utils-mapdevfs. -- Joey Hess Sun, 1 May 2005 16:52:18 -0400 os-prober (1.05) unstable; urgency=low * Colin Watson - 'boot' is implicit at the end of a grub menu entry. Cope with it being missing (part of #258623). -- Colin Watson Sat, 26 Mar 2005 16:55:23 +0000 os-prober (1.04) unstable; urgency=low * Joey Hess - Fix micosoft and lsb tests to use count_next_label to get unique short labels. Closes: #299001 -- Joey Hess Fri, 11 Mar 2005 14:06:00 -0500 os-prober (1.03) unstable; urgency=low * Joey Hess - Applied patch from Guillem Jover to detect many redhat derived distributions. * Frans Pop - Exclude partitions that are part of a software raid array. Closes: #273960. - Don't use the description from Windows' boot.ini if it contains non-ascii (or other unusual) characters. Closes: #293859. * Colin Watson - Probe ext3, xfs, and jfs modules too. -- Joey Hess Fri, 11 Feb 2005 20:30:56 -0500 os-prober (1.02) unstable; urgency=low * Joshua Kwan - I don't have time to test/improve os-prober these days, so removing myself from Uploaders. * Colin Watson - Install i386 tests on amd64 too (closes: #261378). -- Colin Watson Thu, 21 Oct 2004 14:02:05 +0100 os-prober (1.01) unstable; urgency=low * Joey Hess - Applied patch from eddyp to parse boot.ini to determine correct names of modern versions of Windows. Closes: #275882 -- Joey Hess Wed, 20 Oct 2004 15:20:12 -0400 os-prober (1.00) unstable; urgency=low * Joey Hess - Fedora uses a grub.conf. This may or may not be linked to menu.lst (unknown). Look for it if menu.lst is not found. - Gratuitous version number bump. -- Joey Hess Sun, 3 Oct 2004 18:27:10 -0400 os-prober (0.14) unstable; urgency=low * Joey Hess - It's actually allowed and common for /etc/lsb-release to not include a DISTRIB_DESCRIPTION or DISTRIB_CODENAME, so don't call such distros "Unknown semi-LSB-compliant Linux distribution", just skip to the next test. This affected FC2. -- Joey Hess Fri, 27 Aug 2004 12:57:06 -0400 os-prober (0.13) unstable; urgency=low * Giuseppe Sacco - Added preliminary test for Solaris/IA32. Closes: #255206 * Joey Hess - Add support for fstabs with UUIDs or disk labels. Closes:#257794 - In fallback os-prober test, skip over symlinks, since they could point from root into /boot or result in confusing duplicate entries. Closes: #258624 - Make the fallback os-prober really find kernels matched by globs. -- Joey Hess Sat, 10 Jul 2004 14:32:17 -0400 os-prober (0.12) unstable; urgency=low * Colin Watson - Fix syntax error in already-mounted case. - Cope with empty initrd parameter in yaboot.conf parser. -- Colin Watson Wed, 12 May 2004 01:16:05 +0100 os-prober (0.11) unstable; urgency=low * Colin Watson - Make linux-distro test work on architectures that don't have /lib/ld-linux.so* (closes: #244076). - Fix a typo in the yaboot parser. -- Colin Watson Sun, 9 May 2004 16:35:43 +0100 os-prober (0.10) unstable; urgency=low * Colin Watson - Restore module dependencies, using debian/module-depends.$(ARCH). Closes: #246700 * Joey Hess - Have os-prober run mounted tests on partitions that are already mounted (skipping / and /target). Closes: #247080 -- Joey Hess Tue, 4 May 2004 20:52:29 -0400 os-prober (0.09) unstable; urgency=low * Guillem Jover - Added more distros support. * Joey Hess - Use just "Windows" as the shortname for Windows 2k/NT/XP. -- Joey Hess Thu, 22 Apr 2004 12:07:11 -0400 os-prober (0.08) unstable; urgency=low * Joey Hess - Initialise variables in lilo and grub probes, to avoid inheriting settings for things like $initrd from the kernel command line. This fixes processing of things like lilo.conf stanzas that do not set an initrd. Thanks to Frans Pop. - Add some extra debug logging. -- Joey Hess Tue, 20 Apr 2004 16:40:16 -0400 os-prober (0.07) unstable; urgency=low * Colin Watson - Add a Mac OS 6-9 check for powerpc. This is currently a copy of the m68k version with a different loader name for yaboot's benefit, which may not be ideal ... - Send modprobe's standard output to syslog so that it doesn't confuse programs parsing os-prober's output. -- Colin Watson Sun, 18 Apr 2004 11:23:51 +0100 os-prober (0.06) unstable; urgency=low * Colin Watson - Add a Linux boot probe for /etc/yaboot.conf. - Make sure hfs is available for the Mac OS 9 check. - Delay hfs until last in mounted checks so that we can tell the difference between that and hfsplus. - Add count to Mac OS X labels; change loader type to macosx. - Add myself to Uploaders. -- Colin Watson Wed, 14 Apr 2004 01:15:53 +0100 os-prober (0.05) unstable; urgency=low * Joey Hess - Fix broken mounting of /boot partitions. - Fix grub probe to support systems that have /boot on a separate partition, by looking for kernels in /boot as well. - Same for initrds. -- Joey Hess Sat, 10 Apr 2004 16:06:49 -0400 os-prober (0.04) unstable; urgency=low * Joey Hess - Return "hurd" as the OS type for hurd, rather than "multiboot". The latter is not enough info to boot the hurd. - Fix broken hurd detection. -- Joey Hess Fri, 9 Apr 2004 22:18:54 -0400 os-prober (0.03) unstable; urgency=low * Joshua Kwan - Allow for unique short names via functions in new common.sh library. - Revamp all the dh_install stuff. - Use /var/lib/os-prober as our sandbox. * Colin Watson - Add Mac OS X probing support. * Joey Hess - Added linux-boot-prober, with sorta working support for grub. - Reorg the probes, and move to /usr/lib. - Remove broken depends line. - Add a linux boot probe that searches for kernels and initrds with no bootloader config file, as a fallback. - Add a linux boot probe that parses /etc/lilo.conf. -- Joey Hess Wed, 7 Apr 2004 21:40:39 -0400 os-prober (0.02) unstable; urgency=low * Include init dir in the udeb. -- Joey Hess Sun, 4 Apr 2004 00:43:12 -0500 os-prober (0.01) unstable; urgency=low * Initial Release. -- Joey Hess Sat, 3 Apr 2004 23:45:29 -0500