changeset 1228:8a88cae14011

Remove RW_SYSTEM_IMAGE option. The gentoo-stage1 build shows how to setup a writeable chroot, and the FAQ says how to build a writeable system image. I'm not shipping two different system iamges, then I'd have to explain it and it's not worth the confusion.
author Rob Landley <rob@landley.net>
date Tue, 24 Aug 2010 02:53:11 -0500
parents b4857125acb0
children 313c702a0984
files build.sh config www/FAQ.html
diffstat 3 files changed, 0 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/build.sh	Mon Aug 23 12:30:09 2010 -0500
+++ b/build.sh	Tue Aug 24 02:53:11 2010 -0500
@@ -154,15 +154,3 @@
 then
   time ./system-image.sh $1 || exit 1
 fi
-
-# Optionally build a system image with a writeable root filesystem.
-
-if [ ! -z "$BUILD_RW_SYSTEM_IMAGE" ] && not_already rw-image
-then
-  # Optimization: don't rebuild kernel if we don't need to.
-  mkdir -p "$BUILD/rw-system-image-$ARCH" &&
-  cp "$BUILD/system-image-$ARCH"/zImage-* "$BUILD/rw-system-image-$ARCH"
-
-  STAGE_NAME=rw-system-image SYSIMAGE_TYPE=ext2 SYSIMAGE_HDA_MEGS=2048 \
-    time ./system-image.sh $1 || exit 1
-fi
--- a/config	Mon Aug 23 12:30:09 2010 -0500
+++ b/config	Tue Aug 24 02:53:11 2010 -0500
@@ -58,11 +58,6 @@
 
 # export SYSIMAGE_HDA_MEGS=64
 
-# This tells build.sh to create a rw-system-image with SYSIMAGE_TYPE=ext2
-# and SYSIMAGE_HDA_MEGS=2048.
-
-# export BUILD_RW_SYSTEM_IMAGE=1
-
 # Set this to use symlinks instead of hard links when creating temporary copies
 # of the source packages (in setupfor).  This is slower and uses more inodes,
 # but allows the extracted source packages to live in a different filesystem
--- a/www/FAQ.html	Mon Aug 23 12:30:09 2010 -0500
+++ b/www/FAQ.html	Tue Aug 24 02:53:11 2010 -0500
@@ -168,10 +168,6 @@
 <p>Note: since this is a writeable image, you'll have to fsck it.  You can
 also use "tune2fs -j" to turn it into an ext3 image.</p>
 
-<p>(You can also use the BUILD_RW_SYSTEM_IMAGE environment variable, which
-tells build.sh to package the system image two ways, creating a
-rw-system-image tarball with the above options.)</p>
-
 <a name=ubuntu_mispackaged_qemu /><h2>Q: ./run-emulator.sh says qemu-system-$TARGET isn't found, but I installed the qemu package and the executable "qemu" is there.  Why isn't this working?</h2>
 
 <p>A: You're using Ubuntu, aren't you?  You need to install