# HG changeset patch # User Pascal Bellard # Date 1520702257 -3600 # Node ID 71b5b616748b1201e0409290764b0ab9ffaffa44 # Parent cd6f97af4cc7de189370dfe5831b2fd1e035431c remove linux64-btrfs diff -r cd6f97af4cc7 -r 71b5b616748b linux64-btrfs/receipt --- a/linux64-btrfs/receipt Sat Mar 10 14:32:23 2018 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,52 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="linux64-btrfs" -VERSION="3.2.98" -CATEGORY="base-system" -SHORT_DESC="The Linux kernel btrfs module." -MAINTAINER="devel@slitaz.org" -LICENSE="GPL2" -DEPENDS="linux64" -WANTED="linux" -PROVIDE="linux-btrfs:linux64" -WEB_SITE="http://www.kernel.org/" -CONFIG_FILES="/etc/filesystems" - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - local path - src=$WOK/linux64/source/tmp - install=$install/linux64 - path=lib/modules/$VERSION-slitaz64/kernel - mkdir -p $fs/$path $fs/etc - export src - export install - $wanted_stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do - dir=$path/$(dirname $module) - [ -d $fs/$dir ] || mkdir -p $fs/$dir - cp -a $install/$path/$module $fs/$dir - done - touch $fs/etc/filesystems - - for i in $(cat $wanted_stuff/modules*.list); do - if [ $fs/lib/modules/$VERSION-slitaz64/kernel/$i ]; then - rm -f $fs/lib/modules/$VERSION-slitaz64/kernel/$i - fi - done -} - -# Post install/remove commands for Tazpkg. -post_install() -{ - grep -qs ^${PACKAGE#*-}$ "$1/etc/filesystems" || \ - echo "${PACKAGE#*-}" >> "$1/etc/filesystems" - chroot "$1/" depmod -a $VERSION-slitaz64 -} - -post_remove() -{ - sed -i "/^${PACKAGE#*-}\$/d" "$1/etc/filesystems" - chroot "$1/" depmod -a $VERSION-slitaz64 -} -