wok-current view linux-squashfs/receipt @ rev 25642

Bump linux to 4.19.305, add linux-pae-ipv6
author Stanislas Leduc <shann@slitaz.org>
date Wed Jan 17 12:05:22 2024 +0000 (10 months ago)
parents 3ad63c8fc2f9
children 6c6067379b37
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-squashfs"
4 VERSION="4.19.305"
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="https://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 }