Magellan Linux

Log of /trunk/grubby

View Directory Listing Directory Listing


Sticky Revision:

Revision 1718 - Directory Listing
Modified Sat Feb 18 00:49:41 2012 UTC (12 years, 1 month ago) by niro
GRUB: Fix detection by increasing offset when comparing stage1 to MBR

A couple of instructions of grub's stage1 get modified when copied to 
the
MBR (replaced by NOOPs). Check for this condition, and skip these bytes
while compare stage1 and MBR.

Signed-off-by: Cleber Rosa <crosa@redhat.com>



Revision 1717 - Directory Listing
Modified Sat Feb 18 00:47:17 2012 UTC (12 years, 1 month ago) by niro
    Don't crash if grubConfig not found.
    
    I trigger this crash on my system. It has syslinux and no grub.
    
    Signed-off-by: Christopher Li <kernel@chrisli.org>



Revision 1716 - Directory Listing
Modified Sat Feb 18 00:46:32 2012 UTC (12 years, 1 month ago) by niro
Adding extlinux support for new-kernel-pkg

Signed-off-by: Christopher Li <kernel@chrisli.org>




Revision 1715 - Directory Listing
Modified Sat Feb 18 00:35:46 2012 UTC (12 years, 1 month ago) by niro
    Look for other possible grub config files
    
    Since debian and Ubuntu don't symlink /boot/grub/menu.lst
    to /etc/grub.conf, make it possible to look them over on
    this original location as well.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>



Revision 1714 - Directory Listing
Modified Sat Feb 18 00:32:14 2012 UTC (12 years, 1 month ago) by niro
    Make grubby to recognize Ubuntu's spin of Grub2
    
    We are looking to use grubby as a bootloader entries
    manager for the autotest project:
    
    http://autotest.kernel.org/
    
    The project aims to cover more distros than just
    red hat based ones, so this small patch fixes the
    tool under Ubuntu. They have chosen to name grub2
    grub, in all directory references. Also, they don't
    make symlinks of grub config files on /etc. So,
    adapt the code to take into consideration this
    behavior.
    
    Changes from v1:
      * Removed nested set of {}
      * Made the return in case /etc/grub.d is found
        indented
      * Moved the dbgPrint("not found\n") statement
        before the last return. Also, put a new
        dbgPrint("found\n") if we've found a suitable
        grub2 config file ubuntu/debian style.
    
    Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>



Revision 1712 - Directory Listing
Modified Sat Feb 18 00:29:19 2012 UTC (12 years, 1 month ago) by niro
updated ChangeLog

Revision 1711 - Directory Listing
Modified Sat Feb 18 00:29:05 2012 UTC (12 years, 1 month ago) by niro
-version 8.3

Revision 1710 - Directory Listing
Modified Sat Feb 18 00:28:45 2012 UTC (12 years, 1 month ago) by niro
    Fix new-kernel-pkg invocation of grubby for grub (bz 725185)
    
    new-kernel-pkg did not specify --grub when it called grubby to 
update the
    kernel entry with an initrd. Grubby would then try to probe what to 
do and
    would give preference to grub2 and thus leave an incomplete grub 
entry.
    
    new-kernel-pkg did also not specify the grub config file explicitly 
to
    grubby as it do for the grub2 config file. That could perhaps in 
some
    situations cause grubby to do something else than new-kernel-pkg 
expected.
    
    Now --grub -c $grubConfig is specified explicitly in all cases.



Revision 1708 - Directory Listing
Modified Sat Feb 18 00:24:23 2012 UTC (12 years, 1 month ago) by niro
updated ChangeLog

Revision 1707 - Directory Listing
Modified Sat Feb 18 00:24:15 2012 UTC (12 years, 1 month ago) by niro
-version 8.2

Revision 1706 - Directory Listing
Modified Sat Feb 18 00:23:51 2012 UTC (12 years, 1 month ago) by niro
Read HYPERVISOR and HYPERVISOR_ARGS from /etc/conf.d/grubby and 
set 
mbkernel and mbargs Signed-off-by: W. Michael Petullo <mike@flyn.org>



Revision 1704 - Directory Listing
Modified Sat Feb 18 00:22:18 2012 UTC (12 years, 1 month ago) by niro
updated ChangeLog

Revision 1703 - Directory Listing
Modified Sat Feb 18 00:22:00 2012 UTC (12 years, 1 month ago) by niro
-version 8.1

