diff options
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2010-04-03 16:33:54 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2010-04-03 17:00:09 +0200
commitd2bd4a770d2a5b3fd56bd3a8584935240d9012f8 (patch)
parent4cd803adb65364263066b08fc98d2f7347c2c9e0 (diff)
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 <mickeyl> 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 <GNUtoo> should I INC_PR the file? Apr 02 14:59:53 <mickeyl> not necessary Apr 02 14:59:59 <mickeyl> image files will be reread Apr 02 15:00:06 <mickeyl> every time you build
1 files changed, 4 insertions, 4 deletions
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 " /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