plymouth-disabler-0.1/0000775000000000000000000000000012243743342011712 5ustar plymouth-disabler-0.1/LICENSE0000664000000000000000000000273312233464776012736 0ustar Copyright (c) The Regents of the University of California. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. plymouth-disabler-0.1/debian/0000775000000000000000000000000012243743342013134 5ustar plymouth-disabler-0.1/debian/docs0000664000000000000000000000000712243700520013773 0ustar README plymouth-disabler-0.1/debian/copyright0000664000000000000000000000330412243501215015056 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Name: iamcli Maintainer: Scott Moser Copyright: 2013 Copyright (C) 2012 Canonical Ltd. License: BSD Copyright (c) The Regents of the University of California. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. plymouth-disabler-0.1/debian/control0000664000000000000000000000067012243501325014533 0ustar Source: plymouth-disabler Section: devel Priority: optional Maintainer: Scott Moser Build-Depends: debhelper (>= 7) Standards-Version: 3.9.4 Package: plymouth-disabler Architecture: all Depends: ${misc:Depends} Description: disable plymouth by installing .override files This disables plymouth from running by installing .override files for each of the plymouth jobs. Its sole purpose is to work around bug 1235231. plymouth-disabler-0.1/debian/prerm0000664000000000000000000000121012243733652014201 0ustar #!/bin/sh # MY_MANUAL="manual # PLYMOUTH_DISABLER" MY_MANUAL_REGEX="manual[ ]\+#[ ]*PLYMOUTH_DISABLER" # dpkg -L plymouth | sed -n -e 's,.conf$,,' -e 's,/etc/init/,,p' | sort PLYMOUTH_JOBS="plymouth plymouth-log plymouth-ready plymouth-splash plymouth-stop plymouth-upstart-bridge" set -e if [ "$1" = "remove" -o "$1" = "purge" ]; then for job in $PLYMOUTH_JOBS; do cfg="/etc/init/$job.conf.override" [ -f "$cfg" ] || continue # remove the 'manual' entry that we added. sed -i "/${MY_MANUAL_REGEX}/d" "$cfg" # if .override is now empty, remove it. [ -s "$cfg" ] || rm -f "$cfg" done fi #DEBHELPER# plymouth-disabler-0.1/debian/source/0000775000000000000000000000000012243743342014434 5ustar plymouth-disabler-0.1/debian/source/format0000664000000000000000000000001512243500357015640 0ustar 3.0 (native) plymouth-disabler-0.1/debian/postinst0000664000000000000000000000164112243733631014744 0ustar #!/bin/sh # MY_MANUAL="manual # PLYMOUTH_DISABLER" MY_MANUAL_REGEX="manual[ ]\+#[ ]*PLYMOUTH_DISABLER" # dpkg -L plymouth | sed -n -e 's,.conf$,,' -e 's,/etc/init/,,p' | sort PLYMOUTH_JOBS="plymouth plymouth-log plymouth-ready plymouth-splash plymouth-stop plymouth-upstart-bridge" set -e if [ "$1" = "configure" ]; then [ -d "/etc/init" ] || mkdir -p "/etc/init" for job in $PLYMOUTH_JOBS; do cfg="/etc/init/$job.conf.override" [ -f "$cfg" ] && grep -q "$MY_MANUAL" "$cfg" && existing=true || existing=false # first install or install after purge. clean out anything. if [ -z "$1" -a "$existing" = "true" ]; then sed -i "/${MY_MANUAL_REGEX}/d" "$cfg" existing=false fi # only add the line if it wasn't there. to allow user to comment out. if [ "$existing" = "false" ]; then echo "$MY_MANUAL" >> "$cfg" fi done fi #DEBHELPER# plymouth-disabler-0.1/debian/changelog0000664000000000000000000000022712243743321015004 0ustar plymouth-disabler (0.1) trusty; urgency=low * Initial version. (LP: #1235231) -- Scott Moser Fri, 22 Nov 2013 16:04:16 -0500 plymouth-disabler-0.1/debian/compat0000664000000000000000000000000212243501125014321 0ustar 5 plymouth-disabler-0.1/debian/rules0000775000000000000000000000003512233464776014224 0ustar #!/usr/bin/make -f %: dh $@ plymouth-disabler-0.1/README0000664000000000000000000000136212243733523012574 0ustar This is 'plymouth-disabler'. plymouth-disabler is a package you can install to disable plymouth. You may wish to do this if plymouth is problematic for you, but you cannot remove it due to dependencies. One such reason for such a scenario is described in bug 1235231 (http://pad.lv/1235231). This package works by using postinst and postrm maintainer scripts to manage a line in a .override file in /etc/init for each known plymouth upstart job. For example, after installation, you will have a file '/etc/init/plymouth.conf.override' which contains the line manual #MANAGED_BY_PLYMOUTH_DISABLER On removal of the package the line will be removed. After removing that line, if the file is empty (zero length) then the file will also be removed. plymouth-disabler-0.1/Makefile0000664000000000000000000000012012243700520013332 0ustar build install clean: @echo "rule '$@' is a no-op" .PHONY: build install clean