wok-6.x view linux-squashfs/receipt @ rev 20165
Up linux (3.2.98) including KPTI to fix Meltdown security vulnerability
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 10 15:30:44 2018 +0100 (2018-01-10) |
parents | 9e01bc6321ea |
children | 708b5293dd29 |
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-squashfs"
4 VERSION="3.2.98"
5 CATEGORY="base-system"
6 SHORT_DESC="The Linux kernel squashfs module."
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 DEPENDS="linux"
10 WANTED="linux"
11 WEB_SITE="http://www.kernel.org/"
12 PROVIDE="squashfs-module"
13 CONFIG_FILES="/etc/filesystems"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 local path
19 path=lib/modules/$VERSION-slitaz/kernel
20 mkdir -p $fs/$path $fs/etc
21 export src install
22 $wanted_stuff/list_modules.sh fs/squashfs | while read module; do
23 dir=$path/$(dirname $module)
24 [ -d $fs/$dir ] || mkdir -p $fs/$dir
25 cp -a $install/$path/$module $fs/$dir
26 done
27 touch $fs/etc/filesystems
28 }
30 # Post install/remove commands for Tazpkg.
31 post_install()
32 {
33 grep -qs ^${PACKAGE#*-}$ "$1/etc/filesystems" || \
34 echo "${PACKAGE#*-}" >> "$1/etc/filesystems"
35 chroot "$1/" depmod -a $VERSION-slitaz
36 }
38 post_remove()
39 {
40 sed -i "/^${PACKAGE#*-}\$/d" "$1/etc/filesystems"
41 chroot "$1/" depmod -a $VERSION-slitaz
42 }