comparison build.sh @ 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 19f3be2b4d04
children 7eabfa815c90
comparison
equal deleted inserted replaced
1227:b4857125acb0 1228:8a88cae14011
152 152
153 if not_already system-image 153 if not_already system-image
154 then 154 then
155 time ./system-image.sh $1 || exit 1 155 time ./system-image.sh $1 || exit 1
156 fi 156 fi
157
158 # Optionally build a system image with a writeable root filesystem.
159
160 if [ ! -z "$BUILD_RW_SYSTEM_IMAGE" ] && not_already rw-image
161 then
162 # Optimization: don't rebuild kernel if we don't need to.
163 mkdir -p "$BUILD/rw-system-image-$ARCH" &&
164 cp "$BUILD/system-image-$ARCH"/zImage-* "$BUILD/rw-system-image-$ARCH"
165
166 STAGE_NAME=rw-system-image SYSIMAGE_TYPE=ext2 SYSIMAGE_HDA_MEGS=2048 \
167 time ./system-image.sh $1 || exit 1
168 fi