Revert "distro_defaults: allow root over mmcroot (ssd's)"

This reverts commit b4c18af5fb.

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/37/head
Robert Nelson 10 years ago
parent b4c18af5fb
commit 4482c12b51

@ -22,16 +22,11 @@ for i in 1 2 3 4 5 6 7 ; do
echo Warning: [uuid] is not set in /boot/uEnv.txt ...; echo Warning: [uuid] is not set in /boot/uEnv.txt ...;
if test -n ${mmcroot}; then if test -n ${mmcroot}; then
setenv root ${mmcroot} ro; setenv root ${mmcroot} ro;
echo Using: [root=${mmcroot}] ...; echo Using: [root=${mmcroot} ro] ...;
else else
if test -n ${root}; then echo Warning: [mmcroot] is not set in /boot/uEnv.txt...;
setenv root ${root} ro; setenv root /dev/mmcblk0p1 ro;
echo Using: [root=${root}] ...; echo Using: [root=/dev/mmcblk0p1 ro] ...;
else
echo Warning: [mmcroot|root] is not set in /boot/uEnv.txt...;
setenv root /dev/mmcblk0p1 ro;
echo Using: [root=${root}] ...;
fi;
fi; fi;
fi; fi;
@ -40,7 +35,7 @@ for i in 1 2 3 4 5 6 7 ; do
else else
echo Warning: [rootfstype] is not set in /boot/uEnv.txt...; echo Warning: [rootfstype] is not set in /boot/uEnv.txt...;
setenv rootfstype ext4; setenv rootfstype ext4;
echo Using: [rootfstype=${rootfstype}] ...; echo Using: [rootfstype=ext4] ...;
fi; fi;
if test -n ${uname_r}; then if test -n ${uname_r}; then

Loading…
Cancel
Save