~darkmuggle-deactivatedaccount/ubuntu/quantal/grub2/fix-872244

« back to all changes in this revision

Viewing changes to util/mkisofs/mkisofs.h

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2010-01-11 11:12:55 UTC
  • mfrom: (17.3.7 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100111111255-lr8ebkqw5x41gq6j
Tags: 1.98~20100101-1ubuntu1
* Resynchronise with Debian. Remaining changes:
  - Adjust for default Ubuntu boot options ("quiet splash").
  - Default to hiding the menu; holding down Shift at boot will show it.
  - Set a monochromatic theme for Ubuntu.
  - Apply Ubuntu GRUB Legacy changes to legacy update-grub script: title,
    recovery mode, quiet option, tweak how memtest86+ is displayed, and
    use UUIDs where appropriate.
  - Conflict with grub (<< 0.97-54) as well as grub-legacy.
  - Fix backslash-escaping in merge_debconf_into_conf.
  - Remove "GNU/Linux" from default distributor string.
  - Add crashkernel= options if kdump and makedumpfile are available.
  - If other operating systems are installed, then automatically unhide
    the menu. Otherwise, if GRUB_HIDDEN_TIMEOUT is 0, then use keystatus
    if available to check whether Shift is pressed. If it is, show the
    menu, otherwise boot immediately. If keystatus is not available, then
    fall back to a short delay interruptible with Escape.
  - Allow Shift to interrupt 'sleep --interruptible'.
  - Don't display introductory message about line editing unless we're
    actually offering a shell prompt. Don't clear the screen just before
    booting if we never drew the menu in the first place.
  - Remove some verbose messages printed before reading the configuration
    file.
  - If the environment variable "quiet" is set to something other than 0,
    suppress progress messages as the kernel and initrd load. Set this for
    non-recovery kernel menu entries.
  - Add GRUB_DEFAULT=saved, as well as grub-set-default and grub-reboot
    utilities. Provides functionality essentially equivalent to GRUB
    Legacy's savedefault.
  - Keep the loopback file open so that subsequent changes to the "root"
    environment variable don't affect it.
  - Change prepare_grub_to_access_device to handle filesystems
    loop-mounted on file images.
  - Ignore devices loop-mounted from files in 10_linux.
  - Show the boot menu if the previous boot failed, that is if it failed
    to get to the end of one of the normal runlevels.
  - Handle RAID devices containing virtio components.
* Update savedefault patch from current Bazaar branch, fixing grub-reboot
  to have distinct behaviour from grub-set-default (LP: #497326).
* Fix grub-mkisofs compilation error with FORTIFY_SOURCE.
* Convert recordfail boilerplate in each menu entry to use a function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
  unsigned int starting_block;
191
191
  unsigned int size;
192
192
};
193
 
  
 
193
 
194
194
 
195
195
/*
196
196
 * This structure is used to control the output of fragments to the cdrom
243
243
extern struct output_fragment extension_desc;
244
244
extern struct output_fragment files_desc;
245
245
 
246
 
/* 
 
246
/*
247
247
 * This structure describes one complete directory.  It has pointers
248
248
 * to other directories in the overall tree so that it is clear where
249
249
 * this directory lives in the tree, and it also must contain pointers
296
296
extern struct iso_directory_record jroot_record;
297
297
 
298
298
extern int use_eltorito;
 
299
extern int use_embedded_boot;
 
300
extern int use_protective_msdos_label;
299
301
extern int use_eltorito_emul_floppy;
300
302
extern int use_boot_info_table;
301
303
extern int use_RockRidge;
324
326
                                          struct directory_entry * self, int));
325
327
extern void DECL (finish_cl_pl_entries, (void));
326
328
extern int DECL(scan_directory_tree,(struct directory * this_dir,
327
 
                                     char * path, 
 
329
                                     char * path,
328
330
                                     struct directory_entry * self));
329
 
extern int DECL(insert_file_entry,(struct directory *, char *, 
 
331
extern int DECL(insert_file_entry,(struct directory *, char *,
330
332
                                   char *));
331
333
 
332
334
extern void DECL(generate_iso9660_directories,(struct directory *, FILE*));
333
335
extern void DECL(dump_tree,(struct directory * node));
334
 
extern struct directory_entry * DECL(search_tree_file, (struct 
 
336
extern struct directory_entry * DECL(search_tree_file, (struct
335
337
                                directory * node,char * filename));
336
338
extern void DECL(update_nlink_field,(struct directory * node));
337
339
extern void DECL (init_fstatbuf, (void));
372
374
 
373
375
extern FILE * in_image;
374
376
extern struct iso_directory_record *
375
 
        DECL(merge_isofs,(char * path)); 
 
377
        DECL(merge_isofs,(char * path));
376
378
 
377
379
extern int DECL(free_mdinfo, (struct directory_entry **, int len));
378
380
 
379
 
extern struct directory_entry ** 
 
381
extern struct directory_entry **
380
382
        DECL(read_merging_directory,(struct iso_directory_record *, int*));
381
 
extern void 
382
 
        DECL(merge_remaining_entries, (struct directory *, 
 
383
extern void
 
384
        DECL(merge_remaining_entries, (struct directory *,
383
385
                                       struct directory_entry **, int));
384
 
extern int 
385
 
        DECL(merge_previous_session, (struct directory *, 
 
386
extern int
 
387
        DECL(merge_previous_session, (struct directory *,
386
388
                                      struct iso_directory_record *));
387
389
 
388
390
extern int  DECL(get_session_start, (int *));
399
401
 
400
402
/* */
401
403
 
402
 
extern int DECL(iso9660_file_length,(const char* name, 
 
404
extern int DECL(iso9660_file_length,(const char* name,
403
405
                               struct directory_entry * sresult, int flag));
404
406
extern int DECL(iso9660_date,(char *, time_t));
405
407
extern void DECL(add_hash,(struct directory_entry *));
411
413
extern struct directory_entry * DECL(find_file_hash,(char *));
412
414
extern void DECL(add_file_hash,(struct directory_entry *));
413
415
extern int DECL(generate_rock_ridge_attributes,(char *, char *,
414
 
                                          struct directory_entry *, 
 
416
                                          struct directory_entry *,
415
417
                                          struct stat *, struct stat *,
416
418
                                          int  deep_flag));
417
419
extern char * DECL(generate_rr_extension_record,(char * id,  char  * descriptor,
438
440
extern int extension_record_extent;
439
441
extern int n_data_extents;
440
442
 
441
 
/* These are a few goodies that can be specified on the command line, and  are
 
443
/* These are a few goodies that can be specified on the command line, and are
442
444
   filled into the root record */
443
445
 
444
 
extern char * preparer;
445
 
extern char * publisher;
446
 
extern char * copyright;
447
 
extern char * biblio;
448
 
extern char * abstract;
449
 
extern char * appid;
450
 
extern char * volset_id;
451
 
extern char * system_id;
452
 
extern char * volume_id;
453
 
extern char * boot_catalog;
454
 
extern char * boot_image;
 
446
extern char *preparer;
 
447
extern char *publisher;
 
448
extern char *copyright;
 
449
extern char *biblio;
 
450
extern char *abstract;
 
451
extern char *appid;
 
452
extern char *volset_id;
 
453
extern char *system_id;
 
454
extern char *volume_id;
 
455
extern char *boot_catalog;
 
456
extern char *boot_image;
 
457
extern char *boot_image_embed;
455
458
extern int volume_set_size;
456
459
extern int volume_sequence_number;
457
460