Skip to content

Commit

Permalink
Pre-configure Gumstix Channel for Smart Package Manager.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashcharles committed Jul 26, 2013
1 parent 05f895d commit acff007
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion recipes-images/gumstix/gumstix-console-image.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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.