From d2bd4a770d2a5b3fd56bd3a8584935240d9012f8 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sat, 3 Apr 2010 16:33:54 +0200 Subject: fso-image.inc: do not search for .desktop files We do not ship .desktop files in the image,so if we search for them we end up with this: ++ find ./usr/share/applications -name '*.desktop' find: `./usr/share/applications': No such file or directory + desktop= in do_rootfs and it fails. So commenting that part fixes it Thanks mickeyl for telling me(#openmoko-cdevel in Freenode) how to fix(so I didn't have to dig into it,and fixed quicker): Apr 02 14:55:49 just comment this line out PR was not bumped because for mickeyl told me(also #openmoko-cdevel in Freenode) that it was not necessary for images: Apr 02 14:59:45 should I INC_PR the file? Apr 02 14:59:53 not necessary Apr 02 14:59:59 image files will be reread Apr 02 15:00:06 every time you build --- recipes/images/fso-image.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'recipes/images/fso-image.inc') diff --git a/recipes/images/fso-image.inc b/recipes/images/fso-image.inc index 88fc1679ab..cc626f39ed 100644 --- a/recipes/images/fso-image.inc +++ b/recipes/images/fso-image.inc @@ -117,10 +117,10 @@ fso_rootfs_postprocess() { echo "# NFS Host" >>./etc/fstab echo "192.168.0.200:/local/pkg /local/pkg nfs noauto,nolock,soft,rsize=32768,wsize=32768 0 0" >>./etc/fstab # fix .desktop files for illume - desktop=`find ./usr/share/applications -name "*.desktop"` - for file in $desktop; do - echo "Categories=Office;" >>$file - done + #desktop=`find ./usr/share/applications -name "*.desktop"` + #for file in $desktop; do + # echo "Categories=Office;" >>$file + #done # minimal gtk theme foo mkdir -p ./etc/gtk-2.0/ echo 'gtk-font-name = "Sans 5"' >> ./etc/gtk-2.0/gtkrc -- cgit v1.2.3