]> git.openpandora.org Git - openembedded.git/commitdiff
slugos-init: Now loades IDE kernel modules for nas100d
authorRod Whitby <rod@whitby.id.au>
Mon, 27 Nov 2006 04:32:02 +0000 (04:32 +0000)
committerRod Whitby <rod@whitby.id.au>
Mon, 27 Nov 2006 04:32:02 +0000 (04:32 +0000)
packages/slugos-init/files/initscripts/umountinitrd.sh
packages/slugos-init/files/modulefunctions
packages/slugos-init/slugos-init_0.10.bb

index 9cb1f7a25d4f9cd16464970effc784673c283ab4..2798fe59850f734e91243aaa0920080b2f7c0de3 100644 (file)
@@ -5,20 +5,27 @@
 # then the /initrd is mounted and we want to remount that
 # ro - this works round the shutdown -r hang problem
 . /etc/default/functions
+
+case "$(machine)" in
+nslu2)
+       ffspart="Flashdisk";;
+*)
+       ffspart="filesystem";;
+esac
+
 while read device directory remainder
 do
        case "$directory" in
        /mnt)   echo "InitRD: unmount initrd on /mnt" >&2
                umount /mnt;;
        /initrd)# need the device for a remount
-               ffspart=Flashdisk
                ffsdev="$(mtblockdev $ffspart)"
-               echo "InitRD: remount $ffdev read-only on /initrd" >&2
+               echo "Remounting $ffsdev read-only on /initrd" >&2
                if test -n "$ffsdev" -a -b "$ffsdev"
                then
                        mount -o remount,ro "$ffsdev" /initrd
                else
-                       echo "Flashdisk: $ffsdev: flash device not found" >&2
+                       echo "$ffspart: $ffsdev: flash device not found" >&2
                fi;;
        esac
 done </proc/mounts
index d7c2b9777cdf8f57b0aeec45d5a5d46206e6a708..1073dae4fb1f10e33f48d7c2d5207b3592bbe43f 100644 (file)
@@ -13,6 +13,7 @@ loaddiskmods(){
                modprobe ohci-hcd
                ;;
             nas100d)
+                modprobe pata-artop
                 modprobe ehci-hcd
                 modprobe uhci-hcd
                 ;;
index de3b6151c12db1448ec9861cc876f2df53c05e02..54c1993c6787e9fcffb9b108f04f1aae0239d4c9 100644 (file)
@@ -4,7 +4,7 @@ PRIORITY = "required"
 LICENSE = "GPL"
 DEPENDS = "base-files devio"
 RDEPENDS = "busybox devio"
-PR = "r73"
+PR = "r74"
 
 SRC_URI = "file://boot/flash \
           file://boot/disk \