12 years agoUse a _install directory for each boot package. Don't just use a whole
Michael Brown [Mon, 19 Nov 2007 01:03:57 +0000 (01:03 +0000)]
Use a _install directory for each boot package.  Don't just use a whole
load of filename mappings for policy.bp, because we need to cpio entries
for the directories themselves as well.

12 years agoAdded policy files from old "initrd" project.
Michael Brown [Mon, 19 Nov 2007 00:41:46 +0000 (00:41 +0000)]
Added policy files from old "initrd" project.

12 years agoFix up "make clean ; make"
Michael Brown [Sun, 18 Nov 2007 22:46:48 +0000 (22:46 +0000)]
Fix up "make clean ; make"

12 years agoInclude the mkdir commands to create skeleton/ in the Makefile; git won't
Michael Brown [Sun, 18 Nov 2007 22:41:17 +0000 (22:41 +0000)]
Include the mkdir commands to create skeleton/ in the Makefile; git won't
track empty directories so they don't get included in the checkin.

12 years agoRemove now-obsolete squash_cpio_ids.c
Michael Brown [Sun, 18 Nov 2007 22:34:54 +0000 (22:34 +0000)]
Remove now-obsolete squash_cpio_ids.c

12 years agoBuild skeleton boot package using directory structure in skeleton/ and
Michael Brown [Sun, 18 Nov 2007 22:33:27 +0000 (22:33 +0000)]
Build skeleton boot package using directory structure in skeleton/ and
devices in host system /dev.

12 years agoCan now produce gzipped, padded cpio archives.
Michael Brown [Sun, 18 Nov 2007 22:25:23 +0000 (22:25 +0000)]
Can now produce gzipped, padded cpio archives.

12 years agoAdd command-line option processing.
Michael Brown [Sun, 18 Nov 2007 19:38:55 +0000 (19:38 +0000)]
Add command-line option processing.

12 years agoAdd directory-mapping capability.
Michael Brown [Sun, 18 Nov 2007 19:22:43 +0000 (19:22 +0000)]
Add directory-mapping capability.

12 years agoFirst implementation of bootpack in C. Can generate a CPIO archive which
Michael Brown [Sun, 18 Nov 2007 18:23:30 +0000 (18:23 +0000)]
First implementation of bootpack in C.  Can generate a CPIO archive which
cpio is prepared to at least list.

12 years agoAttempt to write bootpack in Perl, shortly to be abandoned due to various
Michael Brown [Sun, 18 Nov 2007 15:02:36 +0000 (15:02 +0000)]
Attempt to write bootpack in Perl, shortly to be abandoned due to various

  The gzio interface to zlib provides no way to obtain the length of the
  compressed data stream, which makes padding the resulting output to a
  multiple of four bytes impossible when the output is not a file.
  (Attempting to intercept the output stream with a custom IO::File class
  doesn't work because Compress::Zlib grabs the underlying file descriptor

  There seems to be no widely-available way to parse a dev_t into major
  and minor components.

  Use of Perl will, in any case, be a barrier to wide deployment for a
  project such as this.

12 years agoCapable of generating a compressed, padded cpio archive, albeit in a very
Michael Brown [Sun, 18 Nov 2007 00:13:43 +0000 (00:13 +0000)]
Capable of generating a compressed, padded cpio archive, albeit in a very
ugly way.

12 years agoAdd skeleton bootpack script and Makefile capable of building busybox.
Michael Brown [Sat, 17 Nov 2007 20:30:43 +0000 (20:30 +0000)]
Add skeleton bootpack script and Makefile capable of building busybox.

12 years agoInitial commit: add busybox submodule using
Michael Brown [Sat, 17 Nov 2007 19:54:01 +0000 (19:54 +0000)]
Initial commit: add busybox submodule using

git-submodule -b mkbootfs add \
git-submodule init