| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Signed-off-by: John Levon <john.levon@sun.com>
|
|
|
|
| |
Signed-off-by: John Levon <john.levon@sun.com>
|
|
|
|
| |
Signed-off-by: Jeremy Katz <katzj@redhat.com>
|
|
|
|
|
| |
(Pygrub uses /var/lib/xen to store fifos and image files.)
Signed-off-by: Tim Deegan <tim.deegan@xensource.com>
|
|
|
|
| |
Signed-off-by: Tim Deegan <tim.deegn@xensource.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
intended. Changes include:
* Addition of basic command line mode much like grub's so that you can
boot things without having them specified in the config file
* Edit/append mode for modifying kernel command lines, etc
* Fix handling of case where the grub config didn't have a default
specified
Signed-off-by: Jeremy Katz <katzj@redhat.com>
|
|
|
|
|
|
| |
Signed-off-by: Alastair Tse <atse@xensource.com>
|
|
|
|
|
|
|
|
| |
passed along for some reason, so we explicitly redefine it
to nothing.
Signed-off-by: Ryan Grimm <grimm@us.ibm.com>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Move .PHONY directives next to targets,
this makes them a lot harder to miss
* Add missing .PHONY directives
* Remove nonexistent .PHONY directives
* Hopefully I didn'T miss anything...
Signed-Off-By: Horms <horms@verge.net.au>
|
| |
| |
| |
| |
| |
| |
| | |
Report and diagnosis by Robert Hendrickx <robert.hendrickx@advalvas.be>.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
|
|/
|
|
|
|
| |
Signed-Off-By: Magnus Damm <magnus@valinux.co.jp>
Signed-Off-By: Horms <horms@valinux.co.jp>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As reported in the thread:
http://lists.xensource.com/archives/html/xen-users/2006-03/msg00721.html,
pygrub does not open ext2 file systems in partitioned images or sub
partitions on e.g. CentOS/RHEL 4, because e2fsprogs ext2fs_open does not
support an offset into the file to be opened.
With this patch, the error is correctly reported instead of a generic
"unable to open file" (and leaving the user searching in the dark).
Signed-off-by: Michael Paesold <mpaesold@gmx.at>
|
|
|
|
|
|
|
|
|
|
| |
if it can't figure out partitions and filesystems. This then makes it
balloon to absurd sizes. Make this only happen if you pass a debugging
flag
Signed-off-by: Jeremy Katz <katzj@redhat.com>
|
|
|
|
|
|
|
|
| |
Only call use_default_colors() if it's available.
Signed-off-by: John Levon <john.levon@sun.com>
|
|
|
|
|
|
|
|
|
|
| |
a) a couple of variables were referenced wrong
b) fix using arrow keys in the menu to act correctly
c) and look for grub config properly for /boot partition
Signed-off-by: Jeremy Katz <katzj@redhat.com>
|
|
|
|
|
|
| |
Signed-off-by: Jeremy Katz <katzj@redhat.com>
|
|
|
|
|
|
|
|
| |
limitations and only one is needed. Revert one of them.
Signed-Off-By: Muli Ben-Yehuda <mulix@mulix.org>
|
|
|
|
|
| |
Signed-off-by: Jeremy Katz <katzj@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which does not exist with python2.2, causing the following build
error:
make[2]: Entering directory `/home/muli/xen/x86.hg/tools/pygrub'
CFLAGS=" -m32 -march=i686" python setup.py build
Traceback (most recent call last):
File "setup.py", line 15, in ?
if cc.has_function("ext2fs_open2"):
AttributeError: UnixCCompiler instance has no attribute 'has_function'
The following patch gets it to build, but is pretty ugly. A proper fix
would be to do the check for ext2fs_open2() in a way that is backward
compatible with python2.2.
Signed-Off-By: Muli Ben-Yehuda <mulix@mulix.org>
|
|
|
|
|
| |
Signed-off-by: Keir Fraser <keir@xensource.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
e2fsprogs (tested on RHEL4 with e2fsprogs-1.35 and rawhide
with e2fsprogs-1.38)
Signed-off-by: Jeremy Katz <katzj@redhat.com>
|
|
|
|
|
|
| |
Signed-off-by: Steven Hand <steven@xensource.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to support having reading the boot loader config when you're using a
whole disk (eg, file:/root/disk.img,xvda,w) as opposed to just a
partition.
This reads the partition table in the MBR to find the active partition
and then passes that offset down into the filesystem reading code.
Signed-off-by: Jeremy Katz <katzj@redhat.com>
|
|
|
|
|
| |
Trivial fix to email contact address.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- pygrub/README provides information on packages needed to compile pygrub
- support reiserfs {2,3} filesystem
- dynamically build modules based on which filesystem libraries the
system has (proposed by Jeremy)
- pump up pygrub to version 0.2
Signed-off-by: Jeremy Katz <katzj@redhat.com>
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
|
|
|
|
|
|
| |
Fix 64-bit build of pygrub. From Jerone Young.
Signed-off-by: Keir Fraser <keir@xensource.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Apply Nguyen's patch:
- extend filesystem abstraction by adding file_exist() method. this
method is used to check for existent of a file given its name. now
ext2fs implements this method.
- pygrub opens and parses /boot/grub/menu.lst or /boot/grub/grub.conf,
in that order.
- add /usr/lib/python to system path (see pygrub). without this
change, pygrub cannot find grub python package.
- remove few blank lines
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Mike Wray <mike.wray@hp.com>
|
|
|
|
|
|
|
|
| |
Document that you need RPM e2fsprogs-devel installed to
compile pygrub.
Signed-off-by: Mike Wray <mike.wray@hp.com>
|
|
Merge Jeremy's pygrub bootloader patch.
Signed-off-by: Jeremy Katz <katzj@redhat.com>
Signed-off-by: Mike Wray <mike.wray@hp.com>
|