-
Notifications
You must be signed in to change notification settings - Fork 10
Smart update
Peter Saunderson edited this page Aug 30, 2015
·
8 revisions
Home / Tutorial Index / Getting started
Previous - Develop with Eclipse
Ref: https://labix.org/smart/config-options
First configure Apache2
<IfModule mod_alias.c>
# Alias static media requests to filesystem
Alias /rpm "/home/pas/Projects/meta-yocto-parallella/yocto/build_snapshot/tmp/deploy/rpm"
</IfModule>
<Directory /home/pas/Projects/meta-yocto-parallella/yocto/build_snapshot/tmp/deploy/rpm/>
DirectoryIndex index.html
Options +FollowSymLinks
Require all granted
Allow from all
</Directory>
Then configure the folder
sudo chown -R pas:www-data /home/pas/Projects/meta-yocto-parallella/yocto/build_snapshot/tmp/deploy/rpm
2012 sudo chmod -R g+s /home/pas/Projects/meta-yocto-parallella/yocto/build_snapshot/tmp/deploy/rpm
smart channel -y --add all type=rpm-md baseurl=http://homemegaubuntu.pascom/rpm/all
smart channel -y --add armv7ahf_vfp_neon type=rpm-md baseurl=http://homemegaubuntu.pascom/rpm/armv7ahf_vfp_neon
smart channel -y --add parallella_hdmi type=rpm-md baseurl=http://homemegaubuntu.pascom/rpm/parallella_hdmi
smart update
smart channel --show
smart query --show-summary
smart query --name=git
smart info git
smart install coreutils-doc-8.22-r0@armv7ahf_vfp_neon
smart upgrade
Or create a channel file
[all]
type = rpm-md
baseurl = http://homemegaubuntu.pascom/rpm/all
[armv7ahf_vfp_neon]
type = rpm-md
baseurl = http://homemegaubuntu.pascom/rpm/armv7ahf_vfp_neon
[parallella_hdmi]
type = rpm-md
baseurl = http://homemegaubuntu.pascom/rpm/parallella_hdmi
and then add these in one command
smart channel -y --add http://homemegaubuntu.pascom/rpms
smart channel -y --add all type=rpm-md baseurl=http://homemegaubuntu.pascom/rpm-local/all
smart channel -y --add armv7ahf_vfp_neon type=rpm-md baseurl=http://homemegaubuntu.pascom/rpm-local/armv7ahf_vfp_neon
smart channel -y --add parallella_hdmi type=rpm-md baseurl=http://homemegaubuntu.pascom/rpm-local/parallella_hdmi