retitle 449049 postinst incomplete if installed in chroot
tags 449049 +patch
thanks
Please change your postinst script to call /sbin/MAKEDEV. The link in
/dev is not available in chroots, and thus making your postinst be
incomplete if the package is installed into a chroot.
Besides the incompleteness, it also gives an annoying warning about the
missing MAKEDEV.
--- powermgmt-base.postinst.old 2007-12-27 22:48:09.000000000 +0100
+++ powermgmt-base.postinst 2007-12-27 22:48:22.000000000 +0100
@@ -4,7 +4,7 @@
case "${1}" in
(configure)
- cd /dev && ./MAKEDEV -v apm || true
+ cd /dev && /sbin/MAKEDEV -v apm || true
FN="/etc/modprobe.d/apm"
if [ -f "${FN}" ] && md5sum --check --status > /dev/null 2>&1 << EOF
05bec108b10c64c5a614cf4576e5d66a ${FN}
--
Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email: [EMAIL PROTECTED]
Internet: http://people.panthera-systems.net/~daniel-baumann/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]