summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2005-07-31 15:01:50 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2005-07-31 15:01:50 +0000
commit76d2d4f1bdc3eed4cf0a30edce1cd83f62fd1b9c (patch)
tree91083590b2a9f046cc180a2bcbcf056cecb423dd /app-admin
parentAdded kernel configuration check to longrun (diff)
downloadbetelgeuse-76d2d4f1bdc3eed4cf0a30edce1cd83f62fd1b9c.tar.gz
betelgeuse-76d2d4f1bdc3eed4cf0a30edce1cd83f62fd1b9c.tar.bz2
betelgeuse-76d2d4f1bdc3eed4cf0a30edce1cd83f62fd1b9c.zip
Added postinst message for module loading to longrun
svn path=/; revision=27
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/longrun/Manifest2
-rw-r--r--app-admin/longrun/longrun-0.9-r2.ebuild15
2 files changed, 16 insertions, 1 deletions
diff --git a/app-admin/longrun/Manifest b/app-admin/longrun/Manifest
index 214420a..a0b86db 100644
--- a/app-admin/longrun/Manifest
+++ b/app-admin/longrun/Manifest
@@ -1,6 +1,6 @@
MD5 31740951e89e53a2dea591f5b76b5f0f longrun-0.9-r1.ebuild 748
MD5 f5afad4c7a372fcc3841c5c09c9f7fb0 ChangeLog 1302
-MD5 238c98d5c302d9ba7c67de9749cb077e longrun-0.9-r2.ebuild 1281
+MD5 5b7432755f409dbb8dd01089befd17ad longrun-0.9-r2.ebuild 1674
MD5 4640003b4dedb812a8508d76bb1fb548 metadata.xml 414
MD5 04159b8a163c87979fbe52e9fef78f21 files/digest-longrun-0.9-r1 63
MD5 b924563938144473dbfc5be5e8f8f025 files/longrun-0.9-r1-debian-gcc-3.diff 32094
diff --git a/app-admin/longrun/longrun-0.9-r2.ebuild b/app-admin/longrun/longrun-0.9-r2.ebuild
index ca50599..5458cb7 100644
--- a/app-admin/longrun/longrun-0.9-r2.ebuild
+++ b/app-admin/longrun/longrun-0.9-r2.ebuild
@@ -48,3 +48,18 @@ src_install() {
doman longrun.1
dodoc MAKEDEV-cpuid-msr
}
+
+pkg_postinst() {
+ if linux_chkconfig_module X86_MSR; then
+ einfo "You have compile MSR as a module."
+ einfo "You need to load it before using Longrun."
+ einfo "The module is called msr."
+ einfo
+ fi
+
+ if linux_chkconfig_module X86_CPUID; then
+ einfo "You have compile CPUID as a module."
+ einfo "You need to load it before using Longrun."
+ einfo "The module is called cpuid."
+ fi
+}