wok-6.x rev 11651

dev86: register elksemu
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 08 11:11:32 2012 +0100 (2012-02-08)
parents 9771335d6c88
children f25cbe972b29
files dev86/receipt
line diff
     1.1 --- a/dev86/receipt	Mon Feb 06 16:36:25 2012 +0100
     1.2 +++ b/dev86/receipt	Wed Feb 08 11:11:32 2012 +0100
     1.3 @@ -29,3 +29,12 @@
     1.4  	cp -a $_pkg/usr/lib $fs/usr
     1.5  }
     1.6  
     1.7 +# Pre and post install commands for Tazpkg.
     1.8 +post_install()
     1.9 +{
    1.10 +	[ -z "$1" -a -f /proc/sys/fs/binfmt_misc/register ] &&
    1.11 +		cat   > /proc/sys/fs/binfmt_misc/register <<EOT
    1.12 +:i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/usr/bin/elksemu:
    1.13 +EOT
    1.14 +}
    1.15 +