From: ninevoltz at uclibc.org <ninevoltz@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/scripts
Date: Thu, 1 May 2008 08:21:47 -0700 (PDT) [thread overview]
Message-ID: <20080501152147.5E3C73C667@busybox.net> (raw)
Author: ninevoltz
Date: 2008-05-01 08:21:47 -0700 (Thu, 01 May 2008)
New Revision: 21908
Log:
some enhancements to the build-ext3-img script
Modified:
trunk/buildroot/scripts/build-ext3-img
Changeset:
Modified: trunk/buildroot/scripts/build-ext3-img
===================================================================
--- trunk/buildroot/scripts/build-ext3-img 2008-05-01 14:11:30 UTC (rev 21907)
+++ trunk/buildroot/scripts/build-ext3-img 2008-05-01 15:21:47 UTC (rev 21908)
@@ -21,8 +21,8 @@
IMAGE=${IMAGE_PATH}/${IMAGE_NAME}
-echo "Enter the path to the root filesystem that you want"
-echo "to install to the image"
+echo "Enter the path and filename for the root filesystem"
+echo "tarball that you want to install into the image"
read ROOT_PATH
if [ "${ROOT_PATH}" = "" ]; then
@@ -36,7 +36,7 @@
CYLINDERS=${CYLINDERS%${ROOT_PATH}}
BYTE_SIZE=${BYTE_SIZE%${ROOT_PATH}}
-CYLINDERS=`expr ${CYLINDERS} "+" 2`
+CYLINDERS=`expr ${CYLINDERS} "*" 2`
echo "Now I will create an ext3 image file"
echo "using ${CYLINDERS} cylinders, with ${BLOCKSIZE} bytes per block"
@@ -60,7 +60,7 @@
# Install Software to the image
mkdir -p ${IMAGE_PATH}/temp
mount -o offset=32256,loop ${IMAGE} ${IMAGE_PATH}/temp
- cp -a ${ROOT_PATH}/* ${IMAGE_PATH}/temp
+ tar -xvf ${ROOT_PATH} --directory ${IMAGE_PATH}/temp
# make sure to unmount the image
umount ${IMAGE_PATH}/temp
rm -rf ${IMAGE_PATH}/temp
@@ -124,7 +124,7 @@
ide0:0.writeThrough = "FALSE"
ide0:0.startConnected = "TRUE"
-ide1:0.present = "TRUE"
+ide1:0.present = "FALSE"
ide1:0.fileName = ""
ide1:0.deviceType = "disk"
ide1:0.mode = ""
next reply other threads:[~2008-05-01 15:21 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-01 15:21 ninevoltz at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-02-03 16:24 [Buildroot] svn commit: trunk/buildroot/scripts jacmet at uclibc.org
2009-02-02 7:19 ulf at uclibc.org
2009-02-02 7:18 ulf at uclibc.org
2009-01-25 23:09 ulf at uclibc.org
2009-01-22 23:10 ulf at uclibc.org
2009-01-22 23:05 ulf at uclibc.org
2009-01-16 22:45 ulf at uclibc.org
2009-01-15 23:17 ulf at uclibc.org
2009-01-13 18:43 ulf at uclibc.org
2009-01-12 7:45 ulf at uclibc.org
2009-01-12 7:43 ulf at uclibc.org
2009-01-11 20:37 ulf at uclibc.org
2009-01-10 0:26 ulf at uclibc.org
2009-01-11 13:23 ` Peter Korsgaard
2009-01-03 16:59 ulf at uclibc.org
2009-01-02 15:44 ulf at uclibc.org
2009-01-03 7:04 ` Hamish Moffatt
2009-01-03 8:50 ` Ulf Samuelsson
2008-12-23 17:51 wberrier at uclibc.org
2008-10-22 5:19 jacmet at uclibc.org
2008-04-06 10:01 ulf at uclibc.org
2008-04-01 9:53 jacmet at uclibc.org
2008-03-11 13:14 ninevoltz at uclibc.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080501152147.5E3C73C667@busybox.net \
--to=ninevoltz@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox