summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* docs: Note that libcom_err is required.Richard W.M. Jones2010-12-061-0/+1
|
* Rewrite febootstrap as a general supermin appliance building tool.3.0Richard W.M. Jones2010-12-0538-2526/+1755
| | | | | | | | | | | | | | This complete rewrite of the building tools turns febootstrap into a general purpose, cross-distro, supermin appliance only build tool. There is now only one program 'febootstrap' which is used to build a supermin appliance from a list of packages. Normal appliances are not supported. The tools are incompatible with febootstrap 2.x (use the febootstrap-2.x branch from git to get the old package).
* Version 2.11.2.11febootstrap-2.xRichard W.M. Jones2010-11-251-1/+1
|
* ext2: Fix "ext2fs_mkdir .. No free space in directory".Richard W.M. Jones2010-11-251-3/+13
| | | | | | | | | We weren't expanding ext2 directories and as a result we could hit a limit when the directory grows larger than one block. Note that this fix only applies for creating subdirectories. For creating files (ie. ext2fs_link) we were already doing the right thing.
* elf-default-arch should exit with an error if it fails.Richard W.M. Jones2010-11-061-0/+1
|
* Fix elf-default-arch for ppc and ppc64.Richard W.M. Jones2010-11-061-0/+2
|
* gnulib: Ignore another gnulib generated file.Richard W.M. Jones2010-11-061-0/+1
|
* main should return intRichard W.M. Jones2010-11-061-1/+1
|
* RHEL 5: Don't pass BLOCK_FLAG_READ_ONLY to ext2_block_iterate if not defined.Richard W.M. Jones2010-11-061-2/+12
|
* Version 2.10.2.10Richard W.M. Jones2010-10-281-1/+1
|
* Ignore cscope.outMatthew Booth2010-10-281-0/+1
|
* Add -u and -g options to febootstrap-supermin-helperMatthew Booth2010-10-285-4/+142
| | | | | | | | | | | | | Bash automatically resets euid to uid when it executes. This means that the effective user id of a program at the point it calls febootstrap-supermin-helper will be lost if any part of execution chain involved bash. This in turn can result in: * the generation of an incorrect checksum, which contains the uid. * the generation of supermin files with a mixture of owners The -u and -g options allow the caller to pass in an explicit user and group to run as. febootstrap-supermin-helper will set(u|g)id as appropriate.
* 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
|