Browse Source

kmod: Added kmod 10 - A library and set of userspace tools for managing Linux kernel modules

user/karasz/firmware
Christian Wiese 12 years ago
parent
commit
5c2ca7f87b
3 changed files with 102 additions and 0 deletions
  1. +29
    -0
      base/kmod/kmod.cache
  2. +37
    -0
      base/kmod/kmod.conf
  3. +36
    -0
      base/kmod/kmod.desc

+ 29
- 0
base/kmod/kmod.cache

@ -0,0 +1,29 @@
[TIMESTAMP] 1350935084 Mon Oct 22 21:44:44 2012
[BUILDTIME] 5 (3)
[SIZE] 0.42 MB, 31 files
[DEP] autoconf
[DEP] bash
[DEP] binutils
[DEP] bzip2
[DEP] coreutils
[DEP] diffutils
[DEP] fhs
[DEP] file
[DEP] findutils
[DEP] gawk
[DEP] gcc
[DEP] glibc
[DEP] grep
[DEP] linux-header
[DEP] m4
[DEP] make
[DEP] perl
[DEP] pkgconfig
[DEP] sed
[DEP] sysfiles
[DEP] tar
[DEP] util-linux
[DEP] xz
[DEP] zlib

+ 37
- 0
base/kmod/kmod.conf

@ -0,0 +1,37 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../kmod/kmod.conf
# Copyright (C) 2012 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
prefix=
set_confopt
# always build a static library
var_append extraconfopt ' ' "--enable-static"
# enable handling of compressed modules if possible
for x in zlib xz; do
if pkginstalled -f $x; then
var_append extraconfopt ' ' "--with-$x"
fi
done
pkg_kmod_symlinks() {
# kmod is a multicall binary
# Note: depmod and modprobe *must* be available in /sbin because
# their path is hardcoded within the kernel sources
kmodcmds="depmod modprobe modinfo insmod rmmod lsmod"
for x in $kmodcmds; do
ln -sf ..$bindir/kmod $root/sbin/$x
done
}
hook_add postmake 9 'pkg_kmod_symlinks'

+ 36
- 0
base/kmod/kmod.desc

@ -0,0 +1,36 @@
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../kmod/kmod.desc
[COPY] Copyright (C) 2012 The OpenSDE Project
[COPY]
[COPY] More information can be found in the files COPYING and README.
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; version 2 of the License. A copy of the
[COPY] GNU General Public License can be found in the file COPYING.
[COPY] --- SDE-COPYRIGHT-NOTE-END ---
[I] A library and set of userspace tools for managing Linux kernel modules
[T] kmod is a set of tools to handle common tasks with Linux kernel modules
[T] like insert, remove, list, check properties, resolve dependencies and
[T] aliases.
[T] These tools are designed on top of libkmod, a library that is shipped with
[T] kmod. The aim is to be compatible with tools, configurations and indexes
[T] from module-init-tools project.
[U] http://git.kernel.org/?p=utils/kernel/kmod/kmod.git;a=summary
[A] Lucas De Marchi <lucas.demarchi@profusion.mobi>
[M] Christian Wiese <chris@opensde.org>
[C] base/system
[L] LGPL GPL
[S] Beta
[V] 10
[P] X -1-3-5---9 106.100
[D] 3016628240 kmod-10.tar.xz http://www.kernel.org/pub/linux/utils/kernel/kmod/

Loading…
Cancel
Save