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
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