[Bug 127273] Re: laptop-mode init script links not created
laptop-mode-tools (1.35-1ubuntu1) hardy; urgency=low * Merge from debian unstable (LP: #164387), remaining changes: - etc/init.d/laptop-mode: Check if laptop mode is disabled in /etc/default/laptop-mode (that's the file laptop_mode looks into, too, but it incorrectly evaluates the ENABLE_LAPTOP_MODE setting) as well as in /etc/default/acpi-support. - /usr/sbin/laptop_mode: Do not parse arguments, ignore "force" and "init" and let start/stop mean enable/disable. - /usr/sbin/laptop_mode: Do not read $ACTIVATE_WITH_POSSIBLE_DATA_LOSS from /var/run/laptop-mode-state to see if state has changed. - Add debian/laptop-mode-tools.postinst: Create /etc/default/laptop-mode (with ENABLE_LAPTOP_MODE=false) if the file does not exist yet and we are on ppc. - debian/laptop-mode-tools.postinst: Include update-rc.d (LP: #127273) (Debian generates the .postinst from dh_makeinit) - debian/laptop-mode-tools.preinst: remove any old acpi scripts - debian/rules: Don't ship acpi scripts (we handle that ourselves) - debian/rules: use rm -f to avoid missing-file message - debian/control: change maintainer * New Ubuntu-only patch: - Do not ship apm scripts and remove any old ones * Dropped Ubuntu-patches now upstream: - Fix error messages when run as non-root (LP: #77560) * New upstream changes closing Ubuntu bugs: - laptop-mode-tools uses hparm -B 255 instead of 254 (LP: #172282) laptop-mode-tools (1.35-1) unstable; urgency=low * New upstream version 1.35. * Listen to more ACPI events for AC adapters. Closes: #448101. * Better error messages when laptop_mode status is called by a non-root user. Closes: #428162. * Clean up temp file from init script, and properly quote messages so that they are displayed in full. Closes: #442321, 427292. * Set READAHEAD setting correctly on Linux 2.4. Closes: #355492. * Set HD power management default values to 254 instead of 255. Closes: #451589. * Update homepage location in debian/copyright. Closes: #445455. * Fix bug in manual page for lm-profiler.conf. Closes: #450431. * Don't adjust LCD brightness to the same value as before. Closes: #440115. * Modules moved to /usr/share/laptop-mode-tools/modules to improve FHS compliance. -- Tormod Volden <[EMAIL PROTECTED]> Wed, 21 Nov 2007 20:42:58 +0100 -- laptop-mode init script links not created https://bugs.launchpad.net/bugs/127273 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 127273] Re: laptop-mode init script links not created
Thanks for your great work Tormod -- laptop-mode init script links not created https://bugs.launchpad.net/bugs/127273 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 127273] Re: laptop-mode init script links not created
laptop-mode-tools (1.34-1ubuntu2) gutsy; urgency=low * debian/rules: Don't ship acpi scripts (we handle that ourselves) (This change got lost in the last merge) * debian/laptop-mode-tools.preinst: remove any old acpi scripts * debian/laptop-mode-tools.postinst: Include update-rc.d (LP: #127273) (Debian generates the .postinst from dh_makeinit) * debian/rules: use rm -f to avoid missing-file message -- Tormod Volden <[EMAIL PROTECTED]> Sat, 21 Jul 2007 00:13:42 +0200 ** Changed in: laptop-mode-tools (Ubuntu) Status: Confirmed => Fix Released -- laptop-mode init script links not created https://bugs.launchpad.net/bugs/127273 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 127273] Re: laptop-mode init script links not created
I changed it to rather remove the files in a preinst. Now there are no complaints and the empty directory is gone too. * debian/rules: Don't ship acpi scripts (we handle that ourselves) (This change got lost in the last merge) * debian/laptop-mode-tools.preinst: remove any old acpi scripts * debian/laptop-mode-tools.postinst: Include update-rc.d (LP: #127273) (Debian generates the .postinst from dh_makeinit) * debian/rules: use rm -f to avoid missing-file message ** Attachment added: "laptop-mode-tools_1.34-1ubuntu2.debdiff3" http://launchpadlibrarian.net/9260224/laptop-mode-tools_1.34-1ubuntu2.debdiff3 -- laptop-mode init script links not created https://bugs.launchpad.net/bugs/127273 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 127273] Re: laptop-mode init script links not created
Here I have added rm -f to the postinst. It will complain "dpkg: warning - unable to delete old directory `/etc/acpi/actions': Directory not empty" but I guess that is not a problem - the directory will be empty. Or should the postinst delete it (if it's empty)? ** Attachment added: "another debdiff" http://launchpadlibrarian.net/9060620/laptop-mode-tools_1.34-1ubuntu2.debdiff2 -- laptop-mode init script links not created https://bugs.launchpad.net/bugs/127273 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 127273] Re: laptop-mode init script links not created
Oh, one change - can you alter the pre or post-inst so it removes the acpi scripts when upgrading from an older version? -- laptop-mode init script links not created https://bugs.launchpad.net/bugs/127273 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 127273] Re: laptop-mode init script links not created
Matthew: are you going to sponsor the upload or should somebody review it too? ** Changed in: laptop-mode-tools (Ubuntu) Assignee: (unassigned) => Matthew Garrett -- laptop-mode init script links not created https://bugs.launchpad.net/bugs/127273 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 127273] Re: laptop-mode init script links not created
Looks fine -- laptop-mode init script links not created https://bugs.launchpad.net/bugs/127273 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 127273] Re: laptop-mode init script links not created
** Changed in: laptop-mode-tools (Ubuntu) Status: New => Confirmed -- laptop-mode init script links not created https://bugs.launchpad.net/bugs/127273 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 127273] Re: laptop-mode init script links not created
laptop-mode-tools (1.34-1ubuntu2) gutsy; urgency=low * debian/rules: Don't ship acpi scripts (we handle that ourselves) (This change got lost in the last merge) * debian/laptop-mode-tools.postinst: Include update-rc.d (LP: #127276) (Debian generates the .postinst from dh_makeinit) ** Attachment added: "new debdiff" http://launchpadlibrarian.net/8539614/laptop-mode-tools_1.34-1ubuntu2.debdiff -- laptop-mode init script links not created https://bugs.launchpad.net/bugs/127273 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs