febootstrap.git
13 years agoVersion 2.9 2.9
Richard Jones [Fri, 27 Aug 2010 16:38:53 +0000 (17:38 +0100)]
Version 2.9

13 years agohelper: Ignore editor backup (*~) files.
Richard Jones [Fri, 27 Aug 2010 16:04:53 +0000 (17:04 +0100)]
helper: Ignore editor backup (*~) files.

13 years agohelper: Visit directory entries in order.
Richard Jones [Fri, 27 Aug 2010 16:03:57 +0000 (17:03 +0100)]
helper: Visit directory entries in order.

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

13 years agoVersion 2.8. 2.8
Richard Jones [Sat, 21 Aug 2010 08:39:14 +0000 (09:39 +0100)]
Version 2.8.

Update gnulib.

13 years agoAdd -f checksum mode to allow caching of appliances.
Richard Jones [Fri, 20 Aug 2010 20:31:49 +0000 (21:31 +0100)]
Add -f checksum mode to allow caching of appliances.

13 years agoImplement ext2 output module.
Richard Jones [Fri, 20 Aug 2010 18:23:03 +0000 (19:23 +0100)]
Implement ext2 output module.

13 years agoRemove bogus 'whitelist' parameter from usage.
Richard Jones [Thu, 19 Aug 2010 15:11:44 +0000 (16:11 +0100)]
Remove bogus 'whitelist' parameter from usage.

Use the -k whitelist option to get a kernel whitelist.

This is a bug in current febootstrap-supermin-helper.

13 years agoAdd -f ext2 option.
Richard Jones [Thu, 19 Aug 2010 14:21:17 +0000 (15:21 +0100)]
Add -f ext2 option.

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'.

13 years agoAdd -f option for selecting the output format.
Richard Jones [Thu, 19 Aug 2010 13:58:03 +0000 (14:58 +0100)]
Add -f option for selecting the output format.

Only -f cpio is permitted by this commit.

13 years agoRefactor cpio code into separate file.
Richard Jones [Thu, 19 Aug 2010 13:23:11 +0000 (14:23 +0100)]
Refactor cpio code into separate file.

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.

13 years agoChange initrd -> appliance.
Richard Jones [Thu, 19 Aug 2010 12:55:36 +0000 (13:55 +0100)]
Change initrd -> appliance.

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.

13 years agoRefactor febootstrap-supermin-helper code into separate files.
Richard Jones [Thu, 19 Aug 2010 12:41:12 +0000 (13:41 +0100)]
Refactor febootstrap-supermin-helper code into separate files.

This is just code movement.  There is no change to the code.

13 years agoMove febootstrap-supermin-helper into helper/ subdirectory.
Richard Jones [Thu, 19 Aug 2010 12:21:37 +0000 (13:21 +0100)]
Move febootstrap-supermin-helper into helper/ subdirectory.

This will allow us to split up the monolithic C program into
separate files for ease of modification.

This patch is just file rearrangement.

