diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-04-09 08:16:20 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-04-09 08:16:20 +0000 |
commit | 2deabedb6e998d3bd96fd910617461a24a11d73b (patch) | |
tree | c61c71fda6768404ccfde568d9fcb36c2e787f52 /foundation/kmod.morph | |
parent | 895bd79b3fa5178a6e2bf0d190ea7b5e660d8859 (diff) | |
download | definitions-2deabedb6e998d3bd96fd910617461a24a11d73b.tar.gz |
Move chunk morphologies into the definitions repositorybaserock/adamcoldrick/chunks-in-definitions
Actually move all the chunk morphologies into the subdirectory for the
stratum containing each chunk. Also add a repo and ref field to the
chunk morphologies.
Any chunks which did not previously have chunk morphologies have now had
a morphology generated.
Diffstat (limited to 'foundation/kmod.morph')
-rw-r--r-- | foundation/kmod.morph | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/foundation/kmod.morph b/foundation/kmod.morph new file mode 100644 index 00000000..0405d185 --- /dev/null +++ b/foundation/kmod.morph @@ -0,0 +1,21 @@ +name: foundation/kmod.morph +kind: chunk +repo: upstream:kmod +ref: 7f3b215d4e848afa74aea20a4c64f0cc1ef30eb4 +configure-commands: +- rm -rf libkmod/docs +- sed -i -e'/SUBDIRS/{s/\S*doc\S*//;s/\S*man\S*//}' Makefile.am +- sed -i -e'/AC_CONFIG_FILES(\[/,/])/{/docs/d}' configure.ac +- autoreconf -fiv +- ./configure --prefix=/usr --bindir=/bin --libdir=/lib --sysconfdir=/etc --without-xz + --with-zlib --disable-manpages +build-commands: +- make +install-commands: +- make DESTDIR="$DESTDIR" pkgconfigdir=/usr/lib/pkgconfig install +- ln -s kmod "$DESTDIR"/bin/modprobe +- ln -s kmod "$DESTDIR"/bin/lsmod +- ln -s kmod "$DESTDIR"/bin/rmmod +- ln -s kmod "$DESTDIR"/bin/insmod +- ln -s kmod "$DESTDIR"/bin/modinfo +- ln -s kmod "$DESTDIR"/bin/depmod |