summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Send usage output to stdout or stderr depending on context.Matthew Booth2010-10-011-4/+5
| | | | | 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.
* Add gnulib as a submodule.Matthew Booth2010-10-013-3/+4
| | | | (Thanks also to Jim Meyering for resolving the git submodule problems).
* Update gnulib.Richard W.M. Jones2010-09-173-2/+4
|
* Fix elf-default-arch detection to work on secondary archs (RHBZ#634951)Dan HorĂ¡k2010-09-172-4/+7
| | | | | | | 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
* Version 2.92.9Richard Jones2010-08-271-1/+1
|
* helper: Ignore editor backup (*~) files.Richard Jones2010-08-271-0/+5
|
* helper: Visit directory entries in order.Richard Jones2010-08-271-9/+31
| | | | | | | | | | | | | | | | | | | | 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
* Version 2.8.2.8Richard Jones2010-08-242-1/+2
| | | | Update gnulib.
* Add -f checksum mode to allow caching of appliances.Richard Jones2010-08-249-30/+178
|
* Implement ext2 output module.Richard Jones2010-08-2411-10/+1380
|
* Remove bogus 'whitelist' parameter from usage.Richard Jones2010-08-241-2/+2
| | | | | | Use the -k whitelist option to get a kernel whitelist. This is a bug in current febootstrap-supermin-helper.
* Add -f ext2 option.Richard Jones2010-08-247-23/+127
| | | | | | 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'.
* Add -f option for selecting the output format.Richard Jones2010-08-242-3/+27
| | | | Only -f cpio is permitted by this commit.
* Refactor cpio code into separate file.Richard Jones2010-08-245-249/+333
| | | | | | | | | 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.
* Change initrd -> appliance.Richard Jones2010-08-243-10/+10
| | | | | | 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.
* Refactor febootstrap-supermin-helper code into separate files.Richard Jones2010-08-247-879/+1013
| | | | This is just code movement. There is no change to the code.
* Move febootstrap-supermin-helper into helper/ subdirectory.Richard Jones2010-08-245-22/+49
| | | | | | | This will allow us to split up the monolithic C program into separate files for ease of modification. This patch is just file rearrangement.
* Fix febootstrap-supermin-helper for dual boot case (RHBZ#594021).Richard Jones2010-05-211-31/+70
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Pull in febootstrap-supermin-helper (C version) from libguestfs.2.7Richard Jones2010-05-1418-175/+1355
| | | | | | | | | | | 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.
* Include /etc/localtime from local machine in the supermin appliance.Richard Jones2010-04-121-0/+4
| | | | | This is a backport of libguestfs commit 508f1ee87e816bf6b6fc8e629ccbb2d61a971169.
* Backport libguestfs exception for libntfs-3g.so.N to febootstrap.Richard Jones2010-03-121-0/+6
| | | | | This is a port of: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=599f94c9c14c970dcfd7cec8d6898cd3b46af8ca
* Backport more complete fix for bash regexp quoting bug from libguestfs.Richard Jones2010-03-031-9/+20
|
* Backport supermin hostfiles / bash quoting fix from libguestfs.Richard Jones2010-03-011-12/+24
| | | | | This also makes small rearrangements to the code to bring it closer to what is in libguestfs's supermin-split.sh.in script.
* supermin: Backport special case handling of libgcc_s.Richard Jones2010-01-281-0/+4
| | | | | This is a port of http://git.annexia.org/?p=libguestfs.git;a=commit;h=dab98a0e52b9bb9930048b94d637a2fdb218fc45
* Backport "supermin: Prevent multilib corruption (RHBZ#558593)" from libguestfsRichard Jones2010-01-262-7/+11
| | | | | Make sure the febootstrap-supermin-helper script does not contain any hard-wired references to the current architecture.
* Prepare for version 2.62.6Richard Jones2010-01-221-1/+1
|
* Don't run new-kernel-pkg or nscd (RHBZ#557262).Richard Jones2010-01-221-1/+1
|
* supermin: Special case handling for libbfdRichard Jones2009-12-161-0/+4
| | | | | | | | | | | | | 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.
* supermin: Fix code which gets list of kernels.Richard Jones2009-12-041-1/+4
| | | | (Same patch applied to libguestfs).
* supermin: Improve error message and add -d option to ls command.Richard Jones2009-11-251-2/+2
|
* supermin: Die with an error if $kernels is empty (RHBZ#539746).Richard Jones2009-11-241-0/+6
|
* Set cpio blocksize to 64K.Richard Jones2009-11-111-1/+1
| | | | https://www.redhat.com/archives/fedora-devel-list/2009-November/thread.html#00523
* Prepare for 2.5.2.5Richard Jones2009-10-221-1/+1
|
* Supermin appliance.Richard Jones2009-10-227-3/+616
| | | | | This ports the libguestfs supermin appliance work into febootstrap to make it more generally available to anyone who wants to use it.
* REMOVE upx (pack-executables) option.Richard Jones2009-10-223-33/+5
|
* RFE on febootstrap-minimize: remove yumdb (RHBZ#528685)Alexey Torkhov2009-10-132-2/+4
|
* Allow febootstrap-run to be called by root (RHBZ#528687)Alexey Torkhov2009-10-131-3/+7
|
* Allow febootstrap-run to be run as root.Matthew Kent2009-09-251-0/+5
|
* doc: Add a section about debugging febootstrap problems.Richard Jones2009-08-031-0/+28
|
* Version 2.42.4Richard Jones2009-07-301-1/+1
|
* Don't use relative paths, make people set $PATH.Richard Jones2009-07-304-8/+20
|
* Don't just remove files, wrap the 'rm' command in febootstrap-run wrapper.Richard Jones2009-07-301-3/+2
|
* Add --nocompress option, version 2.32.3Richard Jones2009-06-163-7/+26
|
* Add febootstrap-to-initramfs --files option, version 2.22.2Richard Jones2009-06-153-6/+65
|
* Stop febootstrap-run from accepting -g and -i options in error.Richard Jones2009-06-151-1/+1
|
* Typo (Paul Wise).Richard Jones2009-05-251-1/+1
|
* Version 2.12.1Richard Jones2009-05-241-1/+1
|
* Delete febootstrap-updates cache (viliar.net.ru).Richard Jones2009-05-241-0/+2
|
* Update to previous commit: Properly specify newc cpio format.Richard Jones2009-05-241-2/+2
|
* Debian's cpio defaults to writing some obsolete format, not 'newc'.Richard Jones2009-05-241-2/+2
|