[meta-ti] [PATCH 0/2] Alternative and extended improvements to sdclass_image
Peter A. Bigot
bigotp at acm.org
Sun Nov 13 10:24:15 PST 2011
From: "Peter A. Bigot" <bigotp at acm.org>
I understand the objections to my previous patch were that it would break
when SPL was used and there is no MLO, and that the approach isn't the one
that will eventually be implemented. Since the current head version also
aborts if no MLO is present by that name (hence, doesn't work for
beagleboard), until the "right" solution can be obtained perhaps the version
herein can be installed. It uses a more general method that should work now
and whenever x-load does (or doesn't) get fixed.
I also got tired of having to go down in to the basement to edit /etc/fstab
on the console every time I rebooted the development server and it hung
because it couldn't mount an unconfigured loop device. Two enhancements for
that: allow an override to the mount point so I don't have to clutter up
/etc/fstab with hard-coded paths to workspace directories for every image I
might want to build, and add the noauto option.
Finally, I moved the IMAGE_FSTYPES append out of the class into the recipe
that actually depends on it, and got rid of the tar.bz2 which has nothing to
do with sdcard_image and is already present in all the machine confs anyway.
Peter A. Bigot (2):
sdcard_image bbclass: fix MLO copy, loop device mounts, fstypes
ti-hw-bringup-image: add sdimg to fstypes
classes/sdcard_image.bbclass | 47 ++++++++++++++++------------
recipes-misc/images/ti-hw-bringup-image.bb | 2 +
2 files changed, 29 insertions(+), 20 deletions(-)
--
1.7.6.4
More information about the meta-ti
mailing list