Revision 1702 - Directory Listing
Modified Sat Feb 18 00:21:34 2012 UTC (12 years, 1 month ago) by niro
Fix a miss-spelled variable name.

"grub2Config", not "grub2Cfg".



Revision 1700 - Directory Listing
Modified Sat Feb 18 00:19:02 2012 UTC (12 years, 1 month ago) by niro
updated ChangeLog

Revision 1699 - Directory Listing
Modified Sat Feb 18 00:17:35 2012 UTC (12 years, 1 month ago) by niro
-version 8.0

Revision 1698 - Directory Listing
Modified Sat Feb 18 00:16:24 2012 UTC (12 years, 1 month ago) by niro
Add some limited test cases for grub2.



Revision 1697 - Directory Listing
Modified Sat Feb 18 00:15:09 2012 UTC (12 years, 1 month ago) by niro
Update grub2 support to new-kernel-pkg

This uses grubby for grub2 on efi and non-efi machines.



Revision 1696 - Directory Listing
Modified Fri Feb 17 23:46:24 2012 UTC (12 years, 1 month ago) by niro
Add grub2.cfg support to grubby.



Revision 1695 - Directory Listing
Modified Fri Feb 17 23:23:43 2012 UTC (12 years, 1 month ago) by niro
Add -ggdb



Revision 1694 - Directory Listing
Modified Fri Feb 17 23:23:07 2012 UTC (12 years, 1 month ago) by niro
Tweak some make options.

Some functions are only used in dbgPrintf() arguments. As such,
errors/warnings on unused functions need to be disabled.

Also, use -std=gnu99.

Also, add a debug target.



Revision 1693 - Directory Listing
Modified Fri Feb 17 23:21:08 2012 UTC (12 years, 1 month ago) by niro
Rename entrySeparator to entryStart.
    
Since we're actually using it to detect the start of an entry (and
specifically not the end), name this slightly better.



Revision 1692 - Directory Listing
Modified Fri Feb 17 23:14:54 2012 UTC (12 years, 1 month ago) by niro
Convert configFileInfo structs to C99-style initializers.

Get rid of the old initializers where struct names were commends, in
favor of C99-style assignment, so new fields can be put at logical
places without having to change the whole file.



