summaryrefslogtreecommitdiff
path: root/packages/altboot/files/altboot-menu/Advanced/70-install-tgz
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-02-24 23:34:20 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-24 23:34:20 +0000
commit85af98589dc44171d216544bbcd47faeba01be28 (patch)
treede7d589c2874a9b3b6ebe795f0c961c1cf938921 /packages/altboot/files/altboot-menu/Advanced/70-install-tgz
parent76945f6290afc35fbb8f23ba907947396e7dd632 (diff)
altboot: update to 0.0.5-rc5. This version is known to work with kernel 2.4 an 2.6 (all plugins) on Akita
Diffstat (limited to 'packages/altboot/files/altboot-menu/Advanced/70-install-tgz')
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/70-install-tgz12
1 files changed, 7 insertions, 5 deletions
diff --git a/packages/altboot/files/altboot-menu/Advanced/70-install-tgz b/packages/altboot/files/altboot-menu/Advanced/70-install-tgz
index c525b9154c..2ae44fa890 100644
--- a/packages/altboot/files/altboot-menu/Advanced/70-install-tgz
+++ b/packages/altboot/files/altboot-menu/Advanced/70-install-tgz
@@ -102,8 +102,11 @@ clear_directories(){
for d in bin dev media proc sys usr boot etc lib mnt sbin tmp var
do
- echo "Removing [$1/$d]..."
- rm -rf "$1/$d"
+ if test -d "$1/$d"
+ then
+ echo "Removing [$1/$d]..."
+ rm -rf "$1/$d"
+ fi
done
}
@@ -128,8 +131,7 @@ install_rootfs_direct(){
echo "Please press <ENTER> to begin the installation"
read junk </dev/tty0 >/dev/tty0 2>&1
-
- mount | grep -q "$1 " || die "Installation target [$1] not mounted"
+
test -d "$1" || die "Directory [$1] not found"
echo -n "Installing rootfs, please wait..."
@@ -208,7 +210,7 @@ install_rootfs_image(){
if test -n "$junk"
then
- if test "$junk" -gt 1
+ if test "$junk" -gt 30
then
echo -n "Is [${junk}Mb] correct? [Y|n] "
read junk2