]> git.openpandora.org Git - openembedded.git/commitdiff
altboot: update to 0.0.5-rc5. This version is known to work with kernel 2.4 an 2...
authorMatthias Hentges <oe@hentges.net>
Fri, 24 Feb 2006 23:34:20 +0000 (23:34 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Fri, 24 Feb 2006 23:34:20 +0000 (23:34 +0000)
packages/altboot/altboot_0.0.0.bb
packages/altboot/altboot_0.0.5-rc5.bb [moved from packages/altboot/altboot_0.0.5-rc4.bb with 99% similarity]
packages/altboot/files/altboot-menu/Advanced/40-bootNFS
packages/altboot/files/altboot-menu/Advanced/70-install-tgz
packages/altboot/files/altboot.func
packages/altboot/files/init.altboot

index 18cce34a90c75de0484af49baa95a140f8527121..e52070c817f8935db740eac4caa63764af7a4424 100644 (file)
@@ -6,7 +6,7 @@ MAINTAINER = "Matthias 'CoreDump' Hentges  <oe@hentges.net>"
 LICENSE = "GPL"
 IGNORE_STRIP_ERRORS = "1"
 
-PR = "r23"
+PR = "r24"
 
 
 SRC_URI = "file://altboot-menu \
similarity index 99%
rename from packages/altboot/altboot_0.0.5-rc4.bb
rename to packages/altboot/altboot_0.0.5-rc5.bb
index 20497a8a55256d8554aa1764610998809a8c792e..1cb51a3639819bb8f2ddc86121f020a23ed87c34 100644 (file)
@@ -12,7 +12,7 @@ HOMEPAGE = "http://www.hentges.net/misc/openzaurus/index.shtml"
 
 ######################################################################################
 
-PR = "r2"
+PR = "r0"
 
 ######################################################################################
 
index cf1d1da8e6521a2ad77b797ac706165390bcd1e7..3a41fccf7931f62444529df8ca24514467107dc8 100644 (file)
@@ -116,7 +116,7 @@ run_module() {
        
        # Use configured resolv.conf in the pivoted rootfs
        echo -n "Copying resolv.conf..."
-       cp /etc/resolv.conf /media/nfsroot/etc && echo ok || echo "FAILED"
+       #cp /etc/resolv.conf /media/nfsroot/etc && echo ok || echo "FAILED"
        
        check_target "/media/nfsroot"
        
index c525b9154ce459e5bc65923dccd407cf2db15d10..2ae44fa8906a201b14e7c1b76da3666301511f81 100644 (file)
@@ -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
index ec3479257e86455c3b51b0e460c4fe092352c719..d7737ece96edace9ba8f849db1bbd47b6bd50e69 100644 (file)
@@ -65,7 +65,7 @@ pivot_realfs() {
        test -z "$2" && RL="5" || RL="$2"
        mkdir -p $1/media/ROM || die "mkdir -p $1/media/ROM failed"
 
-       mount -o remount,ro /
+       mount -o remount,ro / >/dev/null 2>&1
 
        do_pivot "$1" "$RL"
 }
@@ -352,14 +352,14 @@ mount_cf(){
        then
                echo "Note: /media/cf is already mounted"
        else    
-               /etc/init.d/pcmcia status | grep -q running || /etc/init.d/pcmcia start && echo "Note: cardmgr already active"
+               /etc/init.d/pcmcia status | grep -q running || /etc/init.d/pcmcia start && echo "Note: cardmgr is already active"
 
                echo ""
 
                # Give the SD and CF mounting some time. This is a must for SD                  
                sleep 2
                
-               mount /media/cf
+               mount | grep -q "/media/cf " || mount /media/cf
        fi
 }
 
index 871ae82d71cebe9904df07df8d298fff1e303d92..850912f20c467ebfd740d6a2ad00f4958e882018 100644 (file)
@@ -255,8 +255,7 @@ wait_for_input() {
                                # Don't remount rw if the drive is already mounted rw
                                # Only helpful for testing / debugging
                                if test "`mount|sed -n "/\/dev\/root/s/.*(\(.*\))/\1/p"`" != "rw"
-                               then
-                                       
+                               then                                    
                                        mount -o remount,rw / >/dev/null 2>&1
                                        echo "$junk" > /etc/altboot.conf
                                        mount -o remount,ro / >/dev/null 2>&1