wok-current annotate linux-pae-chrome/receipt @ rev 25702
Up git (CVE-2024-32002,CVE-2024-32004,CVE-2024-32020,CVE-2024-32021,CVE-2024-32465), gdk-pixbuf CVE-2022-48622, up linux 5.10.217
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon May 20 11:38:26 2024 +0000 (8 months ago) |
parents | bf7fc7b1447c |
children | 5926178cd6fa |
rev | line source |
---|---|
shann@25634 | 1 # SliTaz package receipt. |
shann@25634 | 2 |
shann@25634 | 3 PACKAGE="linux-pae-chrome" |
shann@25702 | 4 VERSION="5.10.217" |
shann@25634 | 5 CATEGORY="base-system" |
shann@25634 | 6 SHORT_DESC="The Linux kernel chromebook modules." |
shann@25634 | 7 MAINTAINER="devel@slitaz.org" |
shann@25634 | 8 LICENSE="GPL2" |
shann@25634 | 9 WANTED="linux" |
shann@25634 | 10 DEPENDS="linux-pae" |
shann@25634 | 11 PROVIDE="linux-chrome:linux-pae" |
shann@25634 | 12 WEB_SITE="https://www.kernel.org/" |
shann@25634 | 13 |
shann@25634 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
shann@25634 | 15 genpkg_rules() |
shann@25634 | 16 { |
shann@25634 | 17 local path |
shann@25634 | 18 src=$WOK/linux-pae/source/tmp |
shann@25634 | 19 install=$install/linux-pae |
shann@25634 | 20 path=lib/modules/$VERSION-slitaz-pae/kernel |
shann@25634 | 21 mkdir -p $fs/$path |
shann@25634 | 22 |
shann@25634 | 23 export src |
shann@25634 | 24 export install |
shann@25634 | 25 |
shann@25634 | 26 $wanted_stuff/list_modules.sh drivers/platform/chrome | while read module; do |
shann@25634 | 27 dir=$path/$(dirname $module) |
shann@25634 | 28 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
shann@25634 | 29 cp -a $install/$path/$module $fs/$dir |
shann@25634 | 30 done |
shann@25634 | 31 |
shann@25634 | 32 for i in $(cat $wanted_stuff/modules.list); do |
shann@25634 | 33 if [ -f $fs/$path/$i ]; then |
shann@25634 | 34 rm -f $fs/$path/$i |
shann@25634 | 35 fi |
shann@25634 | 36 done |
shann@25634 | 37 } |
shann@25634 | 38 |
shann@25634 | 39 # Post install/remove commands for Tazpkg. |
shann@25634 | 40 post_install() |
shann@25634 | 41 { |
shann@25634 | 42 chroot "$root/" depmod -a $VERSION-slitaz-pae |
shann@25634 | 43 } |
shann@25634 | 44 |
shann@25634 | 45 post_remove() |
shann@25634 | 46 { |
shann@25634 | 47 chroot "$root/" depmod -a $VERSION-slitaz-pae |
shann@25634 | 48 } |
shann@25634 | 49 |