Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
54 lines (40 sloc) 1.86 KB
Narcissus - Online image builder for the angstrom distribution
Koen Kooi (c) 2008, 2009 - all rights reserved
To install this:
* put on webserver
* put opkg-cl in bin/
* put makedevs in bin/
* put pseudo and libpseudo in bin/
* mkdir deploy/
* Optional: allow 'www-data' user to write to conf/beagleboard/sd/ to cache sd images
* Optional: add 'www-data' to the 'disk' group
To add a new machine:
* mkdir conf/<machine>
* put the angstrom-feed-configs ipkg in conf/<machine>/configs/<releasename>/
* create conf/<machine>/arch.conf listing the architectures your machine supports
* run 'sh scripts/' to generate the supported configs html files
If you have a feed with the machine config packages present:
for i in $(find ~/website/feeds/2008/ipk/glibc -name "angstrom-feed-configs_*ipk" | grep -v morgue) ; do cp $i . ; done
for f in $(for i in angst*ipk ; do echo $i | awk -F_ '{print $3}' |sed s:\.ipk::g ; done) ; do dpkg-deb -X ang*${f}.ipk $f ; mv ang*${f}.ipk $f ; mv $f/etc/opkg/arch.conf $f ; rm -rf $f/etc; done
Add the following to /etc/fstab:
# This is for the image buildservice, it needs to loop mount 2 partitions:
/dev/loop0 /mnt/narcissus/sd_image1 msdos user 0 0
/dev/loop1 /mnt/narcissus/sd_image2 ext3 user,dev,suid 0 0
Add the following to /etc/apache2/conf.d/narcissu:
<Directory /var/www/narcissus>
Options +ExecCGI +FollowSymLinks -Indexes
<VirtualHost *:80>
DocumentRoot /var/www/narcissus/
CustomLog /var/log/apache2/angstrom-narcissus.log combined
<Directory /var/www/narcissus/>
AllowOverride All
That's it!
Jump to Line
Something went wrong with that request. Please try again.