Robert Millan [Sun, 24 Jul 2011 21:27:00 +0000 (23:27 +0200)]
Depend on grub-mount-udeb only on architectures with FUSE support.
Otavio Salvador [Sat, 23 Jul 2011 15:46:40 +0000 (17:46 +0200)]
releasing version 1.48
Otavio Salvador [Sat, 23 Jul 2011 15:02:15 +0000 (17:02 +0200)]
Fix handling with multiple directories
Otavio Salvador [Sat, 23 Jul 2011 14:22:30 +0000 (16:22 +0200)]
Fix fallback to Windows 2000 in case bootmgr exist but it is not Vista
Otavio Salvador [Sat, 23 Jul 2011 14:05:44 +0000 (16:05 +0200)]
Fix syntax and not needed of tailing slash matching
Otavio Salvador [Sat, 23 Jul 2011 12:44:10 +0000 (14:44 +0200)]
Fix Windows detection when there are more then one boot directories
Otavio Salvador [Sat, 23 Jul 2011 12:36:59 +0000 (14:36 +0200)]
item_in_dir: fix regression regarding -q support
The commit
2ad9c80b0082917f0220abcf8798810614c702f8 has introduced a
regression when used with 3 params as:
item_in_dir -q foo dir/
So we need to shift params in case $1 to properly support it.
Otavio Salvador [Fri, 22 Jul 2011 13:50:19 +0000 (15:50 +0200)]
add MeeGo detection support; thanks to Chengwei Yang <chengwei.yang@intel.com> for the patch.
Colin Watson [Fri, 17 Jun 2011 15:30:42 +0000 (16:30 +0100)]
item_in_dir: return 1 immediately if second argument is not a directory (thanks, Daniel Richard G.; LP: #798447).
Colin Watson [Thu, 16 Jun 2011 21:51:43 +0000 (22:51 +0100)]
Depend on grub-mount-udeb (see changelog for 1.45).
Otavio Salvador [Sun, 15 May 2011 20:49:49 +0000 (17:49 -0300)]
releasing version 1.47
Joey Hess [Sun, 1 May 2011 20:56:50 +0000 (16:56 -0400)]
Fix unwanted wildcard expansions. Closes: #624815
The set -- $foo construct will always expand wildcards in $foo, unless
wildcards are disabled by set -f. Happily, busybox and dash both support
it. Since os-prober does use wildcards intentionally in some cases, only
disable globbing during such tokenising.
I don't think that the wildcard expansion is exploitable, since os-prober
is pretty good about quoting all other variables these days.
Christian Perrier [Mon, 25 Apr 2011 05:13:04 +0000 (07:13 +0200)]
releasing version 1.46
Christian Perrier [Mon, 25 Apr 2011 05:08:56 +0000 (07:08 +0200)]
Correct syntax error in LFS detection. Closes: #623981
Christian Perrier [Sun, 24 Apr 2011 18:13:51 +0000 (20:13 +0200)]
releasing version 1.45
Christian PERRIER [Sun, 24 Apr 2011 18:00:53 +0000 (20:00 +0200)]
Add detection of Linux From Scratch distribution. Closes: #623939
Colin Watson [Sat, 9 Apr 2011 10:20:30 +0000 (11:20 +0100)]
Attempt to load the fuse module, to improve the chances of grub-mount working.
Colin Watson [Sat, 9 Apr 2011 02:49:16 +0000 (03:49 +0100)]
bug reference
Colin Watson [Fri, 8 Apr 2011 16:39:32 +0000 (17:39 +0100)]
Use grub-mount if it exists. This lets us do true read-only mounts, and works better on journalling filesystems that were mounted uncleanly.
Colin Watson [Fri, 8 Apr 2011 10:35:22 +0000 (11:35 +0100)]
Fix regression from
858555c8dad4e06e673cfed43a53337491ac980b; check that dos directory exists before testing that it is a directory.
Colin Watson [Mon, 21 Mar 2011 18:22:57 +0000 (18:22 +0000)]
Fix fatal typo in QNX prober.
Christian PERRIER [Mon, 7 Mar 2011 18:13:17 +0000 (19:13 +0100)]
Improve MS-DOS detection by using an absolute path when verifying that "dos" is a directory.
Christian Perrier [Sat, 19 Feb 2011 07:09:39 +0000 (08:09 +0100)]
releasing version 1.44
Christian Perrier [Fri, 18 Feb 2011 19:17:28 +0000 (20:17 +0100)]
Fix syntax errors in 83haiku and make it executable
Christian Perrier [Fri, 18 Feb 2011 05:08:52 +0000 (06:08 +0100)]
releasing version 1.43
Christian PERRIER [Fri, 18 Feb 2011 05:01:52 +0000 (06:01 +0100)]
Detect Haiku on BeFS partitions. Thanks to Jeroen Oortwijn for the proposed patch Closes: #590897
* Detect Haiku on BeFS partitions.
Thanks to Jeroen Oortwijn for the proposed patch
Closes: #590897
*
Joey Hess [Wed, 9 Feb 2011 20:18:14 +0000 (16:18 -0400)]
Avoid ever accidentially identifying the same file as initrd and kernel.
The code finds a kernel, and then performs various s/kernel/initrd/ seds
on it to try to find an initrd file. But sometimes these seds failed
to change anything, and so it found an initrd that was really the kernel.
Closes: #612303
Christian PERRIER [Sat, 5 Feb 2011 12:02:59 +0000 (13:02 +0100)]
Fix Gentoo detection (different name for kernel and initrd files). Thanks to caillean for the patch Closes: #611670
Joey Hess [Mon, 17 Jan 2011 21:24:02 +0000 (17:24 -0400)]
update Vcs fields
Joey Hess [Mon, 17 Jan 2011 19:59:04 +0000 (15:59 -0400)]
add gitignores, converted from svn
Otavio Salvador [Fri, 24 Dec 2010 21:13:38 +0000 (21:13 -0000)]
releasing version 1.42
r66004
miki-guest [Mon, 29 Nov 2010 05:33:25 +0000 (05:33 -0000)]
Handle YDL initrd image in linux-boot-prober fallback test.
r65813
miki-guest [Sun, 28 Nov 2010 05:45:09 +0000 (05:45 -0000)]
Let yaboot linux-boot-prober work on all chrp machines.
r65805
Otavio Salvador [Wed, 24 Nov 2010 11:58:41 +0000 (11:58 -0000)]
releasing version 1.41
r65768
Joey Hess [Sun, 21 Nov 2010 17:35:48 +0000 (17:35 -0000)]
Fix probes for MacOS 9 on m68k and powerpc. Closes: #604192
(Thanks, Milan Kupcevic)
r65720
Colin Watson [Wed, 10 Nov 2010 11:54:43 +0000 (11:54 -0000)]
releasing version 1.40
r65379
Colin Watson [Wed, 10 Nov 2010 11:40:26 +0000 (11:40 -0000)]
Set partitions read-only before mounting them (based on a patch by Alex
Owen; closes: #417407, #556739, #599203).
r65378
Colin Watson [Wed, 10 Nov 2010 11:32:32 +0000 (11:32 -0000)]
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.
r65377
Colin Watson [Tue, 9 Nov 2010 14:03:09 +0000 (14:03 -0000)]
Ignore active swap partitions (thanks, Alex Owen; see #417407).
r65354
Colin Watson [Mon, 8 Nov 2010 18:26:04 +0000 (18:26 -0000)]
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).
r65342
Colin Watson [Tue, 21 Sep 2010 15:44:10 +0000 (15:44 -0000)]
Improve error message when /sys/block is missing.
r64834
Christian Perrier [Thu, 26 Aug 2010 20:22:24 +0000 (20:22 -0000)]
Allow recognition of recent MINIX installations.
Thanks to Feiran Zheng
Closes: #592924
r64542
Christian Perrier [Thu, 26 Aug 2010 20:05:21 +0000 (20:05 -0000)]
Fix Windows Vista and Windows Recovery Environment partitions
recognition. (Thanks, Bouke Bunnik)
Closes: #589676, LP: #476625
r64541
Colin Watson [Mon, 28 Jun 2010 17:07:18 +0000 (17:07 -0000)]
releasing version 1.39
r63576
Colin Watson [Mon, 28 Jun 2010 17:00:53 +0000 (17:00 -0000)]
bug closure
r63575
Colin Watson [Mon, 28 Jun 2010 16:59:10 +0000 (16:59 -0000)]
further adjustment from Piscium
r63574
Colin Watson [Mon, 28 Jun 2010 16:57:44 +0000 (16:57 -0000)]
credit
r63573
Colin Watson [Mon, 28 Jun 2010 11:25:34 +0000 (11:25 -0000)]
Handle Dracut-generated initramfs names in linux-boot-prober fallback
test.
r63570
Joey Hess [Wed, 19 May 2010 23:21:39 +0000 (23:21 -0000)]
Fix FreeDOS test to use case-insensative filename lookup
as was already done for all other DOS/Windows tests. Closes: #582257
(Thanks, Harald Dunkel)
r63230
Joey Hess [Wed, 19 May 2010 16:53:55 +0000 (16:53 -0000)]
consistent indentation
r63229
Joey Hess [Tue, 18 May 2010 20:15:06 +0000 (20:15 -0000)]
remove myself from Uploaders of packages I don't upload
Left myself on packages I am actively involved in.
r63220
Colin Watson [Fri, 16 Apr 2010 11:18:41 +0000 (11:18 -0000)]
releasing version 1.38
r62926
Colin Watson [Fri, 16 Apr 2010 11:15:05 +0000 (11:15 -0000)]
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.
r62925
Colin Watson [Tue, 13 Apr 2010 13:21:55 +0000 (13:21 -0000)]
releasing version 1.37
r62909
Colin Watson [Wed, 24 Mar 2010 11:41:07 +0000 (11:41 -0000)]
Detect Arch Linux initrds: 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
r62776
Colin Watson [Tue, 23 Mar 2010 13:31:10 +0000 (13:31 -0000)]
Detect Windows Server 2008 and Windows Server 2008 R2, thanks to
Thorsten. LP: #544117
r62736
Frans Pop [Thu, 18 Mar 2010 00:47:52 +0000 (00:47 -0000)]
90linux-distro: also allow for lib32 and lib64 directories when looking for ld*.so*
Without doing so we risk missing 64bit systems like Fedora 64.
With thanks to Maximilian Gerhard.
r62681
Otavio Salvador [Tue, 23 Feb 2010 18:51:06 +0000 (18:51 -0000)]
releasing version 1.36
r62445
Joey Hess [Wed, 10 Feb 2010 22:59:05 +0000 (22:59 -0000)]
Avoid leaving a temporary mountpoint behind when exiting
in some exceptional conditions. Closes: #569235
r62237
Joey Hess [Wed, 10 Feb 2010 22:58:19 +0000 (22:58 -0000)]
add usage message
For non-d-i use, it's worth printing a usage message if run w/o a
partition.
r62236
Joey Hess [Wed, 10 Feb 2010 22:48:20 +0000 (22:48 -0000)]
Avoid ever running mount command from filesystems being probed.
Closes: #569222
Security risk is too large, benefit of using such a mount is currently
only theoretical, and the chances /target/mount will not handle it
is epsilon.
(Left in the nasty /target/mount hack for now.)
r62235
Joey Hess [Wed, 10 Feb 2010 22:24:50 +0000 (22:24 -0000)]
more paranoid quoting
Should get at least all unquoted variables inside $() expressions.
r62233
Joey Hess [Wed, 10 Feb 2010 22:07:27 +0000 (22:07 -0000)]
tighten up quoting of shell variables overall
I grepped for all unquoted variables that I could find and fixed them.
Most of these are not going to cause security problems or other bugs, but
the rule of thumb re quoting shell variables is that if you don't want to
have to worry about it, always quote it. Especially when your program
has millions of users and is starting to be used in environments it was
never really expected to be used in.
(Left unquoted: Variables used in "set -- $var" and "for $var in", and
a very few other special cases.)
r62230
Joey Hess [Wed, 10 Feb 2010 21:59:53 +0000 (21:59 -0000)]
fix arbitrary code execution via eval. Closes: #569229
r62228
Joey Hess [Wed, 10 Feb 2010 20:28:18 +0000 (20:28 -0000)]
Load btrfs module if available.
r62227
Otavio Salvador [Tue, 26 Jan 2010 01:07:04 +0000 (01:07 -0000)]
Applied patch from Brad Jorsch <anomie@users.sourceforge.net> to properly detect Windows' recovery partitions. Closes: #547382
r62084
Christian Perrier [Tue, 5 Jan 2010 21:12:05 +0000 (21:12 -0000)]
Properly quote variable in os-probes/mounted/x86
r61935
Frans Pop [Fri, 27 Nov 2009 15:28:49 +0000 (15:28 -0000)]
Remove support for the lpia architecture
Ubuntu announced lpia is being retired:
http://lwn.net/Articles/363632/
r61534
Colin Watson [Mon, 19 Oct 2009 15:00:34 +0000 (15:00 -0000)]
Suppress tedious fd leak warnings from LVM tools.
r61015
Colin Watson [Mon, 5 Oct 2009 22:16:23 +0000 (22:16 -0000)]
releasing version 1.35
r60942
Colin Watson [Mon, 5 Oct 2009 22:09:24 +0000 (22:09 -0000)]
Set LC_ALL=C when grepping out accented characters from Windows
descriptions (LP: #438095).
r60941
Colin Watson [Mon, 21 Sep 2009 14:01:17 +0000 (14:01 -0000)]
releasing version 1.34
r60810
Colin Watson [Mon, 21 Sep 2009 13:35:52 +0000 (13:35 -0000)]
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.
r60809
Colin Watson [Mon, 21 Sep 2009 13:32:25 +0000 (13:32 -0000)]
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.
r60808
Colin Watson [Mon, 21 Sep 2009 13:26:40 +0000 (13:26 -0000)]
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.
r60807
Colin Watson [Mon, 21 Sep 2009 13:02:53 +0000 (13:02 -0000)]
Handle escaped special characters in /etc/fstab and /proc/mounts
(LP: #433910).
r60806
Colin Watson [Thu, 17 Sep 2009 20:38:36 +0000 (20:38 -0000)]
Memoise calls to 'basename $0' in log function.
r60791
Colin Watson [Thu, 17 Sep 2009 20:27:16 +0000 (20:27 -0000)]
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.
r60790
Colin Watson [Tue, 15 Sep 2009 13:17:21 +0000 (13:17 -0000)]
releasing version 1.33
r60777
Colin Watson [Mon, 14 Sep 2009 12:44:05 +0000 (12:44 -0000)]
Don't try to mount LUKS partitions (thanks, Chow Loong Jin and Soren
Hansen; closes: #546546, LP: #428785).
r60771
Colin Watson [Mon, 14 Sep 2009 11:14:43 +0000 (11:14 -0000)]
Distinguish Windows 7, based on a patch from "mattduckman"
(LP: #393565).
r60769
Colin Watson [Tue, 8 Sep 2009 11:32:20 +0000 (11:32 -0000)]
releasing version 1.32
r60687
Colin Watson [Tue, 8 Sep 2009 11:28:49 +0000 (11:28 -0000)]
Pass arguments properly to newns (thanks, Roger E Critchlow Jr; LP:
#426061).
r60685
Colin Watson [Mon, 7 Sep 2009 10:12:05 +0000 (10:12 -0000)]
releasing version 1.31
r60669
Colin Watson [Mon, 7 Sep 2009 10:06:38 +0000 (10:06 -0000)]
Install Mac OS X probe on i386/amd64 too (LP: #353639).
r60668
Colin Watson [Mon, 7 Sep 2009 10:03:00 +0000 (10:03 -0000)]
newns needs ${shlibs:Depends}
r60667
Colin Watson [Mon, 7 Sep 2009 10:01:08 +0000 (10:01 -0000)]
Skip extended and swap partitions (closes: #511518).
r60666
Colin Watson [Mon, 7 Sep 2009 09:50:22 +0000 (09:50 -0000)]
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.
r60665
Colin Watson [Mon, 7 Sep 2009 09:49:43 +0000 (09:49 -0000)]
revert most of r60663, apparently committed by accident; this repeat_umount stuff is no longer needed
r60664
Felix Zielcke [Mon, 7 Sep 2009 09:30:19 +0000 (09:30 -0000)]
Add a Closes: 476184
r60663
Colin Watson [Mon, 7 Sep 2009 09:23:30 +0000 (09:23 -0000)]
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.
r60662
Colin Watson [Fri, 14 Aug 2009 22:48:50 +0000 (22:48 -0000)]
Detect Acronis Secure Zone (thanks, Alexey Fisher; LP: #354334).
r60194
Colin Watson [Fri, 14 Aug 2009 22:45:40 +0000 (22:45 -0000)]
Upgrade to debhelper v7.
r60192
Otavio Salvador [Tue, 21 Jul 2009 15:24:28 +0000 (15:24 -0000)]
releasing version 1.30
r59537
Otavio Salvador [Tue, 30 Jun 2009 14:12:02 +0000 (14:12 -0000)]
When there're both grub-legacy and grub2 configuration files available we ought to use the most recently changed. Closes: 534478
r59178
Colin Watson [Thu, 18 Jun 2009 11:04:10 +0000 (11:04 -0000)]
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.
r59021
Colin Watson [Wed, 17 Jun 2009 08:33:24 +0000 (08:33 -0000)]
Use result function in macosx prober, so that its output appears in
syslog.
r59008
Colin Watson [Wed, 11 Mar 2009 16:47:56 +0000 (16:47 -0000)]
releasing version 1.29
r57810
Colin Watson [Wed, 11 Mar 2009 16:39:23 +0000 (16:39 -0000)]
Windows Vista has been released for some time now, so just call it that
rather than "Vista/Longhorn".
r57809
Frans Pop [Sat, 28 Feb 2009 15:33:36 +0000 (15:33 -0000)]
Remove myself as uploader
For most of these components I only added myself as it was needed
for my role as D-I release manager during the Etch release cycle.
I've not removed myself for some components I still have an interest
in and 6 components for which I'm the only uploader (sparc kernel
udebs, partconf, partman-md and cdrom-{checker,detect,retriever}).
r57718