Op 18 jul 2011, om 17:50 heeft Joel A Fernandes het volgende geschreven: > * Copy a user.txt and uEnv.txt if they exist in /boot in the root fs to the > boot partition, > When the user button is pressed, U-boot chooses between these 2 files, > user.txt is used > for flashing while uEnv.txt is for a regular boot > > Signed-off-by: Joel A Fernandes <agnel.j...@gmail.com> > --- > scripts/assemble-image.sh | 8 ++++++++ > 1 files changed, 8 insertions(+), 0 deletions(-) > > diff --git a/scripts/assemble-image.sh b/scripts/assemble-image.sh > index 6043bde..d34b1c8 100755 > --- a/scripts/assemble-image.sh > +++ b/scripts/assemble-image.sh > @@ -126,6 +126,14 @@ if [ -e ${WORKDIR}/conf/${MACHINE}/sd ] ; then > echo "Using uImage from narcissus, no uImage found in > rootfs" > fi > > + if [ -e ${TARGET_DIR}/boot/user.txt ]; then
needs space between ] and ; > + cp -v ${TARGET_DIR}/boot/user.txt > /mnt/narcissus/sd_image1/ > + fi > + > + if [ -e ${TARGET_DIR}/boot/uEnv.txt ]; then needs space between ] and ; _______________________________________________ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel