diff options
| -rw-r--r-- | debian/changelog | 1 | ||||
| -rwxr-xr-x | internet-kiosk-management/sbin/ik_create | 13 |
2 files changed, 12 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index b6667dc..c0a55a3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -29,6 +29,7 @@ internet-kiosk (0.0.2-0~edu1) UNRELEASED; urgency=low - Provide start-stop-daemon wrapper, allows machines to boot while system is in maintenance mode. - Only create lo interface entries for IK terminals based on Debian squeeze. + - On post-squeeze Debian systems /var/run has been moved to /run. -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Tue, 21 Aug 2012 18:14:02 +0200 diff --git a/internet-kiosk-management/sbin/ik_create b/internet-kiosk-management/sbin/ik_create index 34facc4..29655c8 100755 --- a/internet-kiosk-management/sbin/ik_create +++ b/internet-kiosk-management/sbin/ik_create @@ -88,9 +88,7 @@ none /dev/pts devpts gid=5,mode=620,noauto 0 0 none /tmp tmpfs size=50M,mode=1777 0 0 none /root tmpfs size=100M,mode=700 0 0 none /etc/udev/rules.d tmpfs size=50M 0 0 -none /var/run tmpfs size=50M 0 0 none /var/log tmpfs size=50M 0 0 -none /var/lock tmpfs size=50M 0 0 none /home tmpfs size=50M 0 0 none /media tmpfs size=50M 0 0 none /var/lib/nfs tmpfs size=50M 0 0 @@ -99,6 +97,17 @@ none /var/lib/dbus tmpfs size=50M 0 0 none /var/lib/alsa tmpfs size=50M 0 0 EOF +# differences between Debian versions +if [ "$IK_DISTRO_CODENAME" = "squeeze" ]; then + cat >> $IK_CHROOT/etc/fstab <<EOF +none /var/run tmpfs size=50M 0 0 +none /var/lock tmpfs size=50M 0 0 +EOF +elif [ "$IK_DISTRO_CODENAME" = "wheezy" ]; then + cat >> $IK_CHROOT/etc/fstab <<EOF +none /run tmpfs size=50M 0 0 +EOF +fi cat > $IK_CHROOT/ik_dte_install.sh <<EOF #!/bin/bash |
