Online image assembler for the Angstrom distribution
JavaScript Shell PHP D CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
conf
css
img
scripts
README
backend.php
graph.php
index.html
machine-list.html
machine-list.php
prune.php
stats.php

README

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/extract-supported-machines.sh' 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
</Directory>

<VirtualHost *:80>
    ServerAdmin angstrom-distro-devel@linuxtogo.org
    DocumentRoot /var/www/narcissus/
    ServerName narcissus.angstrom-distribution.org
    CustomLog /var/log/apache2/angstrom-narcissus.log combined
<Directory /var/www/narcissus/>
        AllowOverride All
</Directory>
</VirtualHost>
----------------------------------------

That's it!