Fix up inferno package, add poster

This commit is contained in:
Neale Pickett 2011-08-17 14:45:07 -06:00
parent 15c02d51c2
commit 2fb7175ca1
6 changed files with 670 additions and 7 deletions

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.1 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 22 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -24,6 +24,5 @@ inferno-install: $(INFERNO_BUILDDIR)/build
inferno-clean:
rm -rf $(INFERNO_PKGDIR) $(INFERNO_BUILDDIR)
$(MAKE) -C packages/inferno/src clean
PACKAGES += inferno

View File

@ -1,8 +1,8 @@
#! /bin/sh
#! /bin/sh -e
exec 2>&1
cd /var/www
exec tcpsvd -u localhost 0 80 /opt/inferno/bin/fnord-idx . .
exec tcpsvd -l localhost 0 80 /opt/inferno/bin/fnord-idx . .

View File

@ -1,11 +1,12 @@
#! /bin/sh
#! /bin/sh -e
exec 2>&1
mkdir -p /mnt/inferno
mount -o ro LABEL=inferno /mnt/inferno
ln -s /mnt/inferno /var/www
fgrep -q /mnt/inferno /proc/mounts || mount -o ro LABEL=inferno /mnt/inferno
test -e /var/www || ln -s /mnt/inferno /var/www
ip addr add eth0 10.0.0.2/24
ip addr add 10.0.0.2/24 dev eth0
ip link set dev eth0 up
exec inotifyd true $PWD