Revision 1691 - Directory Listing
Modified Fri Feb 17 23:10:15 2012 UTC (12 years, 1 month ago) by niro
Add uboot support for ARM (#712199)

Revision 1433 - Directory Listing
Modified Tue Jul 19 17:08:17 2011 UTC (12 years, 8 months ago) by niro
-added ChangeLog

Revision 1432 - Directory Listing
Modified Tue Jul 19 17:05:30 2011 UTC (12 years, 8 months ago) by niro
-version 7.0.18 - upstream fixed grub2 errors in new-kernel-pkg, which we already done in our port of 7.0.17. ver up to be in sync with upstream

Revision 1431 - Directory Listing
Modified Tue Jul 19 17:02:36 2011 UTC (12 years, 8 months ago) by niro
-we install grub2 without '2' suffix

Revision 1341 - Directory Listing
Modified Fri Jun 3 21:10:18 2011 UTC (12 years, 9 months ago) by niro
-version 7.0.17.1

Revision 1340 - Directory Listing
Modified Fri Jun 3 21:10:11 2011 UTC (12 years, 9 months ago) by niro
-be dracut friendly

Revision 1339 - Directory Listing
Modified Fri Jun 3 21:09:58 2011 UTC (12 years, 9 months ago) by niro
-added installkernel{,.8}

Revision 1338 - Directory Listing
Modified Fri Jun 3 21:04:42 2011 UTC (12 years, 9 months ago) by niro
-copied from magellan-mkinitrd

Revision 1336 - Directory Listing
Modified Fri Jun 3 20:58:37 2011 UTC (12 years, 9 months ago) by niro
-version 7.0.17

Revision 1335 - Directory Listing
Modified Fri Jun 3 20:58:28 2011 UTC (12 years, 9 months ago) by niro
-adjusted Makefile to use grubby's version file

Revision 1334 - Directory Listing
Modified Fri Jun 3 20:56:30 2011 UTC (12 years, 9 months ago) by niro
-be more dracut and plymouth friendly

Revision 1333 - Directory Listing
Modified Fri Jun 3 20:56:14 2011 UTC (12 years, 9 months ago) by niro
-added make-tarball script

Revision 1332 - Directory Listing
Modified Fri Jun 3 20:32:19 2011 UTC (12 years, 9 months ago) by niro
Copied from: trunk/mkinitrd-magellan/grubby revision 1268
-forkin standalone grubby

Revision 1183 - Directory Listing
Modified Wed Dec 15 22:10:50 2010 UTC (13 years, 3 months ago) by niro
Original Path: trunk/mkinitrd-magellan/grubby
-fixed missing man-pages

Revision 1178 - Directory Listing
Modified Wed Dec 15 21:16:52 2010 UTC (13 years, 3 months ago) by niro
Original Path: trunk/mkinitrd-magellan/grubby
-added missing man page

Revision 1177 - Directory Listing
Modified Wed Dec 15 21:16:32 2010 UTC (13 years, 3 months ago) by niro
Original Path: trunk/mkinitrd-magellan/grubby
-added check for return value of getuuidbydev() - resolves a segfault if the device does not exist - see rhbz#592294

Revision 1156 - Directory Listing
Modified Tue Sep 14 19:47:52 2010 UTC (13 years, 6 months ago) by niro
Original Path: trunk/mkinitrd-magellan/grubby
-merged with upstream:
-update initrd support
-better rootdev handling
-better support for uuids

Revision 1153 - Directory Listing
Modified Tue Sep 14 19:37:47 2010 UTC (13 years, 6 months ago) by niro
Original Path: trunk/mkinitrd-magellan/grubby
-install grubby man-page

Revision 1152 - Directory Listing
Modified Tue Sep 14 19:37:00 2010 UTC (13 years, 6 months ago) by niro
Original Path: trunk/mkinitrd-magellan/grubby
-fixed a typo

Revision 937 - Directory Listing
Modified Tue Nov 17 21:21:52 2009 UTC (14 years, 4 months ago) by niro
Original Path: trunk/mkinitrd-magellan/grubby
-fixed missing mandir variable

Revision 926 - Directory Listing
Modified Wed Oct 28 13:29:38 2009 UTC (14 years, 4 months ago) by niro
Original Path: trunk/mkinitrd-magellan/grubby
-read grub options from /etc/conf.d/grub

Revision 925 - Directory Listing
Modified Wed Oct 28 13:29:18 2009 UTC (14 years, 4 months ago) by niro
Original Path: trunk/mkinitrd-magellan/grubby
-read config from /etc/conf.d/grubby

Revision 924 - Directory Listing
Modified Wed Oct 28 13:26:45 2009 UTC (14 years, 4 months ago) by niro
Original Path: trunk/mkinitrd-magellan/grubby
-updated style

Revision 923 - Directory Listing
Modified Wed Oct 28 12:02:45 2009 UTC (14 years, 4 months ago) by niro
Original Path: trunk/mkinitrd-magellan/grubby
-pulled in new version from fedora (7.0.8) with update support
-removed dracut and fedara specific stuff
-fixed to work with magellan


Revision 920 - Directory Listing
Modified Wed Oct 28 09:50:42 2009 UTC (14 years, 4 months ago) by niro
Original Path: trunk/mkinitrd-magellan/grubby
-fixed grub.conf default location

Revision 917 - Directory Listing
Modified Wed Oct 28 00:26:22 2009 UTC (14 years, 4 months ago) by niro
Original Path: trunk/mkinitrd-magellan/grubby
-we not providing installkernel here

Revision 914 - Directory Listing
Modified Wed Oct 28 00:16:16 2009 UTC (14 years, 4 months ago) by niro
Original Path: trunk/mkinitrd-magellan/grubby
-updated grubby to version 7.0.8 from fedory with blkid support

Revision 819 - Directory Listing
Modified Fri Apr 24 18:49:05 2009 UTC (14 years, 10 months ago) by niro
Original Path: trunk/mkinitrd-magellan/grubby
-converted cvsignore to svn:ignore propset

Revision 547 - Directory Listing
Modified Sun Sep 2 00:01:59 2007 UTC (16 years, 6 months ago) by niro
Original Path: trunk/mkinitrd-magellan/grubby
-fixed CFLAGS


Revision 532 - Directory Listing
Added Sat Sep 1 22:45:15 2007 UTC (16 years, 6 months ago) by niro
Original Path: trunk/mkinitrd-magellan/grubby
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd