Commit 71a40551 authored by EclipseSpark's avatar EclipseSpark

clean

parent a67c66b4
live-config
live-config-doc
live-config-systemd
live-config-sysvinit
live-config-doc_5.20160608+0parrot0_all.deb doc optional
live-config-systemd_5.20160608+0parrot0_all.deb misc optional
live-config-sysvinit_5.20160608+0parrot0_all.deb misc optional
live-config_5.20160608+0parrot0_all.deb misc optional
dh_update_autotools_config
dh_auto_configure
dh_auto_build
dh_auto_test
dh_prep
override_dh_auto_install dh_auto_install
dh_auto_install
override_dh_install dh_install
dh_install
dh_installdocs
dh_installchangelogs
dh_installman
dh_systemd_enable
dh_installinit
dh_systemd_start
dh_bugfiles
dh_lintian
dh_perl
dh_link
dh_strip_nondeterminism
override_dh_compress dh_compress
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dh_builddeb
dh_builddeb
dh_builddeb
dh_builddeb
Package: live-config-doc
Source: live-config
Version: 5.20160608+0parrot0
Architecture: all
Maintainer: Live Systems Maintainers <debian-live@lists.debian.org>
Installed-Size: 92
Section: doc
Priority: optional
Homepage: https://debian-live.alioth.debian.org/live-config/
Description: Live System Configuration Components (documentation)
live-config contains the components that configure a live system during the
boot process (late userspace).
.
This package contains the documentation.
01a4df467588a84aff7dc46da923a4a7 usr/share/doc/live-config-doc/changelog.gz
3d0fd70880de9f00bbb19097d2351278 usr/share/doc/live-config-doc/copyright
91ba49a06dff602a7a5f349f4edc76d7 usr/share/doc/live-config/examples/README
bc8aec1cf6f2a88e77c56adae6905bea usr/share/doc/live-config/examples/hooks/cat
cc168ce6fe5437339a999ebb3a31fd66 usr/share/doc/live-config/examples/hooks/passwd
c624edba42eb6beee59754ef2cd04b43 usr/share/doc/live-config/examples/hooks/rm
faaac9be1dcb7925f2298cf7e1af9783 usr/share/doc/live-config/examples/hooks/sh
cfee1c5f182039ad9acddf62b601cf60 usr/share/doc/live-config/examples/hooks/vi
5f5b417a8986333e7ad27187319f141c usr/share/doc/live-config/examples/live-config-foobar/components/9000-foobar
523cf1f8c534a96bb96b6efb8f660531 usr/share/doc/live-config/examples/live-config-foobar/configs/foobar.conf
9a63c5e10ab0adc67bf930666b168176 usr/share/doc/live-config/examples/live-config-foobar/debian/changelog
7c5aba41f53293b712fd86d08ed5b36e usr/share/doc/live-config/examples/live-config-foobar/debian/compat
770709edbacc22da8de4f9f5c1051735 usr/share/doc/live-config/examples/live-config-foobar/debian/control
e7357345ec2ec158bcd2a5ae811d2b5f usr/share/doc/live-config/examples/live-config-foobar/debian/copyright
70b555440f067d2263c230b05eec4f7c usr/share/doc/live-config/examples/live-config-foobar/debian/install
2545b533cd2d844597f6a64aa8d6aed2 usr/share/doc/live-config/examples/live-config-foobar/debian/rules
c5fc031a250b2d76fe051ac3621620ab usr/share/doc/live-config/examples/live-config-foobar/debian/source/format
e3070cf11448e1e3cb5859679566c507 usr/share/doc/live-config/examples/live-config-foobar/debian/source/options
edaa83d22b89375aa14919892d7feb78 usr/share/man/es/man7/live-config.7.gz
324686490a7535b47f7962513c64388f usr/share/man/fr/man7/live-config.7.gz
3352ddd0937a5adc8626fac119310013 usr/share/man/it/man7/live-config.7.gz
ad4454f084b876805d8f37ee3e834aa4 usr/share/man/ja/man7/live-config.7.gz
c48114ae8aa1eb6805226f24dbdb92ab usr/share/man/man7/live-config.7.gz
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: live-config
Upstream-Contact: Live Systems Project <debian-live@lists.debian.org>
Source: http://live-systems.org/archive/packages/live-config/
Files: *
Copyright: 2006-2015 Daniel Baumann <mail@daniel-baumann.ch>
License: GPL-3+
License: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
The complete text of the GNU General Public License
can be found in /usr/share/common-licenses/GPL-3 file.
live-config-foobar Example
--------------------------
Best practise for downstream projects and derivatives is to ship their custom
live-config components in an own debian package.
The following live-config-foobar example package should be used as a starting
point. The following things should minimally be changed:
* Replace any mentioning of 'Joe Doe' with your own name.
* Replace any mentioning of 'example.org' with your own domain name.
* Replace any mentioning of 'foobar', 'Foobar' and 'FOOBAR' with the name of
your custom componentsor project name.
-- Daniel Baumann <mail@daniel-baumann.ch> Wed, 01 Jan 2014 00:00:00 +0100
#!/bin/sh
echo
echo "live-config hook: cat"
_FILENAME=""
while [ "${_FILENAME}" != q ]
do
echo
echo -n "Enter filename [q for quit]: "
read _FILENAME
if [ -n "${_FILENAME}" ]
then
echo
echo "Begin: ${_FILENAME}"
echo "--------------------------------------------------------------------------------"
cat "${_FILENAME}"
echo "--------------------------------------------------------------------------------"
echo "End: ${_FILENAME}"
fi
done
#!/bin/sh
echo
echo "live-config hook: passwd"
_USERNAME=""
while [ "${_USERNAME}" != q ]
do
echo
echo -n "Enter username [q for quit]: "
read _USERNAME
_USERNAME="${_USERNAME:-${LIVE_USERNAME}}"
case "${_USERNAME}" in
root)
passwd
;;
*)
if [ -n "${_USERNAME}" ]
then
echo
passwd "${_USERNAME}"
fi
;;
esac
done
#!/bin/sh
echo
echo "live-config hook: rm"
_FILENAME=""
while [ "${_FILENAME}" != q ]
do
echo
echo -n "Enter filename [q for quit]: "
read _FILENAME
if [ -n "${_FILENAME}" ]
then
rm -rf "${_FILENAME}"
fi
done
#!/bin/sh
echo
echo "live-config hook: sh"
echo
echo "Starting shell [logout for quit]: "
sh
#!/bin/sh
echo
echo "live-config hook: vi"
_FILENAME=""
while [ "${_FILENAME}" != q ]
do
echo
echo -n "Enter filename [q for quit]: "
read _FILENAME
vi "${_FILENAME}"
done
#!/bin/sh
## live-config-foobar(7) - Additional Configuration Components for live systems
## Copyright (C) 2006-2015 Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2015 John Doe <john@example.org>
##
## live-config-foobar comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
## under certain conditions; see COPYING for details.
set -e
Cmdline ()
{
# Boot parameters can be acted up either this way...
if ! echo ${LIVE_CONFIG_CMDLINE} | grep -qs "example.foobar" && \
! echo ${LIVE_CONFIG_CMDLINE} | grep -qs "foobar"
then
return
fi
# ...or if you want to specify certain options:
for _PARAMETER in ${LIVE_CONFIG_CMDLINE}
do
case "${_PARAMETER}" in
example.foobar=*|foobar=*)
EXAMPLE_FOOBAR="${_PARAMETER#*foobar=}"
;;
esac
done
}
Init ()
{
# Checking if package is installed or already configured
if [ ! -e /var/lib/dpkg/info/foobar.list ] || \
[ -e /var/lib/live/config/foobar ]
then
exit 0
fi
echo -n " foobar"
}
Config ()
{
# Configuring foobar either this way...
if [ -n "${EXAMPLE_FOOBAR}" ]
then
sleep 1
fi
# ...or if you want to specify certain options:
case "${EXAMPLE_FOOBAR}" in
foo)
sleep 1
;;
esac
# Creating state file
touch /var/lib/live/config/foobar
}
Cmdline
Init
Config
# /etc/live/config.conf.d/foobar.conf
## live-config-foobar(7) - Additional Configuration Components for live systems
## Copyright (C) 2006-2015 Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2015 John Doe <john@example.org>
##
## live-config-foobar comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
## under certain conditions; see COPYING for details.
EXAMPLE_FOOBAR="foobar"
live-config-foobar (5-1) unstable; urgency=low
* Initial release based on the live-config-foobar example package
included in live-config.
-- John Doe <john@example.org> Wed, 01 Jan 2015 00:00:00 +0100
Source: live-config-foobar
Section: misc
Priority: extra
Maintainer: John Doe <john@example.org>
Build-Depends: debhelper (>= 9)
Standards-Version: 3.9.4
Homepage: http://www.example.org/foobar/
Vcs-Browser: http://git.example.org/?p=live-config-foobar.git
Vcs-Git: git://git.example.org/git/live-config-foobar.git
Package: live-config-foobar
Architecture: all
Depends: ${misc:Depends}, live-config (>= 5), live-config (<< 6)
Description: Additional Live System Configuration Components (foobar)
live-config contains the components that configure a live system during the
boot process (late userspace).
.
This package contains the additional foobar component(s).
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: live-config-foobar
Upstream-Contact: John Doe <john@example.org>
Source: http://www.example.org/foobar/
Comment:
This package is based on the live-config-foobar example package
included in live-config which can be obtained from
http://live-systems.org/devel/live-config/.
Files: *
Copyright: 2006-2015 Daniel Baumann <mail@daniel-baumann.ch>
2015 John Doe <john@example.org>
License: GPL-3+
License: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
The complete text of the GNU General Public License
can be found in /usr/share/common-licenses/GPL-3 file.
dh_update_autotools_config
dh_auto_configure
dh_auto_build
dh_auto_test
dh_prep
override_dh_auto_install dh_auto_install
dh_auto_install
override_dh_install dh_install
dh_install
dh_installdocs
dh_installchangelogs
dh_installman
dh_systemd_enable
dh_installinit
dh_systemd_start
dh_bugfiles
dh_lintian
dh_perl
dh_link
dh_strip_nondeterminism
override_dh_compress dh_compress
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dh_builddeb
dh_builddeb
dh_builddeb
dh_builddeb
# Automatically added by dh_systemd_enable
# This will only remove masks created by d-s-h on package removal.
deb-systemd-helper unmask live-config.service >/dev/null || true
# was-enabled defaults to true, so new installations run enable.
if deb-systemd-helper --quiet was-enabled live-config.service; then
# Enables the unit on first installation, creates new
# symlinks on upgrades if the unit file has changed.
deb-systemd-helper enable live-config.service >/dev/null || true
else
# Update the statefile to add new symlinks (if any), which need to be
# cleaned up on purge. Also remove old symlinks.
deb-systemd-helper update-state live-config.service >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_systemd_start
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
deb-systemd-invoke start live-config.service >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_systemd_start
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_systemd_enable
if [ "$1" = "remove" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper mask live-config.service >/dev/null
fi
fi
if [ "$1" = "purge" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper purge live-config.service >/dev/null
deb-systemd-helper unmask live-config.service >/dev/null
fi
fi
# End automatically added section
# Automatically added by dh_systemd_start
if [ -d /run/systemd/system ]; then
deb-systemd-invoke stop live-config.service >/dev/null
fi
# End automatically added section
misc:Depends=init-system-helpers (>= 1.18~)
misc:Pre-Depends=
Package: live-config-systemd
Source: live-config
Version: 5.20160608+0parrot0
Architecture: all
Maintainer: Live Systems Maintainers <debian-live@lists.debian.org>
Installed-Size: 36
Depends: systemd, init-system-helpers (>= 1.18~)
Recommends: dbus
Conflicts: live-config-backend
Replaces: live-config-backend
Provides: live-config-backend
Section: misc
Priority: optional
Homepage: https://debian-live.alioth.debian.org/live-config/
Description: Live System Configuration Components (systemd backend)
The Live Systems project maintains the components to build Debian based Live
systems and the official Debian Live images themselves.
.
live-config contains the components to configure a live system during the boot
process (late userspace).
.
This package contains the systemd backend.
463d92b016daed906ca5f4b85d8a308f lib/systemd/system-generators/live-config-getty-generator
665103370631ec43f45cb715ab2c770c lib/systemd/system/live-config.service
01a4df467588a84aff7dc46da923a4a7 usr/share/doc/live-config-systemd/changelog.gz
3d0fd70880de9f00bbb19097d2351278 usr/share/doc/live-config-systemd/copyright
#!/bin/sh
set -e
# Automatically added by dh_systemd_enable
# This will only remove masks created by d-s-h on package removal.
deb-systemd-helper unmask live-config.service >/dev/null || true
# was-enabled defaults to true, so new installations run enable.
if deb-systemd-helper --quiet was-enabled live-config.service; then
# Enables the unit on first installation, creates new
# symlinks on upgrades if the unit file has changed.
deb-systemd-helper enable live-config.service >/dev/null || true
else
# Update the statefile to add new symlinks (if any), which need to be
# cleaned up on purge. Also remove old symlinks.
deb-systemd-helper update-state live-config.service >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_systemd_start
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
deb-systemd-invoke start live-config.service >/dev/null || true
fi
# End automatically added section
#!/bin/sh
set -e
# Automatically added by dh_systemd_start
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_systemd_enable
if [ "$1" = "remove" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper mask live-config.service >/dev/null
fi
fi
if [ "$1" = "purge" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper purge live-config.service >/dev/null
deb-systemd-helper unmask live-config.service >/dev/null
fi
fi
# End automatically added section
#!/bin/sh
set -e
# Automatically added by dh_systemd_start
if [ -d /run/systemd/system ]; then
deb-systemd-invoke stop live-config.service >/dev/null
fi
# End automatically added section
#!/bin/sh
## live-config(7) - System Configuration Components
## Copyright (C) 2006-2015 Daniel Baumann <mail@daniel-baumann.ch>
## Copyright (C) 2016 Raphael Hertzog <hertzog@debian.org>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
## under certain conditions; see COPYING for details.
set -e
SYSTEMD_DIR=$1
. /lib/live/init-config.sh
Cmdline ()
{
# Reading kernel command line
for _PARAMETER in $(cat /proc/cmdline)
do
case "${_PARAMETER}" in
live-config.debug|debug)
LIVE_CONFIG_DEBUG="true"
;;
live-config.noautologin|noautologin)
LIVE_CONFIG_NOAUTOLOGIN="true"
;;
live-config.nottyautologin|nottyautologin)
LIVE_CONFIG_NOTTYAUTOLOGIN="true"
;;
live-config.username=*|username=*)
LIVE_USERNAME="${_PARAMETER#*username=}"
;;
esac
done
}
Init ()
{
# Do nothing if not booted in live mode
if ! grep -q "boot=live" /proc/cmdline
then
exit 0
fi
# Disables both console and graphical autologin.
case "${LIVE_CONFIG_NOAUTOLOGIN}" in
true)
exit 0
;;
esac