-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Feb 16, 2012, at 03:34 PM, Dustin Kirkland wrote:
>Yeah, something like this, perhaps with a uname -r check, to also >exclude the current kernel you're running, which apparently *is* known >to work. > >Regarding computer-janitor and the dbus discussion -- I certainly like >the idea of computer-janitor in general, but I think I agree with >Barry that it feels much more like a desktop than a server solution. > >I guess what I would like to see is to take perhaps Kees' script as a >starting point, improve upon that logic slightly, and ship it within >Ubuntu as a consistent, supported, recommended mechanism for vacuuming >out unneeded kernels. Something like 'remove-old-kernels', perhaps >shipping in computer-janitor, or ideally more pervasive. In order to >be useful, though, we'd need to make that script available to >installed systems via SRU. > >Barry, would you be willing to accept a shell script along these >lines, into computer-janitor, if I cleaned it up and proposed a merge >and shepherded it through the SRU process? Or, is there a better home >we can agree upon? Dustin, try to see if you can make it work within c-j's plugin framework. I don't think it would be too difficult. You can see some examples in the computer-janitor package, but the base classes actually live in the update-manager package (yes, this is one of those odd bookkeeping bugs I was talking about). Cheers, - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJPPYSbAAoJEBJutWOnSwa/uPAP/1kOXIWsTWmo+e2ZjOn189i7 uSXC5JVeqS8NGrJ3mhF8U/WPmgDNUzN7G3tMD2FmtDOVesI1WsMyRp2XrFzonu9o xsPJYsdzxai0+ZZ7Imv6h6EM1yoyd3AV4dC0LbFTsauEx1InYpa0bNawi8GFIIRm QdJTlIX5E139Faaw5GsG+zoab850I8myTElNc+azL1btCP5LiNsQ5Fx5FXJ/2Y87 IXh3RJ8MByQHnLlefSOjiXI3FRCorpy3DoUzclU2MBxFInaZxmMSssaacN4DP09n OHfsr2TDujph/X0u3M8ngSyDTXaCe+AtMWv63blyGZ6kloAi0u9v4uH+atx0OZuH XUBvUJgkS8l1EDkRfo/jlos00UfSEpeL5xGI6JJRMXj8uZVZw/MSVjronMkIVqR+ Vo5RF274g4S9XoWkZU0RGLNhNZygcJxGxJWfCQm2WPmtUZp1hsOyfY37b4QXZ3hX F8UodzQhtePw7e2tvmpQzaadCjaKnT6pybOCu2Nlq3q8/BvEh2rF0PS0DMhA5xnb LxuKjlaqi1HC5uOSIZHR+g3BYdpH9pTrMafXFdiQilUur5kHV5wGfKNwYI0+WC+D xGbIdcyFx3JbQK1xmtlrm7Y+5GY1oPCmC8f9s1utL7PoT78yFh9QMJL+Z9ohxdFn jCROl1px2Q5u1mUNFv9b =KN6q -----END PGP SIGNATURE----- -- ubuntu-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
