Commits

Uelsk8s  committed a0f9f5b

add modules. dirs to kernel-modules pkg

  • Participants
  • Parent commits bae4edc

Comments (0)

Files changed (1)

File var/vabs/kernel-3.6/src/kernel-3.6.SlackBuild

 SQUASHFS=squashfs4.2
 LZMA=lzma457
 AUFS=aufs
-BUILDNUM=${BUILDNUM:-"1"}
+BUILDNUM=${BUILDNUM:-"2"}
 VL_VERSION=${VL_VERSION:-"$(ls /var/log/packages/|grep vlconfig2|cut -d "-" -f4|cut -c 2-5)"}
 BUILD=${BUILD:-"$BUILDNUM""$VL_VERSION"}
 ARCH=$(uname -m)
 strip --strip-unneeded $PKG/modules/usr/bin/*
 cd $PKG/modules/lib/modules/*
 rm -f modules.*
+cp $TMP/$KERNEL/modules.* .
 mkdir -p kernel/fs/squashfs/
 cp $TMP/$LZMA/C/Compress/Lzma/kmod/{un,sq}lzma.ko kernel/fs/squashfs/
 cp $TMP/$KERNEL/fs/squashfs/squashfs.ko kernel/fs/squashfs/