wok annotate linux-aufs/receipt @ rev 4957
init script for mysql, openldap & postgresql always check /etc/<daemon>.d/*
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 17 22:01:10 2010 +0100 (2010-02-17) |
parents | |
children | 2ae67cafd57e |
rev | line source |
---|---|
pankso@4251 | 1 # SliTaz package receipt. |
pankso@4251 | 2 |
pankso@4251 | 3 PACKAGE="linux-aufs" |
pankso@4251 | 4 VERSION="2.6.30.6" |
pankso@4251 | 5 CATEGORY="base-system" |
pankso@4251 | 6 SHORT_DESC="The Linux kernel aufs2 module." |
pankso@4251 | 7 MAINTAINER="devel@slitaz.org" |
pankso@4251 | 8 DEPENDS="linux" |
pankso@4251 | 9 WANTED="linux" |
pankso@4251 | 10 WEB_SITE="http://www.kernel.org/" |
pankso@4251 | 11 |
pankso@4251 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4251 | 13 genpkg_rules() |
pankso@4251 | 14 { |
pankso@4251 | 15 local path |
pankso@4251 | 16 path=lib/modules/$VERSION-slitaz/kernel |
pankso@4251 | 17 mkdir -p $fs/$path |
pankso@4251 | 18 export src |
pankso@4251 | 19 export _pkg |
pankso@4251 | 20 $src/slitaz/list_modules.sh fs/aufs | while read module; do |
pankso@4251 | 21 dir=$path/$(dirname $module) |
pankso@4251 | 22 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
pankso@4251 | 23 cp -a $_pkg/$path/$module $fs/$dir |
pankso@4251 | 24 done |
pankso@4251 | 25 } |
pankso@4251 | 26 |
pankso@4251 | 27 # Post install/remove commands for Tazpkg. |
pankso@4251 | 28 post_install() |
pankso@4251 | 29 { |
pankso@4251 | 30 chroot "$1/" depmod -a $VERSION-slitaz |
pankso@4251 | 31 } |
pankso@4251 | 32 |
pankso@4251 | 33 post_remove() |
pankso@4251 | 34 { |
pankso@4251 | 35 depmod -a $VERSION-slitaz |
pankso@4251 | 36 } |