diff options
author | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2010-02-17 16:25:57 +0100 |
---|---|---|
committer | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2010-02-17 16:51:16 +0100 |
commit | e6472c1df7a8c76bae9b4af354f0ae6be7202cbe (patch) | |
tree | f6b9c9d4ab0c8144deaae4108a3fc2bb776b21e6 /recipes/altboot/files/sd-dynamic-fix.patch | |
parent | a720b18919124f317d55e6374265782108ac0df8 (diff) | |
download | openembedded-e6472c1df7a8c76bae9b4af354f0ae6be7202cbe.tar.gz |
altboot: drop altboot in favor of kexecboot to avoid confusion
* altboot is no longer supported
* Thanks Coredump for your work, it certainly filled a niche at its time
* drop related images as well
Diffstat (limited to 'recipes/altboot/files/sd-dynamic-fix.patch')
-rw-r--r-- | recipes/altboot/files/sd-dynamic-fix.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/recipes/altboot/files/sd-dynamic-fix.patch b/recipes/altboot/files/sd-dynamic-fix.patch deleted file mode 100644 index f31c6b8dc7..0000000000 --- a/recipes/altboot/files/sd-dynamic-fix.patch +++ /dev/null @@ -1,44 +0,0 @@ -Index: trunk/altboot.func -=================================================================== ---- trunk.orig/altboot.func 2007-10-30 15:48:16.000000000 +0000 -+++ trunk/altboot.func 2007-10-30 15:48:21.000000000 +0000 -@@ -499,17 +499,6 @@ - then - echo "Note: $SD_MOUNTPOINT is already mounted" - else -- # We can't trust that the SD device file is there when running kernel 2.6 w/ udev -- # and starting udev at this point may not be the best idea... -- if `uname -r | grep -q "2.6"` -- then -- #Let's just assume the device file name never changes... -- dev_no="`echo "$SD_DEVICE" | sed -n "s/\/dev\/mmcblk\(.*\)p\(.*\)/\1/p"`" -- part_no="`echo "$SD_DEVICE" | sed -n "s/\/dev\/mmcblk\(.*\)p\(.*\)/\2/p"`" -- ! test -e /dev/mmcblk${dev_no} && mknod /dev/mmcblk${dev_no} b 254 0 -- ! test -e /dev/mmcblk${dev_no}p${part_no} && mknod /dev/mmcblk${dev_no}p${part_no} b 254 $part_no -- fi -- - # Kernel 2.6 has the SD driver compiled into the kernel - if test -n "$SD_KERNEL_MODULE" - then -@@ -544,6 +533,21 @@ - fi - fi - -+ # We can't trust that the SD device file is there when running kernel 2.6 w/ udev -+ # and starting udev at this point may not be the best idea... -+ if `uname -r | grep -q "2.6"` -+ then -+ #Let's just assume the device file name never changes... -+ dev_no="`echo "$SD_DEVICE" | sed -n "s/\/dev\/mmcblk\(.*\)p\(.*\)/\1/p"`" -+ part_no="`echo "$SD_DEVICE" | sed -n "s/\/dev\/mmcblk\(.*\)p\(.*\)/\2/p"`" -+ if [ -f /sys/block/mmcblk${dev_no}/mmcblk${dev_no}p${part_no}/dev ] -+ then -+ rm -f /dev/mmcblk${dev_no}p${part_no} || true -+ mknod /dev/mmcblk${dev_no}p${part_no} b `cat /sys/block/mmcblk${dev_no}/mmcblk${dev_no}p${part_no}/dev|sed 's/:/ /' ` -+ fi -+ -+ fi -+ - sleep 3 - - check_fs "$SD_DEVICE" |