Permalink
Browse files

Pre-configure Gumstix Channel for Smart Package Manager.

  • Loading branch information...
1 parent 05f895d commit acff007afffb19269e21bfd4cc1398fe23f00160 @ashcharles ashcharles committed Jul 26, 2013
Showing with 7 additions and 1 deletion.
  1. +7 −1 recipes-images/gumstix/gumstix-console-image.bb
@@ -120,5 +120,11 @@ set_gumstix_user_and_root_password() {
chmod u+s ${IMAGE_ROOTFS}/usr/bin/sudo
}
-ROOTFS_POSTPROCESS_COMMAND =+ "remove_blacklist_files ; set_gumstix_user_and_root_password ; "
+add_custom_smart_config() {
+ smart --data-dir=${IMAGE_ROOTFS}/var/lib/smart channel --add gumstix type=rpm-md name="Gumstix Package Repository" baseurl=http://package-cache.gumstix.org/ -y
+}
+
+
+
+ROOTFS_POSTPROCESS_COMMAND =+ "remove_blacklist_files ; set_gumstix_user_and_root_password ; add_custom_smart_config ;"

0 comments on commit acff007

Please sign in to comment.