~ubuntu-branches/ubuntu/trusty/grub2/trusty-updates

« back to all changes in this revision

Viewing changes to util/grub-mkdevicemap.c

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-02-08 11:39:26 UTC
  • mfrom: (17.6.26 experimental)
  • mto: (17.6.27 experimental)
  • mto: This revision was merged to the branch mainline in revision 104.
  • Revision ID: james.westby@ubuntu.com-20110208113926-clfs90haboyk9zip
Tags: 1.99~rc1-2
* Merge 1.98+20100804-13 and 1.98+20100804-14, updating translations:
  - Kazakh (Baurzhan Muftakhidinov / Timur Birsh).
* mkconfig_skip_dmcrypt.patch: Refer to GRUB_PRELOAD_MODULES rather than
  suggesting people write a /etc/grub.d/01_modules script (thanks, Jordan
  Uggla).
* Handle empty dir passed to grub_find_root_device_from_mountinfo; fixes
  grub-mkrelpath on btrfs subvolumes (LP: #712029).
* Add rootflags=subvol=<name> if / is on a btrfs subvolume (LP: #712029).
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
#include <fcntl.h>
30
30
#include <limits.h>
31
31
 
 
32
#include <grub/emu/misc.h>
32
33
#include <grub/util/misc.h>
33
34
#include <grub/util/deviceiter.h>
34
35
#include <grub/env.h>
39
40
 
40
41
#include "progname.h"
41
42
 
42
 
void 
43
 
grub_xputs_real (const char *str)
44
 
{
45
 
  fputs (str, stdout);
46
 
}
47
 
 
48
 
void (*grub_xputs) (const char *str) = grub_xputs_real;
49
 
 
50
 
int
51
 
grub_getkey (void)
52
 
{
53
 
  return -1;
54
 
}
55
 
 
56
 
void
57
 
grub_refresh (void)
58
 
{
59
 
  fflush (stdout);
60
 
}
61
 
 
62
43
static void
63
44
make_device_map (const char *device_map, int floppy_disks)
64
45
{