13 years agoFix febootstrap-supermin-helper for dual boot case (RHBZ#594021).
Richard Jones [Fri, 21 May 2010 08:35:05 +0000 (09:35 +0100)]
Fix febootstrap-supermin-helper for dual boot case (RHBZ#594021).

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.

13 years agoPull in febootstrap-supermin-helper (C version) from libguestfs. 2.7
Richard Jones [Thu, 13 May 2010 12:29:20 +0000 (13:29 +0100)]
Pull in febootstrap-supermin-helper (C version) from libguestfs.

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.

14 years agoInclude /etc/localtime from local machine in the supermin appliance.
Richard Jones [Mon, 12 Apr 2010 17:56:32 +0000 (18:56 +0100)]
Include /etc/localtime from local machine in the supermin appliance.

This is a backport of libguestfs commit
508f1ee87e816bf6b6fc8e629ccbb2d61a971169.

14 years agoBackport libguestfs exception for libntfs-3g.so.N to febootstrap.
Richard Jones [Fri, 12 Mar 2010 15:30:29 +0000 (15:30 +0000)]
Backport libguestfs exception for libntfs-3g.so.N to febootstrap.

This is a port of:
http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=599f94c9c14c970dcfd7cec8d6898cd3b46af8ca

14 years agoBackport more complete fix for bash regexp quoting bug from libguestfs.
Richard Jones [Wed, 3 Mar 2010 15:54:57 +0000 (15:54 +0000)]
Backport more complete fix for bash regexp quoting bug from libguestfs.

14 years agoBackport supermin hostfiles / bash quoting fix from libguestfs.
Richard Jones [Mon, 1 Mar 2010 13:46:46 +0000 (13:46 +0000)]
Backport supermin hostfiles / bash quoting fix from libguestfs.

This also makes small rearrangements to the code to bring
it closer to what is in libguestfs's supermin-split.sh.in script.

14 years agosupermin: Backport special case handling of libgcc_s.
Richard Jones [Thu, 28 Jan 2010 10:01:09 +0000 (10:01 +0000)]
supermin: Backport special case handling of libgcc_s.

This is a port of
http://git.annexia.org/?p=libguestfs.git;a=commit;h=dab98a0e52b9bb9930048b94d637a2fdb218fc45

14 years agoBackport "supermin: Prevent multilib corruption (RHBZ#558593)" from libguestfs
Richard Jones [Tue, 26 Jan 2010 10:52:56 +0000 (10:52 +0000)]
Backport "supermin: Prevent multilib corruption (RHBZ#558593)" from libguestfs

Make sure the febootstrap-supermin-helper script does not contain
any hard-wired references to the current architecture.

14 years agoPrepare for version 2.6 2.6
Richard Jones [Fri, 22 Jan 2010 09:52:00 +0000 (09:52 +0000)]
Prepare for version 2.6

14 years agoDon't run new-kernel-pkg or nscd (RHBZ#557262).
Richard Jones [Thu, 21 Jan 2010 22:52:36 +0000 (22:52 +0000)]
Don't run new-kernel-pkg or nscd (RHBZ#557262).

14 years agosupermin: Special case handling for libbfd
Richard Jones [Wed, 16 Dec 2009 11:18:17 +0000 (11:18 +0000)]
supermin: Special case handling for libbfd

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.

14 years agosupermin: Fix code which gets list of kernels.
Richard Jones [Fri, 4 Dec 2009 15:39:55 +0000 (15:39 +0000)]
supermin: Fix code which gets list of kernels.

(Same patch applied to libguestfs).

14 years agosupermin: Improve error message and add -d option to ls command.
Richard Jones [Wed, 25 Nov 2009 10:22:06 +0000 (10:22 +0000)]
supermin: Improve error message and add -d option to ls command.

14 years agosupermin: Die with an error if $kernels is empty (RHBZ#539746).
Richard Jones [Tue, 24 Nov 2009 18:15:44 +0000 (18:15 +0000)]
supermin: Die with an error if $kernels is empty (RHBZ#539746).

14 years agoSet cpio blocksize to 64K.
Richard Jones [Wed, 11 Nov 2009 10:54:45 +0000 (10:54 +0000)]
Set cpio blocksize to 64K.

https://www.redhat.com/archives/fedora-devel-list/2009-November/thread.html#00523

14 years agoPrepare for 2.5. 2.5
Richard Jones [Thu, 22 Oct 2009 12:19:42 +0000 (13:19 +0100)]
Prepare for 2.5.

14 years agoSupermin appliance.
Richard Jones [Thu, 22 Oct 2009 11:31:05 +0000 (12:31 +0100)]
Supermin appliance.

This ports the libguestfs supermin appliance work into febootstrap
to make it more generally available to anyone who wants to use it.

14 years agoREMOVE upx (pack-executables) option.
Richard Jones [Thu, 22 Oct 2009 09:20:56 +0000 (10:20 +0100)]
REMOVE upx (pack-executables) option.

14 years agoRFE on febootstrap-minimize: remove yumdb (RHBZ#528685)
Alexey Torkhov [Tue, 13 Oct 2009 13:46:09 +0000 (14:46 +0100)]
RFE on febootstrap-minimize: remove yumdb (RHBZ#528685)

14 years agoAllow febootstrap-run to be called by root (RHBZ#528687)
Alexey Torkhov [Tue, 13 Oct 2009 12:52:43 +0000 (13:52 +0100)]
Allow febootstrap-run to be called by root (RHBZ#528687)

14 years agoAllow febootstrap-run to be run as root.
Matthew Kent [Fri, 25 Sep 2009 19:44:49 +0000 (20:44 +0100)]
Allow febootstrap-run to be run as root.

14 years agodoc: Add a section about debugging febootstrap problems.
Richard Jones [Mon, 3 Aug 2009 10:35:43 +0000 (11:35 +0100)]
doc: Add a section about debugging febootstrap problems.

14 years agoVersion 2.4 2.4
Richard Jones [Thu, 30 Jul 2009 14:26:25 +0000 (15:26 +0100)]
Version 2.4

14 years agoDon't use relative paths, make people set $PATH.
Richard Jones [Thu, 30 Jul 2009 14:26:13 +0000 (15:26 +0100)]
Don't use relative paths, make people set $PATH.

14 years agoDon't just remove files, wrap the 'rm' command in febootstrap-run wrapper.
Richard Jones [Thu, 30 Jul 2009 14:21:23 +0000 (15:21 +0100)]
Don't just remove files, wrap the 'rm' command in febootstrap-run wrapper.

14 years agoAdd --nocompress option, version 2.3 2.3
Richard Jones [Tue, 16 Jun 2009 09:41:33 +0000 (10:41 +0100)]
Add --nocompress option, version 2.3

14 years agoAdd febootstrap-to-initramfs --files option, version 2.2 2.2
Richard Jones [Mon, 15 Jun 2009 13:57:41 +0000 (14:57 +0100)]
Add febootstrap-to-initramfs --files option, version 2.2

14 years agoStop febootstrap-run from accepting -g and -i options in error.
Richard Jones [Mon, 15 Jun 2009 10:31:00 +0000 (11:31 +0100)]
Stop febootstrap-run from accepting -g and -i options in error.

14 years agoTypo (Paul Wise).
Richard Jones [Mon, 25 May 2009 08:54:43 +0000 (09:54 +0100)]
Typo (Paul Wise).

14 years agoVersion 2.1 2.1
Richard Jones [Sun, 24 May 2009 19:11:22 +0000 (20:11 +0100)]
Version 2.1

14 years agoDelete febootstrap-updates cache (viliar.net.ru).
Richard Jones [Sun, 24 May 2009 18:20:15 +0000 (19:20 +0100)]
Delete febootstrap-updates cache (viliar.net.ru).

14 years agoUpdate to previous commit: Properly specify newc cpio format.
Richard Jones [Sun, 24 May 2009 14:39:10 +0000 (15:39 +0100)]
Update to previous commit: Properly specify newc cpio format.

14 years agoDebian's cpio defaults to writing some obsolete format, not 'newc'.
Richard Jones [Sun, 24 May 2009 14:34:32 +0000 (15:34 +0100)]
Debian's cpio defaults to writing some obsolete format, not 'newc'.

14 years agoSet LD_LIBRARY_PATH so %pre/%post scripts use local libraries.
Richard Jones [Sun, 24 May 2009 13:11:31 +0000 (14:11 +0100)]
Set LD_LIBRARY_PATH so %pre/%post scripts use local libraries.

14 years agoSmall fix to make febootstrap work on Debian.
Richard Jones [Sun, 24 May 2009 11:48:45 +0000 (12:48 +0100)]
Small fix to make febootstrap work on Debian.

14 years agoPrepare for 2.0 2.0
Richard Jones [Mon, 11 May 2009 15:11:49 +0000 (16:11 +0100)]
Prepare for 2.0

14 years agoBe more careful about removing files in fakeroot during minimization.
Richard Jones [Mon, 11 May 2009 13:51:22 +0000 (14:51 +0100)]
Be more careful about removing files in fakeroot during minimization.
Added febootstrap-install program.

14 years agoFix for when '-u' option is omitted.
rjones [Mon, 11 May 2009 15:09:45 +0000 (16:09 +0100)]
Fix for when '-u' option is omitted.

14 years agoVersion 1.10 1.10
Richard Jones [Sun, 10 May 2009 13:41:37 +0000 (14:41 +0100)]
Version 1.10

14 years agoFix -u option (viliar.net.ru)
Richard Jones [Sun, 10 May 2009 13:39:48 +0000 (14:39 +0100)]
Fix -u option (viliar.net.ru)

14 years agoFix '-g' option.
Richard Jones [Fri, 8 May 2009 17:09:24 +0000 (18:09 +0100)]
Fix '-g' option.

14 years agoVersion 1.9 1.9
Richard Jones [Thu, 7 May 2009 13:34:10 +0000 (14:34 +0100)]
Version 1.9

14 years agoUse `rm -rf' on locale files, so works with RHEL 5.
Richard Jones [Wed, 6 May 2009 16:26:00 +0000 (17:26 +0100)]
Use `rm -rf' on locale files, so works with RHEL 5.

14 years agoVersion 1.8 1.8
Richard W.M. Jones [Fri, 1 May 2009 13:34:58 +0000 (14:34 +0100)]
Version 1.8

15 years agoAnother CDPATH fix (Ján ONDREJ (SAL)).
Richard Jones [Tue, 21 Apr 2009 08:40:11 +0000 (09:40 +0100)]
Another CDPATH fix (Ján ONDREJ (SAL)).

15 years agounset CDPATH
Richard Jones [Mon, 20 Apr 2009 20:16:06 +0000 (21:16 +0100)]
unset CDPATH

15 years agoDon't print output of 'cd' (Ján ONDREJ (SAL)).
Richard Jones [Mon, 20 Apr 2009 19:10:08 +0000 (20:10 +0100)]
Don't print output of 'cd' (Ján ONDREJ (SAL)).

15 years agoUnset CDPATH (Ján ONDREJ (SAL)).
Richard Jones [Mon, 20 Apr 2009 19:07:42 +0000 (20:07 +0100)]
Unset CDPATH (Ján ONDREJ (SAL)).

15 years agofebootstrap.spec removed, see https://bugzilla.redhat.com/show_bug.cgi?id=febootstrap
Richard Jones [Tue, 14 Apr 2009 20:52:34 +0000 (21:52 +0100)]
febootstrap.spec removed, see https://bugzilla.redhat.com/show_bug.cgi?id=febootstrap

15 years agoAdd the -u/--updates option to add an updates repository. 1.5
Richard Jones [Thu, 9 Apr 2009 11:09:15 +0000 (12:09 +0100)]
Add the -u/--updates option to add an updates repository.

15 years agoAllow proxy to be specified (Kumar Gala).
Richard Jones [Thu, 9 Apr 2009 10:49:01 +0000 (11:49 +0100)]
Allow proxy to be specified (Kumar Gala).

15 years agoOn the need for "febootstrap-install".
Richard Jones [Fri, 3 Apr 2009 13:33:43 +0000 (14:33 +0100)]
On the need for "febootstrap-install".

15 years agoUse febootstrap-run properly.
Richard Jones [Wed, 1 Apr 2009 14:53:01 +0000 (15:53 +0100)]
Use febootstrap-run properly.
Better documentation for febootstrap-run.

15 years agoAdded a logfile from F-10 install
Richard Jones [Mon, 30 Mar 2009 21:15:20 +0000 (22:15 +0100)]
Added a logfile from F-10 install

15 years agoClear up more warnings during installs.
Richard Jones [Mon, 30 Mar 2009 21:14:38 +0000 (22:14 +0100)]
Clear up more warnings during installs.

15 years agoMore TODO items done.
Richard Jones [Mon, 30 Mar 2009 21:14:05 +0000 (22:14 +0100)]
More TODO items done.

15 years agoSmall fix to specfile.
Richard Jones [Mon, 30 Mar 2009 18:07:37 +0000 (19:07 +0100)]
Small fix to specfile.

15 years agoVersion 1.4. Now uses FAKECHROOT_CMD_SUBST to remove most %post warnings.
Richard Jones [Mon, 30 Mar 2009 18:04:34 +0000 (19:04 +0100)]
Version 1.4.  Now uses FAKECHROOT_CMD_SUBST to remove most %post warnings.

15 years agofakechroot 2.9 now includes the patches.
Richard Jones [Mon, 30 Mar 2009 14:58:26 +0000 (15:58 +0100)]
fakechroot 2.9 now includes the patches.

15 years agoUpdate TODO: febootstrap-run implemented
Richard Jones [Mon, 30 Mar 2009 14:17:29 +0000 (15:17 +0100)]
Update TODO: febootstrap-run implemented

15 years agoAdded febootstrap-run command.
Richard Jones [Mon, 30 Mar 2009 14:14:29 +0000 (15:14 +0100)]
Added febootstrap-run command.
Examples need more VM RAM when run in Rawhide.  Also use 'set -e' in example
scripts.

15 years agoMerge branch 'master' of ssh://g-rjones@et.redhat.com/git/febootstrap
Richard Jones [Sat, 28 Mar 2009 22:08:24 +0000 (22:08 +0000)]
Merge branch 'master' of ssh://g-rjones@et.redhat.com/git/febootstrap

15 years agoTODO file added with some ideas.
Richard Jones [Sat, 28 Mar 2009 22:02:33 +0000 (22:02 +0000)]
TODO file added with some ideas.

15 years agoReplace cvsignore with gitignore.
Richard Jones [Sat, 28 Mar 2009 21:55:53 +0000 (21:55 +0000)]
Replace cvsignore with gitignore.

15 years ago* Makefile.am (DISTCLEANFILES): Define, so that "make distcheck" passes.
Jim Meyering [Wed, 25 Mar 2009 18:22:05 +0000 (19:22 +0100)]
* Makefile.am (DISTCLEANFILES): Define, so that "make distcheck" passes.

15 years agoFix arch i686/i386. Version 1.3 for release.
rjones [Wed, 25 Mar 2009 10:05:02 +0000 (10:05 +0000)]
Fix arch i686/i386.  Version 1.3 for release.

15 years agoAlso suggest baobab.
rjones [Tue, 24 Mar 2009 14:15:57 +0000 (14:15 +0000)]
Also suggest baobab.

15 years agoAlso remove gnome-help directory.
rjones [Tue, 24 Mar 2009 14:15:46 +0000 (14:15 +0000)]
Also remove gnome-help directory.

15 years agoFix quoting.
rjones [Mon, 23 Mar 2009 19:53:05 +0000 (19:53 +0000)]
Fix quoting.

15 years agoInclude patch in dist. Version 1.2 released.
rjones [Mon, 23 Mar 2009 16:56:57 +0000 (16:56 +0000)]
Include patch in dist.  Version 1.2 released.

15 years agoAdd an option to pack executables.
rjones [Mon, 23 Mar 2009 16:54:18 +0000 (16:54 +0000)]
Add an option to pack executables.
Be careful to retain same inode number for /etc/services.

15 years agoNow depends on fakechroot update 4.
rjones [Mon, 23 Mar 2009 16:11:23 +0000 (16:11 +0000)]
Now depends on fakechroot update 4.

15 years agoUpdated the fakechroot patches.
rjones [Mon, 23 Mar 2009 15:57:23 +0000 (15:57 +0000)]
Updated the fakechroot patches.

15 years agoArch is noarch, and clean up examples directory.
rjones [Mon, 23 Mar 2009 12:49:11 +0000 (12:49 +0000)]
Arch is noarch, and clean up examples directory.

15 years agoAdded a specfile, version 1.1 for release.
rjones [Mon, 23 Mar 2009 12:35:12 +0000 (12:35 +0000)]
Added a specfile, version 1.1 for release.

15 years agoDoc fixes to the febootstrap manpage.
rjones [Mon, 23 Mar 2009 12:34:56 +0000 (12:34 +0000)]
Doc fixes to the febootstrap manpage.

15 years agoDocument future possible minimization techniques.
rjones [Mon, 23 Mar 2009 12:31:33 +0000 (12:31 +0000)]
Document future possible minimization techniques.

15 years agoAdded guestfs example.
rjones [Fri, 20 Mar 2009 16:00:04 +0000 (16:00 +0000)]
Added guestfs example.

15 years agoFail to run if root, or missing files.
rjones [Fri, 20 Mar 2009 15:59:55 +0000 (15:59 +0000)]
Fail to run if root, or missing files.

15 years agoMore requirements.
rjones [Fri, 20 Mar 2009 15:59:34 +0000 (15:59 +0000)]
More requirements.

15 years agoCreate /proc, /sys and /dev/mapper directories.
rjones [Fri, 20 Mar 2009 15:59:12 +0000 (15:59 +0000)]
Create /proc, /sys and /dev/mapper directories.
Use FAKECHROOT_EXCLUDE_PATH=/proc which is required so that useradd/
  groupadd work correctly.

15 years agoMore minimization (now 15.9 MB)
rjones [Fri, 20 Mar 2009 11:49:22 +0000 (11:49 +0000)]
More minimization (now 15.9 MB)

15 years agoVersion 0.9 for release.
rjones [Fri, 20 Mar 2009 11:10:17 +0000 (11:10 +0000)]
Version 0.9 for release.

15 years agoSome alternatives.
rjones [Fri, 20 Mar 2009 11:08:04 +0000 (11:08 +0000)]
Some alternatives.

15 years agoAdd first version of the febootstrap-minimize script.
rjones [Fri, 20 Mar 2009 11:01:39 +0000 (11:01 +0000)]
Add first version of the febootstrap-minimize script.

15 years agoAdded examples subdirectory.
rjones [Thu, 19 Mar 2009 19:59:13 +0000 (19:59 +0000)]
Added examples subdirectory.

15 years agoAdded note that /init is required in many cases.
rjones [Thu, 19 Mar 2009 19:27:51 +0000 (19:27 +0000)]
Added note that /init is required in many cases.