Search
SailfishOS Open Build Service
>
Projects
>
nemo
:
testing:hw
:
ti:omap3:n900
>
mkinitrd
> mkmrstinitrd.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File mkmrstinitrd.patch of Package mkinitrd
diff -Naur a/mkmrstinitrd b/mkmrstinitrd --- a/mkmrstinitrd 2010-02-08 06:59:11.000000000 -0800 +++ b/mkmrstinitrd 2010-08-11 12:31:32.799176760 -0700 @@ -377,6 +377,8 @@ thingtomount=/dev/root ;; /dev/*) + ln -s $root /dev/root + thingtomount=$root ;; *) thingtomount=$root @@ -407,15 +409,18 @@ echo "checking device /dev/${device}" if [ -e /sys/block/${device}/removable ] then - echo "found harddisk at /dev/${device}" - found="yes" - devtype="mmc" - while [ ! -e /dev/${device} ] - do - sleep 5 - echo "." - done - break + if [ -e /dev/${device}p1 ] + then + echo "found harddisk at /dev/${device}" + found="yes" + devtype="mmc" + while [ ! -e /dev/${device} ] + do + sleep 5 + echo "." + done + break + fi fi done