diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2004-12-23 11:28:09 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2004-12-23 11:28:09 +0000 |
commit | 90f239c56d895a8e271e2b26e95928224c7a7b37 (patch) | |
tree | b5894f905b648b01703657e8119709e783081519 /packages/changedfiles | |
parent | b3fc8be493749f9d24faee923c863852f313b01c (diff) |
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded/
into home.hrw.one.pl:/home/hrw/zaurus/bb/openembedded
2004/12/23 12:27:55+01:00 hrw.one.pl!hrw
fixed module permissions in changedfiles-modules
BKrev: 41caabc913p28R_JLF3aMmVOF2jxlA
Diffstat (limited to 'packages/changedfiles')
-rw-r--r-- | packages/changedfiles/changedfiles-modules_1.0-rc1.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/changedfiles/changedfiles-modules_1.0-rc1.bb b/packages/changedfiles/changedfiles-modules_1.0-rc1.bb index e69de29bb2..629a627660 100644 --- a/packages/changedfiles/changedfiles-modules_1.0-rc1.bb +++ b/packages/changedfiles/changedfiles-modules_1.0-rc1.bb @@ -0,0 +1,28 @@ +include changedfiles.inc + +PR = "r1" +B = "${WORKDIR}/changedfiles-${PV}/module" + +inherit module + +do_compile() { + ${CC} -Wall -DMODULE -D__KERNEL__ -I${STAGING_KERNEL_DIR}/include -c changedfiles.c +} + +pkg_postinst() { +#!/bin/sh +if [ -n $D ]; then exit 1; fi +/bin/mknod /dev/changedfiles c 40 0; exit 0 +chmod 0600 /dev/changedfiles +} + +pkg_postrm() { +#!/bin/sh +if [ -n $D ]; then exit 1; fi +rm -f /dev/changedfiles +} + +do_install() { + install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/fs/changedfiles/ + install -m 0644 changedfiles.o ${D}/lib/modules/${KERNEL_VERSION}/kernel/fs/changedfiles/ +} |