| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
If usage information is displayed because of an error, it should go to stderr.
If it is displayed because the -h option was given it should go to stdout.
|
|
|
|
| |
(Thanks also to Jim Meyering for resolving the git submodule problems).
|
| |
|
|
|
|
|
|
|
| |
Recent state of the elf-default-arch script and the hardcoded i386 arch doesn't
allow building on other arches than ix86 or x86_64. See attachment for a fix.
Can be easily extended to support additional secondary arches by adding new
patterns to the elf-default-arch script
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously in febootstrap-supermin-helper we would visit the
files in supermin.d in arbitrary (ie. readdir) order. This has
caused a series of heisenbugs where some implicit dependency
between these files has not been honoured. The latest one is
that '/etc/localtime' can be added to the appliance before '/etc'
has been created (and this operation fails).
Instead of continuing to chase these, this commit forces us to
visit the files in filename order by sorting them before visiting
them.
Note that in libguestfs, the current order is sufficient, because
the files are called:
base.img
daemon.img
hostfiles
|
|
|
|
| |
Update gnulib.
|
| |
|
| |
|
|
|
|
|
|
| |
Use the -k whitelist option to get a kernel whitelist.
This is a bug in current febootstrap-supermin-helper.
|
|
|
|
|
|
| |
This option doesn't work yet. The commit is just for adding the
capability to pass the extra kernel/initrd/appliance parameters
through 'main.c' and 'appliance.c'.
|
|
|
|
| |
Only -f cpio is permitted by this commit.
|
|
|
|
|
|
|
|
|
| |
We create a 'writer' abstraction and (currently) a single implementation
of this which can write cpio files. All cpio-related code is moved
out of 'appliance.c' into 'cpio.c'. 'appliance.c' becomes a generic
appliance builder.
This commit should not change the semantics of the program.
|
|
|
|
|
|
| |
We are going to be writing a general appliance, not necessarily
an initrd. In the ext2 appliance case we will _also_ write an
initrd, so we shouldn't confuse the two things.
|
|
|
|
| |
This is just code movement. There is no change to the code.
|
|
|
|
|
|
|
| |
This will allow us to split up the monolithic C program into
separate files for ease of modification.
This patch is just file rearrangement.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Jinxin Zheng found a case where libguestfs-supermin-helper
(now febootstrap-supermin-helper) would fail to locate a
suitable kernel on a dual boot RHEL 5 + 6 system.
The issue was that febootstrap-supermin-helper will first look
for kernels with an <arch> field in the name (as is the case
for RHEL 6 kernels). If none of these are found, it would look
for kernels without an <arch> field (RHEL 5 kernels). Then it
would look for corresponding module directories.
This fails if the dual boot system is booted into RHEL 5 because
the first step will find only RHEL 6 kernels, and then the third
step will fail to find any module directories (step two having
been skipped in this case).
This changes the code to look for module directories when
searching for kernels, and discard any kernels which don't
have module directories first. Thus all RHEL 6 kernels will
be discarded, and we will proceed to step two and find some
RHEL 5 kernels.
|
|
|
|
|
|
|
|
|
|
|
| |
This commit also pulls in the automake C dependencies and gnulib.
febootstrap-supermin-helper is modified so that it has the
--kmods option (to read the whitelist, from the old shell script),
and so that it can read supermin appliances composed of multiple
parts from out of a directory.
Also: Updates to documentation.
|
|
|
|
|
| |
This is a backport of libguestfs commit
508f1ee87e816bf6b6fc8e629ccbb2d61a971169.
|
|
|
|
|
| |
This is a port of:
http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=599f94c9c14c970dcfd7cec8d6898cd3b46af8ca
|
| |
|
|
|
|
|
| |
This also makes small rearrangements to the code to bring
it closer to what is in libguestfs's supermin-split.sh.in script.
|
|
|
|
|
| |
This is a port of
http://git.annexia.org/?p=libguestfs.git;a=commit;h=dab98a0e52b9bb9930048b94d637a2fdb218fc45
|
|
|
|
|
| |
Make sure the febootstrap-supermin-helper script does not contain
any hard-wired references to the current architecture.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Port equivalent change from libguestfs.
The libbfd library has a constantly changing, non-standard and
very long name, eg:
/usr/lib64/libbfd-2.20.51.0.2-7.fc13.so
Just add a special case to deal with this. This fixes the guestfs_strings
command, which relies on the external strings binary which uses this
library.
|
|
|
|
| |
(Same patch applied to libguestfs).
|
| |
|
| |
|
|
|
|
| |
https://www.redhat.com/archives/fedora-devel-list/2009-November/thread.html#00523
|
| |
|
|
|
|
|
| |
This ports the libguestfs supermin appliance work into febootstrap
to make it more generally available to anyone who wants to use it.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|