diff options
author | lcapriotti <lcapriotti@svn> | 2010-02-10 16:56:54 +0000 |
---|---|---|
committer | lcapriotti <lcapriotti@svn> | 2010-02-10 16:56:54 +0000 |
commit | a376a1f482daf6ad1b4539b0858652618b8b01f0 (patch) | |
tree | ea5f253a8961389ebbac75c1d3d6d02f5b55f011 /tools | |
parent | 222ed36217582c8d5e63a93c9e34d478b4aecb2c (diff) |
use upstream live-initramfs, local branch not needed any more
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@27622 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'tools')
87 files changed, 12 insertions, 13811 deletions
diff --git a/tools/XBMCLive/SDK/buildDEBs/build-live-initramfs.sh b/tools/XBMCLive/SDK/buildDEBs/build-live-initramfs.sh index f0390850fc..f451c407d1 100755 --- a/tools/XBMCLive/SDK/buildDEBs/build-live-initramfs.sh +++ b/tools/XBMCLive/SDK/buildDEBs/build-live-initramfs.sh @@ -23,7 +23,16 @@ THISDIR=$(pwd) if ! ls live-initramfs_*.udeb > /dev/null 2>&1 ; then echo "Making live-initramfs..." - cd $THISDIR/live-initramfs-ubuntu - dpkg-buildpackage -rfakeroot -b -uc -us - cd $THISDIR + if [ ! -f live-initramfs.tar ]; then + git clone git://live.debian.net/git/live-initramfs.git + if [ "$?" -ne "0" ]; then + exit 1 + fi + + cd $THISDIR/live-initramfs + dpkg-buildpackage -rfakeroot -b -uc -us + cd $THISDIR + else + tar xvf live-initramfs.tar > /dev/null 2>&1 + fi fi diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/COPYING b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/COPYING deleted file mode 100644 index d511905c16..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/COPYING +++ /dev/null @@ -1,339 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - <one line to give the program's name and a brief idea of what it does.> - Copyright (C) <year> <name of author> - - 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 2 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, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - <signature of Ty Coon>, 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/Makefile b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/Makefile deleted file mode 100644 index e01ae9b5ac..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/Makefile +++ /dev/null @@ -1,134 +0,0 @@ -# Makefile - -TRANSLATIONS="it" - -all: build - -test: - # Checking for syntax errors - set -e; for SCRIPT in bin/* hooks/* scripts/live scripts/live-functions scripts/live-helpers scripts/*/*; \ - do \ - sh -n $$SCRIPT; \ - done - - # Checking for bashisms (temporary not failing, but only listing) - if [ -x /usr/bin/checkbashisms ]; \ - then \ - checkbashisms bin/* hooks/* scripts/live scripts/live-functions scripts/live-helpers scripts/*/* || true; \ - else \ - echo "bashism test skipped - you need to install devscripts."; \ - fi - -build: - $(MAKE) -C manpages - -install: test build - # Installing configuration - install -D -m 0644 conf/live.conf $(DESTDIR)/etc/live.conf - install -D -m 0644 conf/compcache $(DESTDIR)/usr/share/initramfs-tools/conf.d/compcache - - # Installing executables - mkdir -p $(DESTDIR)/sbin - cp bin/live-getty bin/live-login bin/live-new-uuid bin/live-snapshot bin/live-swapfile $(DESTDIR)/sbin - - mkdir -p $(DESTDIR)/usr/share/live-initramfs - cp bin/live-preseed bin/live-reconfigure contrib/languagelist $(DESTDIR)/usr/share/live-initramfs - - mkdir -p $(DESTDIR)/usr/share/initramfs-tools - cp -r hooks scripts $(DESTDIR)/usr/share/initramfs-tools - - # Installing documentation - mkdir -p $(DESTDIR)/usr/share/doc/live-initramfs - cp -r COPYING docs/* $(DESTDIR)/usr/share/doc/live-initramfs - - mkdir -p $(DESTDIR)/usr/share/doc/live-initramfs/examples - cp -r conf/* $(DESTDIR)/usr/share/doc/live-initramfs/examples - - # Installing manpages - set -e; for MANPAGE in manpages/*.en.1; \ - do \ - install -D -m 0644 $$MANPAGE $(DESTDIR)/usr/share/man/man1/`basename $$MANPAGE .en.1`.1; \ - done - - set -e; for MANPAGE in manpages/*.en.7; \ - do \ - install -D -m 0644 $$MANPAGE $(DESTDIR)/usr/share/man/man7/`basename $$MANPAGE .en.7`.7; \ - done - - set -e; for TRANSLATIONS in $$TRANSLATIONS; \ - do \ - for MANPAGE in manpages/*.$$TRANSLATION.1; \ - do \ - install -D -m 0644 $$MANPAGE $(DESTDIR)/usr/share/man/$$TRANSLATION/man1/`basename $$MANPAGE .$$TRANSLATION.1`.1; \ - done; \ - for MANPAGE in manpages/*.$$TRANSLATION.7; \ - do \ - install -D -m 0644 $$MANPAGE $(DESTDIR)/usr/share/man/$$TRANSLATION/man7/`basename $$MANPAGE .$$TRANSLATION.7`.7; \ - done; \ - done - - # Temporary symlinks - ln -sf live-initramfs.7.gz $(DESTDIR)/usr/share/man/man7/live-getty.7.gz - ln -sf live-initramfs.7.gz $(DESTDIR)/usr/share/man/man7/live-login.7.gz - -uninstall: - # Uninstalling configuration - rm -f $(DESTDIR)/etc/live.conf - - # Uninstalling executables - rm -f $(DESTDIR)/sbin/live-getty $(DESTDIR)/sbin/live-login $(DESTDIR)/sbin/live-snapshot $(DESTDIR)/sbin/live-swapfile - rm -rf $(DESTDIR)/usr/share/live-initramfs - rm -f $(DESTDIR)/usr/share/initramfs-tools/hooks/live - rm -rf $(DESTDIR)/usr/share/initramfs-tools/scripts/live* - rm -f $(DESTDIR)/usr/share/initramfs-tools/scripts/local-top/live - - # Uninstalling documentation - rm -rf $(DESTDIR)/usr/share/doc/live-initramfs - - # Uninstalling manpages - set -e; for MANPAGE in manpages/*.en.1; \ - do \ - rm -f $(DESTDIR)/usr/share/man/man1/`basename $$MANPAGE .en.1`.1; \ - done - - set -e; for MANPAGE in manpages/*.en.7; \ - do \ - rm -f $(DESTDIR)/usr/share/man/man7/`basename $$MANPAGE .en.7`.7; \ - done - - set -e; for TRANSLATIONS in $$TRANSLATIONS; \ - do \ - for MANPAGE in manpages/*.$$TRANSLATION.1; \ - do \ - install -D -m 0644 $$MANPAGE $(DESTDIR)/usr/share/man/$$TRANSLATION/man1/`basename $$MANPAGE .$$TRANSLATION.1`.1; \ - done; \ - for MANPAGE in manpages/*.$$TRANSLATION.7; \ - do \ - install -D -m 0644 $$MANPAGE $(DESTDIR)/usr/share/man/$$TRANSLATION/man7/`basename $$MANPAGE .$$TRANSLATION.7`.7; \ - done; \ - done - - # Temporary symlinks - rm -f $(DESTDIR)/usr/share/man/man7/live-getty.7.gz - rm -f $(DESTDIR)/usr/share/man/man7/live-login.7.gz - -update: - set -e; for FILE in docs/parameters.txt; \ - do \ - sed -i -e 's/2007\\-11\\-19/2007\\-11\\-26/' \ - -e 's/2007-11-19/2007-11-26/' \ - -e 's/19.11.2007/26.11.2007/' \ - -e 's/1.113.1/1.113.2/' \ - $$FILE; \ - done - - # Update language list - wget -O "contrib/languagelist" \ - "http://svn.debian.org/viewsvn/*checkout*/d-i/trunk/packages/localechooser/languagelist" - -clean: - $(MAKE) -C manpages clean - -distclean: - -reinstall: uninstall install diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/README b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/README deleted file mode 100644 index 012aaed790..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/README +++ /dev/null @@ -1,5 +0,0 @@ -This tree contains a test branch of Debian's live-initramfs including some modifications for Ubuntu compatibility. - -Both Jaunty and Karmic are supported. - - diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-getty b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-getty deleted file mode 100755 index 6781ea5878..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-getty +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -set -e - -AUTOLOGIN="1" - -for ARGUMENT in "${@}" -do - if [ "${ARGUMENT}" = "-l" ] || [ "${ARGUMENT}" = "-n" ] - then - AUTOLOGIN="0" - fi -done - -if [ "${AUTOLOGIN}" = "1" ] -then - exec /sbin/getty -n -l /sbin/live-login ${*} -else - exec /sbin/getty ${*} -fi diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-login b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-login deleted file mode 100755 index c2cc5a132e..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-login +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -set -e - -USERNAME="root" - -if [ -f /etc/live.conf ] -then - . /etc/live.conf -fi - -exec /bin/login -f "${USERNAME}" diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-new-uuid b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-new-uuid deleted file mode 100755 index 97cc7d4faa..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-new-uuid +++ /dev/null @@ -1,75 +0,0 @@ -#!/bin/sh -# -*- coding: utf-8 -*- -# -# «live-new-uuid» - Creates and injects new UUIDs for live disks -# -# Create new UUIDs for disks to prevent conflicts and booting the wrong live -# directory. Particularly useful in creating recovery disks that need to be -# able to also work with recovery partitioning schemes. -# -# Copyright (C) 2008, Dell Inc. -# -# Author: -# - Mario Limonciello <Mario_Limonciello@Dell.com> -# -# This script 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 2 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 application; if not, write to the Free Software Foundation, Inc., 51 -# Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -################################################################################## - -set -e - -help() { - echo - echo "USAGE: $0 initrd.gz <path-to-new-initrd.gz> <path-to-new-live-uuid> " - echo - echo "initrd.gz is the absolute path to the original gzipped initramfs" - echo "<path-to-new-initrd.gz> is the destination directory for the new gzipped initramfs" - echo "<path-to-new-live-uuid> is the destination directory for the new live-uuid-TYPE " - echo - echo "if either path is absent, they will end up in the current directory " - echo "TYPE is determined by an already existing live-uuid-* or by 'uname -s'" -} - -if [ "$#" = "0" ] || [ "x$1" = x-h ] || [ "x$1" = x--help ]; then - help - exit 3 -fi - -CWD=`pwd` -TEMPDIR=`mktemp -d /tmp/uuid-XXXXXX` -TYPE=`uname -r | cut -d '-' -f 3` - -if [ -z "$2" ] || [ ! -d "$2" ] || [ "$2" = "." ]; then - GZIPDIR="$CWD" -else - GZIPDIR="$2" -fi - -if [ -z "$3" ] || [ ! -d "$3" ] || [ "$3" = "." ]; then - LIVEDIR="$CWD" -else - LIVEDIR="$3" -fi - -cd "$TEMPDIR" -zcat "$1" | cpio -id -uuidgen -r > conf/uuid.conf -find . | cpio --quiet --dereference -o -H newc | gzip > "$GZIPDIR/initrd.gz" -if [ "$(ls "$LIVEDIR/live-uuid"-* >/dev/null 2>&1 | wc -l)" = 1 ]; then - cp conf/uuid.conf "$LIVEDIR/live-uuid"-* -else - cp conf/uuid.conf "$LIVEDIR/live-uuid-$TYPE" -fi -cd "$CWD" -rm -rf "$TEMPDIR" diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-preseed b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-preseed deleted file mode 100755 index d98c4f36fc..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-preseed +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -set -e - -PATH=/usr/sbin:/usr/bin:/sbin:/bin - -root="${1}" -question="${2}" -value="${3}" -seen="${4}" - -[ "${seen}" ] || seen=true - -if ! (echo "SET ${question} ${value}"; echo "FSET ${question} seen ${seen}") | chroot "${1}" /usr/bin/debconf-communicate -fnoninteractive live-initramfs >/dev/null -then - -chroot "${1}" /usr/bin/debconf-communicate -fnoninteractive live-initramfs >/dev/null << EOF -REGISTER debian-installer/dummy ${question} -SET ${question} ${value} -FSET ${question} seen ${seen} -EOF - -fi - -exit 0 diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-reconfigure b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-reconfigure deleted file mode 100755 index 16cb51dfa4..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-reconfigure +++ /dev/null @@ -1,70 +0,0 @@ -#! /bin/sh - -set -e - -export PATH=/usr/bin:/usr/sbin:/sbin:/bin - -frontend=noninteractive - -findcommandinroot () -{ - ROOT="${1}/" - shift - - while [ "${#}" -ge 1 ] - do - P="${PATH}" - - while [ "${P}" ] - do - D=${P%%:*} - P=${P#*:} - - if [ "${D}" = "${P}" ] - then - P= - fi - - if [ -z "${D}" ] - then - D=. - fi - - if [ -x "${ROOT}${D}/${1}" ] - then - echo "${D}/${1}" - return 0 - fi - done - - shift - done - - return 1 -} - -runcommandinroot () -{ - C=$(findcommandinroot "${1}" "${2}") - ROOT="${1}" - - shift - shift - - [ -n "${C}" ] && chroot "${ROOT}" "${C}" "${@}" -} - -root="${1}" -package="${2}" - -version=$(runcommandinroot "${root}" dpkg-query -W --showformat='${Version}' "${package}" 2>/dev/null) || version="" - -if [ -z "${version}" ] -then - echo >&2 "${0}: package '${package}' is not installed" - exit 0 -fi - -runcommandinroot "${root}" dpkg-reconfigure -fnoninteractive --no-reload "${package}" - -exit 0 diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-snapshot b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-snapshot deleted file mode 100755 index 55673bbb5e..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-snapshot +++ /dev/null @@ -1,522 +0,0 @@ -#!/bin/sh - -# live-snapshot - utility to manage Debian Live systems snapshots -# -# This program mounts a device (fallback to /tmpfs under $MOUNTP -# and saves the /live/cow (or a different directory) filesystem in it -# for reuse in another live-initramfs session. -# Look at the manpage for more informations. -# -# Copyright (C) 2006-2008 Marco Amadori <marco.amadori@gmail.com> -# Copyright (C) 2008 Chris Lamb <chris@chris-lamb.co.uk> -# -# 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/>. -# -# On Debian systems, the complete text of the GNU General Public License -# can be found in /usr/share/common-licenses/GPL-3 file. - -# declare here two vars from /etc/live.conf because of "set -u" -ROOTSNAP="" -HOMESNAP="" - -if [ -n "${LIVE_SNAPSHOT_CHECK_UNBOUND}" ] -then - set -eu -else - set -e -fi - -. /usr/share/initramfs-tools/scripts/live-helpers - -LIVE_CONF="/etc/live.conf" -. "${LIVE_CONF}" - -export USERNAME USERFULLNAME HOSTNAME - -EXECUTABLE="${0}" -PROGRAM=$(basename "${EXECUTABLE}") - -# Needs to be available at run and reboot time -SAFE_TMPDIR="/live" - -# Permits multiple runs -MOUNTP="$(mktemp -d -p ${SAFE_TMPDIR} live-snapshot-mnt.XXXXXX)" -DEST="${MOUNTP}/live-sn.cpio.gz" -DEF_SNAP_COW="/live/cow" -TMP_FILELIST="${PROGRAM}.list" - -# Command line defaults and declarations -SNAP_COW="${DEF_SNAP_COW}" -SNAP_DEV="" -SNAP_MNT="" -SNAP_OUTPUT="" -SNAP_RESYNC_STRING="" -SNAP_TYPE="cpio" -SNAP_LIST="/etc/live-snapshot.list" -EXCLUDE_LIST="/etc/live-snapshot.exclude_list" - -Error () -{ - echo "${PROGRAM}: error:" ${@} - exit 1 -} - -panic () -{ - Error ${@} -} - -Header () -{ - echo "${PROGRAM} - utility to perform snapshots of Debian Live systems" - echo - echo "usage: ${PROGRAM} [-c|--cow DIRECTORY] [-d|--device DEVICE] [-o|--output FILE] [-t|--type TYPE]" - echo " ${PROGRAM} [-r|--resync-string STRING]" - echo " ${PROGRAM} [-f|--refresh]" - echo " ${PROGRAM} [-h|--help]" - echo " ${PROGRAM} [-u|--usage]" - echo " ${PROGRAM} [-v|--version]" -} - -Help () -{ - Header - - echo - echo "Options:" - echo " -c, --cow: copy on write directory (default: ${SNAP_COW})." - echo " -d, --device: output snapshot device (default: ${SNAP_DEV:-auto})." - echo " -o, --output: output image file (default: ${DEST})." - echo " -r, --resync-string: internally used to resync previous made snapshots." - echo " -f, --refresh: try to sync a running snapshot." - echo " -t, --type: snapshot filesystem type. Options: \"squashfs\", \"ext2\", \"ext3\", \"ext4\", \"jffs2\" or \"cpio\".gz archive (default: ${SNAP_TYPE})" - echo - echo "Look at live-snapshot(1) man page for more information." - - exit 0 -} - -Usage () -{ - Header - - echo - echo "Try \"${PROGRAM} --help\" for more information." - - exit 0 -} - -Version () -{ - echo "${PROGRAM}" - echo - echo "Copyright (C) 2006 Marco Amadori <marco.amadori@gmail.com>" - echo "Copyright (C) 2008 Chris Lamb <chris@chris-lamb.co.uk>" - echo - echo "This program is free software; you can redistribute it and/or modify" - echo "it under the terms of the GNU General Public License as published by" - echo "the Free Software Foundation; either version 2 of the License, or" - echo "(at your option) any later version." - echo - echo "This program is distributed in the hope that it will be useful," - echo "but WITHOUT ANY WARRANTY; without even the implied warranty of" - echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the" - echo "GNU General Public License for more details." - echo - echo "You should have received a copy of the GNU General Public License" - echo "along with this program; if not, write to the Free Software" - echo "Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA" - echo - echo "On Debian systems, the complete text of the GNU General Public License" - echo "can be found in /usr/share/common-licenses/GPL-2 file." - echo - echo "Homepage: <http://debian-live.alioth.debian.org/>" - - exit 0 -} - -Try_refresh () -{ - FOUND="" - if [ -n "${ROOTSNAP}" ]; then - "${EXECUTABLE}" --resync-string="${ROOTSNAP}" - FOUND="Yes" - fi - - if [ -n "${HOMESNAP}" ]; then - "${EXECUTABLE}" --resync-string="${HOMESNAP}" - FOUND="Yes" - fi - - if [ -z "${FOUND}" ] - then - echo "No autoconfigured snapshots found at boot;" > /dev/null 1>&2 - echo "(no resync string in ${LIVE_CONF})." > /dev/null 1>&2 - exit 1 - fi -} - -Parse_args () -{ - # Parse command line - ARGS="${*}" - ARGUMENTS="$(getopt --longoptions cow:,device:,output,resync-string:,refresh,type:,help,usage,version --name=${PROGRAM} --options c:d:o:t:r:fhuv --shell sh -- ${ARGS})" - - eval set -- "${ARGUMENTS}" - - while true - do - case "${1}" in - -c|--cow) - SNAP_COW="${2}" - shift 2 - ;; - - -d|--device) - SNAP_DEV="${2}" - shift 2 - ;; - - -o|--output) - SNAP_OUTPUT="${2}" - shift 2 - ;; - - -t|--type) - SNAP_TYPE="${2}" - shift 2 - ;; - - -r|--resync-string) - SNAP_RESYNC_STRING="${2}" - break - ;; - - -f|--refresh) - Try_refresh - exit 0 - ;; - - -h|--help) - Help - ;; - - -u|--usage) - Usage - ;; - - -v|--version) - Version - ;; - - --) - shift - break - ;; - - *) - Error "internal error." - ;; - - esac - done -} - -Defaults () -{ - # Parse resync string - if [ -n "${SNAP_RESYNC_STRING}" ] - then - SNAP_COW=$(echo "${SNAP_RESYNC_STRING}" | sed -e 's|^/root\([^:.]*\).*$|'"${DEF_SNAP_COW}"'\1|') - SNAP_DEV=$(echo "${SNAP_RESYNC_STRING}" | cut -f2 -d ':') - SNAP_MNT=$(echo "${SNAP_RESYNC_STRING}" | cut -f3 -d ':') - DEST="${MOUNTP}/${SNAP_MNT}" - - case "${SNAP_MNT}" in - *.cpio.gz) - SNAP_TYPE="cpio" - ;; - - *.squashfs) - SNAP_TYPE="squashfs" - ;; - - *.jffs2) - SNAP_TYPE="jffs2" - ;; - - *.ext2|*.ext3) - SNAP_TYPE="ext2" - ;; - - "") - SNAP_TYPE="whole_partition" - ;; - - *.ext4) - SNAP_TYPE="ext4" - ;; - - *) - Error "unrecognized resync string" - ;; - esac - elif [ -z "${SNAP_OUTPUT}" ] - then - # Set target file based on image - case "${SNAP_TYPE}" in - cpio) - DEST="${MOUNTP}/live-sn.cpio.gz" - ;; - - squashfs|jffs2|ext2) - DEST="${MOUNTP}/live-sn.${SNAP_TYPE}" - ;; - - ext3) - DEST="${MOUNTP}/live-sn.ext2" - ;; - - ext4) - DEST="${MOUNTP}/live-sn.ext4" - ;; - esac - else - DEST="${SNAP_OUTPUT}" - fi -} - -Validate_input () -{ - case "${SNAP_TYPE}" in - cpio|squashfs|jffs2|ext2|ext3|ext4|whole_partition) - ;; - - *) - Error "invalid filesystem type \"${SNAP_TYPE}\"" - ;; - esac - - if [ ! -d "${SNAP_COW}" ] - then - Error "${SNAP_COW} is not a directory" - fi - - if [ "$(id -u)" -ne 0 ] - then - Error "you are not root" - fi -} - -Mount_device () -{ - case "${SNAP_DEV}" in - "") - # create a temp - mount -t tmpfs -o rw tmpfs "${MOUNTP}" - ;; - - *) - if [ -b "${SNAP_DEV}" ] - then - try_mount "${SNAP_DEV}" "${MOUNTP}" rw - fi - ;; - esac -} - -Entry_is_modified () -{ - # Returns true if file exists and it is also present in "cow" directory - # This means it is modified in respect to read-only media, so it deserve - # to be saved - - entry="${1}" - - if [ -e "${entry}" ] || [ -L "${entry}" ] - then - if [ -e "${SNAP_COW}/${entry}" ] || [ -L "${SNAP_COW}/${entry}" ] - then - return 0 - fi - fi - return 1 -} - -Do_filelist () -{ - # BUGS: does not handle deleted files yet - TMP_FILELIST=$1 - - if [ -f "${SNAP_LIST}" ] - then - # if SNAP_COW == /live/cow/home, SNAP_RW = /home - SNAP_RW=$(echo "${SNAP_COW}" | sed -e "s|${DEF_SNAP_COW}||g") - if [ -z "${SNAP_RW}" ] - then - SNAP_RW="/" - fi - - cd "${SNAP_RW}" - # Generate include list removing empty and commented lines - # and transforming paths to relatives - for entry in $(sed -e '/^ *$/d' -e '/^#.*$/d' -e 's#^.*$#./&#' -e 's#/\+#/#g' "${SNAP_LIST}") - do - if [ -d "${entry}" ] - then - find "${entry}" | while read line - do - if Entry_is_modified "${line}" - then - printf "%s\000" "${line}" >> "${TMP_FILELIST}" - fi - done - elif Entry_is_modified "${entry}" - then - # if file exists and it is modified - printf "%s\000" "${entry}" >> "${TMP_FILELIST}" - fi - done - cd "${OLDPWD}" - - # echo Working dir - echo "${SNAP_RW}" - else - cd "${SNAP_COW}" - # removing whiteouts from list - find . -path '*.wh.*' -prune -o -print0 >> "${TMP_FILELIST}" - cd "${OLDPWD}" - # echo Working dir - echo "${SNAP_COW}" - fi -} - -Do_snapshot () -{ - TMP_FILELIST=$(mktemp -p "${SAFE_TMPDIR}" "${TMP_FILELIST}.XXXXXX") - - case "${SNAP_TYPE}" in - squashfs) - echo ".${TMP_FILELIST}" > "${TMP_FILELIST}" - # Removing whiteheads of unionfs - cd "${SNAP_COW}" - find . -name '*.wh.*' >> "${TMP_FILELIST}" - - if [ -e "${EXCLUDE_LIST}" ] - then - # Add explicitly excluded files - grep -v '^#.*$' "${EXCLUDE_LIST}" | grep -v '^ *$' >> "${TMP_FILELIST}" - fi - - cd "${OLDPWD}" - mksquashfs "${SNAP_COW}" "${DEST}" -ef "${TMP_FILELIST}" - ;; - - cpio|whole_partition) - if [ "${SNAP_TYPE}" = "cpio" ] - then - COPY_CMD="cpio --quiet -o0 -H newc | gzip -9c > ${DEST}" - else - COPY_CMD="cpio --quiet -pumd0 ${DEST}/" - fi - - WORKING_DIR=$(Do_filelist "${TMP_FILELIST}") - cd "${WORKING_DIR}" - if [ -e "${EXCLUDE_LIST}" ] - then - # Convert \0 to \n and tag existing (rare but possible) \n in filenames, - # this to let grep -F -v do a proper work in filtering out - cat "${TMP_FILELIST}" | \ - tr '\n' '\1' | \ - tr '\0' '\n' | \ - grep -F -v -f "${EXCLUDE_LIST}" | \ - tr '\n' '\0' | \ - tr '\1' '\n' | \ - eval $COPY_CMD || exit 1 - else - cat "${TMP_FILELIST}" | \ - eval $COPY_CMD || exit 1 - fi - cd "${OLDPWD}" - ;; - - # ext2|ext3|ext4 and jffs2 does not easily support an exclude list; files - # should be copied to another directory in order to filter content - ext2|ext3|ext4) - DU_DIM="$(du -ks ${SNAP_COW} | cut -f1)" - REAL_DIM="$(expr ${DU_DIM} + ${DU_DIM} / 20)" # Just 5% more to be sure, need something more sophistcated here... - genext2fs --size-in-blocks=${REAL_DIM} --reserved-percentage=0 --root="${SNAP_COW}" "${DEST}" - ;; - - jffs2) - mkfs.jffs2 --root="${SNAP_COW}" --output="${DEST}" - ;; - esac - - if [ -f "${TMP_FILELIST}" ] - then - rm -f "${TMP_FILELIST}" - fi -} - -Clean () -{ - if [ -z "${SNAP_RESYNC_STRING}" ] && echo "${DEST}" | grep -q "${MOUNTP}" - then - echo "${DEST} is present on ${MOUNTP}, therefore no automatic unmounting the latter." > /dev/null 1>&2 - else - umount "${MOUNTP}" - rmdir "${MOUNTP}" - fi -} - -Warn_user () -{ - if [ -z "${SNAP_RESYNC_STRING}" ] - then - case ${SNAP_TYPE} in - cpio|ext2|ext3|ext4) - echo "Please move ${DEST} (if is not already in it)" > /dev/null 1>&2 - echo "in a supported writable partition (e.g ext3, vfat)." > /dev/null 1>&2 - ;; - - squashfs) - echo "To use ${DEST} you need to rebuild your media or add it" > /dev/null 1>&2 - echo "to your multisession disc under the \"/live\" directory." > /dev/null 1>&2 - ;; - - jffs2) - echo "Please cat or flashcp ${DEST} to your partition in order to start using it." > /dev/null 1>&2 - ;; - esac - - if grep -qv persistent /proc/cmdline - then - echo "Remember to boot this live system with \"persistent\" specified at boot prompt." > /dev/null 1>&2 - fi - fi -} - -Main () -{ - Parse_args "${@}" - Defaults - Validate_input - trap 'Clean' EXIT - Mount_device - Do_snapshot - Warn_user -} - -Main "${@:-}" diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-swapfile b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-swapfile deleted file mode 100755 index 2c6103694b..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/bin/live-swapfile +++ /dev/null @@ -1,100 +0,0 @@ -#!/bin/sh - -# File: live-swapfile - create and use a swap file -# Copyright: (C) 2009 Daniel Baumann <daniel@debian.org> -# License: GPL-3+ - -set -e - -# Options -_SWAP_DIRECTORY="${_SWAP_DIRECTORY:-/live/swap}" -_SWAP_FILE="${_SWAP_FILE:-swapfile.img}" - -_SWAP_SIZE="${_SWAP_SIZE:-auto}" -_SWAP_FACTOR="${_SWAP_FACTOR:-2}" - -_SWAP_PURGE="${_SWAP_PURGE:-true}" -_FORCE="${_FORCE:-true}" - -case "${1}" in - add) - # Reading size of physical memory - _MEM_TOTAL_KB="$(awk '/^MemTotal: / { print $2 }' /proc/meminfo)" - _MEM_TOTAL_MB="$(expr ${_MEM_TOTAL_KB} / 1024)" - - echo "Found ${_MEM_TOTAL_MB} MB physical memory." - - # Setting size of new swapfile - if [ -z "${_SWAP_SIZE}" ] || [ "${_SWAP_SIZE}" = "auto" ] - then - _SWAP_SIZE_KB="$(expr ${_MEM_TOTAL_KB} '*' ${_SWAP_FACTOR})" - _SWAP_SIZE_MB="$(expr ${_SWAP_SIZE_KB} / 1024)" - else - _SWAP_SIZE_MB="${_SWAP_SIZE}" - fi - - echo "Requesting ${_SWAP_SIZE_MB} MB swapfile." - - # Reading size of old swapfile - if [ -e "${_SWAP_DIRECTORY}/${_SWAP_FILE}" ] - then - _SWAP_FILESIZE="$(ls -hl ${_SWAP_DIRECTORY}/${_SWAP_FILE} | awk '{ print $5 }')" - - echo "Found ${_SWAP_FILESIZE} MB swapfile." - fi - - # Creating new swap file - if [ "${_SWAP_FILESIZE}" != "${_SWAP_SIZE_MB}M" ] - then - if [ "${_FORCE}" = "true" ] - then - # Removing old swapfile - rm -f "${_SWAP_DIRECTORY}/${_SWAP_FILE}" - - echo "Creating ${_SWAP_SIZE_MB} MB swapfile." - - mkdir -p "${_SWAP_DIRECTORY}" - - # Unfortunately, swapon does not support files - # with holes, therefore we cannot preallocate. - dd if=/dev/zero of="${_SWAP_DIRECTORY}/${_SWAP_FILE}" bs=1024k count="${_SWAP_SIZE_MB}" - else - echo "Exit." - return 1 - fi - fi - - echo "Enabling ${_SWAP_DIRECTORY}/${_SWAP_FILE}." - - mkswap "${_SWAP_DIRECTORY}/${_SWAP_FILE}" - swapon "${_SWAP_DIRECTORY}/${_SWAP_FILE}" - ;; - - rm|remove) - if grep -qs "${_SWAP_DIRECTORY}/${_SWAP_FILE}" /proc/swaps - then - echo "Disabling ${_SWAP_DIRECTORY}/${_SWAP_FILE}." - - swapoff "${_SWAP_DIRECTORY}/${_SWAP_FILE}" - fi - - if [ "${_SWAP_PURGE}" = "true" ] - then - echo "Removing ${_SWAP_DIRECTORY}/${_SWAP_FILE}." - - rm -f "${_SWAP_DIRECTORY}/${_SWAP_FILE}" - - __DIRECTORY="${_SWAP_DIRECTORY}" - while [ "${__DIRECTORY}" != "/" ] - do - rmdir --ignore-fail-on-non-empty "${__DIRECTORY}" - __DIRECTORY="$(dirname ${__DIRECTORY})" - done - fi - ;; - - *) - echo "Usage: ${0} {add|remove}" - exit 1 - ;; -esac diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/build-stamp b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/build-stamp deleted file mode 100644 index e69de29bb2..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/build-stamp +++ /dev/null diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/conf/compcache b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/conf/compcache deleted file mode 100644 index c93c77626c..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/conf/compcache +++ /dev/null @@ -1 +0,0 @@ -COMPCACHE_SIZE="25%" diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/conf/live-persistence.binds b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/conf/live-persistence.binds deleted file mode 100644 index b2c3833a85..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/conf/live-persistence.binds +++ /dev/null @@ -1,15 +0,0 @@ -# /etc/live-persistence.binds example -# -# If this file is present in the proper path, each uncommented not empty line -# will be treated as a directory which should not be made persistent and -# which it's content should be volatile. -# -# This is achieved by bind mounting on it a tmpfs clone of the directory specified - -# Exclude some standard temporary paths -/tmp -/var/log -/var/cache - -# Firefox profiles are not always useful to remember -/root/.mozilla diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/conf/live-snapshot.exclude_list b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/conf/live-snapshot.exclude_list deleted file mode 100644 index 82972e36fd..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/conf/live-snapshot.exclude_list +++ /dev/null @@ -1,17 +0,0 @@ -# /etc/live-snapshot.exclude_list example -# -# If this file is present in the proper path, each uncommented not empty line -# will be excluded in the target snapshot when live-snapshot is run. -# -# The syntax for the line is just a full file or directory pathname. - -# Each line is treated like a plain match string for "grep -F -v", -# so be careful: e.g. "/tmp" will exclude also "/var/tmp" ! - -# Exclude some standard temporary paths -/tmp -/var/log -/var/cache - -# Firefox profiles are not always useful to remember -/root/.mozilla diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/conf/live-snapshot.list b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/conf/live-snapshot.list deleted file mode 100644 index db057335a0..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/conf/live-snapshot.list +++ /dev/null @@ -1,20 +0,0 @@ -# /etc/live-snapshot resync list example -# -# If this file is present, each uncommented not empty line will be parsed when -# running live-snapshot and included in target snapshot. -# -# The syntax for the line is just a full file or directory pathname. -# Those files and directories, and only those will be included on automatic persistence handling. -# -# Note that in home-sn snapshot all those paths are treated as relative to /home - -# Include itself for reuse -/etc/live-snapshot.list - -# Include networking setups -/etc/network/interfaces -/etc/resolv.conf -/etc/hosts - -# Include the whole Desktop directory of the default user -/home/user/Desktop diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/conf/live.conf b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/conf/live.conf deleted file mode 100644 index 0de5b6c9bf..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/conf/live.conf +++ /dev/null @@ -1,7 +0,0 @@ -# /etc/live.conf - configuration file for live-initramfs(7) - -USERNAME="user" -USERFULLNAME="Debian Live user" -HOSTNAME="debian" - -export USERNAME USERFULLNAME HOSTNAME diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/contrib/languagelist b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/contrib/languagelist deleted file mode 100644 index 2d2a4f16d4..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/contrib/languagelist +++ /dev/null @@ -1,93 +0,0 @@ -# -# This is the complete list of languages (locales) to choose from. -# langcode;language (en);language (orig);supported_environments;countrycode;fallbacklocale;langlist;console-data -sq;Albanian;Shqip;2;AL;sq_AL.UTF-8;;kbd=lat0-sun16(utf8) -am;Amharic;አማርኛ;4;ET;am_ET;; -ar;Arabic;عربي;3;EG;ar_EG.UTF-8;;console-setup -eu;Basque;Euskaraz;1;ES;eu_ES.UTF-8;;kbd=lat0-sun16(utf8) -be;Belarusian;Беларуская;2;BY;be_BY.UTF-8;;console-setup -bn;Bengali;বাংলা;4;BD;bn_BD;; -bs;Bosnian;Bosanski;2;BA;bs_BA.UTF-8;;kbd=Lat2-Terminus16(utf8) -bg;Bulgarian;Български;2;BG;bg_BG.UTF-8;;console-setup -# For C locale, set language to 'en' to make sure questions are "translated" -# to English instead of showing codes. -C;C;No localization;0;;C;en; -ca;Catalan;Català;1;ES;ca_ES.UTF-8;;kbd=lat0-sun16(utf8) -# Special case for Chinese as the two flavours share the same ISO 639 code -# Both will trigger countrychooser. Each will be the backup for the other -# one -zh_CN;Chinese (Simplified);中文(简体);3;CN;zh_CN.UTF-8;zh_CN:zh; -zh_TW;Chinese (Traditional);中文(繁體);3;TW;zh_TW.UTF-8;zh_TW:zh; -hr;Croatian;Hrvatski;2;HR;hr_HR.UTF-8;;kbd=lat2-sun16(utf8) -cs;Czech;Čeština;2;CZ;cs_CZ.UTF-8;;kbd=lat2-sun16(utf8) -da;Danish;Dansk;1;DK;da_DK.UTF-8;;kbd=lat0-sun16(utf8) -nl;Dutch;Nederlands;1;NL;nl_NL.UTF-8;;kbd=lat0-sun16(utf8) -dz;Dzongkha;རྫོང་ཁ།;4;BT;dz_BT;; -en;English;English;0;US;en_US.UTF-8;;kbd=lat0-sun16(utf8) -# The Esperanto locale *is* (or will be as of 1/11/2006) eo.UTF-8 -# so no country on purpose. The default country is Antarctica because... -# ...why not..:-) -eo;Esperanto;Esperanto;2;AQ;eo.UTF-8;;console-setup -et;Estonian;Eesti;2;EE;et_EE.UTF-8;;kbd=lat0-sun16(utf8) -fi;Finnish;Suomi;1;FI;fi_FI.UTF-8;;kbd=lat0-sun16(utf8) -fr;French;Français;1;FR;fr_FR.UTF-8;;console-setup -gl;Galician;Galego;1;ES;gl_ES.UTF-8;;kbd=lat0-sun16(utf8) -ka;Georgian;ქართული;4;GE;ka_GE.UTF-8;;console-setup -de;German;Deutsch;1;DE;de_DE.UTF-8;;kbd=lat0-sun16(utf8) -el;Greek;Ελληνικά;2;GR;el_GR.UTF-8;;console-setup -gu;Gujarati;ગુજરાતી;4;IN;gu_IN;; -he;Hebrew;עברית;3;IL;he_IL.UTF-8;;console-setup -hi;Hindi;हिन्दी ;4;IN;hi_IN;; -hu;Hungarian;Magyar;2;HU;hu_HU.UTF-8;;kbd=lat2-sun16(utf8) -#X is;Icelandic;Íslenska;1;IS;is_IS.UTF-8;;kbd=lat9u-16(utf8) -id;Indonesian;Bahasa Indonesia;1;ID;id_ID.UTF-8;;kbd=lat0-sun16(utf8) -#X ga;Irish;Gaeilge;1;IE;ga_IE.UTF-8;;kbd=lat0-sun16(utf8) -it;Italian;Italiano;1;IT;it_IT.UTF-8;;kbd=lat0-sun16(utf8) -ja;Japanese;日本語;3;JP;ja_JP.UTF-8;; -#X kn;Kannada;ಕನ್ನಡ;4;IN;kn_IN;; -#X ks;Kashmiri;कोशुर;4;IN;ks_IN;; -#X kk;Kazakh;Қазақ;2;KZ;kk_KZ.UTF-8;;console-setup -km;Khmer;ខ្មែរ;4;KH;km_KH;; -ko;Korean;한국어;3;KR;ko_KR.UTF-8;; -ku;Kurdish;Kurdî;2;TR;ku_TR.UTF-8;;kbd=Lat15-Terminus16(utf8) -#X lo;Lao;ລາວ;4;LA;lo_LA;;console-setup -lv;Latvian;Latviski;2;LV;lv_LV.UTF-8;;kbd=lat7-14(utf8) -lt;Lithuanian;Lietuviškai;2;LT;lt_LT.UTF-8;;kbd=LatArCyrHeb-16(utf8) -#X mg;Malagasy;Malagasy;1;MG;mg_MG.UTF-8;mg_MG:fr_FR:fr:en;kbd=lat0-sun16(utf8) -#X ms;Malay;Bahasa Malaysia;1;MY;ms_MY.UTF-8;;kbd=lat0-sun16(utf8) -ml;Malayalam;മലയാളഠ;4;IN;ml_IN;; -mr;Marathi;मराठी;4;IN;mr_IN;; -mk;Macedonian;Македонски;2;MK;mk_MK.UTF-8;;console-setup -ne;Nepali;नेपाली ;4;NP;ne_NP;; -# The Sami translation is really incomplete. We however keep Sami on request -# of Skolelinux as a kind of reward to them..:-). They need to be able to -# choose Sami as an option so that the Sami locale is set as default -se_NO;Northern Sami;Sámegillii;1;NO;se_NO.UTF-8;se_NO:nb_NO:nb:no_NO:no:nn_NO:nn:da:sv:en;kbd=lat0-sun(utf8) -nb_NO;Norwegian Bokmaal;Norsk bokmål;1;NO;nb_NO.UTF-8;nb_NO:nb:no_NO:no:nn_NO:nn:da:sv:en;kbd=lat0-sun16(utf8) -nn_NO;Norwegian Nynorsk;Norsk nynorsk;1;NO;nn_NO.UTF-8;nn_NO:nn:no_NO:no:nb_NO:nb:da:sv:en;kbd=lat0-sun16(utf8) -#X fa;Persian;فارسی;3;IR;fa_IR;;console-setup -pl;Polish;Polski;2;PL;pl_PL.UTF-8;;kbd=lat2-sun16(utf8) -pt;Portuguese;Português;1;PT;pt_PT.UTF-8;pt:pt_BR:en;kbd=lat0-sun16(utf8) -pt_BR;Portuguese (Brazil);Português do Brasil;1;BR;pt_BR.UTF-8;pt_BR:pt:en;kbd=lat1-16(utf8) -pa;Punjabi (Gurmukhi);ਪੰਜਾਬੀ;4;IN;pa_IN;; -ro;Romanian;Română;2;RO;ro_RO.UTF-8;;kbd=Lat2-Terminus16(utf8) -ru;Russian;Русский;2;RU;ru_RU.UTF-8;;console-setup -#X sa;Sanskrit;संस्कृत;4;IN;sa_IN;; -# Serbian commented for consistency: too incomplete -#X sr;Serbian;Српски;2;CS;sr_YU.UTF-8@cyrillic;;console-setup -sk;Slovak;Slovenčina;2;SK;sk_SK.UTF-8;;kbd=lat2-sun16(utf8) -sl;Slovenian;Slovenščina;2;SI;sl_SI.UTF-8;;kbd=lat2-sun16(utf8) -es;Spanish;Español;1;ES;es_ES.UTF-8;;kbd=lat0-sun16(utf8) -sv;Swedish;Svenska;1;SE;sv_SE.UTF-8;;kbd=lat0-sun16(utf8) -tl;Tagalog;Tagalog;1;PH;tl_PH.UTF-8;;kbd=lat0-sun16(utf8) -ta;Tamil;தமிழ்;4;IN;ta_IN;; -#X te;Telugu;తెలుగు;4;IN;te_IN;; -th;Thai;ภาษาไทย;4;TH;th_TH.UTF-8;;console-setup -tr;Turkish;Türkçe;2;TR;tr_TR.UTF-8;;kbd=Lat15-Terminus16(utf8) -uk;Ukrainian;Українська;2;UA;uk_UA.UTF-8;;console-setup -#X ur;Urdu;اردو;3;PK;ur_PK.UTF-8;;console-setup -#X ca@valencia;Valencian-Catalan;Valencià-Català;1;ES;ca_ES.UTF-8@valencia;;kbd=lat0-sun16(utf8) -vi;Vietnamese;Tiếng Việt;3;VN;vi_VN.UTF-8;;console-setup -#X cy;Welsh;Cymraeg;2;GB;cy_GB.UTF-8;;kbd=iso14.f16(utf8) -wo;Wolof;Wolof;2;SN;wo_SN;wo:fr:en; -#X xh;Xhosa;Xhosa;2;ZA;xh_ZA.UTF-8;;kbd=lat0-sun16(utf8) diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/bug/live-initramfs.script b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/bug/live-initramfs.script deleted file mode 100644 index d56b03530d..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/bug/live-initramfs.script +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -# Checking depends -dpkg -l busybox file initramfs-tools sudo udev user-setup - -# Checking recommends -dpkg -l eject uuid-runtime wget - -# Checking suggests -dpkg -l loop-aes-utils curlftpfs genext2fs httpfs2 squashfs-tools mtd-tools - -# Checking other packages -dpkg -l cryptsetup splashy usplash diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/changelog b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/changelog deleted file mode 100644 index ced1576c2d..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/changelog +++ /dev/null @@ -1,807 +0,0 @@ -live-initramfs (1.180.1-1) unstable; urgency=medium - - * Bump version to have priority over official repositories - - -- Luigi Capriotti <l.capriotti@xbmc.org> Thu, 25 Dec 2009 10:00:00 +0100 - -live-initramfs (1.157.3-1) unstable; urgency=medium - - * ad-hoc fixes for Ubuntu Jaunty, Karmic - - -- Luigi Capriotti <l.capriotti@xbmc.org> Thu, 23 June 2009 10:00:00 +0200 - -live-initramfs (1.157.2-1) unstable; urgency=medium - - * Correcting fstab handling to not always append entries forever when using - persistency. - * Correcting kdm live-autologin handling to not always append entries forever - when using persistency. - * Correcting handling of locale default and environment handling to not always - append entries forever when using persistency. - * Correcting swap partition handling in fstab to not always append entries - forever when using persistency. - * Applying patch from Michael Prokop <mika@grml.org> to support udev >= 0.140. - * Merging swap live-bottom script into fstab script; there is no other sane - possibility to prevent appending again and again in persistent mode. - * Making sure that old swap entries are removed before new ones are added. - * Adding cryptsetup to recommends, it's used for encrypted persistent - partitions. - * Restoring previous behaviour of ejecting the cd when being in non-persistent - mode, thanks to Julien Cristau <jcristau@debian.org>. - * Updating eject prevention for USB devices in initscripts for linux 2.6.29 - and newer. - - -- Daniel Baumann <daniel@debian.org> Thu, 14 May 2009 10:00:00 +0200 - -live-initramfs (1.157.1-1) unstable; urgency=medium - - [ Daniel Baumann ] - * Only snapshotting in initscript when we actually run with persistence. - - [ Rene Mayrhofer ] - * Checking if /var/log is writable before trying to copy live.log to the newly - mounted root filesystem (Closes: #516914). - - [ Daniel Baumann ] - * Improving check in 21xdriver when we don't do anything. - * Adding hack to remove live specific filesystems from umounfs initscript - (Closes: #506410, #515718). - * Adding comsetic line wrapping for output of local-gen messages during boot. - * Merging casper 1.157. - * Only calling install-keymap if it's actually installed, which is always but - in minimal images the case though (Closes: #517153). - * Adding silent boot parameter. - * Respecting media timeout even when specificing media device manually. - * Also allowing to use the removable keyword for specifying a live media. - * Correcting accidental syntax error in one of the previous commits in - 19keyboard bottom script. - * Adding removable-usb keyword to further restrict live media selection. - * Correcting check for usb when using removable-usb keyword. - * Correcting typo in locale bottom script. - - -- Daniel Baumann <daniel@debian.org> Sat, 21 Mar 2009 14:00:00 +0100 - -live-initramfs (1.156.1-1) unstable; urgency=high - - [ Daniel Baumann ] - * Revert using debhelper 7 command in rules. - * Updating copyright file. - * Prefixing debhelper files with package name. - * Updating bug script. - * Removing bashism in initscript. - * Usage of dialog in initscript is not actually a todo. - * Correcting medium eject message in initscript. - * Making medium removal message working again with usplash. - * Rewrapping init script. - * Reordering rules file. - * Merging casper 1.155. - * Adding ext4 support. - * Merging casper 1.156. - * Correct eject login in initscript. - * Updating parameters.txt. - - [ Ronny Standtke ] - * Do not eject USB flash drives (Closes: #457070). - - -- Daniel Baumann <daniel@debian.org> Sun, 8 Feb 2009 15:00:00 +0100 - -live-initramfs (1.154.8-1) unstable; urgency=high - - [ Kai Hendry ] - * Adding basic xrandr support for lenny to enforce a particular - resolution through bootparameter. - - -- Daniel Baumann <daniel@debian.org> Fri, 30 Jan 2009 00:00:00 +0100 - -live-initramfs (1.154.7-1) unstable; urgency=medium - - * Adding note about URL limitations in live-initramfs manpage when - using fetch parameter. - * Removing wc from hook again, that's an ubuntu only problem they have - to care about. - - -- Daniel Baumann <daniel@debian.org> Tue, 27 Jan 2009 18:00:00 +0100 - -live-initramfs (1.154.6-1) unstable; urgency=medium - - * Replacing casper with live in live-new-uuid. - * Including wc in initramfs (Closes: #512413). - * Added missing variable quoting that lead to broken root persistence, thanks - to Thierry Walrant <debian.tgc@walrant.net> (Closes: #512656). - * Adding patch from Thierry Walrant <debian.tgc@walrant.net> to allow setting - a path for the persistence files through persistent-path boot parameter - (Closes: #512661). - * Adding persistent-path to parameter list and manpage. - * Actually building/cleaning manpages through targets in Makefile. - - -- Daniel Baumann <daniel@debian.org> Mon, 26 Jan 2009 02:00:00 +0100 - -live-initramfs (1.154.5-1) unstable; urgency=low - - * Also checking for wicd in 23networking, thanks to Ben Armstrong - <synrg@debian.org>. - * Don't redirect output of fstype detection to standard out, thanks to Ronny - Standtke <Ronny.Standtke@gmx.net>. - * Silencing grep call on /etc/passwd. - * Silencing xorg reconfiguration, thanks to Ronny Standtke - <Ronny.Standtke@gmx.net>. - - -- Daniel Baumann <daniel@debian.org> Mon, 12 Jan 2009 13:00:00 -0500 - -live-initramfs (1.154.4-1) unstable; urgency=low - - [ Rene Mayrhofer ] - * Support further checks on loopback image and support skipping union - mounts (Closes: #509446). - - -- Daniel Baumann <daniel@debian.org> Fri, 26 Dec 2008 09:00:00 +0100 - -live-initramfs (1.154.3-1) unstable; urgency=medium - - * Sourcing live.vars in 21xdriver and 21xvidemode in order to be able - to set variables in previous bottom scripts. - - -- Daniel Baumann <daniel@debian.org> Sat, 20 Dec 2008 15:00:00 +0100 - -live-initramfs (1.154.2-1) unstable; urgency=medium - - [ Daniel Baumann ] - * Updating authors file. - - [ Marco Amadori ] - * Reworked integrity-check (Closes: #507477). - * Cleaned the boot log a bit. - - -- Daniel Baumann <daniel@debian.org> Thu, 11 Dec 2008 06:00:00 +0100 - -live-initramfs (1.154.1-1) unstable; urgency=low - - * Merging casper 1.140-1.154. - * Add a warning message when no image can be found. - * Adding a panic message when we netboot and have no supported network - device (Closes: #496684). - * Turning 'no supported filesystem images found' into a panic message, - rather than a warning. - * Also adding ralink to network device check. - * Removing spurious 'livefs_root' in copy_live_to();. - - -- Daniel Baumann <daniel@debian.org> Tue, 25 Nov 2008 12:00:00 +0100 - -live-initramfs (1.139.1-4) unstable; urgency=medium - - [ Chris Lamb ] - * Remove (accidental?) debian/changelog entry. - * Use "grep -qs" over "grep -q" for compatibility (see grep(1)) - * Use "test -s" instead of testing file availability and size. - * Be consistent in using 0/1 for True/False values instead of English - representations. - * Reflow some grammar in comments and in live-initramfs(7). - * Reflow long 'tr'-based pipelines for readability. - * Don't "cat |" to grep. - - [ Daniel Baumann ] - * Replacing obsolete dh_clean -k with dh_prep. - - [ Marco Amadori ] - * Changed HOSTNAME and /etc/hosts handling. - * Conditional creation of /etc/fstab. - * live-snapshot: fixed include-list handling. - * Reordered persistence lookups and boundaries (Closes: #500672). - * Search for partition labels only (Closes: #486469). - * Implemented a snapshot exclude list. - * Implemented a persistence exclude list. - * Manpage clarifications on "nofiles". - * Do not pollute the logs when looking for swap partitions. - * Removed all "cat | grep", with grep, awk and sed. - - -- Daniel Baumann <daniel@debian.org> Tue, 11 Nov 2008 13:00:00 +0100 - -live-initramfs (1.139.1-3) unstable; urgency=medium - - [ Chris Lamb ] - * Remove local overiddes of log_*_msg - #494257 is now fixed in testing. - - [ Daniel Baumann ] - * Removing currently unused Upstream-Depends field in control. - * Updating vcs fields in control file. - * Sourcing live.vars in 15autologin directly, rather than to inherit - from live-functions. - - [ Marco Amadori ] - * Removed some useless spaces. - * Fix default user handling. - * Added a pretty vital mount debug string. - * Create /etc/mtab on the initramfs ASAP. - * Removed mount -n option, since mtab is there. - * Re-enable "break=live-premount" debug. - * Skipped some runtime duplicated execution. - * Add real cpio to initramfs for snapshot's uses. - * Fixed try_snap() umounting on error. - * Override maybe_break from initramfs-tools. - * Forces use of initramfs cpio over busybox's one. - * Fixed a wrong trial to copy an unexistant snapshot. - * Check for files and umount only if you can mount it first. - * Included more debug and comments on persistence code. - * Set -u in live-snapshot only in debug mode. - - [ Michael Prokop ] - * Ignore errors from fstype. - - -- Daniel Baumann <daniel@debian.org> Fri, 19 Sep 2008 14:00:00 +0200 - -live-initramfs (1.139.1-2) unstable; urgency=medium - - [ Daniel Baumann ] - * If the filesystem type of the rootfs cannot be automatically detected, we - try to assume it from the extension of the imagefile we have found. Thanks - to Jordi Pujol <jordi_pujol@telefonica.net> (Closes: #460456). - * Setting project email address to the new debian-live@lists.debian.org. - * Disabling default usage of local swap partitions. Can be enabled with the - 'swapon' boot parameter. Thanks to Joseph Rawson <umeboshi3@gmail.com> for - bringing it up. - - [ Michal Suchanek ] - * Enabling the "remove CD" prompt in splashy. - - -- Daniel Baumann <daniel@debian.org> Mon, 1 Sep 2008 00:00:00 +0200 - -live-initramfs (1.139.1-1) unstable; urgency=medium - - [ Ben Voui ] - * Adding support for Virtio vd[a-z] drives. - - [ Chris Lamb ] - * Move loop-aes-tools to Suggests; live-helper should install them if - required. - * Remove unnecessary indentation level. - * Modify hiding of harmless X.org reconfiguring messages. - * Revert to using uid 1000 as PAM bug seems to have disappeared - (Closes: #433076) - * Hide error from attempting to "mount --move" - * Rework ugly `echo "debug:..` message to use log_{begin,end}_msg. - * Don't configure X.org if it's not installed. - * Fix check for X.org. - * Add an /etc/fstab to the initramfs to silence harmless "empty fstab" - warnings. - * Silence another "script-not-executable" message for a sourced library. - * Add missing pipe. Thanks to Andreas Bombe. - * Shamefully adding myself to CREDITS - * Tidy "Disabling update-initramfs" message. - * Re-order some commands so we don't call log_begin_msg without calling - log_end_msg. - * Don't configure X when /usr/bin/X does not exist. - * Silence 'script-not-executable' lintian warning - live-functions script is - always sourced. - * Fix spacing in swirl. - * Override log_*_msg to print nicer status text (until #494257 is merged). - * Hide "overwriting possibly-customised configuration file" in X.org setup - output. - * Hide "Shadow passwords are now on" status message on bootup. - * Remove a number of "${quiet}" checks - they are repeated in the log_*_msg - functions. - * Rework locale handling - * Print friendly error message on live-initramfs panic. - * Fix path issue with live-preseed causing noisy errors when booting. - * Silence a number of annoying and distracting bootup messages. - * Add missing "log_end_msg" to live-bottom/21xdriver. - * Set different log messages for live-bottom/21{xdriver,xvidemode}. - * Remove trailing "..." from calls to log_begin_msg - they get added anyway. - * Move some arch-indep helper utilities to Build-Depends-Indep. - * Set default cow_mountopt where the other defaults are used. - * Don't use /sbin/losetup to test for '-r' option when the scripts just use - "lostup" - - [ Daniel Baumann ] - * Updating authors file. - * Merging casper 1.139. - * Not going over the top with exclamation marks in the panic message. - * Updating credits file. - * Slightely adjusting to the more widespread used ascii swirl. - * Merging casper 1.138. - * Merging casper 1.137. - - [ Marco Amadori ] - * Added "-n" option to all mount commands, thanks to Peter Holik - <peter@holik.at> for pointing this out. - * Be sure that the discovered filesystem is not null. - * The list of supported filesytems goes dynamic. - * Added ntfs filesystem to the initramfs. - - [ Michael Prokop ] - * Move sourcing of live-functions in 38disable_restricted_manager to correct - place. - - [ Steven Shiau ] - * Adding support for using tftp in fetch= parameter. - * Another fix about using udevsettle or "udevadm settle". - - -- Daniel Baumann <daniel@debian.org> Sun, 24 Aug 2008 00:00:00 +0200 - -live-initramfs (1.136.3-1) unstable; urgency=medium - - [ Michael Prokop ] - * Make sure mounting /cow-tmpfs provides mount options. - - -- Daniel Baumann <daniel@debian.org> Fri, 18 Jul 2008 00:00:00 +0200 - -live-initramfs (1.136.2-1) unstable; urgency=medium - - * Replacing previous imperfect changes for udevadm with check for - udevadm and using old commands when beeing on etch. Also handling - udevtrigger with udevadm if available. - * Correcting httpfs2 inclusion in hook. - - -- Daniel Baumann <daniel@debian.org> Wed, 16 Jul 2008 00:00:00 +0200 - -live-initramfs (1.136.1-1) unstable; urgency=medium - - [ Chris Lamb ] - * Fix call to log_warning_msg. Thanks to Bradley Smith - <brad@brad-smith.co.uk>. - * Expand glob for kernels in post{inst,rm} to include "vmlinux"-prefixed - kernels on powerpc. - * Check losetup capabilities before specifying to mount as read-only. - * Modprobe 'esp' SCSI driver for the benefit of sparc. - * Quieten call to modprobe ide-generic. - * Move local-top/live to live-premount/modules so it gets called before - find_livefs. - * Sync bug script "dpkg -l" calls with debian/control - - [ Daniel Baumann ] - * Defaulting now to aufs if no union= parameter is given. - * Merging casper version 1.136. - * Merging casper version 1.135. - * Merging casper version 1.134. - * Merging casper version 1.133. - * Converting udev depends into a versioned depends in order to reflect udevadm - introduction. - * Updating live-snapshot to GPL-3+. - * Updating to standards 3.8.0. - * Renaming forgotton uuid file to live-uuid. - - [ Marco Amadori ] - * udevtrigger replacement. - * live-snapshot: fixed the remount helper. - * live-snapshot: now supports a static keep file list. - * Try to bind /cow to /live/cow if unable to move. - * live-snapshot: cleaned some wordings. - * live-snapshot: included vital informations on exit. - * live-snapshot: new "--refresh" option. - * live-snapshot: cleaned and sorted used command line defaults. - * live-snapshot: nicer default auto unmount logic. - * live-snapshot: honour "-o|--output FILE". - * live-snapshot: removed a useless mkdir. - * live-snapshot: removed an unused and useless function. - * live-snapshot: fixes snapshotting from resync string. - - [ Michal Suchanek ] - * Add support for httpfs= and ftpfs= parameters. - - -- Daniel Baumann <daniel@debian.org> Mon, 14 Jul 2008 00:00:00 +0200 - -live-initramfs (1.132.1-1) unstable; urgency=medium - - [ Chris Lamb ] - * Don't escape asterisks in languagelist update code - - [ Daniel Baumann ] - * Updating copyright header in live-snapshot. - * Removing useless whitespaces and empty lines. - * Correcting grammatical errors in live-snapshot description. - * Removing live-snapshot version as this component is always released - within live-initramfs itself. - * Adding Michal Suchanek <hramrach@centrum.cz> to credits file. - * Merging casper 1.132. - * Merging casper 1.131. - * Ignoring floppy devices for live filesystem as well as live - persistency. - * Adding patch from Michal Suchanek <hramrach@centrum.cz> to tail - live.log and show its messages during boot (Closes: #440238). - * Updating vcs fields in control file. - * Handling conflicting klibc includes with initramfs-hooks of other - packages (Closes: 475783). - - [ Marco Amadori ] - * Fixes "live-snapshot on reboot could not find a writable '/tmp' or - '/mnt'" bug. - * Calling live-snapshot now produces an output file. - - [ Michal Suchanek ] - * Workaround loop-aes-utils losetup incompatibility - * Fix toram (change mount --move to mount -o move) - - -- Daniel Baumann <daniel@debian.org> Mon, 02 Jun 2008 00:00:00 +0200 - -live-initramfs (1.130.1-3) unstable; urgency=high - - * Handle non-existing klibc includes in live hook (Closes: #475783). - * Adding loop-aes-utils to recommends. - - -- Daniel Baumann <daniel@debian.org> Sat, 26 Apr 2008 16:00:00 +0200 - -live-initramfs (1.130.1-2) unstable; urgency=medium - - [ Chris Lamb ] - * Remove bogus dependency on Ubuntu "localechooser-data" package - - -- Daniel Baumann <daniel@debian.org> Thu, 17 Apr 2008 06:00:00 +0200 - -live-initramfs (1.130.1-1) unstable; urgency=medium - - [ Chris Lamb ] - * Use triggers when calling update-initramfs in postinst and postrm - - [ Daniel Baumann ] - * Sorting some lines in live hook. - * Merging casper 1.130. - * Merging casper 1.129. - * Adjusting code formating in maintainer scripts. - * Restricting counting of installed kernels based on /boot/vmlinuz-* - instead of /boot/vmlinuz*. - - -- Daniel Baumann <daniel@debian.org> Mon, 14 Apr 2008 00:00:00 +0200 - -live-initramfs (1.128.1-1) unstable; urgency=medium - - [ Marco Amadori ] - * Fixed a misleading debug message. - * Added /cow mounting debug messages. - * Fixed /cow mounting. - * Klibc: added some libraries to the intramfs. - - [ Daniel Baumann ] - * Merging casper 1.128. - - -- Daniel Baumann <daniel@debian.org> Mon, 7 Apr 2008 00:00:00 +0200 - -live-initramfs (1.127.1-1) unstable; urgency=medium - - [ Daniel Baumann ] - * Merging casper 1.127. - * Merging casper 1.126. - * Removing too early recommends to live-initscripts in control to make - some people happy (Closes: #431000). - - [ Chris Lamb ] - * hooks/live, scripts/live: Add USB modules, workaround udevtrigger - (?) bug - * scripts/live-helpers: Don't search ram block devices - * scripts/live-helpers: Search / use case - * scripts/live-helpers: Fixes for set -e - * bin/live-snapshot: Vastly rework script - * bin/live-snapshot: Fix argument handling (Closes: #461595) - * scripts/live: Make 'nopersistent' parameter actually disable - persistence - - -- Daniel Baumann <daniel@debian.org> Mon, 31 Mar 2008 00:00:00 +0200 - -live-initramfs (1.125.1-1) unstable; urgency=medium - - [ Daniel Baumann ] - * Merging casper 1.125. - - [ Chris Lamb ] - * scripts/live-helpers: Cosmetic changes to loop-aes passphrase prompt - * Rename 18hostname -> 06hostname - - -- Daniel Baumann <daniel@debian.org> Mon, 24 Mar 2008 00:00:00 +0100 - -live-initramfs (1.124.1-1) unstable; urgency=medium - - [ Daniel Baumann ] - * Adjusting live-snapshot to live-initramfs. - * Merging casper 1.124. - * Adjusting 44pk_allow to live-initramfs. - * Merging casper 1.123. - * Merging casper 1.122. - * Merging casper 1.121. - * Merging casper 1.120. - - [ Chris Lamb ] - * 99hook: Download hook script from inside target filesystem - - -- Daniel Baumann <daniel@debian.org> Mon, 17 Mar 2008 00:00:00 +0100 - -live-initramfs (1.119.1-1) unstable; urgency=medium - - * Creating resolv.conf when netbooting not just when there's no - resolv.conf, but also when it is empty. - * Making hooks executable after fetching them. - * Removing disabling of kwallet. - * Merging casper 1.119. - - -- Daniel Baumann <daniel@debian.org> Mon, 10 Mar 2008 00:00:00 +0100 - -live-initramfs (1.118.2-1) unstable; urgency=medium - - [ Andrey Asadchev ] - * Explicitly set Xorg video driver. - * Patch to use cryptsetup volumes for persistent storage. - - [ Daniel Baumann ] - * New upstream release. - * Fixing wrong email address in changelog (was bug in git-dch config). - * Bumping package to policy 3.7.3. - * Rewriting copyright in machine-interpretable format. - * Adding hook parameter to execute custom scripts. - * Adding plainroot. - - [ Marco Amadori ] - * Now it includes lzma kernel module dependencies. - - -- Daniel Baumann <daniel@debian.org> Mon, 3 Mar 2008 00:00:00 +0100 - -live-initramfs (1.118.1-1) unstable; urgency=medium - - [ Daniel Baumann ] - * New upstream release. - * Adding direct depends to udev, thanks to Anton Lundin - <glance@acc.umu.se> (Closes: #452448). - * Merging casper 1.111. - * Bumping version to 1.110.1-1. - * Merging casper 1.112. - * Merging casper 1.113. - * Adjusting to live-initramfs. - * Bumping version to 1.113.1-1. - * Merging casper 1.114. - * Merging casper 1.115. - * Merging casper 1.116. - * Merging casper 1.117. - * Merging casper 1.118. - * Bumping version to 1.118.1-1. - - [ Otavio Salvador ] - * debian: add mtd-tools as suggestion since it's required for jffs2 - support - * hooks: include jffs2 kernel module on initramfs image - * live-snapshot: add support to use jffs2 images - * live: add support for jffs2 images and snapshots - * live-helpers: add jffs2 as a valid image - * live-snapshot.en.1: add ext3 and jffs2 images as valid options - - -- Daniel Baumann <daniel@debian.org> Tue, 26 Feb 2008 13:35:00 +0100 - -live-initramfs (1.110.7-1) unstable; urgency=medium - - * New upstream release. - * Fixing fstab handling. - * Fixing regression from mounting the ow device on a nfs volume, - thanks to An-Cheng Huang <ancheng@vyatta.com>. - - -- Daniel Baumann <daniel@debian.org> Mon, 19 Nov 2007 00:00:00 +0100 - -live-initramfs (1.110.6-1) unstable; urgency=medium - - * New upstream release. - * Preparing live-initramfs 1.110.6-1. - * Adding custom reportbug script. - * Fixed a few bashisms, thanks to Trent W. Buck <trentbuck@gmail.com>. - * Adding checkbashsms call to test target of the Makefile as suggested - by Trent W. Buck <trentbuck@gmail.com>. - - -- Daniel Baumann <daniel@debian.org> Mon, 12 Nov 2007 00:00:00 +0100 - -live-initramfs (1.110.5-1) unstable; urgency=medium - - * New upstream release. - * Preparing live-initramfs 1.110.5-1. - * Using kdm initscript autologin overrides, thanks to Kel Modderman - <kel@otaku42.de>. - * Setting the kdm language, thanks to Jordi Pujol - <jordi_pujol@telefonica.net>. - * Adding files to the live filesystem according to the MAC number, - thanks to Jordi Pujol <jordi_pujol@telefonica.net>. - * Fixing some coding style issues. - - -- Daniel Baumann <daniel@debian.org> Mon, 5 Nov 2007 00:00:00 +0100 - -live-initramfs (1.110.4-1) unstable; urgency=medium - - [ Daniel Baumann ] - * New upstream release. - * Preparing live-initramfs 1.110.3-1. - * Correcting homepage field. - * Correcting vcs fields. - - [ Jesse Hathaway ] - * add support for mounting the cow device on an nfs volume - - -- Daniel Baumann <daniel@debian.org> Mon, 29 Oct 2007 00:00:00 +0100 - -live-initramfs (1.110.3-1) unstable; urgency=medium - - [ Daniel Baumann ] - * New upstream release. - * Preparing live-initramfs 1.110.3-1. - * Removing ubuntu support. - - [ Alex Owen ] - * Fix typo to get serial console to work - - [ Jesse Hathaway ] - * add support for exposedroot option for live-helper - - -- Daniel Baumann <daniel@debian.org> Mon, 22 Oct 2007 00:00:00 +0200 - -live-initramfs (1.110.2-1) unstable; urgency=medium - - * New upstream release. - * Preparing live-initramfs 1.110.2-1. - * Fixing typing error. - * Removing nodiratime as it is already included in noatime, thanks to Kel - Modderman <kel@otaku42.de>. - - -- Daniel Baumann <daniel@debian.org> Mon, 15 Oct 2007 00:00:00 +0200 - -live-initramfs (1.110.1-1) unstable; urgency=medium - - * New upstream release. - * Preparing live-initramfs 1.107.2-1. - * Also using nodiratime, not just noatime. - * Merging casper 1.108. - * Adjusting to live-initramfs. - * Merging casper 1.109. - * Adjusting to live-initramfs. - * Merging casper 1.110. - * Adjusting to live-initramfs. - * Bumping version to 1.110.1-1. - - -- Daniel Baumann <daniel@debian.org> Mon, 8 Oct 2007 00:00:00 +0200 - -live-initramfs (1.107.1-1) unstable; urgency=medium - - * New upstream release. - * Preparing live-initramfs 1.102.4-2. - * Replacing backticks with POSIX expression. - * Consistently using curly brackets for variables. - * Fixing bashism. - * Merging casper 1.105. - * Adjusting to live-initramfs. - * Bumping version to 1.105.1-1. - * Applied patch from Jesse W. Hathaway <jesse@mbuki-mvuki.org> to move - cow mount rather than binding it on /live/cow. This prevents the - /cow mount showing up in /proc/mounts. - * Merging casper 1.106. - * Adjusting to live-initramfs. - * Bumping version to 1.106.1-1. - * Fixing wrong homepage field. - * Fixing typing error. - * Merging casper 1.107. - * Bumping version to 1.107.1-1. - - -- Daniel Baumann <daniel@debian.org> Mon, 1 Oct 2007 00:00:00 +0200 - -live-initramfs (1.104.1-1) unstable; urgency=medium - - * New upstream release. - - -- Daniel Baumann <daniel@debian.org> Mon, 24 Sep 2007 00:00:00 +0200 - -live-initramfs (1.102.1-1) unstable; urgency=medium - - * New upstream release. - - -- Daniel Baumann <daniel@debian.org> Mon, 17 Sep 2007 00:00:00 +0200 - -live-initramfs (1.99.2-1) unstable; urgency=medium - - * New upstream release: - - Contains patch from Jim Paris <jim@jtan.com> to fix wrong ipconfig usage - (Closes: #440235). - - -- Daniel Baumann <daniel@debian.org> Mon, 10 Sep 2007 00:00:00 +0200 - -live-initramfs (1.99.1-1) unstable; urgency=medium - - * New upstream release. - - -- Daniel Baumann <daniel@debian.org> Mon, 3 Sep 2007 00:00:00 +0200 - -live-initramfs (1.96.2-1) unstable; urgency=medium - - * New upstream release. - - -- Daniel Baumann <daniel@debian.org> Mon, 27 Aug 2007 00:00:00 +0200 - -live-initramfs (1.96.1-1) unstable; urgency=medium - - * New upstream release. - - -- Daniel Baumann <daniel@debian.org> Mon, 20 Aug 2007 00:00:00 +0200 - -live-initramfs (1.95.3-1) unstable; urgency=medium - - * New upstream release. - - -- Daniel Baumann <daniel@debian.org> Mon, 13 Aug 2007 00:00:00 +0200 - -live-initramfs (1.95.2-1) unstable; urgency=medium - - * New upstream release. - - -- Daniel Baumann <daniel@debian.org> Mon, 6 Aug 2007 00:00:00 +0200 - -live-initramfs (1.95.1-1) unstable; urgency=medium - - * New upstream release. - - -- Daniel Baumann <daniel@debian.org> Mon, 30 Jul 2007 00:00:00 +0200 - -live-initramfs (1.91.6-1) unstable; urgency=medium - - * New upstream release. - - -- Daniel Baumann <daniel@debian.org> Mon, 23 Jul 2007 00:00:00 +0200 - -live-initramfs (1.91.5-1) unstable; urgency=medium - - * New upstream release. - - -- Daniel Baumann <daniel@debian.org> Mon, 16 Jul 2007 00:00:00 +0200 - -live-initramfs (1.91.4-1) unstable; urgency=medium - - * New upstream release: - - Dropping transitional package, not needed anymore. - - -- Daniel Baumann <daniel@debian.org> Mon, 9 Jul 2007 00:00:00 +0200 - -live-initramfs (1.91.3-1) unstable; urgency=medium - - * New upstream release. - - -- Daniel Baumann <daniel@debian.org> Mon, 2 Jul 2007 00:00:00 +0200 - -live-initramfs (1.91.2-1) unstable; urgency=medium - - * New upstream release. - - -- Daniel Baumann <daniel@debian.org> Mon, 25 Jun 2007 00:00:00 +0200 - -live-initramfs (1.91.1-1) unstable; urgency=medium - - * New upstream release. - - -- Daniel Baumann <daniel@debian.org> Mon, 18 Jun 2007 00:00:00 +0200 - -live-initramfs (1.90.1-1) unstable; urgency=medium - - * New upstream release. - - -- Daniel Baumann <daniel@debian.org> Mon, 11 Jun 2007 00:00:00 +0200 - -live-initramfs (1.87.6-1) unstable; urgency=medium - - * New upstream release. - - -- Daniel Baumann <daniel@debian.org> Mon, 4 Jun 2007 00:00:00 +0200 - -live-initramfs (1.87.5-1) unstable; urgency=medium - - * New upstream release, replacing casper. - - -- Daniel Baumann <daniel@debian.org> Mon, 28 May 2007 00:00:00 +0200 - -live-initramfs (1.87.4-1) unstable; urgency=medium - - * New upstream release. - - -- Daniel Baumann <daniel@debian.org> Mon, 21 May 2007 00:00:00 +0200 - -live-initramfs (1.87.3-1) unstable; urgency=medium - - * New upstream release. - - -- Daniel Baumann <daniel@debian.org> Mon, 14 May 2007 00:00:00 +0200 - -live-initramfs (1.87.2-1) unstable; urgency=low - - * New upstream release. - - -- Daniel Baumann <daniel@debian.org> Mon, 7 May 2007 00:00:00 +0200 - -live-initramfs (1.87.1-1) unstable; urgency=low - - * Initial release, forking casper. - - -- Daniel Baumann <daniel@debian.org> Mon, 30 Apr 2007 00:00:00 +0200 diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/compat b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/compat deleted file mode 100644 index 7ed6ff82de..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/compat +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/control b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/control deleted file mode 100644 index 9774b43131..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/control +++ /dev/null @@ -1,31 +0,0 @@ -Source: live-initramfs -Section: misc -Priority: optional -Maintainer: Debian Live <debian-live@lists.debian.org> -Uploaders: Daniel Baumann <daniel@debian.org> -Build-Depends: debhelper (>= 5) -Build-Depends-Indep: asciidoc, docbook-xsl, xsltproc -Standards-Version: 3.8.0 -Homepage: http://debian-live.alioth.debian.org/ -Vcs-Browser: http://git.debian.net/?p=debian-live/live-initramfs.git -Vcs-Git: git://git.debian.net/git/debian-live/live-initramfs.git - -Package: live-initramfs -Architecture: all -Depends: ${misc:Depends}, busybox, file, initramfs-tools, sudo, udev, user-setup -Recommends: cryptsetup, eject, uuid-runtime, wget -Suggests: loop-aes-utils, curlftpfs, genext2fs (>= 1.4.1), httpfs2, squashfs-tools, mtd-tools -Description: Debian Live initramfs hook - live-initramfs is a hook for the initramfs-tools, used to generate a initramfs - capable to boot live systems, such as those created by live-helper. This - includes the Debian Live isos, netboot tarballs, and usb stick images. - . - At boot time it will look for a (read-only) media containing a "/live" - directory where a root filesystems (often a compressed filesystem image like - squashfs) is stored. If found, it will create a writable environment, using - aufs or unionfs, for Debian like systems to boot from. - . - You probably do not want to install this package onto a non-live system, - although it will do no harm. - . - live-initramfs is a fork of casper <http://packages.ubuntu.com/casper/>. diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/copyright b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/copyright deleted file mode 100644 index e703900a54..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/copyright +++ /dev/null @@ -1,29 +0,0 @@ -Author: Daniel Baumann <daniel@debian.org> -Download: http://debian-live.alioth.debian.org/ - -live-initramfs is a fork of casper <http://packages.ubuntu.com/casper/>. -casper was originally written by Tollef Fog Heen <tfheen@canonical.com> -and Matt Zimmerman <mdz@canonical.com>. - -Files: * -Copyright: - (C) 2007-2009 Daniel Baumann <daniel@debian.org> - (C) 2005-2008 Canonical Ltd. <http://www.cannonical.com/> - (C) 2006-2007 Marco Amadori <marco.amadori@gmail.com> - (C) 2008 Dell Inc. <http://www.dell.com/> -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/>. - . - On Debian systems, the complete text of the GNU General Public License - can be found in /usr/share/common-licenses/GPL-3 file. diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/files b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/files deleted file mode 100644 index 779c459f15..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/files +++ /dev/null @@ -1 +0,0 @@ -live-initramfs_1.180.1-1_all.deb misc optional diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.debhelper.log b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.debhelper.log deleted file mode 100644 index 9eca228626..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.debhelper.log +++ /dev/null @@ -1,11 +0,0 @@ -dh_installdirs -dh_installchangelogs -dh_installdocs -dh_install -dh_installinit -dh_compress -dh_fixperms -dh_installdeb -dh_gencontrol -dh_md5sums -dh_builddeb diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.init b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.init deleted file mode 100644 index 07f707c581..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.init +++ /dev/null @@ -1,201 +0,0 @@ -#!/bin/sh - -### BEGIN INIT INFO -# Provides: live-initramfs -# Required-Start: $syslog -# Required-Stop: $syslog -# Should-Start: $local_fs -# Should-Stop: $local_fs -# Default-Start: 1 2 3 4 5 -# Default-Stop: 0 6 -# Short-Description: live-initramfs init script -# Description: Resyncs snapshots, evantually caches files in order to -# let remove the media. -### END INIT INFO - -# Authors: Tollef Fog Heen <tfheen@canonical.com> -# Marco Amadori <marco.amadori@gmail.com> - -PATH=/usr/sbin:/usr/bin:/sbin:/bin -NAME=live-initramfs -SCRIPTNAME=/etc/init.d/${NAME} -DO_SNAPSHOT=/sbin/live-snapshot - -# Exit if system was not booted by live-initramfs -grep -qs boot=live /proc/cmdline || exit 0 - -# Exit if the system was booted from an ISO image rather than a physical CD -grep -qs find_iso= /proc/cmdline && exit 0 - -# Read configuration variable file if it is present -[ -r /etc/live.conf ] && . /etc/live.conf - -# Load the VERBOSE setting and other rcS variables -[ -f /etc/default/rcS ] && . /etc/default/rcS - -# Define LSB log_* functions. -# Depend on lsb-base (>= 3.0-6) to ensure that this file is present. -. /lib/lsb/init-functions - -# Try to cache everything we're likely to need after ejecting. This -# is fragile and simple-minded, but our options are limited. -cache_path() -{ - path="${1}" - - if [ -d "${path}" ] - then - find "${path}" -type f | xargs cat > /dev/null 2>&1 - elif [ -f "${path}" ] - then - if [ -x "${path}" ] - then - if file "${path}" | grep -q 'dynamically linked' - then - for lib in $(ldd "${path}" | awk '{ print $3 }') - do - cache_path "${lib}" - done - fi - fi - - cat "${path}" >/dev/null 2>&1 - fi -} - -get_boot_device() -{ - # search in /proc/mounts for the device that is mounted at /live/image - while read DEVICE MOUNT REST - do - if [ "${MOUNT}" = "/live/image" ] - then - echo "${DEVICE}" - exit 0 - fi - done < /proc/mounts -} - -device_is_USB_flash_drive() -{ - # remove leading "/dev/" and all trailing numbers from input - DEVICE=$(expr substr ${1} 6 3) - - # check that device starts with "sd" - [ "$(expr substr ${DEVICE} 1 2)" != "sd" ] && return 1 - - # check that the device is an USB device - if readlink /sys/block/${DEVICE} | grep -q usb || - readlink /sys/block/${DEVICE}/device | grep -q usb # linux < 2.6.29 - then - return 0 - fi - - return 1 -} - -do_stop () -{ - if ! grep -qs nopersistent /proc/cmdline && grep -qs persistent /proc/cmdline - then - if [ ! -z "${ROOTSNAP}" ] - then - ${DO_SNAPSHOT} --resync-string="${ROOTSNAP}" - fi - - if [ ! -z "${HOMESNAP}" ] - then - ${DO_SNAPSHOT} --resync-string="${HOMESNAP}" - fi - fi - - # check for netboot - if [ ! -z "${NETBOOT}" ] || grep -qs netboot /proc/cmdline || grep -qsi root=/dev/nfs /proc/cmdline || grep -qsi root=/dev/cifs /proc/cmdline - then - return 0 - fi - - prompt=1 - if grep -qs noprompt /proc/cmdline - then - prompt= - fi - - for path in $(which halt) $(which reboot) /etc/rc?.d /etc/default $(which stty) - do - cache_path "${path}" - done - - for x in $(cat /proc/cmdline) - do - case ${x} in - quickreboot) - QUICKREBOOT="Yes" - ;; - esac - done - - if [ -z ${QUICKREBOOT} ] - then - # TODO: i18n - BOOT_DEVICE="$(get_boot_device)" - - if device_is_USB_flash_drive ${BOOT_DEVICE} - then - # do NOT eject USB flash drives! - # otherwise rebooting with most USB flash drives - # failes because they actually remember the - # "ejected" state even after reboot - MESSAGE="Please remove the USB flash drive" - else - # ejecting is a very good idea here - MESSAGE="Please remove the disc, close the the tray (if any)" - - if [ -x /usr/bin/eject ] - then - eject -p -m /live/image >/dev/null 2>&1 - fi - - [ "$prompt" ] || return 0 - fi - - stty sane < /dev/console - - printf "\n\n${MESSAGE} and press ENTER to continue:" > /dev/console - - if [ -x /sbin/usplash_write ] - then - /sbin/usplash_write "TIMEOUT 86400" - /sbin/usplash_write "TEXT-URGENT ${MESSAGE}" - /sbin/usplash_write "TEXT-URGENT and press ENTER to continue" - fi - - read x < /dev/console - fi -} - -case "${1}" in - start|restart|reload|force-reload|status) - [ "${VERBOSE}" != no ] && log_end_msg 0 - ;; - - stop) - log_begin_msg "${NAME} is resyncing snapshots and caching reboot files..." - do_stop - - case "${?}" in - 0|1) - [ "${VERBOSE}" != no ] && log_end_msg 0 - ;; - - 2) - [ "${VERBOSE}" != no ] && log_end_msg 1 - ;; - esac - ;; - - *) - log_success_msg "Usage: ${SCRIPTNAME} {start|stop|restart|force-reload}" >&2 - exit 3 - ;; -esac diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.postinst b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.postinst deleted file mode 100644 index b94b3bdfb3..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.postinst +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -case "$(ls -l /boot/vmlinu* | wc -l)" in - 1) - # We only have one kernel installed, so we can use "-u" - # which will use dpkg-trigger inside update-initramfs - INITRAMFS_ARGS="-u" - ;; - - *) - INITRAMFS_ARGS="-u -k all" - ;; -esac - -if [ -x /usr/sbin/update-initramfs ] && [ "${1}" != "triggered" ] && \ - dpkg --compare-versions "${DPKG_RUNNING_VERSION}" ge "1.14.18" -then - # this activates the trigger, if triggers are working - update-initramfs ${INITRAMFS_ARGS} -else - # force it to actually happen - DPKG_MAINTSCRIPT_PACKAGE="" update-initramfs ${INITRAMFS_ARGS} -fi - -#DEBHELPER# diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.postinst.debhelper b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.postinst.debhelper deleted file mode 100644 index 2aa52a36e9..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.postinst.debhelper +++ /dev/null @@ -1,5 +0,0 @@ -# Automatically added by dh_installinit -if [ -x "/etc/init.d/live-initramfs" ]; then - update-rc.d live-initramfs start 89 0 6 . >/dev/null || exit $? -fi -# End automatically added section diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.postrm b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.postrm deleted file mode 100644 index b94b3bdfb3..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.postrm +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -case "$(ls -l /boot/vmlinu* | wc -l)" in - 1) - # We only have one kernel installed, so we can use "-u" - # which will use dpkg-trigger inside update-initramfs - INITRAMFS_ARGS="-u" - ;; - - *) - INITRAMFS_ARGS="-u -k all" - ;; -esac - -if [ -x /usr/sbin/update-initramfs ] && [ "${1}" != "triggered" ] && \ - dpkg --compare-versions "${DPKG_RUNNING_VERSION}" ge "1.14.18" -then - # this activates the trigger, if triggers are working - update-initramfs ${INITRAMFS_ARGS} -else - # force it to actually happen - DPKG_MAINTSCRIPT_PACKAGE="" update-initramfs ${INITRAMFS_ARGS} -fi - -#DEBHELPER# diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.postrm.debhelper b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.postrm.debhelper deleted file mode 100644 index 73cc19b43e..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.postrm.debhelper +++ /dev/null @@ -1,5 +0,0 @@ -# Automatically added by dh_installinit -if [ "$1" = "purge" ] ; then - update-rc.d live-initramfs remove >/dev/null || exit $? -fi -# End automatically added section diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.triggers b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.triggers deleted file mode 100644 index 6c9f4543c2..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/live-initramfs.triggers +++ /dev/null @@ -1 +0,0 @@ -activate update-initramfs diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/rules b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/rules deleted file mode 100755 index e3c67f1182..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/debian/rules +++ /dev/null @@ -1,55 +0,0 @@ -#!/usr/bin/make -f - -clean: - dh_testdir - dh_testroot - rm -f build-stamp - - $(MAKE) -C manpages clean - - dh_clean - -build: build-stamp -build-stamp: - dh_testdir - - $(MAKE) -C manpages - - touch build-stamp - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Installing package - $(MAKE) install DESTDIR=$(CURDIR)/debian/live-initramfs - - # Removing double files - rm -f debian/live-initramfs/usr/share/doc/live-initramfs/COPYING - rm -f debian/live-initramfs/usr/share/doc/live-initramfs/ChangeLog - mv debian/live-initramfs/usr/share/doc/live-initramfs/ChangeLog.casper debian/live-initramfs/usr/share/doc/live-initramfs/changelog.casper - - # Installing bug control - install -D -m 0755 debian/bug/live-initramfs.script debian/live-initramfs/usr/share/bug/live-initramfs - -binary: binary-indep - -binary-arch: - -binary-indep: install - dh_testdir - dh_testroot - dh_installchangelogs docs/ChangeLog - dh_installdocs - dh_install - dh_installinit --no-restart-on-upgrade --no-start -- start 89 0 6 . - dh_compress - dh_fixperms - dh_installdeb - dh_gencontrol - dh_md5sums - dh_builddeb - -.PHONY: clean build install binary binary-arch binary-indep diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/docs/AUTHORS b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/docs/AUTHORS deleted file mode 100644 index 79bc320707..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/docs/AUTHORS +++ /dev/null @@ -1,16 +0,0 @@ -Main Authors: - - * Daniel Baumann <daniel@debian.org> - -Main Contributors: - - * Chris Lamb <chris@chris-lamb.co.uk> - * Marco Amadori <marco.amadori@gmail.com> - -Original Authors: - - live-initramfs is a fork of casper <http://packages.ubuntu.com/casper/>. - casper was originally written by Tollef Fog Heen <tfheen@canonical.com> - and Matt Zimmerman <mdz@canonical.com>. - - See the casper changelog for casper contributors. diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/docs/CREDITS b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/docs/CREDITS deleted file mode 100644 index 2a1ae506c0..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/docs/CREDITS +++ /dev/null @@ -1,25 +0,0 @@ -Patches (alphabetical order): - - * Alexandre Garcia <ascii_77@yahoo.fr> - * Alex Owen <r.a.owen@qmul.ac.uk> - * Arnaud Cornet <arnaud.cornet@gmail.com> - * Bas Wijnen <wijnen@debian.org> - * Ben Armstrong <synrg@debian.org> - * Ben Voui <intrigeri@boum.org> - * Chris Lamb <chris@chris-lamb.co.uk> - * Davide Natalini <davide.natalini@studio.unibo.it> - * Frederic Lehobey <Frederic.Lehobey@free.fr> - * Hadar Weiss <whadar@gmail.com> - * Jason D. Clinton <me@jasonclinton.com> - * Jonathan Hall <flimzy@flimzy.com> - * Kai Hendry <hendry@iki.fi> - * Malcom Gilles <live@ouabain.org> - * Marco Amadori <marco.amadori@gmail.com> - * Mathieu Geli <mathieu.geli@gmail.com> - * Michael Prokop <mika@grml.org> - * Michal Suchanek <hramrach@centrum.cz> - * Oliver Osburg <o.osburg@uni-jena.de> - * Otavio Salvador <otavio@debian.org> - * Sebastian Raveau <sebastien.raveau@epita.fr> - * Steven Shiau <steven@nchc.org.tw> - * Thomas Lange <lange@informatik.uni-koeln.de> diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/docs/ChangeLog b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/docs/ChangeLog deleted file mode 100644 index 4d0e52a099..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/docs/ChangeLog +++ /dev/null @@ -1,635 +0,0 @@ -commit 96aa9285ee39f4d3d4245acd8c78accdf73c1fa8 -Author: Daniel Baumann <daniel@debian.org> - - Bumping version to 1.104.1-1. - - Makefile | 2 +- - debian/changelog | 2 +- - docs/parameters.txt | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 1a226e19e03be8ff90aaa50a7b5b9f202f65b8a4 -Author: Daniel Baumann <daniel@debian.org> - - Merging casper 1.104. - - docs/ChangeLog.casper | 7 +++++++ - 1 files changed, 7 insertions(+), 0 deletions(-) - -commit bb97432f7c5eeb330d108be6607edfe0de85bfa7 -Author: Daniel Baumann <daniel@debian.org> - - Bumping version to 1.103.1-1. - - Makefile | 2 +- - debian/changelog | 2 +- - docs/parameters.txt | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 29c11f22032ccdb71aaccd5f6eb4a9be3efa5741 -Author: Daniel Baumann <daniel@debian.org> - - Merging casper 1.103. - - docs/ChangeLog.casper | 8 ++++++++ - scripts/live-bottom/23networking | 24 +++++++++++++++--------- - scripts/live-bottom/25configure_init | 8 +++----- - 3 files changed, 26 insertions(+), 14 deletions(-) - -commit 66a175b6255aa061dc78fbd301c9844489c42fc8 -Author: Daniel Baumann <daniel@debian.org> - - Preparing live-initramfs 1.102.2-1. - - Makefile | 10 +++++----- - debian/changelog | 6 ++++++ - docs/parameters.txt | 2 +- - 3 files changed, 12 insertions(+), 6 deletions(-) - -commit 0b8cf3f17ed46e96fb5efd658c8e308ba1a2dd1a -Author: Daniel Baumann <daniel@debian.org> - - Releasing live-initramfs 1.102.1-1. - - debian/changelog | 2 +- - docs/ChangeLog | 195 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 196 insertions(+), 1 deletions(-) - -commit b782261bbdf33ff5c69780cc4c788c339d707f9b -Author: Daniel Baumann <daniel@debian.org> - - Sorting Depends. - - debian/control | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -commit 17b3b36ef3c1fa5cbe5b11c9690a2b0a403db693 -Author: Daniel Baumann <daniel@debian.org> - - Applied patch from Michael Prokop <mika@grml.org> to depend on busybox. - - debian/control | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -commit 27cc7504bc8310e2836014d64576be7d9c974be2 -Author: Daniel Baumann <daniel@debian.org> - - Bumping version to 1.102.1-1. - - Makefile | 2 +- - debian/changelog | 2 +- - docs/parameters.txt | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit 9e5b3c1cbeb80a472ba4387ef7e59b5e6bce913b -Author: Daniel Baumann <daniel@debian.org> - - Merging casper 1.102. - - docs/ChangeLog.casper | 10 ++++++ - scripts/live-bottom/42disable_apparmor | 36 ++++++++++++++++++++++ - scripts/live-bottom/42disable_cups_apparmor | 43 --------------------------- - 3 files changed, 46 insertions(+), 43 deletions(-) - -commit 7b5c1e3232d0e02e712a4f984cd1e5009c9e4e9c -Author: Daniel Baumann <daniel@debian.org> - - Adding noapparmor boot parameter. - - scripts/live | 5 +++++ - scripts/live-bottom/42disable_cups_apparmor | 5 +++++ - 2 files changed, 10 insertions(+), 0 deletions(-) - -commit ea5fee194ea66ab0f41a0a973034db201651e09a -Author: Daniel Baumann <daniel@debian.org> - - Bumping version to 1.101.1-1. - - Makefile | 2 +- - debian/changelog | 2 +- - docs/parameters.txt | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -commit b525502a2fdf073f4e326c1ca4dd8c89258ef65d -Author: Daniel Baumann <daniel@debian.org> - - Adjusting to live-initramfs. - - scripts/live-bottom/42disable_cups_apparmor | 37 ++++++++++++++++---------- - 1 files changed, 23 insertions(+), 14 deletions(-) - -commit 9b2894eaf50ce542d03329a0b49bf8df7d633371 -Author: Daniel Baumann <daniel@debian.org> - - Merging casper 1.101. - - docs/ChangeLog.casper | 9 ++++++++ - scripts/live-bottom/42disable_cups_apparmor | 29 +++++++++++++++++++++++++++ - 2 files changed, 38 insertions(+), 0 deletions(-) - -commit f1e9fafee6e04a269a506edd31c62abd6917ecee -Author: Daniel Baumann <daniel@debian.org> - - Merging casper 1.100. - - docs/ChangeLog.casper | 8 ++++++++ - scripts/live-bottom/41apt_cdrom | 3 --- - 2 files changed, 8 insertions(+), 3 deletions(-) - -commit 2df075f459f0a232a084ca6ad037d89764727d5f -Author: Daniel Baumann <daniel@debian.org> - - Using new Homepage field now. - - debian/control | 3 +-- - 1 files changed, 1 insertions(+), 2 deletions(-) - -commit d29346c7b4c7a67fed080ea46be15421dec12fe7 -Author: Daniel Baumann <daniel@debian.org> - - Applied patch from Frederic Boiteux <fboiteux@calistel.com> about NFSROOT=auto, <http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-September/002173.html>. - - scripts/live | 10 +++++----- - 1 files changed, 5 insertions(+), 5 deletions(-) - -commit 4f4c8e22af7a539cfa8bc9ba371c6a57b8e7cb0c -Author: Daniel Baumann <daniel@debian.org> - - Applied patch from Michael Prokop <mika@grml.org> to migrate live-snapshot.en.1 and live-snapshot.it.1 to asciidoc as well. - - manpages/Makefile | 17 ++++-- - manpages/live-snapshot.en.1 | 71 -------------------------- - manpages/live-snapshot.en.1.txt | 100 ++++++++++++++++++++++++++++++++++++ - manpages/live-snapshot.it.1 | 70 ------------------------- - manpages/live-snapshot.it.1.txt | 107 +++++++++++++++++++++++++++++++++++++++ - 5 files changed, 219 insertions(+), 146 deletions(-) - -commit 3226d2bfd4e2463c9aa7a691f7e9ea132e258af6 -Author: Daniel Baumann <daniel@debian.org> - - Adding Marco Amadori <marco.amadori@gmail.com>. - - docs/CREDITS | 1 + - 1 files changed, 1 insertions(+), 0 deletions(-) - -commit 757b214139daa0f7f312434ed0f77961ea380c4e -Author: Daniel Baumann <daniel@debian.org> - - Sorting Build-Depends. - - debian/control | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -commit 8d6e39ce90ed0be835514a15fbf3a007a2b9f3fa -Author: Daniel Baumann <daniel@debian.org> - - Simplifying make calls. - - debian/rules | 4 ++-- - 1 files changed, 2 insertions(+), 2 deletions(-) - -commit bef37dff239b6c28fef89679537bea8643628fe1 -Author: Daniel Baumann <daniel@debian.org> - - Applied patch from Michael Prokop <mika@grml.org> to remove deprecated manpages/live-initramfs.en.7 (switched to asiidoc). - - manpages/live-initramfs.en.7 | 127 ------------------------------------------ - 1 files changed, 0 insertions(+), 127 deletions(-) - -commit 6a86b38986ab23d5cda24b38dca27c4a659bdfbd -Author: Daniel Baumann <daniel@debian.org> - - Applied patch from Michael Prokop <mika@grml.org> to update debian/control and debian/rules for use of asciidoc. - - debian/control | 2 +- - debian/rules | 2 ++ - 2 files changed, 3 insertions(+), 1 deletions(-) - -commit 6685b97a4041477b2ccbfc9683e35c022cbe9ce7 -Author: Daniel Baumann <daniel@debian.org> - - Applied patch from Michael Prokop <mika@grml.org> to switch to asciidoc for documentation. - - manpages/Makefile | 21 +++ - manpages/live-initramfs.en.7.txt | 304 ++++++++++++++++++++++++++++++++++++++ - 2 files changed, 325 insertions(+), 0 deletions(-) - -commit 3b545dfb73b7ce99c3fd6e107d6843891f005ab1 -Author: Daniel Baumann <daniel@debian.org> - - Fixing typing error. - - debian/control | 4 ++-- - 1 files changed, 2 insertions(+), 2 deletions(-) - -commit ab933503a8204649724c525facbc14f734f1cd4e -Author: Daniel Baumann <daniel@debian.org> - - Preparing live-initramfs 1.99.3-1. - - Makefile | 8 ++++---- - debian/changelog | 6 ++++++ - docs/parameters.txt | 2 +- - manpages/live-initramfs.en.7 | 2 +- - manpages/live-snapshot.en.1 | 2 +- - 5 files changed, 13 insertions(+), 7 deletions(-) - -2007-09-09 Daniel Baumann <daniel@debian.org> - - * Using common indenting. - * scripts/live: - - Applied patch from Jim Paris <jim@jtan.com> to fix wrong usage of - ipconfig (Closes: #440235). - * Uploaded 1.99.2-1. - -2007-09-09 Michael Prokop <mika@grml.org> - - * scripts/live: - - Extending toram parameter to specify module. - - Adding forgotten nofstab boot parameter. - * scripts/live-bottom/40install_driver_updates: - - Adding check driver updates. - * scripts/live-bottom/25configure_init: - - Adding check for file-rc. - * scripts/live-bottom/21xvidemode: - - Sorting variable checks always before logging. - * scripts/live, live-bottom/*: - - Adding boot parameters to disable each service. - * scripts/live, live-bottom/22gnome_panel_date: - - Adding nognomefstab boot parameter. - * scripts/live-bottom/38disable_restricted_manager: - - Removing leftover reference to casper-functions. - -2007-09-05 Daniel Baumann <daniel@debian.org> - - * scripts/live, scripts/live-bottom: - - Added nouser parameter to disable user creation. - - Added noxautoconfig parameter to disable xorg re-configuration. - - Added nohosts parameter to disable /etc/hosts creation. - * scripts/live-bottom/15autologin: - - Moved disabling of kpersonalizer to 34disable_kpersonalizer. - -2007-09-01 Daniel Baumann <daniel@debian.org> - - * Merging changes from casper 1.97, 1.98 and 1.99. - * Uploaded 1.99.1-1. - -2007-08-29 Daniel Baumann <daniel@debian.org> - - * scripts/live-bottom/12fstab: - - By default, we do not have fstab, so it is save to just append the - unionfs mount rather than overwritting it. - * hooks/live: - - Including wget if available. - * Uploaded 1.96.2-1. - -2007-08-21 Daniel Baumann <daniel@debian.org> - - * Merging changes from casper 1.96. - * Uploaded 1.96.1-1. - -2007-08-21 Daniel Baumann <daniel@debian.org> - - * scripts/live: - - Applied patch from Jesse W. Hathaway <jesse@mbuki-mvuki.org> to - not use nfsro with kernels larger than 2.6.22 (where unionfs 2.x - is supposed to be available soon). - * Uploaded 1.95.3-1. - -2007-08-11 Daniel Baumann <daniel@debian.org> - - * Uploaded 1.95.2-1. - -2007-08-01 Daniel Baumann <daniel@debian.org> - - * scripts/live-bottom/10adduser: - - Setting debconf preseeding for passwd/make-user manually to true, - overriding any users preseeding on that, so that the user account - gets created for sure. - -2007-07-29 Daniel Baumann <daniel@debian.org> - - * Merging changes from casper 1.95. - * Uploaded 1.95.1-1. - -2007-07-26 Daniel Baumann <daniel@debian.org> - - * Merging changes from casper 1.92, 1.93 and 1.94. - -2007-07-26 Daniel Baumann <daniel@debian.org> - - * bin/live-md5check: - - Removed, using standard md5sum which makes the md5 check slower, - doesn't integrate well with usplash yet, but it makes live-initramfs - architecture independent now. - * scripts/live: - - Fixed typo. - - Added live-media-path as suggested by Jordi Pujol - <jordi_pujol@telefonica.net>. - * Uploaded 1.91.6-1. - -2007-07-19 Daniel Baumann <daniel@debian.org> - - * scripts/live, scripts/live-bottom/02_timezone: - - Added utc boot parameter as suggested by Vladimir Stavrinov - <vs@inist.ru> - -2007-07-18 Daniel Baumann <daniel@debian.org> - - * docs/parameters.txt: - - Added values for vga parameter. - * scripts/live: - - Added patch from Thomas Lange <lange@informatik.uni-koeln.de> to - respect rootserver name from dhcp. - * Uploaded 1.91.5-1. - -2007-07-12 Daniel Baumann <daniel@debian.org> - - * bin/live-snapshot, scripts/live: - - Moved /cow to /live/cow. - * scripts/live, scripts/live-bottom/01integrity_check, 05mountpoints: - - Moved /live_media to /live/image. - * Uploaded 1.91.4-1. - -2007-07-07 Daniel Baumann <daniel@debian.org> - - * scripts/live: - - Added debug parameter. - -2007-06-31 Daniel Baumann <daniel@debian.org> - - * scripts/live: - - Added patch from Julian Andres Klode <jak@jak-linux.org> to add - support for aufs. - * hooks/live, manpage/live-initramfs.en.7, scripts/live-bottom/12fstab: - - Added aufs support. - * Uploaded 1.91.3-1. - -2007-06-30 Daniel Baumann <daniel@debian.org> - - * scripts/live-bottom/12fstab: - - Added disabling of /etc/init.d/checkfs.sh to avoid file systemcheck - at boot time. Added nofastboot parameter to be able to change that. - - Disabled removal of checkroot.sh. - -2007-06-28 Daniel Baumann <daniel@debian.org> - - * Applied patch from Mathieu Geli <mathieu.geli@gmail.com> to set the - timezone with a boot parameter. - -2007-06-25 Daniel Baumann <daniel@debian.org> - - * scripts/live: - - Added missing nfsopts boot parameter. - - Changed default module name from 'order' to 'filesystem'. - - Changed module extension from '.lst' to '.module'. - - Check not just for $MODULE.module, but also - filesystem.$MODULE.module - - Cleaned up parse_cmdline and is_live_path functions. - * debian/control, debian/live-initramfs.init, - scripts/live-premount/10driver_updates: - - Moving eject to recommends. - - Added checks for eject existence. - * Uploaded 1.91.2-1. - -2007-06-17 Daniel Baumann <daniel@debian.org> - - * debian/live-initramfs.postinst: - - Made update-initramfs call conditional as suggested by Thomas Lange - <lange@informatik.uni-koeln.de>. - * debian/live-initramfs.postrm: - - Added update-initramfs call to cleanup. - -2007-06-17 Daniel Baumann <daniel@debiann.org> - - * Added patch from Thomas Lange <lange@informatik.uni-koeln.de> to - properly load ide-generic after udev. - * Uploaded 1.91.1-1. - -2007-06-15 Daniel Baumann <daniel@debian.org> - - * Merging changes from casper 1.91. - -2007-06-14 Daniel Baumann <daniel@debian.org> - - * scripts/live-bottom/18hostname: - - Appending to /etc/hosts to not overwrite custom settings. - -2007-06-08 Daniel Baumann <daniel@debian.org> - - * Merging changes from casper 1.88. - * Merging changes from casper 1.90. - * hooks/live: - - Added force loading of ide-generic module. It is required on some - systems to boot (reported as needed also for some qemu versions). - * Uploaded 1.90.1-1. - -2007-06-04 Daniel Baumann <daniel@debian.org> - - * Uploaded 1.87.6-1. - -2007-05-28 Daniel Baumann <daniel@debian.org> - - * scripts/live-bottom/42apt_upgrade: - - Moved to dedicated live-initscripts package. - -2007-05-24 Daniel Baumann <daniel@debian.org> - - * debian/control: - - Added casper transitional package. - - Removed usplash conflicts. - * scripts/live-bottom/42apt_upgrade: - - Added, idea taken from Kais webconverger. - * Uploaded 1.87.5-1. - -2007-05-23 Daniel Baumann <daniel@debian.org> - - * scripts/*: - - Minor code cleanup. - -2007-05-18 Daniel Baumann <daniel@debian.org> - - * scripts/live, scripts/live-bottom/05mountpoints: - - Replaced 'mount -o move' with 'mount --move'. - * scripts/live, scripts/live-bottom/10adduser: - - Added check for 'nosudo' bootparameter to disable automatic - sudo configuration. - * scripts/live, scripts/live-bottom/13swap: - - Renamed 'swapoff' parameter to 'noswap'. - * scripts/live, scripts/live-bottom/15autologin: - - Added check for 'noxautologin' bootparameter to disable automatic - gdm/kdm login. - * scripts/live, scripts/live-bottom/25configure_init: - - Added check for 'noautologin' bootparameter to disable automatic - terminal login. - * bin/live-snapshot, scripts/live, scripts/live-helpers: - - Also recognize ext3, but treat it like ext2. - * Uploaded 1.87.4-1. - -2007-05-12 Daniel Baumann <daniel@debian.org> - - * scripts/live-bottom/*: - - Added generic header. - -2007-05-12 Daniel Baumann <daniel@debian.org> - - * scripts/live: - - Renamed CASPERCONF to LIVECONF. - - Renamed CASPERGETTY to LIVE_GETTY. - - Renamed LIVEMEDIA_* to LIVE_MEDIA_*. - * Uploaded 1.87.3-1. - -2007-05-11 Daniel Baumann <daniel@debian.org> - - * hooks/live: - - Reformated. - * scripts/live, scripts/live-bottom/13swap: - - Added check for swapoff bootparameter to disable usage of local swap - partitions. - -2007-05-09 Daniel Baumann <daniel@debian.org> - - * manpages/*: - - Added language suffix. - - Partially rewritten and reformated. - -2007-05-08 Daniel Baumann <daniel@debian.org> - - * Makefile, doc/AUTHORS, doc/CREDITS: - - Added. - * doc: - - Renamed to docs. - -2007-05-07 Daniel Baumann <daniel@debian.org> - - * debian/control: - - Added suggests to genext2fs and squashfs-tools. - - Removed depends to dmsetup. - * scripts/live-bottom/10adduser: - - Added patch from Ben Armstrong <synrg@debian.org> to write - $HOME/.su-to-rootrc file. - * scripts/live, scripts/live-bottom/21xvideomode: - - Added patch from Mathieu Geli <mathieu.geli@gmail.com> to have the - ability to force X video mode from kernel append line. - -2007-05-06 Daniel Baumann <daniel@debian.org> - - * Merging patches from casper 1.81+debian-4, see ChangeLog.casper. - * conf/live.conf: - - Renamed HOST to HOSTNAME. - * debian/init: - - Added quickreboot. - - Renamed /cdrom to /live_media. - * doc/ChangeLog.casper: - - Added missing debian uploads. - * manpages/live-initramfs.7: - - Updated. - * hooks/live: - - Reading live.conf earlier. - - Making some udev copies conditional for ubuntu. - - Allowing local keymap when using encrypted filesystems. - * scripts/live: - - Renamed HOST to HOSTNAME. - - Renamed /cdrom to /live_media. - - Added support for live-snapshot. - - Parsing commandline in one central place now. - - Added support for encrypted filesytem images. - - Added support for multiple filesystem images. - * scripts/live-bottom/01integrity_check: - - Renamed /cdrom to /live_media. - * scripts/live-bottom/02etc_live_conf: - - Added. - * scripts/live-bottom/05mountpoints: - - Renamed /cdrom to /live_media. - - Don't do anything if not required. - * scripts/live-bottom/10adduser: - - Changed default password. - - Disabling xscreensaver locking and copying ubiquity desktop only on - ubuntu. - * scripts/live-bottom/14locales: - - Added handling of locale bootparameter. - * scripts/live-bottom/15autologin: - - Added workaround for using gdm default config. - * scripts/live-bottom/18hostname: - - Renamed HOST to HOSTNAME. - * scripts/live-bottom/19keyboard: - - Added handling of keyboard bootparameter. - * scripts/live-bottom/20xconfig: - - Added handling of keyboard bootparameter. - - Added handling of locale bootparameter. - * scripts/live-bottom/23networking: - - Disabled loop over fixed network devices. - * scripts/live-bottom/24preseed: - - Added handling of multiple preseeding files. - - Removed locale handling. - * scripts/live-bottom/25configure_init: - - Added handling of serial ttys. - * scripts/live-bottom/30accessibility: - - Removed extra parsing of commandline. - * scripts/live-functions: - - Added function to really export variables. - * scripts/live-helpers: - - Added support for encrypted filesytem images. - -2007-05-06 Daniel Baumann <daniel@debian.org> - - * bin/casper-getty, casper-login, casper-preseed, casper-reconfigure, - casper-snapshot: - - Renamed to live-*. - * casper-md5check: - - Moved to bin. - - Renamed to live-md5check. - * casper.conf: - - Moved to conf/live.conf. - * caspermon: - - Removed. - * hooks/casper, scripts/casper, casper-bottom, casper-functions, - casper-helpers, casper-premount: - - Renamed to live*. - * bin/live-getty, live-login: - - Reformated. - * conf/live.conf: - - Reformated. - - Setting Debian defaults. - * bin/live-snapshot, debian/dirs, debian/install, debian/rules, - hooks/live, scripts/live: - - Replaces casper directory and file names with live-initramfs - directory and file names. - * debian/manpage: - - Moved to manpages. - - Renamed casper.7 to live-initramfs.7. - - Renamed casper-snapshot.1 to live-snapshot.1. - * debian/init: - - Changed activation parameter from boot=casper to boot=live. - * scripts/live-bottom/02_timezone: - - Fixed wrong script description. - * Uploaded 1.87.2-1. - -2007-04-30 Daniel Baumann <daniel@debian.org> - - * Forked casper 1.87. - * COPYING: - - Added. - * debian/control, debian/ubiquity-casper.install, ubiquity-hooks: - - Removed ubiquity support. - * debian/changelog: - - Moved old changelog to doc/ChangeLog.casper. - - Added new changelog for live-initramfs. - * debian/casper.dirs, casper.init, casper.install, casper.manpages, - casper.postinst: - - Renamed, removed packagename prefix from filename. - * debian/compat, copyright, dirs, manpages: - - Updated. - * debian/examples, links: - - Added. - * debian/rules: - - Updated. - - Added upstream target. - * debian/control: - - Updated. - - Added depends to file. - - Added conflicts/replaces to casper. - * debian/postinst: - - Running 'update-initramfs' for all kernel versions instead of latest - only. - * Uploaded 1.87.1-1. diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/docs/ChangeLog.casper b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/docs/ChangeLog.casper deleted file mode 100644 index 31d5e92e5a..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/docs/ChangeLog.casper +++ /dev/null @@ -1,2402 +0,0 @@ -casper (1.157) jaunty; urgency=low - - [ Emmet Hikory ] - * 10adduser: add Category=Favorites support for netbook-launcher - (LP: #334656) - - [ Luke Yelavich ] - * scripts/casper-bottom/30accessibility && ubiquity-hooks/30accessibility: - - Remove the fast user switch applet from the top panel, to re-enable - the logout/shutdown menu options in the system menu. This is done for - the speech and braille accessibility profiles. Requiring several - keyboard shortcuts to access something that is not entirely accessible - yet only makes things difficult for blind/vision impaired users, and is - likely to cause much confusion if sed menu entries are not present. - - -- Luke Yelavich <themuso@ubuntu.com> Tue, 03 Mar 2009 15:49:21 +1100 - -casper (1.156) jaunty; urgency=low - - * scripts/casper-bottom/30accessibility & - ubiquity-hooks/30accessibility: - - If using a laptop, enable the laptop keyboard layout - - There is no longer a need to set gconf values as root in only-ubiquity - mode - - -- Luke Yelavich <themuso@ubuntu.com> Fri, 06 Feb 2009 08:59:52 +0100 - -casper (1.155) jaunty; urgency=low - - [ Colin Watson ] - * Add myself to debian/copyright as an author, as I've done fairly - significant work on this. - * Eliminate casper-md5check's libm linkage; patch from "SurJector" who - points out that the automatic conversion is sufficient (LP: #293613). - * Restore showmounts/show-cow option (thanks, Carlo de Wolf and "probono"; - LP: #159006, #290330). - - [ Evan Dandrea ] - * Add support for ext4. - - -- Colin Watson <cjwatson@ubuntu.com> Fri, 30 Jan 2009 12:14:00 +0000 - -casper (1.154) jaunty; urgency=low - - [ Evan Dandrea ] - * scripts/casper-bottom/02timezone: - - Remove as it's no longer needed and resets the timezone when - persistence is enabled (LP: #296855). - - [ Colin Watson ] - * Preseed console-setup/optionscode and console-setup/codesetcode to the - empty string on boot to avoid debris from the live filesystem build - process getting in the way of installation (LP: #94177). - - -- Colin Watson <cjwatson@ubuntu.com> Sun, 23 Nov 2008 12:44:45 +0000 - -casper (1.153) jaunty; urgency=low - - * scripts/casper-bottom/10adduser: - - Create links for Mythbuntu items on the Desktop too. - - Don't show removable drives on Mythbuntu desktop - * scripts/casper-bottom/46disable_services: - - New script for disabling services unnecessary to Live - mode that should still start after being installed. - - -- Mario Limonciello <superm1@ubuntu.com> Tue, 04 Nov 2008 01:25:59 -0600 - -casper (1.152) intrepid; urgency=low - - * Use kde4rc now for accessibility profiles - - -- Jonathan Riddell <jriddell@ubuntu.com> Sat, 25 Oct 2008 23:44:54 +0100 - -casper (1.151) intrepid; urgency=low - - * Force ubiquity to --automatic mode for ubuntu-mid - - -- Emmet Hikory <persia@ubuntu.com> Thu, 16 Oct 2008 15:31:16 +0100 - -casper (1.150) intrepid; urgency=low - - * Fix path to Kubuntu help file in 10adduser (really) - - -- Jonathan Riddell <jriddell@ubuntu.com> Thu, 16 Oct 2008 12:16:54 +0100 - -casper (1.149) intrepid; urgency=low - - * scripts/casper-bottom/30accessibility & - ubiquity-hooks/30accessibility: - - Revert to using gconf keys for starting orca, as this is now what - orca does when the user chooses to automatically start orca from Orca's - preferences window. - - Explicitly set orca as the program to start up for magnification, - speech, and braille. - - -- Luke Yelavich <themuso@ubuntu.com> Thu, 16 Oct 2008 11:33:02 +1100 - -casper (1.148) intrepid; urgency=low - - * Skip remounting read-only in try_mount as it's unnecessary and - breaks persistence. Thanks James Westby (LP: #274076). - - -- Evan Dandrea <evand@ubuntu.com> Wed, 15 Oct 2008 13:09:57 -0400 - -casper (1.147) intrepid; urgency=low - - * Fix path to Kubuntu help file in 10adduser - - -- Jonathan Riddell <jriddell@ubuntu.com> Wed, 15 Oct 2008 12:49:29 +0100 - -casper (1.146) intrepid; urgency=low - - * Update About Kubuntu link in 10adduser for KDE 4 - - -- Jonathan Riddell <jriddell@ubuntu.com> Mon, 06 Oct 2008 17:54:15 +0100 - -casper (1.145) intrepid; urgency=low - - * 38disable_restricted_manager: Remove some obsolete l-r-m and - restricted-manager code, and rename the script to 38jockey_disable_check - to better reflect its purpose. - - -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 06 Oct 2008 09:21:40 +0200 - -casper (1.144) intrepid; urgency=low - - * Bump media detection timeout to a minute; thanks to Tormod Volden and - Steve Beattie for analysis (LP: #258432). - * Note that this changes (fixes?) the semantics of LIVEMEDIA_TIMEOUT due - to not using hex values in a for loop which aren't understood by test - -lt (thanks, Steve Beattie). - - -- Colin Watson <cjwatson@ubuntu.com> Fri, 26 Sep 2008 18:35:13 +0100 - -casper (1.143) intrepid; urgency=low - - * scripts/casper-bottom/30accessibility & - ubiquity-hooks/30accessibility: Change the way that orca is set to - automatically start. Orca can be started via a gconf key, however this - is not reflected in the orca UI, and doesn't easily allow the user to - prevent orca from autostarting on an installed system. - - -- Luke Yelavich <themuso@ubuntu.com> Wed, 24 Sep 2008 10:37:35 +1000 - -casper (1.142) intrepid; urgency=low - - * Fix syntax error introduced by is_nice_device regex fix. - - -- Colin Watson <cjwatson@ubuntu.com> Fri, 19 Sep 2008 02:30:59 +0100 - -casper (1.141) intrepid; urgency=low - - [ Johannes Ballé ] - * Handle spaces in file names in md5sum.txt (LP: #251112). - - [ Colin Watson ] - * Support ?= (set value but don't mark as seen) preseeding syntax in - preseed script; previously we only supported it in the keyboard script, - which confusingly doesn't deal with propagating console-setup/* preseeds - to the target filesystem (LP: #253749). - * Update to localechooser's new languagelist format. - - [ Tormod Volden ] - * scripts/casper: don't scan floppy drives for livefs images (LP: #97306) - * scripts/casper: fix broken RE in is_nice_device() (LP: #250328) - * scripts/casper: properly use argument $1 in matches_uuid() - - -- Colin Watson <cjwatson@ubuntu.com> Fri, 19 Sep 2008 02:14:05 +0100 - -casper (1.140) intrepid; urgency=low - - [ Colin Watson ] - * Disable jockey as well as the old restricted-manager. While jockey does - do more than restricted-manager did, it also still uses a good chunk of - memory for a use case that's fairly limited on the live CD. - - [ Luke Yelavich ] - * scripts/casper-bottom/30accessibility & - ubiquity-hooks/30accessibility: - - Check that usr/bin/orca exists and is executable before creating user - settings files. - - -- Luke Yelavich <themuso@ubuntu.com> Fri, 12 Sep 2008 19:23:41 +1000 - -casper (1.139) intrepid; urgency=low - - * add compcache conf.d configuration for initramfs-tools - - -- Oliver Grawert <ogra@ubuntu.com> Thu, 14 Aug 2008 00:25:54 +0200 - -casper (1.138) intrepid; urgency=low - - [ Tormod Volden ] - * use full path for vol_id in swap-on-raid detection (LP: #136804) - - [ Martin Pitt ] - * 33enable_apport_crashes: Change the apport default file, not the - update-notifier gconf keys, to undo the corresponding change for disabling - apport right before the release. - * Add 45disable_guest_account: Purge the gdm-guest-session package from the - live system, since having guest sessions in a live session does not make - much sense. (See gdm-guest-login spec) - - -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 31 Jul 2008 14:19:07 +0200 - -casper (1.137) intrepid; urgency=low - - * Update scripts/casper-bottom/15autologin for KDM from KDE 4. - * Update 32disable_hibernation for KDE 4. - - -- Jonathan Riddell <jriddell@ubuntu.com> Thu, 17 Jul 2008 13:41:38 +0100 - -casper (1.136) intrepid; urgency=low - - * Remove bad-and-wrong setting of PATH to include directories under /root; - now that grep links to more libraries than before, this broke a number - of things. Requires initramfs-tools (>= 0.92bubuntu5) because this - doesn't work with klibc chroot. - - -- Colin Watson <cjwatson@ubuntu.com> Fri, 11 Jul 2008 12:34:35 +0100 - -casper (1.135) intrepid; urgency=low - - [ Loic Minier ] - * Fix use of PREREQ instead of PREREQS in hooks/casper. - - [ Colin Watson ] - * Fix mount argument ordering for klibc mount. - - -- Colin Watson <cjwatson@ubuntu.com> Wed, 09 Jul 2008 12:34:26 +0100 - -casper (1.134) intrepid; urgency=low - - [ Evan Dandrea ] - * Do not use mode= when mounting /cow using persistent mode (LP: #219192). - - [ Colin Watson ] - * Support ?= (set value but don't mark as seen) preseeding syntax for - console-setup/* (LP: #64058). - - -- Colin Watson <cjwatson@ubuntu.com> Mon, 30 Jun 2008 23:52:41 +0100 - -casper (1.133) intrepid; urgency=low - - [ Tormod Volden ] - * Do not use swap on RAID raw devices (LP: #136804) - - [ Agostino Russo ] - * Test if livemedia is a directory before trying to mount it as a - loopfile - * Reverted changes to casper-helpers as requested by Mithrandir since - replaying the journal on a hibernated system would lead to file system - corruption (LP: #230703). - - -- Evan Dandrea <evand@ubuntu.com> Wed, 18 Jun 2008 12:34:58 -0400 - -casper (1.132ubuntu0.2) hardy-proposed; urgency=low - - * Test if livemedia is a directory before trying to mount it as a - loopfile - * Reverted changes to casper-helpers as requested by Mithrandir since - replaying the journal on a hibernated system would lead to file system - corruption (LP: #230703). - - -- Agostino Russo <agostino.russo@gmail.com> Tue, 10 Jun 2008 00:27:12 +0100 - -casper (1.132ubuntu0.1) hardy-proposed; urgency=low - - * Do not scan only vfat volumes when looking for cow devices (LP: #230703) - * Allow casper to use a squashfs filesystem within an arbitrary path (LP: - #230716, #207137) - - -- Agostino Russo <agostino.russo@gmail.com> Thu, 15 May 2008 22:10:50 +0100 - -casper (1.132) intrepid; urgency=low - - [ Colin Watson ] - * Switch default unionfs implementation to aufs. - - [ Agostino Russo ] - * Do not scan only vfat volumes when looking for cow devices (LP: #230703) - * Allow casper to use a squashfs filesystem within an arbitrary path (LP: - #230716, #207137) - - -- Evan Dandrea <evand@ubuntu.com> Wed, 28 May 2008 15:01:30 -0400 - -casper (1.131) hardy; urgency=low - - [ Luke Yelavich ] - * scripts/casper-bottom/30accessibility: Set gconf and orca config values as - root in automatic-ubiquity, only-ubiquity, and debug-ubiquity modes. - * ubiquity-hooks/30accessibility: Remove unneeded gconf call to disable esd. - - [ Colin Watson ] - * Ensure that the live CD user's Desktop directory is owned by them, not - by root (LP: #218576). - * Duplicate a chunk of console-setup logic into the keyboard script so - that we can deal with non-Latin keymaps and the like without having to - have gfxboot-theme-ubuntu help us; the previous approach broke other - uses of console-setup, and thus the alternate install CD (LP: #218754). - This should later be replaced by just running console-setup, and I'll - open another bug for this. - - -- Colin Watson <cjwatson@ubuntu.com> Mon, 21 Apr 2008 14:52:05 +0100 - -casper (1.130) hardy; urgency=low - - * Handle use of debian-installer/language for locale selection - (LP: #213930). - - -- Colin Watson <cjwatson@ubuntu.com> Sat, 12 Apr 2008 00:30:10 +0100 - -casper (1.129) hardy; urgency=low - - * Add COPYING file with GPL text (LP: #211923). - * Add casper-new-uuid script to simplify UUID regeneration process, - contributed by Mario Limonciello of Dell (LP: #209847). - * Update casper-snapshot for genext2fs --reserved-blocks => - --reserved-percentage option change (LP: #202048). Add a Breaks as the - most lightweight available method of documenting that we need genext2fs - >= 1.4.1 for this. - - -- Colin Watson <cjwatson@ubuntu.com> Thu, 10 Apr 2008 01:45:47 +0100 - -casper (1.128) hardy; urgency=low - - [ Luke Yelavich ] - * scripts/casper-bottom/30accessibility & - ubiquity-hooks/30accessibility: - - Update gconf keys to ensure onboard actually gets loaded. - - Change ownership of created orca settings files to the user. - - Add extra bits to make orca settings actually work. - - [ Evan Dandrea ] - * Add mode=755 to the tmpfs mount that becomes / in the unionfs mount - so that / in the live filesystem does not end up with 777 permissions - (LP: #206030). - - [ Colin Watson ] - * Make scripts/casper-bottom/38disable_restricted_manager executable - again. - * Depend on uuid-runtime for uuidgen. - - -- Colin Watson <cjwatson@ubuntu.com> Mon, 31 Mar 2008 18:11:55 +0100 - -casper (1.127) hardy; urgency=low - - * Leave spawning the noninteractive ubiquity frontend to its initscript. - - -- Evan Dandrea <evand@ubuntu.com> Tue, 25 Mar 2008 15:52:32 -0400 - -casper (1.126) hardy; urgency=low - - * scripts/casper-bottom/10adduser: Test for konqueror not kdesktop, - stops putting a broken icon on the Kubuntu KDE 4 desktop - - -- Jonathan Riddell <jriddell@ubuntu.com> Tue, 25 Mar 2008 15:42:31 +0000 - -casper (1.125) hardy; urgency=low - - [ Colin Watson ] - * Stop quoting Exec arguments in .desktop files. Apparently this used to - work but now the system conforms more strictly to the desktop entry - specification (LP: #204185). - - [ Jonathan Riddell ] - * scripts/casper-bottom/15autologin: Enable auto-login for KDM-KDE4 - - -- Jonathan Riddell <jriddell@ubuntu.com> Thu, 20 Mar 2008 10:20:17 +0000 - -casper (1.124) hardy; urgency=low - - [ Colin Watson ] - * Name generated snapshot images according to their type (LP: #202699). - - [ Martin Pitt ] - * scripts/casper-bottom/44pk_allow_ubuntu: Remove erroneous blank line at - the start of PolicyKit.conf, since this is invalid XML. This broke - PolicyKit completely on the live system. - - -- Martin Pitt <martin.pitt@ubuntu.com> Tue, 18 Mar 2008 10:20:08 +0100 - -casper (1.123) hardy; urgency=low - - * Add scripts/casper-bottom/44pk_allow_ubuntu: Allow PolicyKit privileges - without password to the default live session user. This avoids the need to - press Enter at the password prompt, which is quite confusing. Thanks to - MarioDebian! (LP: #201852) - - -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 14 Mar 2008 17:26:37 +0100 - -casper (1.122) hardy; urgency=low - - * Fix paths in About Kubuntu links - - -- Jonathan Riddell <jriddell@ubuntu.com> Fri, 14 Mar 2008 15:12:38 +0000 - -casper (1.121) hardy; urgency=low - - * Use a link for About Kubuntu docs in Kubuntu-KDE4 - - -- Jonathan Riddell <jriddell@ubuntu.com> Wed, 12 Mar 2008 23:57:50 +0000 - -casper (1.120) hardy; urgency=low - - * Use dhclient directly instead of ifupdown for the url= kernel cmdline - argument so that we don't have to worry about the interfaces file - propagating to the installed system. - - -- Evan Dandrea <evand@ubuntu.com> Tue, 11 Mar 2008 13:08:08 -0400 - -casper (1.119) hardy; urgency=low - - [ Luke Yelavich ] - * scripts/casper-bottom/30accessibility & - ubiquity-hooks/30accessibility: - - Disable compiz for screen reader and braille terminal accessibility - profiles. It is currently not possible to get feedback about open - windows when cycling through them using ALT + Tab with Compiz. - * ubiquity-hooks/30accessibility: Add braille terminal profile. - - [ Colin Watson ] - * Always set language in both /etc/default/locale and /etc/environment - (thanks, Sebastien Bacher). - - -- Colin Watson <cjwatson@ubuntu.com> Mon, 03 Mar 2008 10:21:42 +0000 - -casper (1.118) hardy; urgency=low - - [ Julian Andres Klode, Colin Watson ] - * Use aufs instead of unionfs if union=aufs is given (LP: #187259). - - -- Colin Watson <cjwatson@ubuntu.com> Thu, 14 Feb 2008 18:00:36 +0000 - -casper (1.117) hardy; urgency=low - - * Disable speech for magnifier and braille profiles again. Thanks - Luke Yelavich. - * esd is enabled by default, so the comment in 30accessibility is no - longer relevant. - - -- Evan Dandrea <evand@ubuntu.com> Wed, 13 Feb 2008 01:20:22 -0500 - -casper (1.116) hardy; urgency=low - - * Fix setting orca options in 30accessibility. - * Remove gdm and kdm from init when using automatic-ubiquity and - only-ubiquity. The ubiquity initscript will take care of spawning - these. - - -- Evan Dandrea <evand@ubuntu.com> Mon, 11 Feb 2008 12:19:39 -0500 - -casper (1.115) hardy; urgency=low - - * Add the user to the groups specified by user-setup-udeb. - - -- Evan Dandrea <evand@ubuntu.com> Thu, 24 Jan 2008 19:08:33 +0000 - -casper (1.114) hardy; urgency=low - - [ Colin Watson ] - * casper-md5check: Close md5_file before exiting. - * Disable tracker-applet as well as trackerd, otherwise the former starts - the latter. - * casper-snapshot: Fix argument parsing (thanks, Tormod Volden; - LP: #179411). - - -- Colin Watson <cjwatson@ubuntu.com> Tue, 15 Jan 2008 18:25:21 +0000 - -casper (1.113) hardy; urgency=low - - [ Tollef Fog Heen ] - * dpkg-divert away update-initramfs as it's useless on live CDs and - annoying when people install LVM and similar tools in order to rescue - a system. LP: #150188 - - [ Colin Watson ] - * Adjust /etc/sudoers editing code so that it doesn't repeatedly add - "NOPASSWD:" in persistent mode (LP: #175159). - * Avoid ejecting the CD if booting from an ISO image rather than from a - physical CD (thanks, Agostino Russo; LP: #176014). - - -- Colin Watson <cjwatson@ubuntu.com> Wed, 19 Dec 2007 09:17:50 +0000 - -casper (1.112) hardy; urgency=low - - * hooks/casper: no need to copy udevinfo into the initramfs, it's already - there inside udevadm - * scripts/casper: call udevadm with trigger and settle arguments - * scripts/casper-bottom/23networking: call udevadm with trigger and - settle arguments - * scripts/casper-helpers: call udevadm with info and settle arguments - - -- Scott James Remnant <scott@ubuntu.com> Fri, 14 Dec 2007 15:00:29 +0000 - -casper (1.111) hardy; urgency=low - - * Remove code to set the progress bar to throbbing, this now comes as - standard so we don't need to duplicate it or override things that - attempted to set progress. LP: #162397. - - -- Scott James Remnant <scott@ubuntu.com> Tue, 13 Nov 2007 20:49:31 +0000 - -casper (1.110) gutsy; urgency=low - - * Don't generate fglrx or the nvidia modules in the live session at boot; - we disable restricted-manager in the live session anyway so they aren't - straightforward to use (see #43706). Saves about 19 MB of memory. - - -- Colin Watson <cjwatson@ubuntu.com> Fri, 05 Oct 2007 21:28:29 +0100 - -casper (1.109) gutsy; urgency=low - - * Cache the stty binary before ejecting the CD. - * Skip the CD eject prompt if 'noprompt' is on the kernel command line - (LP: #149159). - * Try each of (e.g.) 2.6.22-13-generic, 2.6.22-13, and 2.6.22 in turn as - directory names for driver updates (LP: #122430). - - -- Colin Watson <cjwatson@ubuntu.com> Fri, 05 Oct 2007 03:24:43 +0100 - -casper (1.108) gutsy; urgency=low - - * If CASPER_GENERATE_UUID is set, generate a random UUID in the initramfs, - and check it against the discovered medium (unless booting with the - ignore_uuid parameter). This allows live CD images to be safely copied - to the hard disk without causing problems when booting future live CDs - (LP: #144800). - - -- Colin Watson <cjwatson@ubuntu.com> Thu, 04 Oct 2007 14:23:37 +0100 - -casper (1.107) gutsy; urgency=low - - * Fix gconf keys for suspend and hibernate (thanks, Oliver Grawert; - LP: #144790). - * Enable suspend again since as far as I can see we no longer need to - probe DMI while figuring out whether to enable it (see #61535). - * Add a 'textonly' boot option to disable X (LP: #65818). - * Write the please-remove-CD message to /dev/console so that it works even - if usplash isn't running, and make sure to set /dev/console into a sane - state so that pressing Enter doesn't just result in ^M being displayed. - - -- Colin Watson <cjwatson@ubuntu.com> Tue, 02 Oct 2007 15:12:57 +0100 - -casper (1.106) gutsy; urgency=low - - * Support preseed/early_command; code supplied here will be run using 'sh - -c' from casper-bottom, and can chroot to /root if needed (LP: #144845). - * Make sure we don't accidentally continue to boot if casper-md5check - fails (LP: #82856). - * Clear out debconf database backup files after preseeding to save memory - (LP: #43706). - * Mount everything as noatime to avoid unnecessary metadata writes. - - -- Colin Watson <cjwatson@ubuntu.com> Fri, 28 Sep 2007 15:27:52 +0100 - -casper (1.105) gutsy; urgency=low - - * scripts/casper-bottom/36disable_trackerd: Disable trackerd in the live - session; it's not very useful in this context and it uses a fair bit of - memory. - - -- Colin Watson <cjwatson@ubuntu.com> Mon, 24 Sep 2007 17:25:50 +0100 - -casper (1.104) gutsy; urgency=low - - * casper-md5check: Fall back to text output if opening the usplash FIFO - fails (LP: #131209). - - -- Colin Watson <cjwatson@ubuntu.com> Thu, 20 Sep 2007 01:07:45 +0100 - -casper (1.103) gutsy; urgency=low - - * Disable anacron harder so that it doesn't get started by battery events. - * Don't write out DHCP network interface stanzas if network-manager is - installed (LP: #139403). - - -- Colin Watson <cjwatson@ubuntu.com> Wed, 19 Sep 2007 12:52:21 +0100 - -casper (1.102) gutsy; urgency=low - - * Rename 42disable_cups_apparmor to 42disable_apparmor and remove AppArmor's - rc.d startup links instead of just disabling the cups profile. AA profiles - will not generally work on the live system, so disabling it completely - allows us to ship more profiles without worrying any further. - (LP: #131976) - - -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 14 Sep 2007 08:37:50 +0200 - -casper (1.101) gutsy; urgency=low - - * Add scripts/casper-bottom/42disable_cups_apparmor: Disable AppArmor - protection for cups on the live CD by switching the profiles to complain - mode. This is necessary until AppArmor works properly on stacked file - systems. (LP: #131976) - - -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 12 Sep 2007 16:44:02 +0200 - -casper (1.100) gutsy; urgency=low - - * scripts/casper-bottom/41apt_cdrom: Remove unnecessary /root/cdrom - mounting/unmounting code, which only serves to generate error messages - (scripts/casper-bottom/05mountpoints handles this already). - - -- Colin Watson <cjwatson@ubuntu.com> Tue, 11 Sep 2007 19:47:58 +0100 - -casper (1.99) gutsy; urgency=low - - [ Luke Yelavich ] - * scripts/casper-bottom/30accessibility & - ubiquity-hooks/30accessibility: - - Change gconf setting used to automatically start Orca (LP: #131808). - - -- Colin Watson <cjwatson@ubuntu.com> Fri, 31 Aug 2007 13:09:46 +0100 - -casper (1.98) gutsy; urgency=low - - * Load /preseed.cfg if it exists in the initramfs. - - -- Colin Watson <cjwatson@ubuntu.com> Wed, 29 Aug 2007 16:18:27 +0100 - -casper (1.97) gutsy; urgency=low - - * Fix paths in scripts/casper-bottom/10adduser and - scripts/casper-bottom/38disable_restricted_manager - - -- Jonathan Riddell <jriddell@ubuntu.com> Wed, 29 Aug 2007 15:26:33 +0100 - -casper (1.96) gutsy; urgency=low - - [ Colin Watson ] - * Fix name and executability of timezone script. - - [ Jonathan Riddell ] - * In 10adduser add About Kubuntu document to desktop and remove - restricted-manager autostart files - - -- Colin Watson <cjwatson@ubuntu.com> Tue, 07 Aug 2007 12:51:02 +0100 - -casper (1.95) gutsy; urgency=low - - * Fix regex syntax error while looking for non-CD devices for driver - updates. - * Fix ip= boot parameter, documented but not properly merged from Debian. - (LP: #128689). - - -- Colin Watson <cjwatson@ubuntu.com> Fri, 27 Jul 2007 15:03:41 +0100 - -casper (1.94) gutsy; urgency=low - - [ Colin Watson ] - * Hack around keyboard configuration not being done until after the keymap - is set by having /etc/init.d/usplash reconfigure the console - (LP: #68487). - * Disable pam_lastlog on the console if doing autologin (LP: #126800). - - [ Luke Yelavich ] - * scripts/casper-bottom/30accessibility & - ubiquity-hooks/30accessibility: - - Prevent gksu from grabbing keyboard focus for the v2, v3, and m1 - accessibility profiles. (LP: #67172) - * Start Orca when a Braille device is configured from choosing the - Braille option in the Accessibility menu. (Partially fixes Launchpad - bug #122024) - * Re-enable desktop sounds for the blindness accessibility profile, as - eSpeak should be able to speak alongside audio playback. - - -- Colin Watson <cjwatson@ubuntu.com> Tue, 24 Jul 2007 16:24:55 +0100 - -casper (1.93) gutsy; urgency=low - - * revert gdm-cdd.conf handling for autologin to the chrooted code - as we had it in feisty. not chrooting brings up problems with the - alternatives system (dead symlinks) used for gdm-cdd.conf - - -- Oliver Grawert <ogra@ubuntu.com> Wed, 18 Jul 2007 15:08:16 +0200 - -casper (1.92) gutsy; urgency=low - - [ Colin Watson ] - * Don't bother chrooting just to run test(1). - - [ Evan Dandrea ] - * Added support for URL-based preseeding. - * Added 'noninteractive' option that starts ubiquity in noninteractive - mode on tty1. - - -- Colin Watson <cjwatson@ubuntu.com> Mon, 09 Jul 2007 15:23:51 +0100 - -casper (1.91) gutsy; urgency=low - - * Fix Maintainer field (ubuntu-devel-discuss, not ubuntu-devel). - * Remember to strip directories from paths when dealing with driver update - .debs (LP: #120217). - - -- Colin Watson <cjwatson@ubuntu.com> Thu, 14 Jun 2007 09:51:33 +0100 - -casper (1.90) gutsy; urgency=low - - * Added to 22screensaver, to stop the screen automatically locking. - Fixes LP: #13497 for kubuntu as well. - - -- Sarah Hobbs <hobbsee@ubuntu.com> Thu, 07 Jun 2007 00:50:42 +1000 - -casper (1.89) UNRELEASED; urgency=low - - * Update Maintainer field to reflect reality; this package is no longer - maintained by me. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Wed, 06 Jun 2007 14:56:46 +0200 - -casper (1.88) gutsy; urgency=low - - * Add default values for root_persistence, home_persistence, - root_snapshot_label, and home_snapshot_label, and parse the persistent - command-line option, which went missing in the last merge from Debian. - This goes some way towards LP #84591 but doesn't quite fix it for me - since the USB stick inexplicably doesn't appear until a little too late. - * Use 'losetup -f' instead of walking /sys/block/loop*. Requires - busybox-initramfs 1:1.1.3-4ubuntu3. - * Install temporary workaround for /dev/loop* breakage in post-2.6.21 - kernels (LP: #118561). - - -- Colin Watson <cjwatson@ubuntu.com> Mon, 04 Jun 2007 16:26:59 +0100 - -casper (1.87) feisty; urgency=low - - [ Colin Watson ] - * Improve language at end of MD5 check (LP: #100088). - - [ Martin Pitt ] - * Add casper-bottom/33enable_apport_crashes: Enable apport crash - notifications. They are disabled now by default in the installed system - for the final release. - - -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 9 Apr 2007 14:31:50 +0200 - -casper (1.86) feisty; urgency=low - - [ Luke Yelavich ] - * scripts/casper-bottom/30accessibility & - ubiquity-hooks/30accessibility: - - Point to new settings file for gnome-orca, as package was changed - from python-support to pycentral. (LP: #91868) - - -- Colin Watson <cjwatson@ubuntu.com> Thu, 5 Apr 2007 16:42:54 +0100 - -casper (1.85) feisty; urgency=low - - * Stop disabling nvidia and fglrx drivers. LP: #94359 - - -- Tollef Fog Heen <tfheen@ubuntu.com> Mon, 2 Apr 2007 13:16:46 +0200 - -casper (1.84) feisty; urgency=low - - [ Jani Monoses ] - * scripts/casper-bottom/13swap: Call /bin/dd not dd so it - correctly detects and uses existing swap partitions (LP: #62868) - - [ Tollef Fog Heen ] - * Make sure that we are settled before trying to set up netbooting. - (LP: #96076) - * Bind-mount /dev too, when configuring X, this should make it easier - for X to be correctly configured on a lot of systems. - * Add /root/lib and /root/usr/lib to /etc/ld.so.conf in the initramfs. - * Add any sources on the CD to APT using apt-cdrom. - * Set the time zone to UTC. LP: #13782 - * Fix deletion of checkroot script. LP: #66585. - - [ Colin Watson ] - * Fix error message if do_netmount fails (LP: #95134). - - -- Tollef Fog Heen <tfheen@ubuntu.com> Fri, 30 Mar 2007 12:37:58 +0200 - -casper (1.83) feisty; urgency=low - - * Fix usplash version in Conflicts. - * Add XS-Vcs-Bzr field to debian/control. - * scripts/casper-bottom/25configure_init: Support for "respawn COMMAND" - has been dropped from upstart jobs; cope with /etc/event.d/tty* using - "respawn" plus "exec COMMAND" now instead (LP: #92928). - - -- Colin Watson <cjwatson@ubuntu.com> Mon, 19 Mar 2007 16:44:22 +0000 - -casper (1.82) feisty; urgency=low - - [ Ben Collins ] - * Depends on eject package, and copy it into initramfs. - * Add log_wait_msg function to use usplash_write INPUTENTER. - * Conflict with usplash older than the one that fixes INPUTENTER. - * Add driver-updates hooks. - - [ Colin Watson ] - * Fix more leftover /live_media wreckage (LP: #84592). - * Add a ubiquity hook to install driver-updates on the target system. - - -- Colin Watson <cjwatson@ubuntu.com> Mon, 5 Mar 2007 11:19:48 +0000 - -casper (1.81+debian-4) unstable; urgency=low - - * Added patch from Serkan Sakar <serkan.sakar@gmx.net> to allow local keymap - for use with encryption. - - -- Daniel Baumann <daniel@debian.org> Wed, 11 Apr 2007 09:04:00 +0200 - -casper (1.81+debian-3) unstable; urgency=low - - * Added depends to eject. - * Removed recommends to live-package. - - -- Daniel Baumann <daniel@debian.org> Wed, 21 Mar 2007 00:30:00 +0100 - -casper (1.81+debian-2) unstable; urgency=low - - [ Daniel Baumann ] - * Applied patch from Sebastian Raveau <sebastien.raveau@epita.fr> to - add support for filesystem images encrypted with loop-aes. - - [ Marco Amadori ] - * Added a "quickreboot" boot parameter, that prevent casper to eject the - media, useful for remote rebooting of a casper system, thanks to - Jonathan Hall <flimzy@flimzy.com> for the patch. - - -- Marco Amadori <marco.amadori@gmail.com> Fri, 16 Feb 2007 17:26:58 +0100 - -casper (1.81+debian-1) unstable; urgency=low - - * New upstream release. - * Some cleaning and renaming involved because most of the debian-only code - was merged in ubuntu sources, then back here. - * Extended manpage, thanks to Alex Owen <r.alex.owen@gmail.com> and - Jonathan Hall <flimzy@flimzy.com> (Closes: #409980). - * Included a slightly reworked and bug fixed version of "Allow specific - ordering of images" by Jonathan Hall <flimzy@flimzy.com> with a new boot - parameter: module=NAME. - - -- Marco Amadori <marco.amadori@gmail.com> Thu, 15 Feb 2007 10:21:01 +0100 - -casper (1.81) feisty; urgency=low - - * Merge in Debian's changes. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Wed, 7 Feb 2007 14:39:30 +0100 - -casper (1.80) feisty; urgency=low - - * scripts/casper-bottom/31disable_update_notifier: Allow update-notifier - to run for crash report handling, but disable its apt-check hook. - - -- Colin Watson <cjwatson@ubuntu.com> Thu, 1 Feb 2007 00:11:06 +0000 - -casper (1.79+debian-3) unstable; urgency=low - - * Fix DEFCONSOLE for autoserial console, thanks to - "Alex Owen" <r.alex.owen@gmail.com>. - - -- Marco Amadori <marco.amadori@gmail.com> Sun, 4 Feb 2007 20:12:08 +0100 - -casper (1.79+debian-2) unstable; urgency=low - - * It now depends also on "file" (Closes: #409308). - * Fixed LIVEMEDIA_TIMEOUT values (Closes: #409300). - Thanks for both to Jonathan Hall <flimzy@flimzy.com>. - - -- Marco Amadori <marco.amadori@gmail.com> Sat, 3 Feb 2007 18:29:20 +0100 - -casper (1.79+debian-1) unstable; urgency=low - - * New Upstream release. - * Reverted: "Mount the first squashfs as /rofs." - - -- Marco Amadori <marco.amadori@gmail.com> Tue, 16 Jan 2007 12:12:34 +0100 - -casper (1.79) feisty; urgency=low - - [ Colin Watson ] - * ubiquity-hooks/30accessibility: Change /root to /target in - kderc_addtoprefixes (thanks, Jani Monoses). - * Call udevsettle after udevtrigger (thanks, Matthias Urlichs; LP: - #77438). - * Send casper-reconfigure error messages to stderr rather than stdout to - avoid interfering with debconf. - - [ Jani Monoses ] - * ubiquity-hooks/30accessibility, scripts/casper-bottom/30accessibility: - Fix v2 option to start orca in magnifier not speech mode. - Add v1, v2, v3, m1 and m2 Xubuntu options - - [ Tollef Fog Heen ] - * Apply patch from Luka Renko to support kde-guidance-powermanager and - ksmserver instead of klaptoprc as the latter is no longer used. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Wed, 10 Jan 2007 20:37:30 +0100 - -casper (1.78) edgy; urgency=low - - * Mount the first squashfs as /rofs. Breaks showmounts and won't work - properly with stacked filesystems, but works around a kernel oops with - multiply-mounted squashfses for Edgy. - - -- Colin Watson <cjwatson@ubuntu.com> Wed, 25 Oct 2006 12:46:05 +0100 - -casper (1.77+debian-7) testing; urgency=medium - - * Backported two 1 line fixes (both serious bugs) from casper-1.79+debian-1 - and casper-1.79+debian-3: - - It now depends also on "file" (Closes: #409308). - - Fix DEFCONSOLE for autoserial console, thanks to - "Alex Owen" <r.alex.owen@gmail.com>. - - -- Marco Amadori <marco.amadori@gmail.com> Thu, 8 Feb 2007 11:19:46 +0100 - -casper (1.77+debian-6) unstable; urgency=medium - - * Improved snapshots features (even still experimental). - * Added "live-media-offset=BYTES" boot param, to enable "hiding" - feature, thanks to Sebastien Raveau <sebastien.raveau@epita.fr>. - * Now it creates /etc/resolv.conf if netbooted. - - -- Marco Amadori <marco.amadori@gmail.com> Fri, 1 Dec 2006 17:43:30 +0100 - -casper (1.77+debian-5) unstable; urgency=low - - * Fixed preseeding locale and keyboard's variant and options. - * Reorganized scans of /proc/cmdline. - * Improved manpages, thanks to Oliver Osburg for syntax corrections. - * Added "nopersistent" boot option to disable the "persistent" boot param. - * Added "xdebconf" boot option, that uses xdebconfigurator on the - rootfs to configure X (experimental). - - -- Marco Amadori <marco.amadori@gmail.com> Mon, 20 Nov 2006 22:12:18 +0100 - -casper (1.77+debian-4) unstable; urgency=medium - - * Removed -phigh from casper-reconfigure, not needed anymore. - * Fixed netboot /etc/network/interfaces generation, thanks to Hadar - <whadar@gmail.com>. - * Fixed X keyboard setup. Thanks to <ascii_77@yahoo.fr> for the idea. - * Fixed keyboard setup. - * Allow commandline-device to show up late, thanks to Bas Wijnen - <wijnen@debian.org> for the code and the care (Closes: #397320). - * Urgency is set to medium to try reaching Etch with important - features/bugfixes. - - -- Marco Amadori <marco.amadori@gmail.com> Mon, 6 Nov 2006 19:00:29 +0100 - -casper (1.77+debian-3) unstable; urgency=medium - - * Fixed "todisk=" parsing. - * Urgency is set to medium to try reaching Etch with important - features/bugfixes. - - -- Marco Amadori <marco.amadori@gmail.com> Wed, 1 Nov 2006 11:15:56 +0100 - -casper (1.77+debian-2) unstable; urgency=medium - - [ Marco Amadori ] - * Improved snapshotting (but still experimental). - * Renamed "host=" boot parameter to "hostname=" and shell variable "HOST" to - "HOSTNAME" for consistence, with linux and with username/USERNAME, as - requested by many people. - * Fixed a "keyb=" typo. - * Added dependence on lsb-base (used by init-script and - casper-snapshot). - * Removed DM support (obsolete). - * Changed a bit locale and keyboard handling. - * Fixed locale generation. - * Urgency is set to medium to try reaching Etch with important - features/bugfixes. - - [ Otavio Salvador ] - * Really lowered usplash conflicts since Debian doesn't has 0.4. - - -- Marco Amadori <marco.amadori@gmail.com> Mon, 30 Oct 2006 17:06:48 +0100 - -casper (1.77+debian-1) unstable; urgency=low - - * New upstream release. - * Added snapshot persistence feature (copy on boot, sync on reboot) via - different ways: squashfs, cpio.gz, and block device filesystems. - * Added boot parameter "live-media=<device>" to force trying to boot from - a specified device. - * Added support for "todisk=<device>" to copy the live media to a - device filesystem, subsequent boots could use "live-media=<device>". - * Slightly polished locales and keyboards handling. - * Extendend manpages. - * Readded a missing "sleep 1", reworked how live_media is detected, - thanks to Bas Wijnen <wijnen@debian.org> for the reports. - (Closes: #394308, #394554). - * Reworked casper-getty system, thanks to Alex Owen (Closes: #394686). - * Postint now rebuild all initramfs. - * Casper now Recommends also squashfs-tools and genext2fs, maybe - needed by casper-snapshot. - * Lowered usplash requirements, since usplash 0.4 is not in debian - yet. - - -- Marco Amadori <marco.amadori@gmail.com> Sun, 22 Oct 2006 20:25:38 +0200 - -casper (1.77) edgy; urgency=low - - * Honour console-setup/modelcode preseeding. Needed for Malone #66719, - #66774. - - -- Colin Watson <cjwatson@ubuntu.com> Fri, 20 Oct 2006 19:59:39 +0100 - -casper (1.76) edgy; urgency=low - - [ Colin Watson ] - * Copy access=m2 accessibility changes into the corresponding ubiquity - hook. - * Remove spurious quoting from accessibility script. - * Clear console-setup/layoutcode and console-setup/variantcode if they - aren't supplied on the command line. - - [ Michael Vogt ] - * scripts/casper-bottom/35fix_language_selector: - - run fontconfig-voodoo if available to make sure that we have - optimal fontconfig settings for the CJK languages (lp: #49334) - - [ Henrik Nilsen Omma ] - * Fix a few accessibility items that were out of date, changing - gnopernicus -> orca and gok -> onboard (the gok entry was missing some - brackets as well; patch from Malone #58836, closes: Malone #65861). - - -- Colin Watson <cjwatson@ubuntu.com> Mon, 16 Oct 2006 20:20:15 +0100 - -casper (1.75) edgy; urgency=low - - * Turn on accessibility in "Motor Difficulties - pointing devices" which - makes onboard start properly. closes: Malone: #65861. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Fri, 13 Oct 2006 14:12:10 +0200 - -casper (1.74) edgy; urgency=low - - [ Tollef Fog Heen ] - * Sync up ubiquity-hooks/30accessibility with - scripts/casper-bottom/30accessibility fixing spelling errors and - enabling accessibility in KDE. - - [ Colin Watson ] - * Fix check for presence of gconf2 (closes: Malone #58836). - - -- Colin Watson <cjwatson@ubuntu.com> Wed, 11 Oct 2006 11:18:00 +0100 - -casper (1.73) edgy; urgency=low - - * Never run install-keymap or preseed debian-installer/keymap if - console-setup is detected, even if console-setup wasn't explicitly - preseeded. Contributes to Malone #60067. - - -- Colin Watson <cjwatson@ubuntu.com> Sat, 7 Oct 2006 01:56:20 +0100 - -casper (1.72) edgy; urgency=low - - * Force suspend and hibernate both off, since reconfiguring - gnome-power-manager kills usplash here. Fixes Malone: #61535 - completely. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Fri, 6 Oct 2006 14:22:23 +0200 - -casper (1.71+debian-1) unstable; urgency=low - - * New upstream release. - * Added experimental casper-snapshot script and manpage. - * Tagged for debtags project. - - -- Marco Amadori <marco.amadori@gmail.com> Thu, 28 Sep 2006 16:04:54 +0200 - -casper (1.71) edgy; urgency=low - - * Use TEXT-URGENT in shutdown script to make sure we display the "please - remove disc and press enter" text. Malone: #61533 - * Increase usplash timeout since "TIMEOUT 0" no longer means "spin - forever". - * Don't move-mount all the squashfs-es into / since that confuses mono - (and some other apps too). Malone: #62756 - * Disable kwallet by default. Malone: #47743 - * Add -n to language selector to make it not whine about - not-fully-installed langpacks. Malone. #37568 - * Override definition of log_end_msg in casper-functions. Make sure all - casper-bottom scripts use this. - * Pulsate bar in casper-top and casper-bottom. Malone: #61535 - - -- Tollef Fog Heen <tfheen@ubuntu.com> Wed, 4 Oct 2006 09:52:06 +0200 - -casper (1.70) edgy; urgency=low - - * Check for new file= alias as well as preseed/file= (closes: Malone - #63145). - - -- Colin Watson <cjwatson@ubuntu.com> Wed, 4 Oct 2006 08:59:53 +0100 - -casper (1.69) edgy; urgency=low - - [ Tollef Fog Heen ] - * Use grep -E in scripts/casper. Malone: #57620 - * Fix syntax error in accessibility script - - [ Colin Watson ] - * Run 'sh -n' over everything in build target to avoid future syntax - errors. - * Fix check for /etc/default/console-setup (closes: Malone #62775). - - -- Colin Watson <cjwatson@ubuntu.com> Mon, 2 Oct 2006 10:58:19 +0100 - -casper (1.68+debian-3) unstable; urgency=low - - * Really add casper manpage (Closes: #389867). - * Lintian cleanness reached. - - -- Marco Amadori <marco.amadori@gmail.com> Thu, 28 Sep 2006 12:36:29 +0200 - -casper (1.68+debian-2) unstable; urgency=low - - * Changed "staticip=" boot param to just "ip=". - * Added a manpage for casper. - * Lintian cleanings. - - -- Marco Amadori <marco.amadori@gmail.com> Tue, 26 Sep 2006 00:45:21 +0200 - -casper (1.68+debian-1) unstable; urgency=low - - * New upstream release. - * Added static network configuration support. - * Fixed gnome-screensaver-lock differences between ubuntu. - * username, host, and userfullname are now also settable - via kernel parameters. - - -- Marco Amadori <marco.amadori@gmail.com> Fri, 8 Sep 2006 11:26:02 +0200 - -casper (1.68) edgy; urgency=low - - * Honour console-setup/layoutcode and console-setup/variantcode preseeding - (closes: Malone #61573). - - -- Colin Watson <cjwatson@ubuntu.com> Fri, 22 Sep 2006 16:09:53 +0100 - -casper (1.67) edgy; urgency=low - - * Make sure to write xorg.conf md5sum to the installed system, not the - live system in ubiquity-hooks/20xconfig - * Implement support for setting KDE's accessibility options too, thanks - to Jonathan Riddell for the patch. - * Use usplash's TEXT-URGENT for important messages when doing md5 checks - * Fix flashing of progress bar on 32 bit arches - - -- Tollef Fog Heen <tfheen@ubuntu.com> Wed, 23 Aug 2006 14:34:57 +0200 - -casper (1.66+debian-1) unstable; urgency=low - - * Added "magic" to make it work seamlessy also on ubuntu systems. - * Default user password now "live". - - -- Marco Amadori <marco.amadori@gmail.com> Fri, 1 Sep 2006 17:18:07 +0200 - -casper (1.66) edgy; urgency=low - - * Fix use of db_get in ubiquity accessibility hook. - * Use sudo instead of su to get to the live session user from the - initramfs or to the newly-installed user from ubiquity. su's argument - handling has changed so that the previous code no longer worked, and su - was never all that good for arguments containing spaces anyway. - - -- Colin Watson <cjwatson@ubuntu.com> Mon, 4 Sep 2006 15:46:55 +0100 - -casper (1.65+debian-1) unstable; urgency=low - - * New upstream release. - * Re-included ubiquity sources since it is here anyway in diff.gz. - * Included remote getty patch from Alex Owen (enable it with "casper-getty" - as kernel parameter). - - -- Marco Amadori <marco.amadori@gmail.com> Thu, 17 Aug 2006 14:06:10 +0200 - -casper (1.65) edgy; urgency=low - - * Update to call udevsettle/udevtrigger instead of udevplug - - -- Tollef Fog Heen <tfheen@ubuntu.com> Mon, 21 Aug 2006 19:37:58 +0200 - -casper (1.64) edgy; urgency=low - - * Fix moving of squashfs mount points so that /proc/mounts in the - installed system refers to them correctly (closes: Malone #55019). As a - bonus, this lets us mount them on subdirectories of /casper/ right from - the start. - * Treat locale= as equivalent to debian-installer/locale= (closes: Malone - #53444). - * Fix ubiquity-hooks/30accessibility not to use log_end_msg, and to chroot - to /target instead of /root (closes: Malone #53277). - - -- Colin Watson <cjwatson@ubuntu.com> Thu, 3 Aug 2006 14:00:22 +0100 - -casper (1.63+debian-3) unstable; urgency=low - - * Really do not try to eject cd if netbooted. - * Fixed unionfs ro param in case of nfs netboot (Closes: 383346). - - -- Marco Amadori <marco.amadori@gmail.com> Wed, 16 Aug 2006 20:10:11 +0200 - -casper (1.63+debian-2) unstable; urgency=low - - * Working netboot support (Closes: #380506). - * Polished kernel parameters parsing a bit. - - -- Marco Amadori <marco.amadori@gmail.com> Sun, 13 Aug 2006 15:52:14 +0200 - -casper (1.63+debian-1) unstable; urgency=low - - [Marco Amadori] - * New upstream release. - * Fixed upstream changelog. - * Really fixed the user password issue, now really "debian". - * Reincluded casper-md5ckeck in debian/rules and 05mountpoints in - script/casper-bottom. - * Rewrote netboot support now will support all types of rootfs file images - (not only plain dirs) like cd/dvd one. - * Included a fix for USB by Davide Natalini <davide.natalini@studio.unibo.it> - * Included support for plain directory as RO rootfs. - * Removed xfs support (not implemented in make-live, maybe useless). - - [Alex Owen] - * Added NFS netboot support (Closes: #380506). - * Fixed /etc/inittab editing (Closes: #380488). - * Do not try to eject cd if netbooted (Closes: #380502). - - [Daniel Baumann] - * Minor debian/rules reordering. - * Changed "Section:" from "admin" to "misc". - - -- Marco Amadori <marco.amadori@gmail.com> Sun, 30 Jul 2006 19:10:23 +0200 - -casper (1.63) edgy; urgency=low - - [ Tollef Fog Heen ] - * Change "Live CD user" to "live session user" in the adduser script. - Malone #46882 - * Wait for persistent devices for 30 seconds, not 1500. - * Make sure that readahead-list is installed before chmod -x'ing it. - * Only disable l-r-m and anacron if they are installed. - * Make sure laptop-detect is installed before trying to call it. - * Do not install init script from the initramfs any more. It should - have rc.d links already in the squashfs. - * Minor build system fixes. - * Only copy devmapper relevant files if devmapper is installed. - * Remove ubuntu-specific branding from the default casper. - * Install default configuration file and make it end up in the - initramfs. - * Get rid of CD references and replace with medium or other appropriate - terms. - * Add stacked file system support - - [ Marco Amadori ] - * Added possibility to set locale on chroot, not only at runtime. - * Updated 14locales to latest debian policy. - - [ Malcolm Gilles ] - * USB devices can have ID_PATH with pci-*-usb, too. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Tue, 18 Jul 2006 10:20:51 +0200 - -casper (1.61+debian-2) unstable; urgency=low - - * Set password for user to 'debian'. - - -- Daniel Baumann <daniel@debian.org> Wed, 19 Jul 2006 20:56:00 +0200 - -casper (1.61+debian-1) unstable; urgency=low - - [ Daniel Baumann ] - * Rebuild tarball without debian directory. - * Using dpatch for upstream modifications. - * Added patch for proper GDM autologin from Arnaud Cornet - <arnaud.cornet@gmail.com>. - - [ Marco Amadori ] - * New upstream release (Resynced with 1.61, bzr 258). - * Usb discover patch from Malcom Gilles <live@ouabain.org>. - - -- Marco Amadori <marco.amadori@gmail.com> Tue, 18 Jul 2006 23:34:59 +0200 - -casper (1.61) edgy; urgency=low - - * Move PATH setting to top of casper script to avoid silliness where - PATH isn't correctly set. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Mon, 17 Jul 2006 12:53:59 +0200 - -casper (1.60) edgy; urgency=low - - * Change start symlinks to kill symlinks for anacron, to avoid it being - started by invoke-rc.d and similar. - * Rearrange source package. - * Redo how the init script works and require it to be installed in the - live fs. - * Bump version number to be higher than Debian's so we don't - automatically sync. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Wed, 31 May 2006 00:01:40 +0200 - -casper (1.59+debian-1) unstable; urgency=low - - [ Daniel Baumann ] - * Upload to unstable (Closes: #354539). - - [ Marco Amadori ] - * Added possibility to set locale on chroot, not only at runtime. - * Removed "persistent" wait. - * Fixed persistence lock and added "homepersistence" boot parameter. - * Updated locales handling to latest debian policy. - * Cleanups - - -- Daniel Baumann <daniel@debian.org> Thu, 22 Jun 2006 06:21:00 +0200 - -casper (1.59+debian-0) UNRELEASED; urgency=low - - * Added "toram" boot parameter. - * Extendend fs support to ext2 and xfs file image. - * Changed debian-inexistant "-Q" modprobe option with "-q". - * Removed ubiquity code. - * USERNAME and HOST defaulted to "debian". - * Preliminary netboot (cifs) patch by - "Jason D. Clinton" <me@jasonclinton.com> - * Lowered dependence of dmsetup code (now only Suggests). - * Checks for replacing "udevplug" (ubuntu-only) with "udevtrigger". - * Reworked xorg and anacron patches from - Frederic Lehobey <Frederic.Lehobey@free.fr>. - * scripts/casper-bottom/10adduser: configuring only the $USERNAME for sudo - instead of group 'admin'. - - -- Marco Amadori <marco.amadori@gmail.com> Fri, 16 Jun 2006 11:01:48 +0200 - -casper (1.58) dapper; urgency=low - - * Really rename properly, without dirname. - - -- Scott James Remnant <scott@ubuntu.com> Tue, 30 May 2006 22:47:04 +0100 - -casper (1.57) dapper; urgency=low - - * Rename the anacron rc.d/S* symlinks to K*, instead of removing them. - Because otherwise pbbuttonsd decides that starting anacron on the - LiveCD would be a clever thing to do. - - -- Scott James Remnant <scott@ubuntu.com> Wed, 24 May 2006 23:06:04 +0100 - -casper (1.56) dapper; urgency=low - - * Hopefully work a bit better when checking DVDs on 32 bit - architectures. - * Do an explicit read from /dev/console when waiting for keypress after - CD/DVD has been ejected. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Mon, 22 May 2006 16:43:03 +0200 - -casper (1.55) dapper; urgency=low - - * Reconfigure gnome-power-manager when doing live installations. - Malone #45654 - - -- Tollef Fog Heen <tfheen@ubuntu.com> Mon, 22 May 2006 11:16:46 +0200 - -casper (1.54) dapper; urgency=low - - [ Luke Yelavich ] - * Set large print fonts for the v1 accessibility profile. Closes - Malone #45376. - - [ Colin Watson ] - * Fix preseed/file handling (closes: Malone #43683). - - -- Tollef Fog Heen <tfheen@ubuntu.com> Thu, 18 May 2006 19:36:24 +0200 - -casper (1.53) dapper; urgency=low - - [ Tollef Fog Heen ] - * Disable fglrx and nvidida drivers by default. Somewhat addresses - #43706 - - [ Colin Watson ] - * Pass all command-line preseed arguments (other than preseed/file) to - /root's debconf db. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Sat, 13 May 2006 10:14:36 +0200 - -casper (1.52) dapper; urgency=low - - * Export the path in casper-reconfigure so X and friends actually have - sbin in their path. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Thu, 11 May 2006 21:04:11 +0200 - -casper (1.51) dapper; urgency=low - - [ Luke Yelavich ] - * casper-bottom/30accessibility: - - Removed stale reference to acessx_applet. - - Fix some typos for gconf values that had to be set as lists. - - [ Colin Watson ] - * Pass debian-installer/locale to /root's debconf db (closes: Malone - #41896). - * Identify ourselves as casper when communicating with debconf. - * Factor out preseeding code into casper-preseed; this knows that it only - needs to register a question if it fails to set it, which saves memory - by avoiding debconf having to rewrite templates.dat. - * Preseed kbd-chooser/method as well as debian-installer/keymap, so that - kbd-chooser run from ubiquity picks up the selected keyboard (closes: - Malone #42202). - * Use new dpkg-reconfigure --no-reload option (debconf 1.4.72ubuntu6) to - avoid needlessly rewriting templates.dat. - - [ Tollef Fog Heen ] - * Add ... to the end of all usplash messages. Malone #43856 - * Add maybe_break casper-bottom to allow breaking before running bottom - scripts. Malone #43860 - * Don't show the name of the live cd user that's added. - * Mount COW filesystem if show-cow is present on the kernel command line. - Malone #43687 - * Disable the Kubuntu update notifier too. Malone #43806 - * Disable hibernation and enable sleep where appropriate. Malone #23882 - - -- Tollef Fog Heen <tfheen@ubuntu.com> Thu, 11 May 2006 12:11:08 +0200 - -casper (1.50) dapper; urgency=low - - [ Luke Yelavich ] - * Fixed some typos, and added missing settings to some accessibility - profiles, as they were either not working properly, or at all. Malone: - #39472, #39473 - * Removed the desktop wallpaper, and changed the background colour to gray - for the v1 accessibility profile. - * Set the whiteglass mouse theme for the v1 accessibility profile. - * Moved the gconftool-2 -s flag to individual gct calls, to allow for future - use of gconftool-2 flags that are incompatible with -s. - - [ Daniele Favara ] - * Allow custom HOST, USERNAME, USERFULLNAME. Malone: #42118 - * Add example file - - debian/casper.dir: Add examples dir - - debian/casper.conf: Explain briefly how to use new variables - - debian/rules: Install casper.conf as example_conf_casper - - [ Tollef Fog Heen ] - * Stylistic changes to Daniele's changes. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Tue, 2 May 2006 14:12:31 +0200 - -casper (1.49) dapper; urgency=low - - * Also look for hardware named wlan* - - -- Scott James Remnant <scott@ubuntu.com> Wed, 26 Apr 2006 13:37:13 +0100 - -casper (1.48) dapper; urgency=low - - * Write /etc/network/interfaces entries for eth0, eth1, eth2, ath0 and - wlan0 if there's no hardware detected for them; as it may be plugged - in after boot. - - -- Scott James Remnant <scott@ubuntu.com> Wed, 26 Apr 2006 12:31:38 +0100 - -casper (1.47) dapper; urgency=low - - [ Tollef Fog Heen ] - * Turn on debugging of the X config. - * Log to a file which gets copied to /var/log/casper.log. Malone: #39895 - * Only pick UTF-8 locales. Malone: #40178 - * Use correct /root rather than /target for seeing what version of - gnome-panel-data is installed. - * Make festival (and probably some other apps) happier by using - 127.0.1.1 for our ubuntu hostname and 127.0.0.1 just resolves to - "localhost". - * Make casper-md5check read from tty8 since it wants to get keypresses - from the active console (where usplash runs). Malone: #40490. - * Copy /etc/modules when installing with ubiquity. Malone: #40311 - * /etc/gdm/gdm-cdd.conf can be a symlink. Cope with that. Malone: #40767 - - [ Colin Watson ] - * ubiquity-casper conflicts/replaces espresso-casper. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Mon, 24 Apr 2006 09:41:14 +0200 - -casper (1.46) dapper; urgency=low - - * Use debian-installer/dummy for preseeding rather than espresso/dummy, - since the latter was removed in espresso 0.99.38. - * espresso is being renamed to ubiquity. Rename espresso-casper to - ubiquity-casper to match. - - -- Colin Watson <cjwatson@ubuntu.com> Fri, 21 Apr 2006 12:52:48 +0100 - -casper (1.45) dapper; urgency=low - - [ Matt Zimmerman ] - * [share/shutdown] Disable the usplash timeout and wrap the prompt to two - lines - - [ Tollef Fog Heen ] - * Use devmapper for ia64, hppa and sparc. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Wed, 19 Apr 2006 11:36:49 +0200 - -casper (1.44) dapper; urgency=low - - * Reset the timeout after casper-premount has run so we're sure that the - timeout is what we want it to be. Udev seems to change it too. - * Remove a few set -x commands to make the boot slightly less verbose. - * Fix 10adduser to actually install the correct icons for espresso. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Wed, 12 Apr 2006 14:20:53 +0200 - -casper (1.43) dapper; urgency=low - - * Copy espresso-kdeui.desktop file to user's desktop - Branch at http://kubuntu.org/~jriddell/bzr/casper/trunk/ - - -- Jonathan Riddell <jriddell@ubuntu.com> Thu, 13 Apr 2006 15:37:49 +0100 - -casper (1.42) dapper; urgency=low - - [ Luke Yelavich ] - * casper-bottom/30accessibility: - - Removed some settings from accessibility profiles as these are now - in the relevant packages. - - [ Tollef Fog Heen ] - * Make sure to call gconftool as the right user. Malone #38408 - * Write an entry for / in fstab. Hopefully fixes Malone #34330 - * Change gdm-cdd.conf if it exists, not gdm.conf. Malone #37467 - * Really disable update-notifier, this time by removing the correct - file. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Tue, 11 Apr 2006 15:43:24 +0200 - -casper (1.41) dapper; urgency=low - - * Don't mkdir then install -D, just install -D (this should prevent - ~ubuntu/Desktop being owned by root) - - -- Tollef Fog Heen <tfheen@ubuntu.com> Wed, 29 Mar 2006 10:52:42 +0200 - -casper (1.40) dapper; urgency=low - - * Add snd_powermac to /etc/modules on ppc. (Malone: #27862) - * Use chmod -x instead of mv to disable readahead in order to not - trigger unionfs bugs - * Reboot the system when a key is pressed at the end of the integrity - check. (Malone: #29203) - * Use usplash_write too when doing shutdown. (Malone: #34537) - - -- Tollef Fog Heen <tfheen@ubuntu.com> Tue, 28 Mar 2006 10:09:49 +0200 - -casper (1.39) dapper; urgency=low - - [ Tollef Fog Heen ] - * Disable update-notifier by default, as it won't make much sense for - most people. - - [ Colin Watson ] - * Clear out user-setup questions from the debconf database after creating - the live CD user, to avoid confusing espresso into offering "Ubuntu - LiveCD user" as the user's default full name. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Mon, 13 Mar 2006 11:38:39 +0100 - -casper (1.38) dapper; urgency=low - - * Disable readahead since it breaks too much with squashfs and unionfs. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Thu, 9 Mar 2006 09:43:39 +0100 - -casper (1.37) dapper; urgency=low - - * Add support for having the squashfs directly on a device, thanks to - Paul Sladen for idea and a patch. - * If a directory "Examples" exists in ~ after we've run adduser, move it - to the Desktop subdirectory for greater visibility. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Sat, 4 Mar 2006 11:55:50 +0100 - -casper (1.36) dapper; urgency=low - - [ Tollef Fog Heen ] - * Fix typo in find_cow_device so block devices didn't work at all. - Malone #31639. Thanks to Richard Nemec for the catch. - * Update accessibility framework, thanks to Luke Yelavich. - - [ Colin Watson ] - * Move the /cdrom mount into the new root filesystem. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Wed, 1 Mar 2006 11:13:54 +0100 - -casper (1.35) dapper; urgency=low - - * Check for preseed/file= in /proc/cmdline and feed any given file to - debconf-set-selections. - - -- Colin Watson <cjwatson@ubuntu.com> Mon, 27 Feb 2006 17:32:02 +0000 - -casper (1.34) dapper; urgency=low - - [ Luke Yelavich ] - * Add initial accessibility support framework - - -- Tollef Fog Heen <tfheen@ubuntu.com> Wed, 22 Feb 2006 14:36:07 +0100 - -casper (1.33) dapper; urgency=low - - * Make sure Desktop and the espresso-$ui.desktop is owned by the Ubuntu - user. Malone #31991 - * Fix check for rc6.d/S90reboot at the bottom of 25configure_init to - actually look in the right place. - * Make me the maintainer of the package. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Mon, 20 Feb 2006 09:49:02 +0100 - -casper (1.32) dapper; urgency=low - - * Fix copying of /usr/share/applications/espresso-gtkui.desktop. - - -- Colin Watson <cjwatson@ubuntu.com> Thu, 16 Feb 2006 16:47:15 +0000 - -casper (1.31) dapper; urgency=low - - [ Tollef Fog Heen ] - * Print message about rebooting the system when the md5 check is - finished. - * Just have one copy of the casper shutdown scripts and symlink those - into the right place. Malone #20978 - - [ Colin Watson ] - * Copy /usr/share/applications/espresso-gtkui.desktop to the live CD - user's desktop. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Tue, 14 Feb 2006 14:52:16 +0100 - -casper (1.30) dapper; urgency=low - - * Set a blank password for the ubuntu user. This hopefully resolves - Malone #30118 - * Pass keyboard layout information to xserver-xorg in the "new" scheme. - * Set up the right console keymap. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Tue, 14 Feb 2006 14:48:14 +0100 - -casper (1.29) dapper; urgency=low - - [ Tollef Fog Heen ] - * Fix typo in 22gnome_panel_data - * Configure all detected network interfaces. - * Add support for putting the persistent storage in a loopback file on - vfat volumes - * Configure all detected network interfaces. - * Allow putting the live filesystem image on a VFAT volume - * Allow putting the persistent storage in a loopback file on a VFAT - volume - * Lots of cleanups - - [ Colin Watson ] - * Change casper-reconfigure to take the target root filesystem as its - first argument. - * Add espresso-casper package with hooks to repeat some things done by - casper in the installed system. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Wed, 25 Jan 2006 14:25:45 +0100 - -casper (1.28) dapper; urgency=low - - * Depend on user-setup - * First shot at IEEE1394 support. Add sbp2 and ohci1394 as modules to - be copied into the initramfs. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Mon, 16 Jan 2006 22:06:35 +0100 - -casper (1.27) dapper; urgency=low - - * Try using unionfs on ppc again - - -- Tollef Fog Heen <tfheen@ubuntu.com> Tue, 10 Jan 2006 20:55:19 +0100 - -casper (1.26) dapper; urgency=low - - * Add persistency support - * Usplash integration - - -- Tollef Fog Heen <tfheen@ubuntu.com> Tue, 10 Jan 2006 17:53:54 +0100 - -casper (1.25) dapper; urgency=low - - * Make /rofs available to in the target system. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Mon, 9 Jan 2006 15:25:12 +0100 - -casper (1.24) dapper; urgency=low - - * For debconf-communicate, use a here-doc rather than trying to have \n - working in shell variables. - * The usplash fifo has moved, update paths accordingly. Also conflict - with the old usplash and depend on new enough initramfs-tools. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Fri, 6 Jan 2006 14:20:37 +0100 - -casper (1.23) dapper; urgency=low - - * Move the building to binary-dep, since we're an arch: any package - now. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Thu, 5 Jan 2006 10:37:31 +0100 - -casper (1.22) dapper; urgency=low - - * Bunch debconf-communicate commands together to speed up the boot a - little bit. - * Add integrity checker, this is compiled code, so casper is now arch: - any - - -- Tollef Fog Heen <tfheen@ubuntu.com> Wed, 4 Jan 2006 12:56:13 +0100 - -casper (1.21) dapper; urgency=low - - * If locale is unset, use en_US.UTF8, not whatever comes first in the - list of supported locales. - * Generate locale and set the locale in /etc/environment - * Use user-setup to create the user, rather than doing it ourselves. - * Various cleanups and fixes, such as making debconf-communicate silent - * Disable checkroot when booting - - -- Tollef Fog Heen <tfheen@ubuntu.com> Mon, 2 Jan 2006 11:00:25 +0100 - -casper (1.20) dapper; urgency=low - - * Remove a large bunch of debugging output - * Depend on dmsetup so the hook script can copy in that - * Handle both squashfs and cloop images, with run-time detection - * Use devmapper + cloop on powerpc, not unionfs, since unionfs is a - disaster there. - * Make sure we have both SCSI and IDE CDROM modules available in the - initramfs. - * Do some initial keyboard setup handling so X will, at least in some - cases, have a chance of giving the user a sane keymap. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Mon, 19 Dec 2005 14:23:13 +0100 - -casper (1.19) dapper; urgency=low - - * Switch to initramfs, so casper only survives in spirit - * Use unionfs instead of a writeable devmapper snapshot - * Remove all debconfiscation, since we're an initramfs script now - * Make the postinst call update-initramfs -u - * Mount the CD read-only explicitly - * Make udevinfo silent if the device is not found. - - -- Tollef Fog Heen <tfheen@ubuntu.com> Tue, 13 Dec 2005 16:22:45 +0100 - -casper (1.18) breezy; urgency=low - - * Update translations from Rosetta: Greek, Spanish, French, Hungarian, - Brazilian Portuguese. - - -- Colin Watson <cjwatson@ubuntu.com> Mon, 19 Sep 2005 20:05:02 +0100 - -casper (1.17) breezy; urgency=low - - * Set /apps/gnome-screensaver/lock if gnome-screensaver is installed - - -- Matt Zimmerman <mdz@ubuntu.com> Fri, 16 Sep 2005 15:24:35 -0700 - -casper (1.16) breezy; urgency=low - - * Install a fake script in /lib/debian-installer.d/S72menu-exit after - pivoting that just calls sleep, to prevent scary console messages as d-i - tries to exit without its root filesystem. - - -- Colin Watson <cjwatson@ubuntu.com> Wed, 14 Sep 2005 10:28:06 +0100 - -casper (1.15) breezy; urgency=low - - * Neutralize branding in startup message - * Use clear in addition to reset, in hopes of concealing error messages on - the console from d-i's death throes - - -- Matt Zimmerman <mdz@ubuntu.com> Fri, 9 Sep 2005 11:24:14 -0700 - -casper (1.14) breezy; urgency=low - - * Set RUNNING_UNDER_GDM=yes in the user's environment to stop xscreensaver - locking the screen (Ubuntu #7150). - - -- Colin Watson <cjwatson@ubuntu.com> Thu, 8 Sep 2005 13:37:00 +0100 - -casper (1.13) breezy; urgency=low - - * Use reset, rather than clear, to clean up after the colored dialogs on vt1 - - -- Matt Zimmerman <mdz@ubuntu.com> Wed, 7 Sep 2005 16:09:45 -0700 - -casper (1.12) breezy; urgency=low - - * Kill bterm after pivoting so that we can use vt1 rather than vt2, - thereby avoiding a fight between gdm and the X server (closes: Ubuntu - #14851). - - -- Colin Watson <cjwatson@ubuntu.com> Wed, 7 Sep 2005 15:48:40 +0100 - -casper (1.11) breezy; urgency=low - - * Remove debugging code which crept into 1.10 - * Revert changes to casper-udeb.postinst which were intended for - starting usplash earlier (pre-1.10) - - -- Matt Zimmerman <mdz@ubuntu.com> Fri, 2 Sep 2005 13:43:03 -0700 - -casper (1.10) breezy; urgency=low - - * Instead of starting usplash directly, create an init script which will - start it later (after the new init), to avoid it being killed by - busybox init - - -- Matt Zimmerman <mdz@ubuntu.com> Mon, 29 Aug 2005 20:26:58 -0700 - -casper (1.9) breezy; urgency=low - - * Remember to re-run 30copy-dev from 94usplash, in order to preserve the - device nodes clobbered by udev - * Redirect stdin of /etc/init.d/udev from /dev/console, to avoid - incredibly obnoxious 60-second sleep because it thinks we're - interactive - - -- Matt Zimmerman <mdz@ubuntu.com> Mon, 29 Aug 2005 18:30:38 -0700 - -casper (1.8) breezy; urgency=low - - * Add usplash support - - -- Matt Zimmerman <mdz@ubuntu.com> Mon, 29 Aug 2005 17:30:57 -0700 - -casper (1.7) breezy; urgency=low - - * Set DEBUG_XORG_PACKAGE=yes when reconfiguring xserver-xorg. The - output is only written to post.log and isn't visible to the user, and - can be invaluable for debugging - - -- Matt Zimmerman <mdz@ubuntu.com> Mon, 22 Aug 2005 10:25:38 -0700 - -casper (1.6) breezy; urgency=low - - * Use debconf-copydb again (thanks, Tollef) - * Rename pre.d/20xconfig to pre.d/20prexconfig so that it is distinct from - post.d/20xconfig for purposes of the progress bar (no text for it; it's - very fast) - - -- Matt Zimmerman <mdz@ubuntu.com> Wed, 17 Aug 2005 14:55:24 -0700 - -casper (1.5) breezy; urgency=low - - * Call MAKEDEV console in post.d/20xconfig as a workaround for bug - #13523 - - -- Matt Zimmerman <mdz@ubuntu.com> Tue, 16 Aug 2005 15:24:06 -0700 - -casper (1.4) breezy; urgency=low - - * Revert to the old debconf hack; the debconf-copydb approach needs more - work - - -- Matt Zimmerman <mdz@ubuntu.com> Mon, 15 Aug 2005 22:48:11 -0700 - -casper (1.3) breezy; urgency=low - - * Revert unintentional release of experimental unionfs code in 1.2 - - -- Matt Zimmerman <mdz@ubuntu.com> Sat, 13 Aug 2005 11:19:50 -0700 - -casper (1.2) breezy; urgency=low - - * Fix debconf-copydb regex in 20xconfig - - -- Matt Zimmerman <mdz@ubuntu.com> Sat, 13 Aug 2005 11:07:46 -0700 - -casper (1.1) breezy; urgency=low - - * Cope with xserver-xorg's rename of force_keyboard_detection to - autodetect_keyboard - - -- Matt Zimmerman <mdz@ubuntu.com> Mon, 4 Jul 2005 02:52:07 -0700 - -casper (1.0) breezy; urgency=low - - * Version number bump (we've been through a stable Ubuntu release, after - all) - * Rename pre.d/10snapshot to post.d/10filesystem, as it is about to - become more generic - * Seed xserver-xorg/force_keyboard_detection to true in 20xconfig, so as - to cause the keyboard layout to (continue to) be autodetected based on - d-i settings - - -- Matt Zimmerman <mdz@ubuntu.com> Thu, 16 Jun 2005 11:21:54 -0700 - -casper (0.65) breezy; urgency=low - - * As a performance optimization, only reconfigure gnome-panel-data if - booting on a laptop - * Disable the "lock screen" menu item (Ubuntu bug#7150) - - -- Matt Zimmerman <mdz@ubuntu.com> Wed, 8 Jun 2005 16:02:14 -0700 - -casper (0.64) breezy; urgency=low - - * Merge colin.watson@canonical.com--2005/casper--debconf-copydb--0 - - Use debconf-copydb rather than our temporary hack - - -- Matt Zimmerman <mdz@ubuntu.com> Tue, 31 May 2005 12:08:51 -0700 - -casper (0.63) breezy; urgency=low - - * Merge colin.watson@canonical.com--2005/casper--cdebconf-info--0 - - Update for cdebconf 0.75: use db_info rather than db_x_setbacktitle. - - -- Matt Zimmerman <mdz@ubuntu.com> Mon, 18 Apr 2005 20:59:58 -0700 - -casper (0.62) hoary; urgency=low - - * Updated translations from - colin.watson@canonical.com--2005/casper--translations--0 (nb) - - -- Matt Zimmerman <mdz@ubuntu.com> Tue, 5 Apr 2005 09:01:02 -0700 - -casper (0.61) hoary; urgency=low - - * Updated translations from - colin.watson@canonical.com--2005/casper--translations--0 (el, es, ro) - - -- Matt Zimmerman <mdz@ubuntu.com> Tue, 5 Apr 2005 08:06:51 -0700 - -casper (0.60) hoary; urgency=low - - * Updated translations from - colin.watson@canonical.com--2005/casper--translations--0 (hu, id, pl) - - -- Matt Zimmerman <mdz@ubuntu.com> Mon, 28 Mar 2005 11:26:21 -0800 - -casper (0.59) hoary; urgency=low - - * Updated translations from - colin.watson@canonical.com--2005/casper--translations--0 (de, pt_BR) - - -- Matt Zimmerman <mdz@ubuntu.com> Fri, 25 Mar 2005 16:51:17 -0800 - -casper (0.58) hoary; urgency=low - - * Remove postfix shutdown links, as well as startup, to avoid an ugly error - - -- Matt Zimmerman <mdz@ubuntu.com> Thu, 24 Mar 2005 18:24:03 -0800 - -casper (0.57) hoary; urgency=low - - * Merge colin.watson@canonical.com--2005/casper--translations--0 up to - patch-2 - * Preseed netcfg/wireless_essid_again for noninteractive network setup, +new - in netcfg 1.08ubuntu3 [colin.watson@canonical.com--2005/casper--netcfg--0] - - -- Matt Zimmerman <mdz@ubuntu.com> Wed, 23 Mar 2005 08:33:46 -0800 - -casper (0.56) hoary; urgency=low - - * Suppress error output from eject - * Remind the user to close the CD tray if they have one (Ubuntu #6668) - * Add arch-build target to debian/rules - - -- Matt Zimmerman <mdz@ubuntu.com> Tue, 22 Mar 2005 10:21:41 -0800 - -casper (0.55) hoary; urgency=low - - * Remove the hack introduced in 0.54, xorg 6.8.2-5 should be fixed - - -- Matt Zimmerman <mdz@ubuntu.com> Wed, 16 Mar 2005 18:11:05 -0800 - -casper (0.54) hoary; urgency=low - - * Temporarily set RECONFIGURE=true when reconfiguring xserver-xorg, to work - around a bug introduced in 6.8.2-3 - - -- Matt Zimmerman <mdz@ubuntu.com> Wed, 16 Mar 2005 15:08:45 -0800 - -casper (0.53) hoary; urgency=low - - * Provide target-base-system (i.e. base system installed in /target, also - provided by base-installer). - - -- Colin Watson <cjwatson@ubuntu.com> Tue, 15 Mar 2005 13:01:53 +0000 - -casper (0.52) hoary; urgency=low - - * Arrange for $LANG to be set after pivot_root, so that (e.g.) - xserver-xorg can use it to infer the keymap (Ubuntu #7138) - - -- Matt Zimmerman <mdz@ubuntu.com> Sat, 12 Mar 2005 02:10:59 -0800 - -casper (0.51) hoary; urgency=low - - * Disable kpersonalizer startup on first login - - -- Matt Zimmerman <mdz@ubuntu.com> Sat, 5 Mar 2005 13:47:13 -0800 - -casper (0.50) hoary; urgency=low - - * Add support for configuring kdm autologin - * Rename 15gdm-autologin to 15autologin, and the corresponding debconf template - * Remove obsolete XORG_FORCE_PROBE from 20xconfig - - -- Matt Zimmerman <mdz@ubuntu.com> Thu, 3 Mar 2005 10:37:31 -0800 - -casper (0.49) hoary; urgency=low - - * Fix 20xconfig harder - - -- Matt Zimmerman <mdz@ubuntu.com> Wed, 2 Mar 2005 21:20:03 -0800 - -casper (0.48) hoary; urgency=low - - * Source confmodule in 20xconfig - - -- Matt Zimmerman <mdz@ubuntu.com> Wed, 2 Mar 2005 21:02:35 -0800 - -casper (0.47) hoary; urgency=low - - * Copy over the value of debian-installer/keymap into the target system, - to allow the new logic in xserver-xorg.config to work - - -- Matt Zimmerman <mdz@ubuntu.com> Wed, 2 Mar 2005 20:45:38 -0800 - -casper (0.46) hoary; urgency=low - - * Lock the live user's password entirely. Since the user is now - automagically logged in, continuously, both on the console and in X, - their password is irrelevant. - - -- Matt Zimmerman <mdz@ubuntu.com> Mon, 28 Feb 2005 08:31:13 -0800 - -casper (0.45) hoary; urgency=low - - * Enable TimedLogin in gdm, so that if the user logs out, they are - automatically logged back in after a few seconds (Ubuntu #6667) - - -- Matt Zimmerman <mdz@ubuntu.com> Sun, 27 Feb 2005 16:06:16 -0800 - -casper (0.44) hoary; urgency=low - - * Configure init to spawn shells on virtual consoles, rather than login - prompts (Ubuntu #6666) - * Skip X configuration if a serial console is in use - * Set the live user's password to be blank, rather than "ubuntu". This - is, paradoxically, more secure if the user decides to install - openssh-server, since empty passwords are disallowed by default - - -- Matt Zimmerman <mdz@ubuntu.com> Sun, 27 Feb 2005 15:40:15 -0800 - -casper (0.43) hoary; urgency=low - - * Override localechooser progress bar text to be more appropriate for the - live CD (closes: Ubuntu #6664). - - -- Colin Watson <cjwatson@ubuntu.com> Thu, 24 Feb 2005 19:12:00 +0000 - -casper (0.42) hoary; urgency=low - - * Preseed netcfg/no_interfaces, to avoid prompt when no network interfaces - can be configured (closes: Ubuntu #6107). - * Remove redundant DH_COMPAT setting in debian/rules, since there's - already a (different) debian/compat. - - -- Colin Watson <cjwatson@ubuntu.com> Tue, 22 Feb 2005 12:43:43 +0000 - -casper (0.41) hoary; urgency=low - - * Cope with change in default /etc/sudoers (admin group). - - -- Colin Watson <cjwatson@ubuntu.com> Tue, 22 Feb 2005 09:14:30 +0000 - -casper (0.40) hoary; urgency=low - - * Copy /dev/tts to the live system as well as /dev/vc, for serial console. - - -- Colin Watson <cjwatson@ubuntu.com> Mon, 21 Feb 2005 19:03:54 +0000 - -casper (0.39) hoary; urgency=low - - * Fix reboot operation (cache the reboot binary) - - -- Matt Zimmerman <mdz@ubuntu.com> Thu, 10 Feb 2005 20:51:08 -0800 - -casper (0.38) hoary; urgency=low - - * Eject the CD during shutdown/reboot - - Awful hack to copy /dev/cdroms to the live system, because the CD is - mounted using devfs names - - Add /usr/share/casper/shutdown script to casper-udeb - - Copy /usr/share/casper/shutdown to /etc/rc[06].d in 25configure-init - * Remove caspermon binary package, inadvertently enabled (not even - remotely ready) - - -- Matt Zimmerman <mdz@ubuntu.com> Thu, 10 Feb 2005 13:43:56 -0800 - -casper (0.37) hoary; urgency=low - - * Fix casper-udeb/runlevel template - - -- Matt Zimmerman <mdz@ubuntu.com> Tue, 8 Feb 2005 19:37:43 -0800 - -casper (0.36) hoary; urgency=low - - * Rename post.d/25disable-init-scripts to 25configure-init - * Add casper-udeb/runlevel, to allow the default runlevel - to be set - - -- Matt Zimmerman <mdz@ubuntu.com> Tue, 8 Feb 2005 19:14:16 -0800 - -casper (0.35) hoary; urgency=low - - * Preseed netcfg/wireless_essid - * Remove obsolete confmodule load from pre.d/12fstab - * Don't mount a tmpfs on /var/run; it doesn't save a huge amount of - snapshot space, and packages expect their directories there to be - persistent - - -- Matt Zimmerman <mdz@ubuntu.com> Mon, 7 Feb 2005 15:46:52 -0800 - -casper (0.34) hoary; urgency=low - - * Use casper-reconfigure in 10adduser as well - * Add post.d/93save-logs to save copies of the bootstrap logs to - /var/log/casper - * Stop reconfiguring fontconfig; it insists on rebuilding the entire - font cache, and the only benefit was to unable subpixel hints - - -- Matt Zimmerman <mdz@ubuntu.com> Wed, 2 Feb 2005 10:42:19 -0800 - -casper (0.33) hoary; urgency=low - - * Re-upload to fix borked source package - - -- Matt Zimmerman <mdz@ubuntu.com> Sun, 30 Jan 2005 12:21:07 -0800 - -casper (0.32) hoary; urgency=low - - * Factor out debconf hackery into casper-reconfigure - * Mount sysfs earlier, so we don't need to mess with it in 20xconfig - * Break 22simple-reconfig into 22fontconfig and 22gnome-panel-data, and - create progress bar text for them - * Preseed netcfg/dhcp_failed, to avoid a prompt when DHCP fails - - -- Matt Zimmerman <mdz@ubuntu.com> Sat, 29 Jan 2005 14:03:36 -0800 - -casper (0.31) hoary; urgency=low - - * Clear tty2 and print a nice message, before signalling init - - -- Matt Zimmerman <mdz@ubuntu.com> Sat, 29 Jan 2005 13:15:44 -0800 - -casper (0.30) hoary; urgency=low - - * Reconfigure fontconfig, to enable subpixel rendering based on the - hardware in use - - -- Matt Zimmerman <mdz@ubuntu.com> Thu, 27 Jan 2005 14:21:49 -0800 - -casper (0.29) hoary; urgency=low - - * Fix the problem described in 0.28 by preseeding a default for - netcfg/get_hostname - - -- Matt Zimmerman <mdz@ubuntu.com> Tue, 25 Jan 2005 23:04:03 -0800 - -casper (0.28) hoary; urgency=low - - * Suppress network configuration questions - - - The goal is to make a reasonable effort to configure one interface - automatically, but if that is not possible, fall back to no - configuration. We aren't quite there yet. - - - If we fail to resolve our IP into a hostname using DNS, netcfg seems - to fall back to an empty value, rather than the default in the - template. - - -- Matt Zimmerman <mdz@ubuntu.com> Tue, 25 Jan 2005 22:55:35 -0800 - -casper (0.27) hoary; urgency=low - - * Add post.d/22simple-reconfig - - Reconfigure gnome-panel-data if it is installed, to set up the GNOME - session based on whether the system is a laptop - - Corresponding progress template - - mount /proc earlier (needed for, e.g. laptop-detect) - * Warn about screen blanking in X configuration progress message - * Simplify post.d/20xconfig and pre.d/13swap a bit - * Update TODO - - -- Matt Zimmerman <mdz@ubuntu.com> Sat, 22 Jan 2005 15:56:49 -0800 - -casper (0.26) hoary; urgency=low - - * Set NOPASSWD in /etc/sudoers for the initial user - - -- Matt Zimmerman <mdz@ubuntu.com> Fri, 21 Jan 2005 16:53:49 -0800 - -casper (0.25) hoary; urgency=low - - * mount /proc before signalling init, as it now uses /proc to determine - what is and is not a kernel thread - - -- Matt Zimmerman <mdz@ubuntu.com> Fri, 21 Jan 2005 16:04:52 -0800 - -casper (0.24) hoary; urgency=low - - * Add a backtitle properly - - -- Matt Zimmerman <mdz@ubuntu.com> Fri, 21 Jan 2005 09:07:19 -0800 - -casper (0.23) hoary; urgency=low - - * Add a backtitle - - -- Matt Zimmerman <mdz@ubuntu.com> Fri, 21 Jan 2005 09:02:01 -0800 - -casper (0.22) hoary; urgency=low - - * Search for swap on SCSI disks as well as IDE - - -- Matt Zimmerman <mdz@ubuntu.com> Wed, 19 Jan 2005 14:27:09 -0800 - -casper (0.21) unstable; urgency=low - - * Cosmetic changes to debconf templates - * Fix 10adduser to register debconf questions before setting their - values and flags - - -- Matt Zimmerman <mdz@ubuntu.com> Wed, 19 Jan 2005 14:14:20 -0800 - -casper (0.20) hoary; urgency=low - - * Remove legacy symlinks from casper/pre.d; they are now contained in - the relevant udebs - - -- Matt Zimmerman <mdz@ubuntu.com> Wed, 19 Jan 2005 13:22:33 -0800 - -casper (0.19) hoary; urgency=low - - * Update TODO - * casper-udeb Depends: md-modules - - -- Matt Zimmerman <mdz@ubuntu.com> Wed, 19 Jan 2005 11:23:51 -0800 - -casper (0.18) hoary; urgency=low - - * Enable new adduser code, using db_fset ... seen to suppress the questions - - -- Matt Zimmerman <mdz@ubuntu.com> Tue, 18 Jan 2005 15:06:48 -0800 - -casper (0.17) hoary; urgency=low - - * Convert snapshot setup to use debconf instead of hardcoded parameters - * Remove obselete-before-being-used username template - * Convert post.d/10adduser to use debconf passthrough to the passwd package, - and thus share its user-adding code rather than duplicating it. - - But don't enable it yet, since we need to find a way to prevent its - questions from being asked - - -- Matt Zimmerman <mdz@ubuntu.com> Tue, 18 Jan 2005 13:04:48 -0800 - -casper (0.16) hoary; urgency=low - - * casper-udeb Depends: casper-check, harddrive-detection - * Automatically find and enable swap devices - - -- Matt Zimmerman <mdz@ubuntu.com> Tue, 18 Jan 2005 11:23:48 -0800 - -casper (0.15) hoary; urgency=low - - * Set anna/standard_modules to false at startup to suppress unnecessary - udeb retrieval. - - -- Colin Watson <cjwatson@ubuntu.com> Tue, 18 Jan 2005 13:41:00 +0000 - -casper (0.14) hoary; urgency=low - - * Enable X autoconfiguration(!) - - -- Matt Zimmerman <mdz@ubuntu.com> Sat, 15 Jan 2005 02:19:58 -0800 - -casper (0.13) hoary; urgency=low - - * Rename templates so that they are named after the {pre,post}.d hook - which uses them - * Remove some unused templates - - -- Matt Zimmerman <mdz@ubuntu.com> Fri, 14 Jan 2005 10:11:02 -0800 - -casper (0.12) hoary; urgency=low - - * Add debconf templates for various things that we currently hardcode. - Not actually used yet due to need for testing, but having the - templates present greatly simplifies testing the remaining integration - work - - -- Matt Zimmerman <mdz@ubuntu.com> Thu, 13 Jan 2005 20:32:39 -0800 - -casper (0.11) hoary; urgency=low - - * Update post.d/20xconfig to use debconf passthrough to cdebconf - (requires debconf 1.4.42 and cdebconf 0.75), but leave it disabled for - now - * Create /etc/fstab in the target (this also seems to solve the problem - with noatime disappearing, and so should reduce snapshot utilization) - - -- Matt Zimmerman <mdz@debian.org> Thu, 13 Jan 2005 18:25:36 -0800 - -casper (0.10) hoary; urgency=low - - * Remove rc?.d/K??hwclock.sh links, to avoid changing the system clock - during reboot or shutdown - - -- Matt Zimmerman <mdz@debian.org> Thu, 13 Jan 2005 18:13:31 -0800 - -casper (0.9) hoary; urgency=low - - * Fix gdm autologin configuration (broken in 0.8) - - -- Matt Zimmerman <mdz@debian.org> Wed, 12 Jan 2005 10:52:05 -0800 - -casper (0.8) hoary; urgency=low - - * Add debian-installer/casper-udeb/title template, to specify more - readable menu item text - * Create /usr/lib/casper/{pre,post}.d and move all of our internal logic - there - * Create temporary symlinks in pre.d for the prebaseconfig.d items we - want - * Convert errors into proper error dialogs - * Make some pre.d scripts idempotent, for ease of testing - - -- Matt Zimmerman <mdz@debian.org> Tue, 11 Jan 2005 16:59:35 -0800 - -casper (0.7) hoary; urgency=low - - * Disable X configuration temporarily; need to resolve debconf issues - - -- Matt Zimmerman <mdz@canonical.com> Tue, 11 Jan 2005 13:14:43 -0800 - -casper (0.6) hoary; urgency=low - - * Allow "modprobe ext2" to fail; apparently it's sometimes compiled in - - -- Matt Zimmerman <mdz@debian.org> Tue, 11 Jan 2005 12:12:28 -0800 - -casper (0.5) hoary; urgency=low - - * Attempt to configure X - - This doesn't work very well yet (PCI BusID doesn't seem to get - updated, for example), so we still don't start gdm by default) - * Conditionalize some of the configuration code, so we automatically do - the right thing if gdm or X isn't installed - * Add German translation from Andreas Mueller - * modprobe ext2, to let powerpc work (this should probably happen - elsewhere, but for now...) - - -- Matt Zimmerman <mdz@debian.org> Sun, 9 Jan 2005 17:49:56 -0800 - -casper (0.4) hoary; urgency=low - - * Mount tmpfs on /tmp and /var/run, should save many writes to the snapshot - - -- Matt Zimmerman <mdz@debian.org> Fri, 7 Jan 2005 18:35:26 -0800 - -casper (0.3) hoary; urgency=low - - * Disable anacron and postfix startup - * Don't cripple /bin/apt-install in d-i (this was a workaround to - prevent d-i from installing packages which should have been present in - the filesystem image anyway, but weren't) - - -- Matt Zimmerman <mdz@debian.org> Fri, 7 Jan 2005 18:10:55 -0800 - -casper (0.2) hoary; urgency=low - - * Use mount --move to move the cdrom mount point, so that we can unmount - /initrd and free up the memory used by d-i - * Use /dev/ram1 rather than /dev/ram0 for the COW stuff, since /dev/ram0 - is used for initrds and we want to avoid confusion - * Organize casper-udeb.postinst into shell functions - * Add a progress bar - * Add a debian/compat file (version 4) - - -- Matt Zimmerman <mdz@debian.org> Fri, 7 Jan 2005 08:01:21 -0800 - -casper (0.1) hoary; urgency=low - - * Initial Release. - - -- Matt Zimmerman <mdz@canonical.com> Wed, 5 Jan 2005 14:30:28 -0800 diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/docs/parameters.txt b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/docs/parameters.txt deleted file mode 100644 index 60ad65002b..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/docs/parameters.txt +++ /dev/null @@ -1,73 +0,0 @@ -Boot Parameters for Debian Live -------------------------------- - -Updated for live-initramfs 1.156.1-1 on 2009-02-08. - -These options (can be combined) work from the bootloader prompt: - -live access=ACCESS -live console=TTY,SPEED -live debug -live fetch=URL -live hostname=HOSTNAME -live username=USER -live userfullname=USERFULLNAME -live integrity-check -live ip=[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF] [,[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF]]* -live ip[=frommedia] -live {keyb|kbd-chooser/method}=KEYBOARD -live {klayout|console-setup/layoutcode}=LAYOUT -live {kvariant|console-setup/variantcode}=VARIANT -live {kmodel|console-setup/modelcode}=CODE -live koptions=OPTIONS -live live-getty -live {live-media|bootfrom}=DEVICE -live {live-media-encryption|encryption}=TYPE -live live-media-offset=BYTES -live live-media-path=PATH -live live-media-timeout=SECONDS -live {locale|debian-installer/locale}=LOCALE -live module=NAME -live netboot[=nfs|cifs] -live nfsopts= -live noautologin -live noxautologin -live nofastboot -live nopersistent -live nosudo -live swapon -live nouser -live noxautoconfig -live persistent[=nofiles] -live persistent-path=PATH -live {preseed/file|file}=FILE -live package/question=VALUE -live quickreboot -live showmounts -live timezone=TIMEZONE -live todisk=DEVICE -live toram -live union=aufs|unionfs -live utc=yes|no -live xdebconf -live xvideomode=RESOLUTION - -Values for the vga kernel parameter: - -Colours 640x400 640x480 800x600 1024x768 1152x864 1280x1024 1600x1200 ---------+-------------------------------------------------------------- - 4 bits | ? ? 0x302 ? ? ? ? - 8 bits | 0x300 0x301 0x303 0x305 0x161 0x307 0x31C -15 bits | ? 0x310 0x313 0x316 0x162 0x319 0x31D -16 bits | ? 0x311 0x314 0x317 0x163 0x31A 0x31E -24 bits | ? 0x312 0x315 0x318 ? 0x31B 0x31F -32 bits | ? ? ? ? 0x164 ? - -Colours 640x400 640x480 800x600 1024x768 1152x864 1280x1024 1600x1200 ---------+-------------------------------------------------------------- - 4 bits | ? ? 770 ? ? ? ? - 8 bits | 768 769 771 773 353 775 796 -15 bits | ? 784 787 790 354 793 797 -16 bits | ? 758 788 791 355 794 798 -24 bits | ? 786 789 792 ? 795 799 -32 bits | ? ? ? ? 356 ? diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/hooks/live b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/hooks/live deleted file mode 100755 index 4e29226a9e..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/hooks/live +++ /dev/null @@ -1,178 +0,0 @@ -#!/bin/sh - -# initramfs hook for live-initramfs (Debian Live) - -set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -. /usr/share/initramfs-tools/hook-functions - -# live-initramfs hook - -# Handling live-initramfs - -# Configuration -if [ -r /etc/live.conf ] -then - . /etc/live.conf - - mkdir -p "${DESTDIR}"/etc - cp /etc/live.conf "${DESTDIR}"/etc -fi - -# Directories -mkdir -p "${DESTDIR}"/lib/live-initramfs - -# Executables -copy_exec /usr/share/live-initramfs/live-reconfigure /bin -copy_exec /usr/share/live-initramfs/live-preseed /bin - -# Scripts -cp /usr/share/initramfs-tools/scripts/live-functions "${DESTDIR}"/scripts -cp /usr/share/initramfs-tools/scripts/live-helpers "${DESTDIR}"/scripts - -# klibc dependencies -for FILE in /lib/libacl* /lib/libblkid* /lib/libuuid* /lib/libdevmapper* /lib/libattr* -do - if [ ! -e "${DESTDIR}"/"${FILE}" ] - then - cp -a "${FILE}" "${DESTDIR}"/"${FILE}" - fi -done - -# Handling other stuff - -# Configuration: keymap (usefull when using encryption) -if [ -x /bin/loadkeys ] && [ -r /etc/console/boottime.kmap.gz ] -then - copy_exec /bin/loadkeys /bin - - mkdir -p "${DESTDIR}"/etc - cp /etc/console/boottime.kmap.gz "${DESTDIR}"/etc -fi - -# Configuration: Unique ID -if [ -n "${LIVE_GENERATE_UUID}" ] -then - mkdir -p "${DESTDIR}"/conf - uuidgen -r > "${DESTDIR}"/conf/uuid.conf -fi - -# Filesystem: cifs -if [ -x /sbin/mount.cifs ] -then - copy_exec /sbin/mount.cifs /sbin - manual_add_modules cifs -fi - -# Filesystem: ext3/ext4 -manual_add_modules ext3 -manual_add_modules ext4 - -# Filesystem: jffs2 -manual_add_modules jffs2 - -# Filesystem: squashfs -copy_exec /sbin/losetup /sbin -manual_add_modules loop -manual_add_modules squashfs -manual_add_modules sqlzma -manual_add_modules unlzma - -# Filesystem: aufs/unionfs -manual_add_modules aufs -manual_add_modules unionfs - -# Filesystem: vfat -manual_add_modules nls_cp437 -manual_add_modules nls_iso8859-1 -manual_add_modules nls_utf8 -manual_add_modules vfat - -# Filesystem: ntfs -manual_add_modules ntfs - -# Hardware: cdrom -manual_add_modules ide-cd -manual_add_modules ide-generic -manual_add_modules ohci1394 -manual_add_modules sbp2 -manual_add_modules sr_mod - -# Hardware: usb -manual_add_modules sd_mod - -# Hardware: network -auto_add_modules net - -# Program: eject -if [ -x /usr/bin/eject ] -then - copy_exec /usr/bin/eject /bin -fi - -# Program: md5sum -copy_exec /usr/bin/md5sum /bin - -# Program: cpio -# busybox and klibc lacks --no-absolute-filenames and --sparse, needed for snapshots -if [ -e "${DESTDIR}/bin/cpio" ] -then - # Override already present cpio's, mostly klibc's - rm "${DESTDIR}/bin/cpio" -fi -copy_exec /bin/cpio /bin - -# Program: udev -if [ -x /sbin/udevadm ] -then - # lenny - copy_exec /sbin/udevadm /sbin -else - # etch - copy_exec /sbin/udevtrigger /sbin - copy_exec /sbin/udevsettle /sbin -fi -if [ -x /usr/bin/udevinfo ] -then - copy_exec /usr/bin/udevinfo /bin -fi - -# Program: wget -if [ -x /usr/bin/wget ] -then - copy_exec /usr/bin/wget /bin -fi - -# FUSE kernel module -manual_add_modules fuse - -# FUSE filesystem: httpfs2 -if [ -x /usr/bin/httpfs2_ssl ] -then - copy_exec /usr/bin/httpfs2_ssl /bin/httpfs -elif [ -x /usr/bin/httpfs2 ] -then - copy_exec /usr/bin/httpfs2 /bin/httpfs -fi - -# FUSE filesystem: curlftpfs -if [ -x /usr/bin/curlftpfs ] -then - copy_exec /usr/bin/curlftpfs /bin -fi diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/Makefile b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/Makefile deleted file mode 100644 index c2ddc94bc0..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -all: doc - -doc: doc_man doc_html - -doc_html: html-stamp - -html-stamp: live-initramfs.en.7.txt live-snapshot.en.1.txt - asciidoc -b xhtml11 live-initramfs.en.7.txt - asciidoc -b xhtml11 live-snapshot.en.1.txt - touch html-stamp - -doc_man: man-stamp - -man-stamp: live-initramfs.en.7.txt live-snapshot.en.1.txt - # live-initramfs: - asciidoc -d manpage -b docbook live-initramfs.en.7.txt - xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl live-initramfs.en.7.xml - mv live-initramfs.7 live-initramfs.en.7 - # live-snapshot: - asciidoc -d manpage -b docbook live-snapshot.en.1.txt - xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl live-snapshot.en.1.xml - mv live-snapshot.1 live-snapshot.en.1 - touch man-stamp - -clean: - rm -f live-initramfs.en.7.html live-initramfs.en.7.xml live-initramfs.en.7 - rm -f live-snapshot.en.1.html live-snapshot.en.1.xml live-snapshot.en.1 - rm -f html-stamp man-stamp diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/html-stamp b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/html-stamp deleted file mode 100644 index e69de29bb2..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/html-stamp +++ /dev/null diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-initramfs.en.7 b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-initramfs.en.7 deleted file mode 100644 index 58e0520b73..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-initramfs.en.7 +++ /dev/null @@ -1,314 +0,0 @@ -.\" Title: live-initramfs -.\" Author: -.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/> -.\" Date: 06/29/2009 -.\" Manual: -.\" Source: -.\" -.TH "LIVE\-INITRAMFS" "7" "06/29/2009" "" "" -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.SH "NAME" -live-initramfs \- Debian Live initramfs hook -.SH "SYNOPSIS" -BOOT=live -.sp -as kernel parameter at boot prompt\&. -.sp -.SH "DESCRIPTION" -live\-initramfs is a hook for the initramfs\-tools, used to generate a initramfs capable to boot live systems, such as those created by \fBlive\-helper\fR(7)\&. This includes the Debian Live isos, netboot tarballs, and usb stick images\&. -.sp -At boot time it will look for a (read\-only) media containing a "/live" directory where a root filesystems (often a compressed filesystem image like squashfs) is stored\&. If found, it will create a writable environment, using aufs, for Debian like systems to boot from\&. -.sp -You probably do not want to install this package onto a non\-live system, although it will do no harm\&. -.sp -live\-initramfs is a fork of \fIcasper\fR\&[1]\&. casper was originally written by Tollef Fog Heen <tfheen@canonical\&.com> and Matt Zimmerman <mdz@canonical\&.com>\&. -.sp -.SH "BOOT OPTIONS" -Here is the complete list of recognized boot parameters by live\-initramfs\&. -.PP -access=\fBACCESS\fR -.RS 4 -Set the accessibility level for physically or visually impared users\&. ACCESS must be one of v1, v2, v3, m1, or m2\&. v1=lesser visual impairment, v2=moderate visual impairment, v3=blindness, m1=minor motor difficulties, m2=moderate motor difficulties\&. -.RE -.PP -console=\fBTTY,SPEED\fR -.RS 4 -Set the default console to be used with the "live\-getty" option\&. Example: "console=ttyS0,115200" -.RE -.PP -debug -.RS 4 -Makes initramfs boot process more verbose\&. -.RE -.PP -fetch=\fBURL\fR -.RS 4 -Another form of netboot by downloading a squashfs image from a given url, copying to ram and booting it\&. Due to current limitations in busyboxs wget and DNS resolution, an URL can not contain a hostname but an IP only\&. -.RE -Not working: http://example\&.com/path/to/your_filesystem\&.squashfs Working: http://1\&.2\&.3\&.4/path/to/your_filesystem\&.squashfs -.sp -Also note that therefore it\'s currently not possible to fetch an image from a namebased virtualhost of an httpd if it is sharing the ip with the main httpd instance\&. -.PP -hostname=\fBHOSTNAME\fR, username=\fBUSER\fR, userfullname=\fBUSERFULLNAME\fR -.RS 4 -Those parameters lets you override values read from the config file\&. -.sp -.RS 4 -.nf -ignore_uuid -.fi -.RE -.RE -Do not check that any UUID embedded in the initramfs matches the discovered medium\&. live\-initramfs may be told to generate a UUID by setting LIVE_GENERATE_UUID=1 when building the initramfs\&. -.PP -integrity\-check -.RS 4 -If specified, an MD5 sum is calculated on the live media during boot and compared to the value found in md5sum\&.txt found in the root directory of the live media\&. -.RE -.PP -ip=\fB[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF] [,[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF]]\fR* -.RS 4 -Let you specify the name(s) and the options of the interface(s) that should be configured at boot time\&. Do not specify this if you want to use dhcp (default)\&. It will be changed in a future release to mimick official kernel boot param specification (e\&.g\&. ip=10\&.0\&.0\&.1::10\&.0\&.0\&.254:255\&.255\&.255\&.0::eth0,:::::eth1:dhcp)\&. -.RE -.PP -ip=[\fBfrommedia\fR] -.RS 4 -If this variable is set, dhcp and static configuration are just skipped and the system will use the (must be) media\-preconfigured /etc/network/interfaces instead\&. -.RE -.PP -{keyb|kbd\-chooser/method}=\fBKEYBOARD\fR, {klayout|console\-setup/layoutcode}=\fBLAYOUT\fR, {kvariant|console\-setup/variantcode}=\fBVARIANT\fR, {kmodel|console\-setup/modelcode}=\fBCODE\fR, koptions=\fBOPTIONS\fR -.RS 4 -Configure the running keyboard as specified, if this one misses live\-initramfs behaves as if "keyb=us" was specified\&. It will be interfered from "locale=" if locale is only 2 lowecase letters as a special case\&. You could also specify console layout, variant, code, and options (no defaults)\&. -.RE -.PP -live\-getty -.RS 4 -This changes the auto\-login on virtual terminals to use the (experimental) live\-getty code\&. With this option set the standard kernel argument "console=" is parsed and if a serial console is specified then live\-getty is used to autologin on the serial console\&. -.RE -.PP -{live\-media|bootfrom}=\fBDEVICE\fR -.RS 4 -If you specify one of this two equivalent forms, live\-initramfs will first try to find this device for the "/live" directory where the read\-only root filesystem should reside\&. If it did not find something usable, the normal scan for block devices is performed\&. -.RE -Instead of specifing an actual device name, the keyword \fIremovable\fR can be used to limit the search of acceptable live media to removable type only\&. Note that if you want to further restrict the media to usb mass storage only, you can use the \fIremovable\-usb\fR keyword\&. -.PP -{live\-media\-encryption|encryption}=\fBTYPE\fR -.RS 4 -live\-initramfs will mount the encrypted rootfs TYPE, asking the passphrase, useful to build paranoid live systems :\-)\&. TYPE supported so far are "aes" for loop\-aes encryption type\&. -.RE -.PP -live\-media\-offset=\fBBYTES\fR -.RS 4 -This way you could tell live\-initramfs that your image starts at offset BYTES in the above specified or autodiscovered device, this could be useful to hide the Debian Live iso or image inside another iso or image, to create "clean" images\&. -.RE -.PP -live\-media\-path=\fBPATH\fR -.RS 4 -Sets the path to the live filesystem on the medium\&. By default, it is set to -\fI/live\fR -and you should not change that unless you have customized your media accordingly\&. -.RE -.PP -live\-media\-timeout=\fBSECONDS\fR -.RS 4 -Set the timeout in seconds for the device specified by "live\-media=" to become ready before giving up\&. -.RE -.PP -{locale|debian\-installer/locale}=\fBLOCALE\fR -.RS 4 -Configure the running locale as specified, if not present the live\-media rootfs configured locale will be used and if also this one misses live\-initramfs behave as "locale=en_US\&.UTF\-8" was specified\&. If only 2 lowercase letter are specified (like "it"), the "maybe wanted" locale is generated (like en:EN\&.UTF\-8), in this case if also "keyb=" is unspecified is set with those 2 lowercase letters (keyb=us)\&. Beside that facility, only UTF8 locales are supported by live\-initramfs\&. -.RE -.PP -module=\fBNAME\fR -.RS 4 -Instead of using the default optional file "filesystem\&.module" (see below) another file could be specified without the extension "\&.module"; it should be placed on "/live" directory of the live medium\&. -.RE -.PP -netboot[=\fBnfs\fR|\fBcifs\fR] -.RS 4 -This tells live\-initramfs to perform a network mount\&. The parameter "nfsroot=" (with optional "nfsopts="), should specify where is the location of the root filesystem\&. With no args, will try cifs first, and if it fails nfs\&. -.RE -.PP -nfsopts= -.RS 4 -This lets you specify custom nfs options\&. -.RE -.PP -noautologin -.RS 4 -This parameter disables the automatic terminal login only, not touching gdk/kdm\&. -.RE -.PP -noxautologin -.RS 4 -This parameter disables the automatic login of gdm/kdm only, not touching terminals\&. -.RE -.PP -nofastboot -.RS 4 -This parameter disables the default disabling of filesystem checks in /etc/fstab\&. If you have static filesystems on your harddisk and you want them to be checked at boot time, use this parameter, otherwise they are skipped\&. -.RE -.PP -nopersistent -.RS 4 -disables the "persistent" feature, useful if the bootloader (like syslinux) has been installed with persistent enabled\&. -.sp -.RS 4 -.nf -noprompt -.fi -.RE -.RE -Do not prompt to eject the CD on reboot\&. -.PP -nosudo -.RS 4 -This parameter disables the automatic configuration of sudo\&. -.RE -.PP -swapon -.RS 4 -This parameter enables usage of local swap partitions\&. -.RE -.PP -nouser -.RS 4 -This parameter disables the creation of the default user completely\&. -.RE -.PP -noxautoconfig -.RS 4 -This parameter disables Xorg auto\-reconfiguration at boot time\&. This is valuable if you either do the detection on your own, or, if you want to ship a custom, premade xorg\&.conf in your live system\&. -.RE -.PP -persistent[=nofiles] -.RS 4 -live\-initramfs will look for persistent and snapshot partitions or files labeled "live\-rw", "home\-rw", and files called "live\-sn*", "home\-sn*" and will try to, in order: mount as /cow the first, mount the second in /home, and just copy the contents of the latter in appropriate locations (snapshots)\&. Snapshots will be tried to be updated on reboot/shutdown\&. Look at live\-snapshot(1) for more informations\&. If "nofiles" is specified, only filesystems with matching labels will be searched; no filesystems will be traversed looking for archives or image files\&. This results in shorter boot times\&. -.sp -.RS 4 -.nf -persistent\-path=PATH -.fi -.RE -.RE -live\-initramfs will look for persistency files in the root directory of a partition, with this parameter, the path can be configured so that you can have multiple directories on the same partition to store persistency files\&. -.PP -{preseed/file|file}=\fBFILE\fR -.RS 4 -A path to a file present on the rootfs could be used to preseed debconf database\&. -.RE -.PP -package/question=\fBVALUE\fR -.RS 4 -All debian installed packages could be preseeded from command\-line that way, beware of blanks spaces, they will interfere with parsing, use a preseed file in this case\&. -.RE -.PP -quickreboot -.RS 4 -This option causes live\-initramfs to reboot without attempting to eject the media and without asking the user to remove the boot media\&. -.RE -.PP -showmounts -.RS 4 -This parameter will make live\-initramfs to show on "/" the ro filesystems (mostly compressed) on "/live"\&. This is not enabled by default because could lead to problems by applications like "mono" which store binary paths on installation\&. -.sp -.RS 4 -.nf -silent -.fi -.RE -.RE -If you boot with the normal quiet parameter, live\-initramfs hides most messages of its own\&. When adding silent, it hides all\&. -.sp -.sp -.RS 4 -.nf -textonly -.fi -.RE -Start up to text\-mode shell prompts, disabling the graphical user interface\&. -.PP -timezone=\fBTIMEZONE\fR -.RS 4 -By default, timezone is set to UTC\&. Using the timezone parameter, you can set it to your local zone, e\&.g\&. Europe/Zurich\&. -.RE -.PP -todisk=\fBDEVICE\fR -.RS 4 -Adding this parameter, live\-initramfs will try to copy the entire read\-only media to the specified device before mounting the root filesystem\&. It probably needs a lot of free space\&. Subsequent boots should then skip this step and just specify the "live\-media=DEVICE" boot parameter with the same DEVICE used this time\&. -.RE -.PP -toram -.RS 4 -Adding this parameter, live\-initramfs will try to copy the whole read\-only media to the computer\'s RAM before mounting the root filesystem\&. This could need a lot of ram, according to the space used by the read\-only media\&. -.RE -.PP -union=\fBaufs\fR|\fBunionfs\fR -.RS 4 -By default, live\-initramfs uses aufs\&. With this parameter, you can switch to unionfs\&. -.RE -.PP -utc=\fByes\fR|\fBno\fR -.RS 4 -By default, Debian systems do assume that the hardware clock is set to UTC\&. You can change or explicitly set it with this parameter\&. -.RE -.PP -xdebconf -.RS 4 -Uses xdebconfigurator, if present on the rootfs, to configure X instead of the standard procedure (experimental)\&. -.RE -.PP -xvideomode=\fBRESOLUTION\fR -.RS 4 -Doesn\'t do xorg autodetection, but enforces a given resolution\&. -.RE -.SH "FILES" -.sp -.RS 4 -.nf -/etc/live\&.conf -.fi -.RE -Some variables can be configured via this config file (inside the live system)\&. -.sp -.sp -.RS 4 -.nf -/live/filesystem\&.module -.fi -.RE -This optional file (inside the live media) contains a list of white\-space or carriage\-return\-separated file names corresponding to disk images in the "/live" directory\&. If this file exists, only images listed here will be merged into the root aufs, and they will be loaded in the order listed here\&. The first entry in this file will be the "lowest" point in the aufs, and the last file in this list will be on the "top" of the aufs, directly below /cow\&. Without this file, any images in the "/live" directory are loaded in alphanumeric order\&. -.sp -.sp -.RS 4 -.nf -/etc/live\-persistence\&.binds -.fi -.RE -This optional file (which resides in the rootfs system, not in the live media) is used as a list of directories which not need be persistent: ie\&. their content does not need to survive reboots when using the persistence features\&. -.sp -This saves expensive writes and speeds up operations on volatile data such as web caches and temporary files (like e\&.g\&. /tmp and \&.mozilla) which are regenerated each time\&. This is achieved by bind mounting each listed directory with a tmpfs on the original path\&. -.sp -.SH "SEE ALSO" -live\-snapshot(1), initramfs\-tools(8), live\-helper(7), live\-initscripts(7), live\-webhelper(7) -.sp -.SH "BUGS" -Report bugs against live\-initramfs \fIhttp://packages\&.qa\&.debian\&.org/live\-initramfs\fR\&. -.sp -.SH "HOMEPAGE" -More information about the Debian Live project can be found at \fIhttp://debian\-live\&.alioth\&.debian\&.org/\fR and \fIhttp://wiki\&.debian\&.org/DebianLive/\fR\&. -.sp -.SH "AUTHORS" -live\-initramfs is maintained by Daniel Baumann <daniel@debian\&.org> for the Debian project\&. -.sp -live\-initramfs is a fork of \fIcasper\fR\&[1]\&. casper was originally written by Tollef Fog Heen <tfheen@canonical\&.com> and Matt Zimmerman <mdz@canonical\&.com>\&. -.sp -.SH "NOTES" -.IP " 1." 4 -casper -.RS 4 -\%http://packages.ubuntu.com/casper/ -.RE diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-initramfs.en.7.html b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-initramfs.en.7.html deleted file mode 100644 index 5b8379ea60..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-initramfs.en.7.html +++ /dev/null @@ -1,853 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
- "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.2.6" />
-<style type="text/css">
-/* Debug borders */
-p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
-/*
- border: 1px solid red;
-*/
-}
-
-body {
- margin: 1em 5% 1em 5%;
-}
-
-a {
- color: blue;
- text-decoration: underline;
-}
-a:visited {
- color: fuchsia;
-}
-
-em {
- font-style: italic;
- color: navy;
-}
-
-strong {
- font-weight: bold;
- color: #083194;
-}
-
-tt {
- color: navy;
-}
-
-h1, h2, h3, h4, h5, h6 {
- color: #527bbd;
- font-family: sans-serif;
- margin-top: 1.2em;
- margin-bottom: 0.5em;
- line-height: 1.3;
-}
-
-h1, h2, h3 {
- border-bottom: 2px solid silver;
-}
-h2 {
- padding-top: 0.5em;
-}
-h3 {
- float: left;
-}
-h3 + * {
- clear: left;
-}
-
-div.sectionbody {
- font-family: serif;
- margin-left: 0;
-}
-
-hr {
- border: 1px solid silver;
-}
-
-p {
- margin-top: 0.5em;
- margin-bottom: 0.5em;
-}
-
-ul, ol, li > p {
- margin-top: 0;
-}
-
-pre {
- padding: 0;
- margin: 0;
-}
-
-span#author {
- color: #527bbd;
- font-family: sans-serif;
- font-weight: bold;
- font-size: 1.1em;
-}
-span#email {
-}
-span#revision {
- font-family: sans-serif;
-}
-
-div#footer {
- font-family: sans-serif;
- font-size: small;
- border-top: 2px solid silver;
- padding-top: 0.5em;
- margin-top: 4.0em;
-}
-div#footer-text {
- float: left;
- padding-bottom: 0.5em;
-}
-div#footer-badges {
- float: right;
- padding-bottom: 0.5em;
-}
-
-div#preamble,
-div.tableblock, div.imageblock, div.exampleblock, div.verseblock,
-div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
-div.admonitionblock {
- margin-right: 10%;
- margin-top: 1.5em;
- margin-bottom: 1.5em;
-}
-div.admonitionblock {
- margin-top: 2.5em;
- margin-bottom: 2.5em;
-}
-
-div.content { /* Block element content. */
- padding: 0;
-}
-
-/* Block element titles. */
-div.title, caption.title {
- color: #527bbd;
- font-family: sans-serif;
- font-weight: bold;
- text-align: left;
- margin-top: 1.0em;
- margin-bottom: 0.5em;
-}
-div.title + * {
- margin-top: 0;
-}
-
-td div.title:first-child {
- margin-top: 0.0em;
-}
-div.content div.title:first-child {
- margin-top: 0.0em;
-}
-div.content + div.title {
- margin-top: 0.0em;
-}
-
-div.sidebarblock > div.content {
- background: #ffffee;
- border: 1px solid silver;
- padding: 0.5em;
-}
-
-div.listingblock {
- margin-right: 0%;
-}
-div.listingblock > div.content {
- border: 1px solid silver;
- background: #f4f4f4;
- padding: 0.5em;
-}
-
-div.quoteblock > div.content {
- padding-left: 2.0em;
-}
-
-div.attribution {
- text-align: right;
-}
-div.verseblock + div.attribution {
- text-align: left;
-}
-
-div.admonitionblock .icon {
- vertical-align: top;
- font-size: 1.1em;
- font-weight: bold;
- text-decoration: underline;
- color: #527bbd;
- padding-right: 0.5em;
-}
-div.admonitionblock td.content {
- padding-left: 0.5em;
- border-left: 2px solid silver;
-}
-
-div.exampleblock > div.content {
- border-left: 2px solid silver;
- padding: 0.5em;
-}
-
-div.verseblock div.content {
- white-space: pre;
-}
-
-div.imageblock div.content { padding-left: 0; }
-div.imageblock img { border: 1px solid silver; }
-span.image img { border-style: none; }
-
-dl {
- margin-top: 0.8em;
- margin-bottom: 0.8em;
-}
-dt {
- margin-top: 0.5em;
- margin-bottom: 0;
- font-style: normal;
-}
-dd > *:first-child {
- margin-top: 0.1em;
-}
-
-ul, ol {
- list-style-position: outside;
-}
-div.olist > ol {
- list-style-type: decimal;
-}
-div.olist2 > ol {
- list-style-type: lower-alpha;
-}
-
-div.tableblock > table {
- border: 3px solid #527bbd;
-}
-thead {
- font-family: sans-serif;
- font-weight: bold;
-}
-tfoot {
- font-weight: bold;
-}
-
-div.hlist {
- margin-top: 0.8em;
- margin-bottom: 0.8em;
-}
-div.hlist td {
- padding-bottom: 15px;
-}
-td.hlist1 {
- vertical-align: top;
- font-style: normal;
- padding-right: 0.8em;
-}
-td.hlist2 {
- vertical-align: top;
-}
-
-@media print {
- div#footer-badges { display: none; }
-}
-
-div#toctitle {
- color: #527bbd;
- font-family: sans-serif;
- font-size: 1.1em;
- font-weight: bold;
- margin-top: 1.0em;
- margin-bottom: 0.1em;
-}
-
-div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
- margin-top: 0;
- margin-bottom: 0;
-}
-div.toclevel2 {
- margin-left: 2em;
- font-size: 0.9em;
-}
-div.toclevel3 {
- margin-left: 4em;
- font-size: 0.9em;
-}
-div.toclevel4 {
- margin-left: 6em;
- font-size: 0.9em;
-}
-/* Workarounds for IE6's broken and incomplete CSS2. */
-
-div.sidebar-content {
- background: #ffffee;
- border: 1px solid silver;
- padding: 0.5em;
-}
-div.sidebar-title, div.image-title {
- color: #527bbd;
- font-family: sans-serif;
- font-weight: bold;
- margin-top: 0.0em;
- margin-bottom: 0.5em;
-}
-
-div.listingblock div.content {
- border: 1px solid silver;
- background: #f4f4f4;
- padding: 0.5em;
-}
-
-div.quoteblock-content {
- padding-left: 2.0em;
-}
-
-div.exampleblock-content {
- border-left: 2px solid silver;
- padding-left: 0.5em;
-}
-
-/* IE6 sets dynamically generated links as visited. */
-div#toc a:visited { color: blue; }
-
-/* Because IE6 child selector is broken. */
-div.olist2 ol {
- list-style-type: lower-alpha;
-}
-div.olist2 div.olist ol {
- list-style-type: decimal;
-}
-</style>
-<title>live-initramfs(7)</title>
-</head>
-<body>
-<div id="header">
-<h1>live-initramfs(7)</h1>
-</div>
-<h2 id="_name">Name</h2>
-<div class="sectionbody">
-<div class="para"><p>live-initramfs - Debian Live initramfs hook</p></div>
-</div>
-<h2 id="_synopsis">Synopsis</h2>
-<div class="sectionbody">
-<div class="para"><p>BOOT=live</p></div>
-<div class="para"><p>as kernel parameter at boot prompt.</p></div>
-</div>
-<h2 id="_description">Description</h2>
-<div class="sectionbody">
-<div class="para"><p>live-initramfs is a hook for the initramfs-tools, used to generate a initramfs
-capable to boot live systems, such as those created by <strong>live-helper</strong>(7).
-This includes the Debian Live isos, netboot tarballs, and usb stick images.</p></div>
-<div class="para"><p>At boot time it will look for a (read-only) media containing a "/live"
-directory where a root filesystems (often a compressed filesystem image like
-squashfs) is stored. If found, it will create a writable environment, using
-aufs, for Debian like systems to boot from.</p></div>
-<div class="para"><p>You probably do not want to install this package onto a non-live system,
-although it will do no harm.</p></div>
-<div class="para"><p>live-initramfs is a fork of <a href="http://packages.ubuntu.com/casper/">casper</a>.
-casper was originally written by Tollef Fog Heen <tfheen@canonical.com>
-and Matt Zimmerman <mdz@canonical.com>.</p></div>
-</div>
-<h2 id="_boot_options">Boot options</h2>
-<div class="sectionbody">
-<div class="para"><p>Here is the complete list of recognized boot parameters by live-initramfs.</p></div>
-<div class="vlist"><dl>
-<dt>
-access=<strong>ACCESS</strong>
-</dt>
-<dd>
-<p>
-Set the accessibility level for physically or visually impared users. ACCESS
-must be one of v1, v2, v3, m1, or m2. v1=lesser visual impairment, v2=moderate
-visual impairment, v3=blindness, m1=minor motor difficulties, m2=moderate motor
-difficulties.
-</p>
-</dd>
-<dt>
-console=<strong>TTY,SPEED</strong>
-</dt>
-<dd>
-<p>
-Set the default console to be used with the "live-getty" option. Example:
-"console=ttyS0,115200"
-</p>
-</dd>
-<dt>
-debug
-</dt>
-<dd>
-<p>
-Makes initramfs boot process more verbose.
-</p>
-</dd>
-<dt>
-fetch=<strong>URL</strong>
-</dt>
-<dd>
-<p>
-Another form of netboot by downloading a squashfs image from a given url,
-copying to ram and booting it. Due to current limitations in busyboxs wget
-and DNS resolution, an URL can not contain a hostname but an IP only.
-</p>
-</dd>
-</dl></div>
-<div class="para"><p>Not working: http://example.com/path/to/your_filesystem.squashfs
-Working: http://1.2.3.4/path/to/your_filesystem.squashfs</p></div>
-<div class="para"><p>Also note that therefore it's currently not possible to fetch an image from a
-namebased virtualhost of an httpd if it is sharing the ip with the main httpd
-instance.</p></div>
-<div class="vlist"><dl>
-<dt>
-hostname=<strong>HOSTNAME</strong>, username=<strong>USER</strong>, userfullname=<strong>USERFULLNAME</strong>
-</dt>
-<dd>
-<p>
-Those parameters lets you override values read from the config file.
-</p>
-<div class="literalblock">
-<div class="content">
-<pre><tt>ignore_uuid</tt></pre>
-</div></div>
-</dd>
-</dl></div>
-<div class="para"><p>Do not check that any UUID embedded in the initramfs matches the discovered
-medium. live-initramfs may be told to generate a UUID by setting
-LIVE_GENERATE_UUID=1 when building the initramfs.</p></div>
-<div class="vlist"><dl>
-<dt>
-integrity-check
-</dt>
-<dd>
-<p>
-If specified, an MD5 sum is calculated on the live media during boot and
-compared to the value found in md5sum.txt found in the root directory of the
-live media.
-</p>
-</dd>
-<dt>
-ip=<strong>[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF] [,[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF]]</strong>*
-</dt>
-<dd>
-<p>
-Let you specify the name(s) and the options of the interface(s) that should be
-configured at boot time. Do not specify this if you want to use dhcp (default).
-It will be changed in a future release to mimick official kernel boot param
-specification (e.g. ip=10.0.0.1::10.0.0.254:255.255.255.0::eth0,:::::eth1:dhcp).
-</p>
-</dd>
-<dt>
-ip=[<strong>frommedia</strong>]
-</dt>
-<dd>
-<p>
-If this variable is set, dhcp and static configuration are just skipped and the
-system will use the (must be) media-preconfigured /etc/network/interfaces
-instead.
-</p>
-</dd>
-<dt>
-{keyb|kbd-chooser/method}=<strong>KEYBOARD</strong>, {klayout|console-setup/layoutcode}=<strong>LAYOUT</strong>, {kvariant|console-setup/variantcode}=<strong>VARIANT</strong>, {kmodel|console-setup/modelcode}=<strong>CODE</strong>, koptions=<strong>OPTIONS</strong>
-</dt>
-<dd>
-<p>
-Configure the running keyboard as specified, if this one misses live-initramfs
-behaves as if "keyb=us" was specified. It will be interfered from "locale=" if
-locale is only 2 lowecase letters as a special case. You could also specify
-console layout, variant, code, and options (no defaults).
-</p>
-</dd>
-<dt>
-live-getty
-</dt>
-<dd>
-<p>
-This changes the auto-login on virtual terminals to use the (experimental)
-live-getty code. With this option set the standard kernel argument "console=" is
-parsed and if a serial console is specified then live-getty is used to autologin
-on the serial console.
-</p>
-</dd>
-<dt>
-{live-media|bootfrom}=<strong>DEVICE</strong>
-</dt>
-<dd>
-<p>
-If you specify one of this two equivalent forms, live-initramfs will first try
-to find this device for the "/live" directory where the read-only root
-filesystem should reside. If it did not find something usable, the normal scan
-for block devices is performed.
-</p>
-</dd>
-</dl></div>
-<div class="para"><p>Instead of specifing an actual device name, the keyword <em>removable</em> can be used
-to limit the search of acceptable live media to removable type only. Note that
-if you want to further restrict the media to usb mass storage only, you can use
-the <em>removable-usb</em> keyword.</p></div>
-<div class="vlist"><dl>
-<dt>
-{live-media-encryption|encryption}=<strong>TYPE</strong>
-</dt>
-<dd>
-<p>
-live-initramfs will mount the encrypted rootfs TYPE, asking the passphrase,
-useful to build paranoid live systems :-). TYPE supported so far are "aes" for
-loop-aes encryption type.
-</p>
-</dd>
-<dt>
-live-media-offset=<strong>BYTES</strong>
-</dt>
-<dd>
-<p>
-This way you could tell live-initramfs that your image starts at offset BYTES in
-the above specified or autodiscovered device, this could be useful to hide the
-Debian Live iso or image inside another iso or image, to create "clean" images.
-</p>
-</dd>
-<dt>
-live-media-path=<strong>PATH</strong>
-</dt>
-<dd>
-<p>
-Sets the path to the live filesystem on the medium. By default, it is set to
-<em>/live</em> and you should not change that unless you have customized your media
-accordingly.
-</p>
-</dd>
-<dt>
-live-media-timeout=<strong>SECONDS</strong>
-</dt>
-<dd>
-<p>
-Set the timeout in seconds for the device specified by "live-media=" to become
-ready before giving up.
-</p>
-</dd>
-<dt>
-{locale|debian-installer/locale}=<strong>LOCALE</strong>
-</dt>
-<dd>
-<p>
-Configure the running locale as specified, if not present the live-media rootfs
-configured locale will be used and if also this one misses live-initramfs behave
-as "locale=en_US.UTF-8" was specified. If only 2 lowercase letter are specified
-(like "it"), the "maybe wanted" locale is generated (like en:EN.UTF-8), in this
-case if also "keyb=" is unspecified is set with those 2 lowercase letters
-(keyb=us). Beside that facility, only UTF8 locales are supported by
-live-initramfs.
-</p>
-</dd>
-<dt>
-module=<strong>NAME</strong>
-</dt>
-<dd>
-<p>
-Instead of using the default optional file "filesystem.module" (see below)
-another file could be specified without the extension ".module"; it should be
-placed on "/live" directory of the live medium.
-</p>
-</dd>
-<dt>
-netboot[=<strong>nfs</strong>|<strong>cifs</strong>]
-</dt>
-<dd>
-<p>
-This tells live-initramfs to perform a network mount. The parameter "nfsroot="
-(with optional "nfsopts="), should specify where is the location of the root
-filesystem. With no args, will try cifs first, and if it fails nfs.
-</p>
-</dd>
-<dt>
-nfsopts=
-</dt>
-<dd>
-<p>
-This lets you specify custom nfs options.
-</p>
-</dd>
-<dt>
-noautologin
-</dt>
-<dd>
-<p>
-This parameter disables the automatic terminal login only, not touching gdk/kdm.
-</p>
-</dd>
-<dt>
-noxautologin
-</dt>
-<dd>
-<p>
-This parameter disables the automatic login of gdm/kdm only, not touching
-terminals.
-</p>
-</dd>
-<dt>
-nofastboot
-</dt>
-<dd>
-<p>
-This parameter disables the default disabling of filesystem checks in
-/etc/fstab. If you have static filesystems on your harddisk and you want them to
-be checked at boot time, use this parameter, otherwise they are skipped.
-</p>
-</dd>
-<dt>
-nopersistent
-</dt>
-<dd>
-<p>
-disables the "persistent" feature, useful if the bootloader (like syslinux) has
-been installed with persistent enabled.
-</p>
-<div class="literalblock">
-<div class="content">
-<pre><tt>noprompt</tt></pre>
-</div></div>
-</dd>
-</dl></div>
-<div class="para"><p>Do not prompt to eject the CD on reboot.</p></div>
-<div class="vlist"><dl>
-<dt>
-nosudo
-</dt>
-<dd>
-<p>
-This parameter disables the automatic configuration of sudo.
-</p>
-</dd>
-<dt>
-swapon
-</dt>
-<dd>
-<p>
-This parameter enables usage of local swap partitions.
-</p>
-</dd>
-<dt>
-nouser
-</dt>
-<dd>
-<p>
-This parameter disables the creation of the default user completely.
-</p>
-</dd>
-<dt>
-noxautoconfig
-</dt>
-<dd>
-<p>
-This parameter disables Xorg auto-reconfiguration at boot time. This is valuable
-if you either do the detection on your own, or, if you want to ship a custom,
-premade xorg.conf in your live system.
-</p>
-</dd>
-<dt>
-persistent[=nofiles]
-</dt>
-<dd>
-<p>
-live-initramfs will look for persistent and snapshot partitions or files labeled
-"live-rw", "home-rw", and files called "live-sn*", "home-sn*" and will try to,
-in order: mount as /cow the first, mount the second in /home, and just copy the
-contents of the latter in appropriate locations (snapshots). Snapshots will be
-tried to be updated on reboot/shutdown. Look at live-snapshot(1) for more
-informations. If "nofiles" is specified, only filesystems with matching labels
-will be searched; no filesystems will be traversed looking for archives or image
-files. This results in shorter boot times.
-</p>
-<div class="literalblock">
-<div class="content">
-<pre><tt>persistent-path=PATH</tt></pre>
-</div></div>
-</dd>
-</dl></div>
-<div class="para"><p>live-initramfs will look for persistency files in the root directory of a partition,
-with this parameter, the path can be configured so that you can have multiple
-directories on the same partition to store persistency files.</p></div>
-<div class="vlist"><dl>
-<dt>
-{preseed/file|file}=<strong>FILE</strong>
-</dt>
-<dd>
-<p>
-A path to a file present on the rootfs could be used to preseed debconf
-database.
-</p>
-</dd>
-<dt>
-package/question=<strong>VALUE</strong>
-</dt>
-<dd>
-<p>
-All debian installed packages could be preseeded from command-line that way,
-beware of blanks spaces, they will interfere with parsing, use a preseed file in
-this case.
-</p>
-</dd>
-<dt>
-quickreboot
-</dt>
-<dd>
-<p>
-This option causes live-initramfs to reboot without attempting to eject the
-media and without asking the user to remove the boot media.
-</p>
-</dd>
-<dt>
-showmounts
-</dt>
-<dd>
-<p>
-This parameter will make live-initramfs to show on "/" the ro filesystems
-(mostly compressed) on "/live". This is not enabled by default because could
-lead to problems by applications like "mono" which store binary paths on
-installation.
-</p>
-<div class="literalblock">
-<div class="content">
-<pre><tt>silent</tt></pre>
-</div></div>
-</dd>
-</dl></div>
-<div class="para"><p>If you boot with the normal quiet parameter, live-initramfs hides most messages
-of its own. When adding silent, it hides all.</p></div>
-<div class="literalblock">
-<div class="content">
-<pre><tt>textonly</tt></pre>
-</div></div>
-<div class="para"><p>Start up to text-mode shell prompts, disabling the graphical user interface.</p></div>
-<div class="vlist"><dl>
-<dt>
-timezone=<strong>TIMEZONE</strong>
-</dt>
-<dd>
-<p>
-By default, timezone is set to UTC. Using the timezone parameter, you can set it
-to your local zone, e.g. Europe/Zurich.
-</p>
-</dd>
-<dt>
-todisk=<strong>DEVICE</strong>
-</dt>
-<dd>
-<p>
-Adding this parameter, live-initramfs will try to copy the entire read-only
-media to the specified device before mounting the root filesystem. It probably
-needs a lot of free space. Subsequent boots should then skip this step and just
-specify the "live-media=DEVICE" boot parameter with the same DEVICE used this
-time.
-</p>
-</dd>
-<dt>
-toram
-</dt>
-<dd>
-<p>
-Adding this parameter, live-initramfs will try to copy the whole read-only media
-to the computer's RAM before mounting the root filesystem. This could need a lot
-of ram, according to the space used by the read-only media.
-</p>
-</dd>
-<dt>
-union=<strong>aufs</strong>|<strong>unionfs</strong>
-</dt>
-<dd>
-<p>
-By default, live-initramfs uses aufs. With this parameter, you can switch to
-unionfs.
-</p>
-</dd>
-<dt>
-utc=<strong>yes</strong>|<strong>no</strong>
-</dt>
-<dd>
-<p>
-By default, Debian systems do assume that the hardware clock is set to UTC. You
-can change or explicitly set it with this parameter.
-</p>
-</dd>
-<dt>
-xdebconf
-</dt>
-<dd>
-<p>
-Uses xdebconfigurator, if present on the rootfs, to configure X instead of the
-standard procedure (experimental).
-</p>
-</dd>
-<dt>
-xvideomode=<strong>RESOLUTION</strong>
-</dt>
-<dd>
-<p>
-Doesn't do xorg autodetection, but enforces a given resolution.
-</p>
-</dd>
-</dl></div>
-</div>
-<h2 id="_files">Files</h2>
-<div class="sectionbody">
-<div class="literalblock">
-<div class="content">
-<pre><tt>/etc/live.conf</tt></pre>
-</div></div>
-<div class="para"><p>Some variables can be configured via this config file (inside the live system).</p></div>
-<div class="literalblock">
-<div class="content">
-<pre><tt>/live/filesystem.module</tt></pre>
-</div></div>
-<div class="para"><p>This optional file (inside the live media) contains a list of white-space or
-carriage-return-separated file names corresponding to disk images in the "/live"
-directory. If this file exists, only images listed here will be merged into the
-root aufs, and they will be loaded in the order listed here. The first entry
-in this file will be the "lowest" point in the aufs, and the last file in
-this list will be on the "top" of the aufs, directly below /cow. Without
-this file, any images in the "/live" directory are loaded in alphanumeric order.</p></div>
-<div class="literalblock">
-<div class="content">
-<pre><tt>/etc/live-persistence.binds</tt></pre>
-</div></div>
-<div class="para"><p>This optional file (which resides in the rootfs system, not in the live media)
-is used as a list of directories which not need be persistent: ie. their
-content does not need to survive reboots when using the persistence features.</p></div>
-<div class="para"><p>This saves expensive writes and speeds up operations on volatile data such as
-web caches and temporary files (like e.g. /tmp and .mozilla) which are
-regenerated each time. This is achieved by bind mounting each listed directory
-with a tmpfs on the original path.</p></div>
-</div>
-<h2 id="_see_also">See also</h2>
-<div class="sectionbody">
-<div class="para"><p>live-snapshot(1), initramfs-tools(8), live-helper(7), live-initscripts(7),
-live-webhelper(7)</p></div>
-</div>
-<h2 id="_bugs">Bugs</h2>
-<div class="sectionbody">
-<div class="para"><p>Report bugs against live-initramfs
-<a href="http://packages.qa.debian.org/live-initramfs">http://packages.qa.debian.org/live-initramfs</a>.</p></div>
-</div>
-<h2 id="_homepage">Homepage</h2>
-<div class="sectionbody">
-<div class="para"><p>More information about the Debian Live project can be found at
-<a href="http://debian-live.alioth.debian.org/">http://debian-live.alioth.debian.org/</a> and
-<a href="http://wiki.debian.org/DebianLive/">http://wiki.debian.org/DebianLive/</a>.</p></div>
-</div>
-<h2 id="_authors">Authors</h2>
-<div class="sectionbody">
-<div class="para"><p>live-initramfs is maintained by Daniel Baumann <daniel@debian.org>
-for the Debian project.</p></div>
-<div class="para"><p>live-initramfs is a fork of <a href="http://packages.ubuntu.com/casper/">casper</a>.
-casper was originally written by Tollef Fog Heen <tfheen@canonical.com>
-and Matt Zimmerman <mdz@canonical.com>.</p></div>
-</div>
-<div id="footer">
-<div id="footer-text">
-Last updated 2009-06-29 14:34:55 CEST
-</div>
-</div>
-</body>
-</html>
diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-initramfs.en.7.txt b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-initramfs.en.7.txt deleted file mode 100644 index b7ffa11522..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-initramfs.en.7.txt +++ /dev/null @@ -1,356 +0,0 @@ -live-initramfs(7) -================= - -Name ----- -live-initramfs - Debian Live initramfs hook - -Synopsis --------- -BOOT=live - -as kernel parameter at boot prompt. - -Description ------------ - -live-initramfs is a hook for the initramfs-tools, used to generate a initramfs -capable to boot live systems, such as those created by *live-helper*(7). -This includes the Debian Live isos, netboot tarballs, and usb stick images. - -At boot time it will look for a (read-only) media containing a "/live" -directory where a root filesystems (often a compressed filesystem image like -squashfs) is stored. If found, it will create a writable environment, using -aufs, for Debian like systems to boot from. - -You probably do not want to install this package onto a non-live system, -although it will do no harm. - -live-initramfs is a fork of link:http://packages.ubuntu.com/casper/[casper]. -casper was originally written by Tollef Fog Heen <tfheen@canonical.com> -and Matt Zimmerman <mdz@canonical.com>. - -Boot options ------------- - -Here is the complete list of recognized boot parameters by live-initramfs. - - access=*ACCESS*:: - -Set the accessibility level for physically or visually impared users. ACCESS -must be one of v1, v2, v3, m1, or m2. v1=lesser visual impairment, v2=moderate -visual impairment, v3=blindness, m1=minor motor difficulties, m2=moderate motor -difficulties. - - console=*TTY,SPEED*:: - -Set the default console to be used with the "live-getty" option. Example: -"console=ttyS0,115200" - - debug:: - -Makes initramfs boot process more verbose. - - fetch=*URL*:: - -Another form of netboot by downloading a squashfs image from a given url, -copying to ram and booting it. Due to current limitations in busyboxs wget -and DNS resolution, an URL can not contain a hostname but an IP only. - -Not working: http://example.com/path/to/your_filesystem.squashfs -Working: http://1.2.3.4/path/to/your_filesystem.squashfs - -Also note that therefore it's currently not possible to fetch an image from a -namebased virtualhost of an httpd if it is sharing the ip with the main httpd -instance. - - hostname=*HOSTNAME*, username=*USER*, userfullname=*USERFULLNAME*:: - -Those parameters lets you override values read from the config file. - - ignore_uuid - -Do not check that any UUID embedded in the initramfs matches the discovered -medium. live-initramfs may be told to generate a UUID by setting -LIVE_GENERATE_UUID=1 when building the initramfs. - - integrity-check:: - -If specified, an MD5 sum is calculated on the live media during boot and -compared to the value found in md5sum.txt found in the root directory of the -live media. - - ip=**[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF] [,[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF]]***:: - -Let you specify the name(s) and the options of the interface(s) that should be -configured at boot time. Do not specify this if you want to use dhcp (default). -It will be changed in a future release to mimick official kernel boot param -specification (e.g. ip=10.0.0.1::10.0.0.254:255.255.255.0::eth0,:::::eth1:dhcp). - - ip=[**frommedia**]:: - -If this variable is set, dhcp and static configuration are just skipped and the -system will use the (must be) media-preconfigured /etc/network/interfaces -instead. - - {keyb|kbd-chooser/method}=**KEYBOARD**, {klayout|console-setup/layoutcode}=**LAYOUT**, {kvariant|console-setup/variantcode}=**VARIANT**, {kmodel|console-setup/modelcode}=**CODE**, koptions=**OPTIONS**:: - -Configure the running keyboard as specified, if this one misses live-initramfs -behaves as if "keyb=us" was specified. It will be interfered from "locale=" if -locale is only 2 lowecase letters as a special case. You could also specify -console layout, variant, code, and options (no defaults). - - live-getty:: - -This changes the auto-login on virtual terminals to use the (experimental) -live-getty code. With this option set the standard kernel argument "console=" is -parsed and if a serial console is specified then live-getty is used to autologin -on the serial console. - - {live-media|bootfrom}=**DEVICE**:: - -If you specify one of this two equivalent forms, live-initramfs will first try -to find this device for the "/live" directory where the read-only root -filesystem should reside. If it did not find something usable, the normal scan -for block devices is performed. - -Instead of specifing an actual device name, the keyword 'removable' can be used -to limit the search of acceptable live media to removable type only. Note that -if you want to further restrict the media to usb mass storage only, you can use -the 'removable-usb' keyword. - - {live-media-encryption|encryption}=**TYPE**:: - -live-initramfs will mount the encrypted rootfs TYPE, asking the passphrase, -useful to build paranoid live systems :-). TYPE supported so far are "aes" for -loop-aes encryption type. - - live-media-offset=**BYTES**:: - -This way you could tell live-initramfs that your image starts at offset BYTES in -the above specified or autodiscovered device, this could be useful to hide the -Debian Live iso or image inside another iso or image, to create "clean" images. - - live-media-path=**PATH**:: - -Sets the path to the live filesystem on the medium. By default, it is set to -'/live' and you should not change that unless you have customized your media -accordingly. - - live-media-timeout=**SECONDS**:: - -Set the timeout in seconds for the device specified by "live-media=" to become -ready before giving up. - - {locale|debian-installer/locale}=**LOCALE**:: - -Configure the running locale as specified, if not present the live-media rootfs -configured locale will be used and if also this one misses live-initramfs behave -as "locale=en_US.UTF-8" was specified. If only 2 lowercase letter are specified -(like "it"), the "maybe wanted" locale is generated (like en:EN.UTF-8), in this -case if also "keyb=" is unspecified is set with those 2 lowercase letters -(keyb=us). Beside that facility, only UTF8 locales are supported by -live-initramfs. - - module=**NAME**:: - -Instead of using the default optional file "filesystem.module" (see below) -another file could be specified without the extension ".module"; it should be -placed on "/live" directory of the live medium. - - netboot[=**nfs**|**cifs**]:: - -This tells live-initramfs to perform a network mount. The parameter "nfsroot=" -(with optional "nfsopts="), should specify where is the location of the root -filesystem. With no args, will try cifs first, and if it fails nfs. - - nfsopts=:: - -This lets you specify custom nfs options. - - noautologin:: - -This parameter disables the automatic terminal login only, not touching gdk/kdm. - - noxautologin:: - -This parameter disables the automatic login of gdm/kdm only, not touching -terminals. - - nofastboot:: - -This parameter disables the default disabling of filesystem checks in -/etc/fstab. If you have static filesystems on your harddisk and you want them to -be checked at boot time, use this parameter, otherwise they are skipped. - - nopersistent:: - -disables the "persistent" feature, useful if the bootloader (like syslinux) has -been installed with persistent enabled. - - noprompt - -Do not prompt to eject the CD on reboot. - - nosudo:: - -This parameter disables the automatic configuration of sudo. - - swapon:: - -This parameter enables usage of local swap partitions. - - nouser:: - -This parameter disables the creation of the default user completely. - - noxautoconfig:: - -This parameter disables Xorg auto-reconfiguration at boot time. This is valuable -if you either do the detection on your own, or, if you want to ship a custom, -premade xorg.conf in your live system. - - persistent[=nofiles]:: - -live-initramfs will look for persistent and snapshot partitions or files labeled -"live-rw", "home-rw", and files called "live-sn*", "home-sn*" and will try to, -in order: mount as /cow the first, mount the second in /home, and just copy the -contents of the latter in appropriate locations (snapshots). Snapshots will be -tried to be updated on reboot/shutdown. Look at live-snapshot(1) for more -informations. If "nofiles" is specified, only filesystems with matching labels -will be searched; no filesystems will be traversed looking for archives or image -files. This results in shorter boot times. - - persistent-path=PATH - -live-initramfs will look for persistency files in the root directory of a partition, -with this parameter, the path can be configured so that you can have multiple -directories on the same partition to store persistency files. - - {preseed/file|file}=**FILE**:: - -A path to a file present on the rootfs could be used to preseed debconf -database. - - package/question=**VALUE**:: - -All debian installed packages could be preseeded from command-line that way, -beware of blanks spaces, they will interfere with parsing, use a preseed file in -this case. - - quickreboot:: - -This option causes live-initramfs to reboot without attempting to eject the -media and without asking the user to remove the boot media. - - showmounts:: - -This parameter will make live-initramfs to show on "/" the ro filesystems -(mostly compressed) on "/live". This is not enabled by default because could -lead to problems by applications like "mono" which store binary paths on -installation. - - silent - -If you boot with the normal quiet parameter, live-initramfs hides most messages -of its own. When adding silent, it hides all. - - textonly - -Start up to text-mode shell prompts, disabling the graphical user interface. - - timezone=**TIMEZONE**:: - -By default, timezone is set to UTC. Using the timezone parameter, you can set it -to your local zone, e.g. Europe/Zurich. - - todisk=**DEVICE**:: - -Adding this parameter, live-initramfs will try to copy the entire read-only -media to the specified device before mounting the root filesystem. It probably -needs a lot of free space. Subsequent boots should then skip this step and just -specify the "live-media=DEVICE" boot parameter with the same DEVICE used this -time. - - toram:: - -Adding this parameter, live-initramfs will try to copy the whole read-only media -to the computer's RAM before mounting the root filesystem. This could need a lot -of ram, according to the space used by the read-only media. - - union=**aufs**|**unionfs**:: - -By default, live-initramfs uses aufs. With this parameter, you can switch to -unionfs. - - utc=**yes**|**no**:: - -By default, Debian systems do assume that the hardware clock is set to UTC. You -can change or explicitly set it with this parameter. - - xdebconf:: - -Uses xdebconfigurator, if present on the rootfs, to configure X instead of the -standard procedure (experimental). - - xvideomode=**RESOLUTION**:: - -Doesn't do xorg autodetection, but enforces a given resolution. - -Files ------ - - /etc/live.conf - -Some variables can be configured via this config file (inside the live system). - - /live/filesystem.module - -This optional file (inside the live media) contains a list of white-space or -carriage-return-separated file names corresponding to disk images in the "/live" -directory. If this file exists, only images listed here will be merged into the -root aufs, and they will be loaded in the order listed here. The first entry -in this file will be the "lowest" point in the aufs, and the last file in -this list will be on the "top" of the aufs, directly below /cow. Without -this file, any images in the "/live" directory are loaded in alphanumeric order. - - /etc/live-persistence.binds - -This optional file (which resides in the rootfs system, not in the live media) -is used as a list of directories which not need be persistent: ie. their -content does not need to survive reboots when using the persistence features. - -This saves expensive writes and speeds up operations on volatile data such as -web caches and temporary files (like e.g. /tmp and .mozilla) which are -regenerated each time. This is achieved by bind mounting each listed directory -with a tmpfs on the original path. - - -See also --------- - -live-snapshot(1), initramfs-tools(8), live-helper(7), live-initscripts(7), -live-webhelper(7) - -Bugs ----- - -Report bugs against live-initramfs -link:http://packages.qa.debian.org/live-initramfs[http://packages.qa.debian.org/live-initramfs]. - -Homepage --------- - -More information about the Debian Live project can be found at -link:http://debian-live.alioth.debian.org/[http://debian-live.alioth.debian.org/] and -link:http://wiki.debian.org/DebianLive/[http://wiki.debian.org/DebianLive/]. - -Authors -------- - -live-initramfs is maintained by Daniel Baumann <daniel@debian.org> -for the Debian project. - -live-initramfs is a fork of link:http://packages.ubuntu.com/casper/[casper]. -casper was originally written by Tollef Fog Heen <tfheen@canonical.com> -and Matt Zimmerman <mdz@canonical.com>. diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-initramfs.en.7.xml b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-initramfs.en.7.xml deleted file mode 100644 index 5ef1d386da..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-initramfs.en.7.xml +++ /dev/null @@ -1,601 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
-<refentry lang="en">
-<refmeta>
-<refentrytitle>live-initramfs</refentrytitle>
-<manvolnum>7</manvolnum>
-</refmeta>
-<refnamediv>
- <refname>live-initramfs</refname>
- <refpurpose>Debian Live initramfs hook</refpurpose>
-</refnamediv>
-<refsynopsisdiv>
-<simpara>BOOT=live</simpara>
-
-<simpara>as kernel parameter at boot prompt.</simpara>
-
-</refsynopsisdiv>
-<refsect1 id="_description">
-<title>Description</title>
-<simpara>live-initramfs is a hook for the initramfs-tools, used to generate a initramfs
-capable to boot live systems, such as those created by <emphasis role="strong">live-helper</emphasis>(7).
-This includes the Debian Live isos, netboot tarballs, and usb stick images.</simpara>
-
-<simpara>At boot time it will look for a (read-only) media containing a "/live"
-directory where a root filesystems (often a compressed filesystem image like
-squashfs) is stored. If found, it will create a writable environment, using
-aufs, for Debian like systems to boot from.</simpara>
-
-<simpara>You probably do not want to install this package onto a non-live system,
-although it will do no harm.</simpara>
-
-<simpara>live-initramfs is a fork of <ulink url="http://packages.ubuntu.com/casper/">casper</ulink>.
-casper was originally written by Tollef Fog Heen <tfheen@canonical.com>
-and Matt Zimmerman <mdz@canonical.com>.</simpara>
-
-</refsect1>
-<refsect1 id="_boot_options">
-<title>Boot options</title>
-<simpara>Here is the complete list of recognized boot parameters by live-initramfs.</simpara>
-
-<variablelist>
-<varlistentry>
-<term>
-access=<emphasis role="strong">ACCESS</emphasis>
-</term>
-<listitem>
-<simpara>
-Set the accessibility level for physically or visually impared users. ACCESS
-must be one of v1, v2, v3, m1, or m2. v1=lesser visual impairment, v2=moderate
-visual impairment, v3=blindness, m1=minor motor difficulties, m2=moderate motor
-difficulties.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-console=<emphasis role="strong">TTY,SPEED</emphasis>
-</term>
-<listitem>
-<simpara>
-Set the default console to be used with the "live-getty" option. Example:
-"console=ttyS0,115200"
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-debug
-</term>
-<listitem>
-<simpara>
-Makes initramfs boot process more verbose.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-fetch=<emphasis role="strong">URL</emphasis>
-</term>
-<listitem>
-<simpara>
-Another form of netboot by downloading a squashfs image from a given url,
-copying to ram and booting it. Due to current limitations in busyboxs wget
-and DNS resolution, an URL can not contain a hostname but an IP only.
-</simpara>
-</listitem>
-</varlistentry>
-</variablelist>
-<simpara>Not working: http://example.com/path/to/your_filesystem.squashfs
-Working: http://1.2.3.4/path/to/your_filesystem.squashfs</simpara>
-
-<simpara>Also note that therefore it's currently not possible to fetch an image from a
-namebased virtualhost of an httpd if it is sharing the ip with the main httpd
-instance.</simpara>
-
-<variablelist>
-<varlistentry>
-<term>
-hostname=<emphasis role="strong">HOSTNAME</emphasis>, username=<emphasis role="strong">USER</emphasis>, userfullname=<emphasis role="strong">USERFULLNAME</emphasis>
-</term>
-<listitem>
-<simpara>
-Those parameters lets you override values read from the config file.
-</simpara>
-<literallayout class="monospaced">ignore_uuid</literallayout>
-</listitem>
-</varlistentry>
-</variablelist>
-<simpara>Do not check that any UUID embedded in the initramfs matches the discovered
-medium. live-initramfs may be told to generate a UUID by setting
-LIVE_GENERATE_UUID=1 when building the initramfs.</simpara>
-
-<variablelist>
-<varlistentry>
-<term>
-integrity-check
-</term>
-<listitem>
-<simpara>
-If specified, an MD5 sum is calculated on the live media during boot and
-compared to the value found in md5sum.txt found in the root directory of the
-live media.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-ip=<emphasis role="strong">[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF] [,[CLIENT_IP]:[SERVER_IP]:[GATEWAY_IP]:[NETMASK]:[HOSTNAME]:[DEVICE]:[AUTOCONF]]</emphasis>*
-</term>
-<listitem>
-<simpara>
-Let you specify the name(s) and the options of the interface(s) that should be
-configured at boot time. Do not specify this if you want to use dhcp (default).
-It will be changed in a future release to mimick official kernel boot param
-specification (e.g. ip=10.0.0.1::10.0.0.254:255.255.255.0::eth0,:::::eth1:dhcp).
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-ip=[<emphasis role="strong">frommedia</emphasis>]
-</term>
-<listitem>
-<simpara>
-If this variable is set, dhcp and static configuration are just skipped and the
-system will use the (must be) media-preconfigured /etc/network/interfaces
-instead.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-{keyb|kbd-chooser/method}=<emphasis role="strong">KEYBOARD</emphasis>, {klayout|console-setup/layoutcode}=<emphasis role="strong">LAYOUT</emphasis>, {kvariant|console-setup/variantcode}=<emphasis role="strong">VARIANT</emphasis>, {kmodel|console-setup/modelcode}=<emphasis role="strong">CODE</emphasis>, koptions=<emphasis role="strong">OPTIONS</emphasis>
-</term>
-<listitem>
-<simpara>
-Configure the running keyboard as specified, if this one misses live-initramfs
-behaves as if "keyb=us" was specified. It will be interfered from "locale=" if
-locale is only 2 lowecase letters as a special case. You could also specify
-console layout, variant, code, and options (no defaults).
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-live-getty
-</term>
-<listitem>
-<simpara>
-This changes the auto-login on virtual terminals to use the (experimental)
-live-getty code. With this option set the standard kernel argument "console=" is
-parsed and if a serial console is specified then live-getty is used to autologin
-on the serial console.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-{live-media|bootfrom}=<emphasis role="strong">DEVICE</emphasis>
-</term>
-<listitem>
-<simpara>
-If you specify one of this two equivalent forms, live-initramfs will first try
-to find this device for the "/live" directory where the read-only root
-filesystem should reside. If it did not find something usable, the normal scan
-for block devices is performed.
-</simpara>
-</listitem>
-</varlistentry>
-</variablelist>
-<simpara>Instead of specifing an actual device name, the keyword <emphasis>removable</emphasis> can be used
-to limit the search of acceptable live media to removable type only. Note that
-if you want to further restrict the media to usb mass storage only, you can use
-the <emphasis>removable-usb</emphasis> keyword.</simpara>
-
-<variablelist>
-<varlistentry>
-<term>
-{live-media-encryption|encryption}=<emphasis role="strong">TYPE</emphasis>
-</term>
-<listitem>
-<simpara>
-live-initramfs will mount the encrypted rootfs TYPE, asking the passphrase,
-useful to build paranoid live systems :-). TYPE supported so far are "aes" for
-loop-aes encryption type.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-live-media-offset=<emphasis role="strong">BYTES</emphasis>
-</term>
-<listitem>
-<simpara>
-This way you could tell live-initramfs that your image starts at offset BYTES in
-the above specified or autodiscovered device, this could be useful to hide the
-Debian Live iso or image inside another iso or image, to create "clean" images.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-live-media-path=<emphasis role="strong">PATH</emphasis>
-</term>
-<listitem>
-<simpara>
-Sets the path to the live filesystem on the medium. By default, it is set to
-<emphasis>/live</emphasis> and you should not change that unless you have customized your media
-accordingly.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-live-media-timeout=<emphasis role="strong">SECONDS</emphasis>
-</term>
-<listitem>
-<simpara>
-Set the timeout in seconds for the device specified by "live-media=" to become
-ready before giving up.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-{locale|debian-installer/locale}=<emphasis role="strong">LOCALE</emphasis>
-</term>
-<listitem>
-<simpara>
-Configure the running locale as specified, if not present the live-media rootfs
-configured locale will be used and if also this one misses live-initramfs behave
-as "locale=en_US.UTF-8" was specified. If only 2 lowercase letter are specified
-(like "it"), the "maybe wanted" locale is generated (like en:EN.UTF-8), in this
-case if also "keyb=" is unspecified is set with those 2 lowercase letters
-(keyb=us). Beside that facility, only UTF8 locales are supported by
-live-initramfs.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-module=<emphasis role="strong">NAME</emphasis>
-</term>
-<listitem>
-<simpara>
-Instead of using the default optional file "filesystem.module" (see below)
-another file could be specified without the extension ".module"; it should be
-placed on "/live" directory of the live medium.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-netboot[=<emphasis role="strong">nfs</emphasis>|<emphasis role="strong">cifs</emphasis>]
-</term>
-<listitem>
-<simpara>
-This tells live-initramfs to perform a network mount. The parameter "nfsroot="
-(with optional "nfsopts="), should specify where is the location of the root
-filesystem. With no args, will try cifs first, and if it fails nfs.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-nfsopts=
-</term>
-<listitem>
-<simpara>
-This lets you specify custom nfs options.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-noautologin
-</term>
-<listitem>
-<simpara>
-This parameter disables the automatic terminal login only, not touching gdk/kdm.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-noxautologin
-</term>
-<listitem>
-<simpara>
-This parameter disables the automatic login of gdm/kdm only, not touching
-terminals.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-nofastboot
-</term>
-<listitem>
-<simpara>
-This parameter disables the default disabling of filesystem checks in
-/etc/fstab. If you have static filesystems on your harddisk and you want them to
-be checked at boot time, use this parameter, otherwise they are skipped.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-nopersistent
-</term>
-<listitem>
-<simpara>
-disables the "persistent" feature, useful if the bootloader (like syslinux) has
-been installed with persistent enabled.
-</simpara>
-<literallayout class="monospaced">noprompt</literallayout>
-</listitem>
-</varlistentry>
-</variablelist>
-<simpara>Do not prompt to eject the CD on reboot.</simpara>
-
-<variablelist>
-<varlistentry>
-<term>
-nosudo
-</term>
-<listitem>
-<simpara>
-This parameter disables the automatic configuration of sudo.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-swapon
-</term>
-<listitem>
-<simpara>
-This parameter enables usage of local swap partitions.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-nouser
-</term>
-<listitem>
-<simpara>
-This parameter disables the creation of the default user completely.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-noxautoconfig
-</term>
-<listitem>
-<simpara>
-This parameter disables Xorg auto-reconfiguration at boot time. This is valuable
-if you either do the detection on your own, or, if you want to ship a custom,
-premade xorg.conf in your live system.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-persistent[=nofiles]
-</term>
-<listitem>
-<simpara>
-live-initramfs will look for persistent and snapshot partitions or files labeled
-"live-rw", "home-rw", and files called "live-sn*", "home-sn*" and will try to,
-in order: mount as /cow the first, mount the second in /home, and just copy the
-contents of the latter in appropriate locations (snapshots). Snapshots will be
-tried to be updated on reboot/shutdown. Look at live-snapshot(1) for more
-informations. If "nofiles" is specified, only filesystems with matching labels
-will be searched; no filesystems will be traversed looking for archives or image
-files. This results in shorter boot times.
-</simpara>
-<literallayout class="monospaced">persistent-path=PATH</literallayout>
-</listitem>
-</varlistentry>
-</variablelist>
-<simpara>live-initramfs will look for persistency files in the root directory of a partition,
-with this parameter, the path can be configured so that you can have multiple
-directories on the same partition to store persistency files.</simpara>
-
-<variablelist>
-<varlistentry>
-<term>
-{preseed/file|file}=<emphasis role="strong">FILE</emphasis>
-</term>
-<listitem>
-<simpara>
-A path to a file present on the rootfs could be used to preseed debconf
-database.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-package/question=<emphasis role="strong">VALUE</emphasis>
-</term>
-<listitem>
-<simpara>
-All debian installed packages could be preseeded from command-line that way,
-beware of blanks spaces, they will interfere with parsing, use a preseed file in
-this case.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-quickreboot
-</term>
-<listitem>
-<simpara>
-This option causes live-initramfs to reboot without attempting to eject the
-media and without asking the user to remove the boot media.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-showmounts
-</term>
-<listitem>
-<simpara>
-This parameter will make live-initramfs to show on "/" the ro filesystems
-(mostly compressed) on "/live". This is not enabled by default because could
-lead to problems by applications like "mono" which store binary paths on
-installation.
-</simpara>
-<literallayout class="monospaced">silent</literallayout>
-</listitem>
-</varlistentry>
-</variablelist>
-<simpara>If you boot with the normal quiet parameter, live-initramfs hides most messages
-of its own. When adding silent, it hides all.</simpara>
-
-<literallayout class="monospaced">textonly</literallayout>
-<simpara>Start up to text-mode shell prompts, disabling the graphical user interface.</simpara>
-
-<variablelist>
-<varlistentry>
-<term>
-timezone=<emphasis role="strong">TIMEZONE</emphasis>
-</term>
-<listitem>
-<simpara>
-By default, timezone is set to UTC. Using the timezone parameter, you can set it
-to your local zone, e.g. Europe/Zurich.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-todisk=<emphasis role="strong">DEVICE</emphasis>
-</term>
-<listitem>
-<simpara>
-Adding this parameter, live-initramfs will try to copy the entire read-only
-media to the specified device before mounting the root filesystem. It probably
-needs a lot of free space. Subsequent boots should then skip this step and just
-specify the "live-media=DEVICE" boot parameter with the same DEVICE used this
-time.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-toram
-</term>
-<listitem>
-<simpara>
-Adding this parameter, live-initramfs will try to copy the whole read-only media
-to the computer's RAM before mounting the root filesystem. This could need a lot
-of ram, according to the space used by the read-only media.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-union=<emphasis role="strong">aufs</emphasis>|<emphasis role="strong">unionfs</emphasis>
-</term>
-<listitem>
-<simpara>
-By default, live-initramfs uses aufs. With this parameter, you can switch to
-unionfs.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-utc=<emphasis role="strong">yes</emphasis>|<emphasis role="strong">no</emphasis>
-</term>
-<listitem>
-<simpara>
-By default, Debian systems do assume that the hardware clock is set to UTC. You
-can change or explicitly set it with this parameter.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-xdebconf
-</term>
-<listitem>
-<simpara>
-Uses xdebconfigurator, if present on the rootfs, to configure X instead of the
-standard procedure (experimental).
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
-xvideomode=<emphasis role="strong">RESOLUTION</emphasis>
-</term>
-<listitem>
-<simpara>
-Doesn't do xorg autodetection, but enforces a given resolution.
-</simpara>
-</listitem>
-</varlistentry>
-</variablelist>
-</refsect1>
-<refsect1 id="_files">
-<title>Files</title>
-<literallayout class="monospaced">/etc/live.conf</literallayout>
-<simpara>Some variables can be configured via this config file (inside the live system).</simpara>
-
-<literallayout class="monospaced">/live/filesystem.module</literallayout>
-<simpara>This optional file (inside the live media) contains a list of white-space or
-carriage-return-separated file names corresponding to disk images in the "/live"
-directory. If this file exists, only images listed here will be merged into the
-root aufs, and they will be loaded in the order listed here. The first entry
-in this file will be the "lowest" point in the aufs, and the last file in
-this list will be on the "top" of the aufs, directly below /cow. Without
-this file, any images in the "/live" directory are loaded in alphanumeric order.</simpara>
-
-<literallayout class="monospaced">/etc/live-persistence.binds</literallayout>
-<simpara>This optional file (which resides in the rootfs system, not in the live media)
-is used as a list of directories which not need be persistent: ie. their
-content does not need to survive reboots when using the persistence features.</simpara>
-
-<simpara>This saves expensive writes and speeds up operations on volatile data such as
-web caches and temporary files (like e.g. /tmp and .mozilla) which are
-regenerated each time. This is achieved by bind mounting each listed directory
-with a tmpfs on the original path.</simpara>
-
-</refsect1>
-<refsect1 id="_see_also">
-<title>See also</title>
-<simpara>live-snapshot(1), initramfs-tools(8), live-helper(7), live-initscripts(7),
-live-webhelper(7)</simpara>
-
-</refsect1>
-<refsect1 id="_bugs">
-<title>Bugs</title>
-<simpara>Report bugs against live-initramfs
-<ulink url="http://packages.qa.debian.org/live-initramfs">http://packages.qa.debian.org/live-initramfs</ulink>.</simpara>
-
-</refsect1>
-<refsect1 id="_homepage">
-<title>Homepage</title>
-<simpara>More information about the Debian Live project can be found at
-<ulink url="http://debian-live.alioth.debian.org/">http://debian-live.alioth.debian.org/</ulink> and
-<ulink url="http://wiki.debian.org/DebianLive/">http://wiki.debian.org/DebianLive/</ulink>.</simpara>
-
-</refsect1>
-<refsect1 id="_authors">
-<title>Authors</title>
-<simpara>live-initramfs is maintained by Daniel Baumann <daniel@debian.org>
-for the Debian project.</simpara>
-
-<simpara>live-initramfs is a fork of <ulink url="http://packages.ubuntu.com/casper/">casper</ulink>.
-casper was originally written by Tollef Fog Heen <tfheen@canonical.com>
-and Matt Zimmerman <mdz@canonical.com>.</simpara>
-
-</refsect1>
-</refentry>
diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-snapshot.en.1 b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-snapshot.en.1 deleted file mode 100644 index 4bc99b5219..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-snapshot.en.1 +++ /dev/null @@ -1,116 +0,0 @@ -.\" Title: live-snapshot -.\" Author: -.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/> -.\" Date: 06/29/2009 -.\" Manual: -.\" Source: -.\" -.TH "LIVE\-SNAPSHOT" "1" "06/29/2009" "" "" -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.SH "NAME" -live-snapshot \- a simple script to ease persistence usage -.SH "SYNOPSIS" -live\-snapshot [\-c|\-\-cow \fBDIRECTORY\fRs] [\-d|\-\-device \fBDEVICE\fR] [\-e|\-\-exclude\-list \fBFILE\fR] [\-o|\-\-output \fBFILE\fR] [\-t|\-\-type \fBTYPE\fR] -.sp -live\-snapshot [\-r|\-\-resync\-string \fBSTRING\fR] -.sp -live\-snapshot [\-h|\-\-help] -.sp -live\-snapshot [\-u|\-\-usage] -.sp -live\-snapshot [\-v|\-\-version] -.sp -.SH "DESCRIPTION" -live\-snapshot is a script which can be used to build the right types of persistent image files supported by live\-initramfs(7)\&. It is also used on exit by the live\-initramfs init script to resync the boot\-found snapshots devices\&. -.sp -.SH "OPTIONS" -.PP -\-c, \-\-cow \fBDIRECTORY\fR -.RS 4 -specifies the input directory to be cloned in the image file\&. Its default value "/live/cow" should be right for most uses\&. However it could be handy to specify "/home" and type ext2 for the type to prepare an image file suited to be directly mounted by live\-initramfs as home\&. -.RE -.PP -\-d, \-\-device \fBDEVICE\fR -.RS 4 -sets the device where the media which the snapshot/persistence file/partition will be put\&. If it is not specified, a tmpfs will be used and linked to the user\'s desktop to move it where it is needed\&. If the device has no filesystem, an ext2 fs will be automatically created and labelled according to the values specified after the "\-\-output" value or with a sane default\&. -.RE -.PP -\-e, \-\-exclude\-list \fBFILE\fR -.RS 4 -a file containing a list of filenames/paths that should not be saved\&. This exclude list will be remebered on the target snapshot media for reuse\&. -.RE -.PP -\-o, \-\-output \fBFILE\fR -.RS 4 -the filename/label used for the output file/partition\&. If left blank, live\-snapshot will search for a proper file on the device or use the whole partition\&. -.RE -.PP -\-r, \-\-resync\-string \fBSTRING\fR -.RS 4 -internally used on resyncs\&. -.RE -.PP -\-f, \-\-refresh -.RS 4 -try to do the same operation that should be done at reboot or halt, resyncing boot\-time auto discovered snapshots\&. Useful to prevent a crash or surge power\-off\&. -.RE -.PP -\-t, \-\-type \fBTYPE\fR -.RS 4 -Type could be one of "cpio", "squashfs", "ext2", "ext3", "ext4", or "jffs2"\&. -.RE -.PP -\-h, \-\-help -.RS 4 -display help and exit -.RE -.PP -\-u, \-\-usage -.RS 4 -show usage and exit -.RE -.PP -\-v, \-\-version -.RS 4 -output version information and exit -.RE -.SH "FILES" -.sp -.RS 4 -.nf -/etc/live\-snapshot\&.list -.fi -.RE -This optional file, if present changes the behaviour of live\-snapshot, only files and directories listed there are included (integrally) in the snapshot\&. It works only for cpio and whole partition targets\&. -.sp -.sp -.RS 4 -.nf -/etc/live\-snapshot\&.exclude_list -.fi -.RE -This optional file, if present will filter the files that will be saved by live\-snapshot removing (as in "grep \-F \-v") all filenames that will be matched by strings listed in it\&. It works for cpio, whole partition and squashfs snapshot types only; it is pretty useful for filtering temporary files and disk caches\&. -.sp -.SH "SEE ALSO" -live\-initramfs(8) -.sp -This program is a part of live\-initramfs\&. -.sp -.SH "BUGS" -Report bugs against live\-initramfs \fIhttp://packages\&.qa\&.debian\&.org/live\-initramfs\fR\&. -.sp -.SH "HOMEPAGE" -More information about the Debian Live project can be found at \fIhttp://debian\-live\&.alioth\&.debian\&.org/\fR and \fIhttp://wiki\&.debian\&.org/DebianLive/\fR\&. -.sp -.SH "AUTHORS" -live\-initramfs is maintained by Daniel Baumann <daniel@debian\&.org> for the Debian project\&. live\-initramfs is a fork of \fIcasper\fR\&[1]\&. casper was originally written by Tollef Fog Heen <tfheen@canonical\&.com> and Matt Zimmerman <mdz@canonical\&.com>\&. -.sp -.SH "NOTES" -.IP " 1." 4 -casper -.RS 4 -\%http://packages.ubuntu.com/casper/ -.RE diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-snapshot.en.1.html b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-snapshot.en.1.html deleted file mode 100644 index f40b94aa75..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-snapshot.en.1.html +++ /dev/null @@ -1,487 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
- "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 8.2.6" />
-<style type="text/css">
-/* Debug borders */
-p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
-/*
- border: 1px solid red;
-*/
-}
-
-body {
- margin: 1em 5% 1em 5%;
-}
-
-a {
- color: blue;
- text-decoration: underline;
-}
-a:visited {
- color: fuchsia;
-}
-
-em {
- font-style: italic;
- color: navy;
-}
-
-strong {
- font-weight: bold;
- color: #083194;
-}
-
-tt {
- color: navy;
-}
-
-h1, h2, h3, h4, h5, h6 {
- color: #527bbd;
- font-family: sans-serif;
- margin-top: 1.2em;
- margin-bottom: 0.5em;
- line-height: 1.3;
-}
-
-h1, h2, h3 {
- border-bottom: 2px solid silver;
-}
-h2 {
- padding-top: 0.5em;
-}
-h3 {
- float: left;
-}
-h3 + * {
- clear: left;
-}
-
-div.sectionbody {
- font-family: serif;
- margin-left: 0;
-}
-
-hr {
- border: 1px solid silver;
-}
-
-p {
- margin-top: 0.5em;
- margin-bottom: 0.5em;
-}
-
-ul, ol, li > p {
- margin-top: 0;
-}
-
-pre {
- padding: 0;
- margin: 0;
-}
-
-span#author {
- color: #527bbd;
- font-family: sans-serif;
- font-weight: bold;
- font-size: 1.1em;
-}
-span#email {
-}
-span#revision {
- font-family: sans-serif;
-}
-
-div#footer {
- font-family: sans-serif;
- font-size: small;
- border-top: 2px solid silver;
- padding-top: 0.5em;
- margin-top: 4.0em;
-}
-div#footer-text {
- float: left;
- padding-bottom: 0.5em;
-}
-div#footer-badges {
- float: right;
- padding-bottom: 0.5em;
-}
-
-div#preamble,
-div.tableblock, div.imageblock, div.exampleblock, div.verseblock,
-div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
-div.admonitionblock {
- margin-right: 10%;
- margin-top: 1.5em;
- margin-bottom: 1.5em;
-}
-div.admonitionblock {
- margin-top: 2.5em;
- margin-bottom: 2.5em;
-}
-
-div.content { /* Block element content. */
- padding: 0;
-}
-
-/* Block element titles. */
-div.title, caption.title {
- color: #527bbd;
- font-family: sans-serif;
- font-weight: bold;
- text-align: left;
- margin-top: 1.0em;
- margin-bottom: 0.5em;
-}
-div.title + * {
- margin-top: 0;
-}
-
-td div.title:first-child {
- margin-top: 0.0em;
-}
-div.content div.title:first-child {
- margin-top: 0.0em;
-}
-div.content + div.title {
- margin-top: 0.0em;
-}
-
-div.sidebarblock > div.content {
- background: #ffffee;
- border: 1px solid silver;
- padding: 0.5em;
-}
-
-div.listingblock {
- margin-right: 0%;
-}
-div.listingblock > div.content {
- border: 1px solid silver;
- background: #f4f4f4;
- padding: 0.5em;
-}
-
-div.quoteblock > div.content {
- padding-left: 2.0em;
-}
-
-div.attribution {
- text-align: right;
-}
-div.verseblock + div.attribution {
- text-align: left;
-}
-
-div.admonitionblock .icon {
- vertical-align: top;
- font-size: 1.1em;
- font-weight: bold;
- text-decoration: underline;
- color: #527bbd;
- padding-right: 0.5em;
-}
-div.admonitionblock td.content {
- padding-left: 0.5em;
- border-left: 2px solid silver;
-}
-
-div.exampleblock > div.content {
- border-left: 2px solid silver;
- padding: 0.5em;
-}
-
-div.verseblock div.content {
- white-space: pre;
-}
-
-div.imageblock div.content { padding-left: 0; }
-div.imageblock img { border: 1px solid silver; }
-span.image img { border-style: none; }
-
-dl {
- margin-top: 0.8em;
- margin-bottom: 0.8em;
-}
-dt {
- margin-top: 0.5em;
- margin-bottom: 0;
- font-style: normal;
-}
-dd > *:first-child {
- margin-top: 0.1em;
-}
-
-ul, ol {
- list-style-position: outside;
-}
-div.olist > ol {
- list-style-type: decimal;
-}
-div.olist2 > ol {
- list-style-type: lower-alpha;
-}
-
-div.tableblock > table {
- border: 3px solid #527bbd;
-}
-thead {
- font-family: sans-serif;
- font-weight: bold;
-}
-tfoot {
- font-weight: bold;
-}
-
-div.hlist {
- margin-top: 0.8em;
- margin-bottom: 0.8em;
-}
-div.hlist td {
- padding-bottom: 15px;
-}
-td.hlist1 {
- vertical-align: top;
- font-style: normal;
- padding-right: 0.8em;
-}
-td.hlist2 {
- vertical-align: top;
-}
-
-@media print {
- div#footer-badges { display: none; }
-}
-
-div#toctitle {
- color: #527bbd;
- font-family: sans-serif;
- font-size: 1.1em;
- font-weight: bold;
- margin-top: 1.0em;
- margin-bottom: 0.1em;
-}
-
-div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
- margin-top: 0;
- margin-bottom: 0;
-}
-div.toclevel2 {
- margin-left: 2em;
- font-size: 0.9em;
-}
-div.toclevel3 {
- margin-left: 4em;
- font-size: 0.9em;
-}
-div.toclevel4 {
- margin-left: 6em;
- font-size: 0.9em;
-}
-/* Workarounds for IE6's broken and incomplete CSS2. */
-
-div.sidebar-content {
- background: #ffffee;
- border: 1px solid silver;
- padding: 0.5em;
-}
-div.sidebar-title, div.image-title {
- color: #527bbd;
- font-family: sans-serif;
- font-weight: bold;
- margin-top: 0.0em;
- margin-bottom: 0.5em;
-}
-
-div.listingblock div.content {
- border: 1px solid silver;
- background: #f4f4f4;
- padding: 0.5em;
-}
-
-div.quoteblock-content {
- padding-left: 2.0em;
-}
-
-div.exampleblock-content {
- border-left: 2px solid silver;
- padding-left: 0.5em;
-}
-
-/* IE6 sets dynamically generated links as visited. */
-div#toc a:visited { color: blue; }
-
-/* Because IE6 child selector is broken. */
-div.olist2 ol {
- list-style-type: lower-alpha;
-}
-div.olist2 div.olist ol {
- list-style-type: decimal;
-}
-</style>
-<title>live-snapshot(1)</title>
-</head>
-<body>
-<div id="header">
-<h1>live-snapshot(1)</h1>
-</div>
-<h2 id="_name">Name</h2>
-<div class="sectionbody">
-<div class="para"><p>live-snapshot - a simple script to ease persistence usage</p></div>
-</div>
-<h2 id="_synopsis">Synopsis</h2>
-<div class="sectionbody">
-<div class="para"><p>live-snapshot [-c|—cow <strong>DIRECTORY</strong>s] [-d|—device <strong>DEVICE</strong>] [-e|—exclude-list <strong>FILE</strong>] [-o|—output <strong>FILE</strong>] [-t|—type <strong>TYPE</strong>]</p></div>
-<div class="para"><p>live-snapshot [-r|—resync-string <strong>STRING</strong>]</p></div>
-<div class="para"><p>live-snapshot [-h|—help]</p></div>
-<div class="para"><p>live-snapshot [-u|—usage]</p></div>
-<div class="para"><p>live-snapshot [-v|—version]</p></div>
-</div>
-<h2 id="_description">Description</h2>
-<div class="sectionbody">
-<div class="para"><p>live-snapshot is a script which can be used to build the right types of
-persistent image files supported by live-initramfs(7). It is also used on
-exit by the live-initramfs init script to resync the boot-found snapshots
-devices.</p></div>
-</div>
-<h2 id="_options">Options</h2>
-<div class="sectionbody">
-<div class="vlist"><dl>
-<dt>
--c, —cow <strong>DIRECTORY</strong>
-</dt>
-<dd>
-<p>
-specifies the input directory to be cloned in the image file. Its default value
-"/live/cow" should be right for most uses. However it could be handy to specify
-"/home" and type ext2 for the type to prepare an image file suited to be
-directly mounted by live-initramfs as home.
-</p>
-</dd>
-<dt>
--d, —device <strong>DEVICE</strong>
-</dt>
-<dd>
-<p>
-sets the device where the media which the snapshot/persistence file/partition
-will be put. If it is not specified, a tmpfs will be used and linked to the
-user's desktop to move it where it is needed. If the device has no filesystem,
-an ext2 fs will be automatically created and labelled according to the values
-specified after the "—output" value or with a sane default.
-</p>
-</dd>
-<dt>
--e, —exclude-list <strong>FILE</strong>
-</dt>
-<dd>
-<p>
-a file containing a list of filenames/paths that should not be saved. This exclude list will be remebered on the target snapshot media for reuse.
-</p>
-</dd>
-<dt>
--o, —output <strong>FILE</strong>
-</dt>
-<dd>
-<p>
-the filename/label used for the output file/partition. If left blank, live-snapshot will search for a proper file on the device or use the whole partition.
-</p>
-</dd>
-<dt>
--r, —resync-string <strong>STRING</strong>
-</dt>
-<dd>
-<p>
-internally used on resyncs.
-</p>
-</dd>
-<dt>
--f, —refresh
-</dt>
-<dd>
-<p>
-try to do the same operation that should be done at reboot or halt, resyncing
-boot-time auto discovered snapshots. Useful to prevent a crash or surge
-power-off.
-</p>
-</dd>
-<dt>
--t, —type <strong>TYPE</strong>
-</dt>
-<dd>
-<p>
-Type could be one of "cpio", "squashfs", "ext2", "ext3", "ext4", or "jffs2".
-</p>
-</dd>
-<dt>
--h, —help
-</dt>
-<dd>
-<p>
-display help and exit
-</p>
-</dd>
-<dt>
--u, —usage
-</dt>
-<dd>
-<p>
-show usage and exit
-</p>
-</dd>
-<dt>
--v, —version
-</dt>
-<dd>
-<p>
-output version information and exit
-</p>
-</dd>
-</dl></div>
-</div>
-<h2 id="_files">Files</h2>
-<div class="sectionbody">
-<div class="literalblock">
-<div class="content">
-<pre><tt>/etc/live-snapshot.list</tt></pre>
-</div></div>
-<div class="para"><p>This optional file, if present changes the behaviour of live-snapshot, only files and directories listed there are included (integrally) in the snapshot. It works only for cpio and whole partition targets.</p></div>
-<div class="literalblock">
-<div class="content">
-<pre><tt>/etc/live-snapshot.exclude_list</tt></pre>
-</div></div>
-<div class="para"><p>This optional file, if present will filter the files that will be saved by live-snapshot removing (as in "grep -F -v") all filenames that will be matched by strings listed in it.
-It works for cpio, whole partition and squashfs snapshot types only; it is pretty useful for filtering temporary files and disk caches.</p></div>
-</div>
-<h2 id="_see_also">See also</h2>
-<div class="sectionbody">
-<div class="para"><p>live-initramfs(8)</p></div>
-<div class="para"><p>This program is a part of live-initramfs.</p></div>
-</div>
-<h2 id="_bugs">Bugs</h2>
-<div class="sectionbody">
-<div class="para"><p>Report bugs against live-initramfs
-<a href="http://packages.qa.debian.org/live-initramfs">http://packages.qa.debian.org/live-initramfs</a>.</p></div>
-</div>
-<h2 id="_homepage">Homepage</h2>
-<div class="sectionbody">
-<div class="para"><p>More information about the Debian Live project can be found at
-<a href="http://debian-live.alioth.debian.org/">http://debian-live.alioth.debian.org/</a> and
-<a href="http://wiki.debian.org/DebianLive/">http://wiki.debian.org/DebianLive/</a>.</p></div>
-</div>
-<h2 id="_authors">Authors</h2>
-<div class="sectionbody">
-<div class="para"><p>live-initramfs is maintained by Daniel Baumann <daniel@debian.org> for the
-Debian project. live-initramfs is a fork of
-<a href="http://packages.ubuntu.com/casper/">casper</a>. casper was originally written
-by Tollef Fog Heen <tfheen@canonical.com> and Matt Zimmerman <mdz@canonical.com>.</p></div>
-</div>
-<div id="footer">
-<div id="footer-text">
-Last updated 2009-06-29 14:34:56 CEST
-</div>
-</div>
-</body>
-</html>
diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-snapshot.en.1.txt b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-snapshot.en.1.txt deleted file mode 100644 index 4f53e7ebcd..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-snapshot.en.1.txt +++ /dev/null @@ -1,119 +0,0 @@ -live-snapshot(1) -================ - -Name ----- -live-snapshot - a simple script to ease persistence usage - -Synopsis --------- -live-snapshot [-c|--cow **DIRECTORY**s] [-d|--device **DEVICE**] [-e|--exclude-list **FILE**] [-o|--output **FILE**] [-t|--type **TYPE**] - -live-snapshot [-r|--resync-string **STRING**] - -live-snapshot [-h|--help] - -live-snapshot [-u|--usage] - -live-snapshot [-v|--version] - -Description ------------ - -live-snapshot is a script which can be used to build the right types of -persistent image files supported by live-initramfs(7). It is also used on -exit by the live-initramfs init script to resync the boot-found snapshots -devices. - -Options -------- - - -c, --cow **DIRECTORY**:: - -specifies the input directory to be cloned in the image file. Its default value -"/live/cow" should be right for most uses. However it could be handy to specify -"/home" and type ext2 for the type to prepare an image file suited to be -directly mounted by live-initramfs as home. - - -d, --device **DEVICE**:: - -sets the device where the media which the snapshot/persistence file/partition -will be put. If it is not specified, a tmpfs will be used and linked to the -user's desktop to move it where it is needed. If the device has no filesystem, -an ext2 fs will be automatically created and labelled according to the values -specified after the "--output" value or with a sane default. - - -e, --exclude-list **FILE**:: - -a file containing a list of filenames/paths that should not be saved. This exclude list will be remebered on the target snapshot media for reuse. - - -o, --output **FILE**:: - -the filename/label used for the output file/partition. If left blank, live-snapshot will search for a proper file on the device or use the whole partition. - - -r, --resync-string **STRING**:: - -internally used on resyncs. - - -f, --refresh:: - -try to do the same operation that should be done at reboot or halt, resyncing -boot-time auto discovered snapshots. Useful to prevent a crash or surge -power-off. - - -t, --type **TYPE**:: - -Type could be one of "cpio", "squashfs", "ext2", "ext3", "ext4", or "jffs2". - - -h, --help:: - -display help and exit - - -u, --usage:: - -show usage and exit - - -v, --version:: - -output version information and exit - -Files ------ - - /etc/live-snapshot.list - -This optional file, if present changes the behaviour of live-snapshot, only files and directories listed there are included (integrally) in the snapshot. It works only for cpio and whole partition targets. - - /etc/live-snapshot.exclude_list - -This optional file, if present will filter the files that will be saved by live-snapshot removing (as in "grep -F -v") all filenames that will be matched by strings listed in it. -It works for cpio, whole partition and squashfs snapshot types only; it is pretty useful for filtering temporary files and disk caches. - - -See also --------- - -live-initramfs(8) - -This program is a part of live-initramfs. - -Bugs ----- - -Report bugs against live-initramfs -link:http://packages.qa.debian.org/live-initramfs[http://packages.qa.debian.org/live-initramfs]. - -Homepage --------- - -More information about the Debian Live project can be found at -link:http://debian-live.alioth.debian.org/[http://debian-live.alioth.debian.org/] and -link:http://wiki.debian.org/DebianLive/[http://wiki.debian.org/DebianLive/]. - -Authors -------- - -live-initramfs is maintained by Daniel Baumann <daniel@debian.org> for the -Debian project. live-initramfs is a fork of -link:http://packages.ubuntu.com/casper/[casper]. casper was originally written -by Tollef Fog Heen <tfheen@canonical.com> and Matt Zimmerman <mdz@canonical.com>. diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-snapshot.en.1.xml b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-snapshot.en.1.xml deleted file mode 100644 index 8276c9b81f..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-snapshot.en.1.xml +++ /dev/null @@ -1,184 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
-<refentry lang="en">
-<refmeta>
-<refentrytitle>live-snapshot</refentrytitle>
-<manvolnum>1</manvolnum>
-</refmeta>
-<refnamediv>
- <refname>live-snapshot</refname>
- <refpurpose>a simple script to ease persistence usage</refpurpose>
-</refnamediv>
-<refsynopsisdiv>
-<simpara>live-snapshot [-c|--cow <emphasis role="strong">DIRECTORY</emphasis>s] [-d|--device <emphasis role="strong">DEVICE</emphasis>] [-e|--exclude-list <emphasis role="strong">FILE</emphasis>] [-o|--output <emphasis role="strong">FILE</emphasis>] [-t|--type <emphasis role="strong">TYPE</emphasis>]</simpara>
-
-<simpara>live-snapshot [-r|--resync-string <emphasis role="strong">STRING</emphasis>]</simpara>
-
-<simpara>live-snapshot [-h|--help]</simpara>
-
-<simpara>live-snapshot [-u|--usage]</simpara>
-
-<simpara>live-snapshot [-v|--version]</simpara>
-
-</refsynopsisdiv>
-<refsect1 id="_description">
-<title>Description</title>
-<simpara>live-snapshot is a script which can be used to build the right types of
-persistent image files supported by live-initramfs(7). It is also used on
-exit by the live-initramfs init script to resync the boot-found snapshots
-devices.</simpara>
-
-</refsect1>
-<refsect1 id="_options">
-<title>Options</title>
-<variablelist>
-<varlistentry>
-<term>
--c, --cow <emphasis role="strong">DIRECTORY</emphasis>
-</term>
-<listitem>
-<simpara>
-specifies the input directory to be cloned in the image file. Its default value
-"/live/cow" should be right for most uses. However it could be handy to specify
-"/home" and type ext2 for the type to prepare an image file suited to be
-directly mounted by live-initramfs as home.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
--d, --device <emphasis role="strong">DEVICE</emphasis>
-</term>
-<listitem>
-<simpara>
-sets the device where the media which the snapshot/persistence file/partition
-will be put. If it is not specified, a tmpfs will be used and linked to the
-user's desktop to move it where it is needed. If the device has no filesystem,
-an ext2 fs will be automatically created and labelled according to the values
-specified after the "--output" value or with a sane default.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
--e, --exclude-list <emphasis role="strong">FILE</emphasis>
-</term>
-<listitem>
-<simpara>
-a file containing a list of filenames/paths that should not be saved. This exclude list will be remebered on the target snapshot media for reuse.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
--o, --output <emphasis role="strong">FILE</emphasis>
-</term>
-<listitem>
-<simpara>
-the filename/label used for the output file/partition. If left blank, live-snapshot will search for a proper file on the device or use the whole partition.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
--r, --resync-string <emphasis role="strong">STRING</emphasis>
-</term>
-<listitem>
-<simpara>
-internally used on resyncs.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
--f, --refresh
-</term>
-<listitem>
-<simpara>
-try to do the same operation that should be done at reboot or halt, resyncing
-boot-time auto discovered snapshots. Useful to prevent a crash or surge
-power-off.
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
--t, --type <emphasis role="strong">TYPE</emphasis>
-</term>
-<listitem>
-<simpara>
-Type could be one of "cpio", "squashfs", "ext2", "ext3", "ext4", or "jffs2".
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
--h, --help
-</term>
-<listitem>
-<simpara>
-display help and exit
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
--u, --usage
-</term>
-<listitem>
-<simpara>
-show usage and exit
-</simpara>
-</listitem>
-</varlistentry>
-<varlistentry>
-<term>
--v, --version
-</term>
-<listitem>
-<simpara>
-output version information and exit
-</simpara>
-</listitem>
-</varlistentry>
-</variablelist>
-</refsect1>
-<refsect1 id="_files">
-<title>Files</title>
-<literallayout class="monospaced">/etc/live-snapshot.list</literallayout>
-<simpara>This optional file, if present changes the behaviour of live-snapshot, only files and directories listed there are included (integrally) in the snapshot. It works only for cpio and whole partition targets.</simpara>
-
-<literallayout class="monospaced">/etc/live-snapshot.exclude_list</literallayout>
-<simpara>This optional file, if present will filter the files that will be saved by live-snapshot removing (as in "grep -F -v") all filenames that will be matched by strings listed in it.
-It works for cpio, whole partition and squashfs snapshot types only; it is pretty useful for filtering temporary files and disk caches.</simpara>
-
-</refsect1>
-<refsect1 id="_see_also">
-<title>See also</title>
-<simpara>live-initramfs(8)</simpara>
-
-<simpara>This program is a part of live-initramfs.</simpara>
-
-</refsect1>
-<refsect1 id="_bugs">
-<title>Bugs</title>
-<simpara>Report bugs against live-initramfs
-<ulink url="http://packages.qa.debian.org/live-initramfs">http://packages.qa.debian.org/live-initramfs</ulink>.</simpara>
-
-</refsect1>
-<refsect1 id="_homepage">
-<title>Homepage</title>
-<simpara>More information about the Debian Live project can be found at
-<ulink url="http://debian-live.alioth.debian.org/">http://debian-live.alioth.debian.org/</ulink> and
-<ulink url="http://wiki.debian.org/DebianLive/">http://wiki.debian.org/DebianLive/</ulink>.</simpara>
-
-</refsect1>
-<refsect1 id="_authors">
-<title>Authors</title>
-<simpara>live-initramfs is maintained by Daniel Baumann <daniel@debian.org> for the
-Debian project. live-initramfs is a fork of
-<ulink url="http://packages.ubuntu.com/casper/">casper</ulink>. casper was originally written
-by Tollef Fog Heen <tfheen@canonical.com> and Matt Zimmerman <mdz@canonical.com>.</simpara>
-
-</refsect1>
-</refentry>
diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-snapshot.it.1.txt b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-snapshot.it.1.txt deleted file mode 100644 index 1beb7918fd..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/live-snapshot.it.1.txt +++ /dev/null @@ -1,126 +0,0 @@ -live-snapshot(1) -================ - -Name ----- -live-snapshot - uno script per facilitare l'uso della persistenza sui sistemi live - -Synopsis --------- -live-snapshot [-c|--cow **DIRECTORY**s] [-d|--device **DEVICE**] [-e|--exclude-list **FILE**] [-o|--output **FILE**] [-t|--type **TYPE**] - -live-snapshot [-r|--resync-string **STRING**] - -live-snapshot [-h|--help] - -live-snapshot [-u|--usage] - -live-snapshot [-v|--version] - -Description ------------ - -live-snapshot `e uno script che pu`o essere usato per costruire un file immagine formattato -correttamente per essere usato da live-initramfs(7); viene inoltre usato dallo script di -init di live-initramfs in uscita per sincronizzare i device di snapshot riconosciuti al boot. - -Options -------- - - -c, --cow **DIRECTORY**:: - -specifica la directory da clonare nel file immagine. Il valore di default `e -lo stesso default usato da live-initramfs per la sua directory COW (copy on -write, un tempo situata in "/live/cow") ed `e sufficiente per gli usi comuni. -Pu`o essere utile tuttavia specificare "/home" e come tipo "ext2" per -preparare un file immagine adatto per essere montato da live-initramfs come -"/home" al boot. - - -d, --device **DEVICE**:: - -seleziona il device dove il file/partizione di snapshot o persistenza dovr`a -essere sistemato. Se il device non ha un filesystem, ne verr`a creato uno -automaticamente, di tipo ext2 ed etichettato (label) in base al valore -specificato nell'opzione "--output" o con un default. Se non viene specificato -nessun device, verr`a usato un "tmpfs" linkato sul desktop dell'utente, in -modo che port`a essere mosso dove si vuole. - - -e, --exclude-list **FILE**:: - -un file contenente una lista di file e percorsi che NON devono essere salvati. -Questa lista verr`a inclusa nello snapshot per essere riutilizzata. - - -o, --output **FILE**:: - -il nome del file o l'etichetta (label) da usare per il file o la partizione di -snapshot. Se non specificata, live-snapshot cercher\`a un file all'interno -del device oppure user`a l'intera partizione. - - -r, --resync-string **STRING**:: - -usato internamente nelle sincronizzazioni dallo script di init di -live-initramfs. Il formato pu\`o cambiare, usatelo a vostro rischio. - - -f, --refresh:: - -scatena la stessa operazione che verrebbe fatta al reboot o all'halt della -macchina, provando a fare il resync degli snapshot trovati al boot, usabile -per salvare le modifiche in vista di un crash o di una mancanza di corrente. - - -t, --type **TYPE**:: - -il tipo pu`o essere "cpio", "squashfs" o "ext2". - - -h, --help:: - -mostra l'aiuto ed esce - - -u, --usage:: - -mostra l'utilizzo ed esce - - -v, --version:: - -da informazioni sulla versione ed esce - -Files ------ - - /etc/live-snapshot.list - -Facoltativo, se presente cambia completamente il funzionamento di live-snapshot; solo i files e le directory elencate verranno effettivamente inclusi nello snapshot. -Funziona attualmente solo con gli snapshot di tipo "cpio" e "partizione intera". - - /etc/live-snapshot.exclude_list - -Facoltativo, se presente verrà utilizzato per filtrare i file da includere negli snapshot. Tutte i file che conterranno le stringhe elecate (come "grep -F -v") non verranno salvati da live-snapshot. -Funziona attualmente solo con gli snapshot di tipo "cpio", "partizione intera" e "squashfs"; è utile per filtrare contenuti poco significativi come i file temporanei e la cache. - -See also --------- - -live-initramfs(8) - -Questo programma fa parte di live-initramfs. - -Bugs ----- - -Riportate i bug sul pacchetto live-initramfs -link:http://packages.qa.debian.org/live-initramfs[http://packages.qa.debian.org/live-initramfs]. - -Homepage --------- - -Ulteriori informazioni su progetto Debian Live possono essere trovate su -link:http://debian-live.alioth.debian.org/[http://debian-live.alioth.debian.org/] e -link:http://wiki.debian.org/DebianLive/[http://wiki.debian.org/DebianLive/]. - -Authors -------- - -live-initramfs `e mantenuto da Daniel Baumann <daniel@debian.org> per il -progetto Debian. live-initramfs `e un fork di -link:http://packages.ubuntu.com/casper[casper]. casper `e stato scritto -originariamente da Tollef Fog Heen <tfheen@canonical.com> e Matt Zimmerman -<mdz@canonical.com>. diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/man-stamp b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/man-stamp deleted file mode 100644 index e69de29bb2..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/manpages/man-stamp +++ /dev/null diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live deleted file mode 100755 index abfa911468..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live +++ /dev/null @@ -1,1727 +0,0 @@ -#!/bin/sh - -# set -e - -export PATH="/root/usr/bin:/root/usr/sbin:/root/bin:/root/sbin:/usr/bin:/usr/sbin:/bin:/sbin" - -echo "/root/lib" >> /etc/ld.so.conf -echo "/root/usr/lib" >> /etc/ld.so.conf - -mountpoint="/live/image" -LIVE_MEDIA_PATH="live" - -root_persistence="live-rw" -home_persistence="home-rw" -root_snapshot_label="live-sn" -home_snapshot_label="home-sn" - -USERNAME="user" -USERFULLNAME="Live user" -HOSTNAME="host" - -mkdir -p "${mountpoint}" - -# Create /etc/mtab for debug purpose and future syncs -if [ ! -d /etc ] -then - mkdir /etc/ -fi - -if [ ! -f /etc/mtab ] -then - touch /etc/mtab -fi - -[ -f /etc/live.conf ] && . /etc/live.conf -export USERNAME USERFULLNAME HOSTNAME - -. /scripts/live-helpers - -if [ ! -f /live.vars ] -then - touch /live.vars -fi - -Arguments () -{ - PRESEEDS="" - - for ARGUMENT in $(cat /proc/cmdline) - do - case "${ARGUMENT}" in - access=*) - ACCESS="${ARGUMENT#access=}" - export ACCESS - ;; - - console=*) - DEFCONSOLE="${ARGUMENT#*=}" - export DEFCONSOLE - ;; - - debug) - DEBUG="Yes" - export DEBUG - - set -x - ;; - - fetch=*) - FETCH="${ARGUMENT#fetch=}" - export FETCH - ;; - - hook=*) - HOOK="${ARGUMENT#hook=}" - export HOOK - ;; - - ftpfs=*) - FTPFS="${ARGUMENT#ftpfs=}" - export FTPFS - ;; - - httpfs=*) - HTTPFS="${ARGUMENT#httpfs=}" - export HTTPFS - ;; - - hostname=*) - HOSTNAME="${ARGUMENT#hostname=}" - LIVECONF="changed" - export HOSTNAME LIVECONF - ;; - - username=*) - USERNAME="${ARGUMENT#username=}" - LIVECONF="changed" - export USERNAME LIVECONF - ;; - - userfullname=*) - USERFULLNAME="${ARGUMENT#userfullname=}" - LIVECONF="changed" - export USERFULLNAME LIVECONF - ;; - - ignore_uuid) - IGNORE_UUID="Yes" - export IGNORE_UUID - ;; - - integrity-check) - INTEGRITY_CHECK="Yes" - export INTEGRITY_CHECK - ;; - - ip=*) - STATICIP="${ARGUMENT#ip=}" - - if [ -z "${STATICIP}" ] - then - STATICIP="frommedia" - fi - - export STATICIP - ;; - - keyb=*|kbd-chooser/method=*) - KBD="${ARGUMENT#*=}" - export KBD - ;; - - klayout=*|console-setup/layoutcode=*) - KLAYOUT="${ARGUMENT#*=}" - export KLAYOUT - ;; - - kvariant=*|console-setup/variantcode=*) - KVARIANT="${ARGUMENT#*=}" - export KVARIANT - ;; - - kmodel=*|console-setup/modelcode=*) - KMODEL="${ARGUMENT#*=}" - export KMODEL - ;; - - koptions=*) - KOPTIONS="${ARGUMENT#koptions=}" - export KOPTIONS - ;; - - live-getty) - LIVE_GETTY="1" - export LIVE_GETTY - ;; - - live-media=*|bootfrom=*) - LIVE_MEDIA="${ARGUMENT#*=}" - export LIVE_MEDIA - ;; - - live-media-encryption=*|encryption=*) - LIVE_MEDIA_ENCRYPTION="${ARGUMENT#*=}" - export LIVE_MEDIA_ENCRYPTION - ;; - - live-media-offset=*) - LIVE_MEDIA_OFFSET="${ARGUMENT#live-media-offset=}" - export LIVE_MEDIA_OFFSET - ;; - - live-media-path=*) - LIVE_MEDIA_PATH="${ARGUMENT#live-media-path=}" - export LIVE_MEDIA_PATH - ;; - - live-media-timeout=*) - LIVE_MEDIA_TIMEOUT="${ARGUMENT#live-media-timeout=}" - export LIVE_MEDIA_TIMEOUT - ;; - - language=*|debian-installer/language=*) - language=${x#debian-installer/language=} - locale="$(lang2locale "$language")" - set_locale="true" - ;; - - locale=*|debian-installer/locale=*) - LOCALE="${ARGUMENT#*=}" - export LOCALE - ;; - - module=*) - MODULE="${ARGUMENT#module=}" - export MODULE - ;; - - netboot=*) - NETBOOT="${ARGUMENT#netboot=}" - export NETBOOT - ;; - - nfsopts=*) - NFSOPTS="${ARGUMENT#nfsopts=}" - export NFSOPTS - ;; - - nfscow=*) - NFS_COW="${ARGUMENT#nfscow=}" - export NFS_COW - ;; - - noaccessibility) - NOACCESSIBILITY="Yes" - export NOACCESSIBILITY - ;; - - noapparmor) - NOAPPARMOR="Yes" - export NOAPPARMOR - ;; - - noaptcdrom) - NOAPTCDROM="Yes" - export NOAPTCDROM - ;; - - noautologin) - NOAUTOLOGIN="Yes" - export NOAUTOLOGIN - ;; - - noxautologin) - NOXAUTOLOGIN="Yes" - export NOXAUTOLOGIN - ;; - - noconsolekeyboard) - NOCONSOLEKEYBOARD="Yes" - export NOCONSOLEKEYBOARD - ;; - - nofastboot) - NOFASTBOOT="Yes" - export NOFASTBOOT - ;; - - nofstab) - NOFSTAB="Yes" - export NOFSTAB - ;; - - nognomepanel) - NOGNOMEPANEL="Yes" - export NOGNOMEPANEL - ;; - - nohosts) - NOHOSTS="Yes" - export NOHOSTS - ;; - - nokpersonalizer) - NOKPERSONALIZER="Yes" - export NOKPERSONALIZER - ;; - - nolanguageselector) - NOLANGUAGESELECTOR="Yes" - export NOLANGUAGESELECTOR - ;; - - nolocales) - NOLOCALES="Yes" - export NOLOCALES - ;; - - nonetworking) - NONETWORKING="Yes" - export NONETWORKING - ;; - - nopowermanagement) - NOPOWERMANAGEMENT="Yes" - export NOPOWERMANAGEMENT - ;; - - noprogramcrashes) - NOPROGRAMCRASHES="Yes" - export NOPROGRAMCRASHES - ;; - - nojockey) - NOJOCKEY="Yes" - export NOJOCKEY - ;; - - nosudo) - NOSUDO="Yes" - export NOSUDO - ;; - - swapon) - SWAPON="Yes" - export SWAPON - ;; - - noupdatenotifier) - NOUPDATENOTIFIER="Yes" - export NOUPDATENOTIFIER - ;; - - nouser) - NOUSER="Yes" - export NOUSER - ;; - - nopolkitconf) - NOPOLKITCONF="Yes" - export NOPOLKITCONF - ;; - - noxautoconfig) - NOXAUTOCONFIG="Yes" - export NOXAUTOCONFIG - ;; - - noxscreensaver) - NOXSCREENSAVER="Yes" - export NOXSCREENSAVER - ;; - - persistent) - PERSISTENT="Yes" - export PERSISTENT - ;; - - persistent=*) - PERSISTENT="${ARGUMENT#persistent=}" - if [ -z "${PERSISTENT}" ] - then - PERSISTENT="Yes" - fi - export PERSISTENT - ;; - - persistent-path=*) - PERSISTENT_PATH="${ARGUMENT#persistent-path=}" - export PERSISTENT_PATH - ;; - - nopersistent) - NOPERSISTENT="Yes" - export NOPERSISTENT - ;; - - quickusbmodules) - QUICKUSBMODULES="Yes" - export QUICKUSBMODULES - ;; - - preseed/file=*|file=*) - LOCATION="${ARGUMENT#*=}" - export LOCATION - ;; - - nopreseed) - NOPRESEED="Yes" - export NOPRESEED - ;; - - url=*) - location="${ARGUMENT#url=}" - - mount -o bind /sys /root/sys - mount -o bind /proc /root/proc - mount -o bind /dev /root/dev - - mkdir -p /root/var/run/network - chroot /root dhclient eth0 - chroot /root wget -P /tmp "${location}" - chroot /root ifconfig eth0 down - - umount /root/sys - umount /root/proc - umount /root/dev - - LOCATION="/tmp/$(basename "${location}")" - ;; - - skipconfig) - NOTIMEZONE="Yes" - export NOTIMEZONE - NOACCESSIBILITY="Yes" - export NOACCESSIBILITY - NOAPPARMOR="Yes" - export NOAPPARMOR - NOAPTCDROM="Yes" - export NOAPTCDROM - NOAUTOLOGIN="Yes" - export NOAUTOLOGIN - NOXAUTOLOGIN="Yes" - export NOXAUTOLOGIN - NOCONSOLEKEYBOARD="Yes" - export NOCONSOLEKEYBOARD - NOFASTBOOT="Yes" - export NOFASTBOOT - NOFSTAB="Yes" - export NOFSTAB - NOGNOMEPANEL="Yes" - export NOGNOMEPANEL - NOHOSTS="Yes" - export NOHOSTS - NOKPERSONALIZER="Yes" - export NOKPERSONALIZER - NOLANGUAGESELECTOR="Yes" - export NOLANGUAGESELECTOR - NOLOCALES="Yes" - export NOLOCALES - NONETWORKING="Yes" - export NONETWORKING - NOPOWERMANAGEMENT="Yes" - export NOPOWERMANAGEMENT - NOPROGRAMCRASHES="Yes" - export NOPROGRAMCRASHES - NOJOCKEY="Yes" - export NOJOCKEY - NOSUDO="Yes" - export NOSUDO - NOUPDATENOTIFIER="Yes" - export NOUPDATENOTIFIER - NOUSER="Yes" - export NOUSER - NOPOLKITCONF="Yes" - export NOPOLKITCONF - NOXAUTOCONFIG="Yes" - export NOXAUTOCONFIG - NOXSCREENSAVER="Yes" - export NOXSCREENSAVER - NOPRESEED="Yes" - export NOPRESEED - ;; - - */*=*) - question="${ARGUMENT%%=*}" - value="${ARGUMENT#*=}" - PRESEEDS="${PRESEEDS}\"${question}=${value}\" " - export PRESEEDS - ;; - - showmounts) - SHOWMOUNTS="Yes" - export SHOWMOUNTS - ;; - - silent) - SILENT="Yes" - export SILENT - ;; - - textonly) - TEXTONLY="Yes" - export TEXTONLY - ;; - - timezone=*) - TIMEZONE="${ARGUMENT#timezone=}" - export TIMEZONE - ;; - - notimezone) - NOTIMEZONE="Yes" - export NOTIMEZONE - ;; - - todisk=*) - TODISK="${ARGUMENT#todisk=}" - export TODISK - ;; - - toram) - TORAM="Yes" - export TORAM - ;; - - toram=*) - TORAM="Yes" - MODULETORAM="${ARGUMENT#toram=}" - export TORAM MODULETORAM - ;; - - exposedroot) - EXPOSED_ROOT="Yes" - export EXPOSED_ROOT - ;; - - plainroot) - PLAIN_ROOT="Yes" - export PLAIN_ROOT - ;; - - skipunion) - SKIP_UNION_MOUNTS="Yes" - export SKIP_UNION_MOUNTS - ;; - - root=*) - ROOT="${ARGUMENT#root=}" - export ROOT - ;; - - union=*) - UNIONTYPE="${ARGUMENT#union=}" - export UNIONTYPE - ;; - - utc=*) - UTC="${ARGUMENT#utc=}" - export UTC - ;; - - xdebconf) - XDEBCONF="Yes" - export XDEBCONF - ;; - - xdriver=*) - XDRIVER="${ARGUMENT#xdriver=}" - export XDRIVER - ;; - - xvideomode=*) - XVIDEOMODE="${ARGUMENT#xvideomode=}" - export XVIDEOMODE - ;; - esac - done - - # sort of compatibility with netboot.h from linux docs - if [ -z "${NETBOOT}" ] - then - if [ "${ROOT}" = "/dev/nfs" ] - then - NETBOOT="nfs" - export NETBOOT - elif [ "${ROOT}" = "/dev/cifs" ] - then - NETBOOT="cifs" - export NETBOOT - fi - fi - - if [ -z "${MODULE}" ] - then - MODULE="filesystem" - export MODULE - fi - - if [ -z "${UNIONTYPE}" ] - then - UNIONTYPE="aufs" - export UNIONTYPE - fi -} - -is_live_path () -{ - DIRECTORY="${1}" - - if [ -d "${DIRECTORY}"/"${LIVE_MEDIA_PATH}" ] - then - for FILESYSTEM in squashfs ext2 ext3 ext4 xfs dir jffs2 - do - if [ "$(echo ${DIRECTORY}/${LIVE_MEDIA_PATH}/*.${FILESYSTEM})" != "${DIRECTORY}/${LIVE_MEDIA_PATH}/*.${FILESYSTEM}" ] - then - return 0 - fi - done - fi - - return 1 -} - -matches_uuid () -{ - if [ "${IGNORE_UUID}" ] || [ ! -e /conf/uuid.conf ] - then - return 0 - fi - - path="${1}" - uuid="$(cat /conf/uuid.conf)" - - for try_uuid_file in "${path}/.disk/live-uuid"* - do - [ -e "${try_uuid_file}" ] || continue - - try_uuid="$(cat "${try_uuid_file}")" - - if [ "${uuid}" = "${try_uuid}" ] - then - return 0 - fi - done - - return 1 -} - -get_backing_device () -{ - case "${1}" in - *.squashfs|*.ext2|*.ext3|*.ext4|*.jffs2) - echo $(setup_loop "${1}" "loop" "/sys/block/loop*" '0' "${LIVE_MEDIA_ENCRYPTION}" "${2}") - ;; - - *.dir) - echo "directory" - ;; - - *) - panic "Unrecognized live filesystem: ${1}" - ;; - esac -} - -match_files_in_dir () -{ - # Does any files match pattern ${1} ? - local pattern="${1}" - - if [ "$(echo ${pattern})" != "${pattern}" ] - then - return 0 - fi - - return 1 -} - -mount_images_in_directory () -{ - directory="${1}" - rootmnt="${2}" - mac="${3}" - - - if match_files_in_dir "${directory}/${LIVE_MEDIA_PATH}/*.squashfs" || - match_files_in_dir "${directory}/${LIVE_MEDIA_PATH}/*.ext2" || - match_files_in_dir "${directory}/${LIVE_MEDIA_PATH}/*.ext3" || - match_files_in_dir "${directory}/${LIVE_MEDIA_PATH}/*.ext4" || - match_files_in_dir "${directory}/${LIVE_MEDIA_PATH}/*.jffs2" || - match_files_in_dir "${directory}/${LIVE_MEDIA_PATH}/*.dir" - then - [ -n "${mac}" ] && adddirectory="${directory}/${LIVE_MEDIA_PATH}/${mac}" - setup_unionfs "${directory}/${LIVE_MEDIA_PATH}" "${rootmnt}" "${adddirectory}" - else - panic "No supported filesystem images found at /${LIVE_MEDIA_PATH}." - fi -} - -is_nice_device () -{ - sysfs_path="${1#/sys}" - - if /lib/udev/path_id "${sysfs_path}" | grep -E -q "ID_PATH=(usb|pci-[^-]*-(ide|scsi|usb))" - then - return 0 - elif echo "${sysfs_path}" | grep -q '^/block/vd[a-z]$' - then - return 0 - fi - - return 1 -} - -copy_live_to () -{ - copyfrom="${1}" - copytodev="${2}" - copyto="${copyfrom}_swap" - - if [ -z "${MODULETORAM}" ] - then - size=$(fs_size "" ${copyfrom} "used") - else - MODULETORAMFILE="${copyfrom}/${LIVE_MEDIA_PATH}/${MODULETORAM}" - - if [ -f "${MODULETORAMFILE}" ] - then - size=$( expr $(ls -la ${MODULETORAMFILE} | awk '{print $5}') / 1024 + 5000 ) - else - log_warning_msg "Error: toram-module ${MODULETORAM} (${MODULETORAMFILE}) could not be read." - return 1 - fi - fi - - if [ "${copytodev}" = "ram" ] - then - # copying to ram: - freespace=$( expr $(awk '/MemFree/{print $2}' /proc/meminfo) + $( awk '/\<Cached/{print $2}' /proc/meminfo ) ) - mount_options="-o size=${size}k" - free_string="memory" - fstype="tmpfs" - dev="/dev/shm" - else - # it should be a writable block device - if [ -b "${copytodev}" ] - then - dev="${copytodev}" - free_string="space" - fstype=$(get_fstype "${dev}") - freespace=$(fs_size "${dev}") - else - log_warning_msg "${copytodev} is not a block device." - return 1 - fi - fi - - if [ "${freespace}" -lt "${size}" ] - then - log_warning_msg "Not enough free ${free_string} (${freespace}k free, ${size}k needed) to copy live media in ${copytodev}." - return 1 - fi - - # begin copying (or uncompressing) - mkdir "${copyto}" - echo "mount -t ${fstype} ${mount_options} ${dev} ${copyto}" - mount -t "${fstype}" ${mount_options} "${dev}" "${copyto}" - - if [ "${extension}" = "tgz" ] - then - cd "${copyto}" - tar zxf "${copyfrom}/${LIVE_MEDIA_PATH}/$(basename ${FETCH})" - rm -f "${copyfrom}/${LIVE_MEDIA_PATH}/$(basename ${FETCH})" - mount -r -o move "${copyto}" "${rootmnt}" - cd "${OLDPWD}" - else - if [ -n "${MODULETORAMFILE}" ] - then - cp ${MODULETORAMFILE} ${copyto} # copy only the filesystem module - else - cp -a ${copyfrom}/* ${copyto} # "cp -a" from busybox also copies hidden files - fi - - umount ${copyfrom} - mount -r -o move ${copyto} ${copyfrom} - fi - - rmdir ${copyto} - return 0 -} - -do_netmount () -{ - rc=1 - - modprobe -q af_packet # For DHCP - - if [ -x /sbin/udevadm ] - then - # lenny - udevadm trigger - udevadm settle - else - # etch - udevtrigger - udevsettle - fi - - ipconfig ${DEVICE} | tee /netboot.config - - # source relevant ipconfig output - OLDHOSTNAME=${HOSTNAME} - . /tmp/net-${DEVICE}.conf - [ -z ${HOSTNAME} ] && HOSTNAME=${OLDHOSTNAME} - export HOSTNAME - - # Check if we have a network device at all - if ! ls /sys/class/net/eth0 > /dev/null 2>&1 && \ - ! ls /sys/class/net/wlan0 > /dev/null 2>&1 && \ - ! ls /sys/class/net/ath0 > /dev/null 2>&1 && \ - ! ls /sys/class/net/ra0 > /dev/null 2>&1 - then - panic "No supported network device found, maybe a non-mainline driver is required." - fi - - if [ "${NFSROOT}" = "auto" ] - then - NFSROOT=${ROOTSERVER}:${ROOTPATH} - fi - - if ( [ -n "${FETCH}" ] || [ -n "${HTTPFS}" ] || [ -n "${FTPFS}" ] ) && do_httpmount - then - rc=0 - return ${rc} - fi - - if [ "${NFSROOT#*:}" = "${NFSROOT}" ] && [ "$NETBOOT" != "cifs" ] - then - NFSROOT=${ROOTSERVER}:${NFSROOT} - fi - - log_begin_msg "Trying netboot from ${NFSROOT}" - - if [ "${NETBOOT}" != "nfs" ] && do_cifsmount - then - rc=0 - elif do_nfsmount - then - NETBOOT="nfs" - export NETBOOT - rc=0 - fi - - log_end_msg - return ${rc} -} - -do_httpmount () -{ - rc=1 - dest="${mountpoint}/${LIVE_MEDIA_PATH}" - mount -t ramfs ram "${mountpoint}" - mkdir -p "${dest}" - - for webfile in HTTPFS FTPFS FETCH - do - url="$(eval echo \"\$\{${webfile}\}\")" - extension="$(echo "${url}" | sed 's/\(.*\)\.\(.*\)/\2/')" - - if [ -n "$url" ] - then - case "${extension}" in - squashfs|tgz|tar) - if [ "${webfile}" = "FETCH" ] - then - case "$url" in - tftp*) - ip="$(dirname $url | sed -e 's|tftp://||g' -e 's|/.*$||g')" - rfile="$(echo $url | sed -e "s|tftp://$ip||g")" - lfile="$(basename $url)" - log_begin_msg "Trying tftp -g -b 10240 -r $rfile -l ${dest}/$lfile $ip" - tftp -g -b 10240 -r $rfile -l ${dest}/$lfile $ip - ;; - - *) - log_begin_msg "Trying wget ${url} -O ${dest}/$(basename ${url})" - wget "${url}" -O "${dest}/$(basename ${url})" - ;; - esac - else - log_begin_msg "Trying to mount ${url} on ${dest}/$(basename ${url})" - if [ "${webfile}" = "FTPFS" ] - then - FUSE_MOUNT="curlftpfs" - url="$(dirname ${url})" - else - FUSE_MOUNT="httpfs" - fi - modprobe fuse - $FUSE_MOUNT "${url}" "${dest}" - fi - [ ${?} -eq 0 ] && rc=0 - [ "${extension}" = "tgz" ] && live_dest="ram" - break - ;; - - *) - log_begin_msg "Unrecognized archive extension for ${url}" - ;; - esac - fi - done - - if [ ${rc} != 0 ] - then - umount "${mountpoint}" - fi - - return ${rc} -} - -do_nfsmount () -{ - rc=1 - - modprobe -q nfs - - if [ -z "${NFSOPTS}" ] - then - NFSOPTS="" - fi - - log_begin_msg "Trying nfsmount -o nolock -o ro ${NFSOPTS} ${NFSROOT} ${mountpoint}" - - # FIXME: This while loop is an ugly HACK round an nfs bug - i=0 - while [ "$i" -lt 60 ] - do - nfsmount -o nolock -o ro ${NFSOPTS} "${NFSROOT}" "${mountpoint}" && rc=0 && break - sleep 1 - i="$(($i + 1))" - done - - return ${rc} -} - -do_cifsmount () -{ - rc=1 - - if [ -x "/sbin/mount.cifs" ] - then - if [ -z "${NFSOPTS}" ] - then - CIFSOPTS="-ouser=root,password=" - else - CIFSOPTS="${NFSOPTS}" - fi - - log_begin_msg "Trying mount.cifs ${NFSROOT} ${mountpoint} ${CIFSOPTS}" - modprobe -q cifs - - if mount.cifs "${NFSROOT}" "${mountpoint}" "${CIFSOPTS}" - then - rc=0 - fi - fi - - return ${rc} -} - -do_snap_copy () -{ - fromdev="${1}" - todir="${2}" - snap_type="${3}" - size=$(fs_size "${fromdev}" "" "used") - - if [ -b "${fromdev}" ] - then - # look for free mem - if [ -n "${HOMEMOUNTED}" -a "${snap_type}" = "HOME" ] - then - todev=$(awk -v pat="$(base_path ${todir})" '$2 == pat { print $1 }' /proc/mounts) - freespace=$(df -k | awk '/'${todev}'/{print $4}') - else - freespace=$( expr $(awk '/MemFree/{print $2}' /proc/meminfo) + $( awk '/\<Cached/{print $2}' /proc/meminfo)) - fi - - tomount="/mnt/tmpsnap" - - if [ ! -d "${tomount}" ] - then - mkdir -p "${tomount}" - fi - - fstype=$(get_fstype "${fromdev}") - - if [ -n "${fstype}" ] - then - # Copying stuff... - mount -o ro -t "${fstype}" "${fromdev}" "${tomount}" || log_warning_msg "Error in mount -t ${fstype} -o ro ${fromdev} ${tomount}" - cp -a "${tomount}"/* ${todir} - umount "${tomount}" - else - log_warning_msg "Unrecognized fstype: ${fstype} on ${fromdev}:${snap_type}" - fi - - rmdir "${tomount}" - - if echo ${fromdev} | grep -qs loop - then - losetup -d "${fromdev}" - fi - - return 0 - else - return 1 - - log_warning_msg "Unable to find the snapshot ${snap_type} medium" - fi -} - -find_snap () -{ - # Look for ${snap_label}.* in block devices - snap_label="${1}" - - if [ "${PERSISTENT}" != "nofiles" ] - then - # search for image files - snapdata=$(find_files "${snap_label}.squashfs ${snap_label}.cpio.gz ${snap_label}.ext2 ${snap_label}.ext3 ${snap_label}.ext4 ${snap_label}.jffs2") - fi - - if [ -z "${snapdata}" ] - then - snapdata=$(find_cow_device "${snap_label}") - fi - echo "${snapdata}" -} - -try_snap () -{ - # copy the contents of previously found snapshot to ${snap_mount} - # and remember the device and filename for resync on exit in live-initramfs.init - - snapdata="${1}" - snap_mount="${2}" - snap_type="${3}" - - if [ -n "${snapdata}" ] && [ ! -b "${snapdata}" ] - then - log_success_msg "found snapshot: ${snapdata}" - snapdev="$(echo ${snapdata} | cut -f1 -d ' ')" - snapback="$(echo ${snapdata} | cut -f2 -d ' ')" - snapfile="$(echo ${snapdata} | cut -f3 -d ' ')" - - RES="" - if ! try_mount "${snapdev}" "${snapback}" "ro" - then - break - fi - - if echo "${snapfile}" | grep -qs '\(squashfs\|ext2\|ext3\|ext4\|jffs2\)' - then - # squashfs, jffs2 or ext2/ext3/ext4 snapshot - dev=$(get_backing_device "${snapback}/${snapfile}") - - do_snap_copy "${dev}" "${snap_mount}" "${snap_type}" - RES=$? - else - # cpio.gz snapshot - cd "${snap_mount}" - zcat "${snapback}/${snapfile}" | /bin/cpio --extract --preserve-modification-time --no-absolute-filenames --sparse --unconditional --make-directories > /dev/null 2>&1 - RES=$? - if [ "${RES}" != "0" ] - then - log_warning_msg "failure to \"zcat ${snapback}/${snapfile} | /bin/cpio --extract --preserve-modification-time --no-absolute-filenames --sparse --unconditional --make-directories\"" - fi - cd "${OLDPWD}" - fi - - umount "${snapback}" || log_warning_msg "failure to \"umount ${snapback}\"" - - if [ "${RES}" != "0" ] - then - log_warning_msg "Impossible to include the ${snapfile} Snapshot file" - fi - - elif [ -b "${snapdata}" ] - then - # Try to find if it could be a snapshot partition - dev="${snapdata}" - log_success_msg "found snapshot ${snap_type} device on ${dev}" - if echo "${dev}" | grep -qs loop - then - # strange things happens, user confused? - snaploop=$( losetup ${dev} | awk '{print $3}' | tr -d '()' ) - snapfile=$(basename ${snaploop}) - snapdev=$(awk -v pat="$( dirname ${snaploop})" '$2 == pat { print $1 }' /proc/mounts) - else - snapdev="${dev}" - fi - - if ! do_snap_copy "${dev}" "${snap_mount}" "${snap_type}" - then - log_warning_msg "Impossible to include the ${snap_type} Snapshot" - return 1 - else - if [ -n "${snapfile}" ] - then - # it was a loop device, user confused - umount ${snapdev} - fi - fi - else - log_warning_msg "Impossible to include the ${snap_type} Snapshot" - return 1 - fi - - echo "export ${snap_type}SNAP="${snap_mount}":${snapdev}:${snapfile}" >> /etc/live.conf # for resync on reboot/halt - return 0 -} - -setup_unionfs () -{ - image_directory="${1}" - rootmnt="${2}" - addimage_directory="${3}" - modprobe -q -b ${UNIONTYPE} - - # run-init can't deal with images in a subdir, but we're going to - # move all of these away before it runs anyway. No, we're not, - # put them in / since move-mounting them into / breaks mono and - # some other apps. - - croot="/" - - # Let's just mount the read-only file systems first - rofsstring="" - rofslist="" - minor_kernel_version=$(uname -r|cut -c 5-|sed 's/[^0-9].*//') - - if [ "${NETBOOT}" = "nfs" ] && [ "${minor_kernel_version}" -lt 22 ] - then - # go aroung a bug in nfs-unionfs locking for unionfs <= 1.4 - roopt="nfsro" - elif [ "${UNIONTYPE}" = "aufs" ] - then - roopt="rr" - else - roopt="ro" - fi - - if [ -z "${PLAIN_ROOT}" ] - then - # Read image names from ${MODULE}.module if it exists - if [ -e "${image_directory}/filesystem.${MODULE}.module" ] - then - for IMAGE in $(cat ${image_directory}/filesystem.${MODULE}.module) - do - image_string="${image_string} ${image_directory}/${IMAGE}" - done - elif [ -e "${image_directory}/${MODULE}.module" ] - then - for IMAGE in $(cat ${image_directory}/${MODULE}.module) - do - image_string="${image_string} ${image_directory}/${IMAGE}" - done - else - # ${MODULE}.module does not exist, create a list of images - for FILESYSTEM in squashfs ext2 ext3 ext4 xfs jffs2 dir - do - for IMAGE in "${image_directory}"/*."${FILESYSTEM}" - do - if [ -e "${IMAGE}" ] - then - image_string="${image_string} ${IMAGE}" - fi - done - done - - if [ -n "${addimage_directory}" ] && [ -d "${addimage_directory}" ] - then - for FILESYSTEM in squashfs ext2 ext3 ext4 xfs jffs2 dir - do - for IMAGE in "${addimage_directory}"/*."${FILESYSTEM}" - do - if [ -e "${IMAGE}" ] - then - image_string="${image_string} ${IMAGE}" - fi - done - done - fi - - # Now sort the list - image_string="$(echo ${image_string} | sed -e 's/ /\n/g' | sort )" - fi - - [ -n "${MODULETORAMFILE}" ] && image_string="${image_directory}/$(basename ${MODULETORAMFILE})" - - mkdir -p "${croot}" - - for image in ${image_string} - do - imagename=$(basename "${image}") - - export image devname - maybe_break live-realpremount - log_begin_msg "Running /scripts/live-realpremount" - run_scripts /scripts/live-realpremount - log_end_msg - - if [ -d "${image}" ] - then - # it is a plain directory: do nothing - rofsstring="${image}=${roopt}:${rofsstring}" - rofslist="${image} ${rofslist}" - elif [ -f "${image}" ] - then - if losetup --help 2>&1 | grep -q -- "-r\b" - then - backdev=$(get_backing_device "${image}" "-r") - else - backdev=$(get_backing_device "${image}") - fi - fstype=$(get_fstype "${backdev}") - - if [ "${fstype}" = "unknown" ] - then - panic "Unknown file system type on ${backdev} (${image})" - fi - - if [ -z "${fstype}" ] - then - fstype="${imagename##*.}" - log_warning_msg "Unknown file system type on ${backdev} (${image}), assuming ${fstype}." - fi - - mkdir -p "${croot}/${imagename}" - log_begin_msg "Mounting \"${image}\" on \"${croot}${imagename}\" via \"${backdev}\"" - mount -t "${fstype}" -o ro,noatime "${backdev}" "${croot}/${imagename}" || panic "Can not mount ${backdev} (${image}) on ${croot}/${imagename}" && rofsstring="${croot}/${imagename}=${roopt}:${rofsstring}" && rofslist="${croot}/${imagename} ${rofslist}" - log_end_msg - fi - done - else - # we have a plain root system - mkdir -p "${croot}/filesystem" - log_begin_msg "Mounting \"${image_directory}\" on \"${croot}/filesystem\"" - mount -t $(get_fstype "${image_directory}") -o ro,noatime "${image_directory}" "${croot}/filesystem" || panic "Can not mount ${image_directory} on ${croot}/filesystem" && rofsstring="${croot}/filesystem=${roopt}:${rofsstring}" && rofslist="${croot}/filesystem ${rofslist}" - # probably broken: - mount -o bind ${croot}/filesystem $mountpoint - log_end_msg - fi - - rofsstring=${rofsstring%:} - - mkdir -p /cow - - # Looking for "${root_persistence}" device or file - if [ -n "${PERSISTENT}" ] && [ -z "${NOPERSISTENT}" ] - then - if [ -z "${QUICKUSBMODULES}" ] - then - # Load USB modules - num_block=$(wordCount "ls /sys/block") - - for module in sd_mod uhci-hcd ehci-hcd ohci-hcd usb-storage - do - modprobe -q -b ${module} - done - - if [ -x /sbin/udevadm ] - then - # lenny - udevadm trigger - udevadm settle - else - # etch - udevtrigger - udevsettle - fi - - # For some reason, udevsettle does not block in this scenario, - # so we sleep for a little while. - # - # See https://bugs.launchpad.net/ubuntu/+source/casper/+bug/84591 - for timeout in 5 4 3 2 1 - do - sleep 1 - - num_curr_block=$(wordCount "ls /sys/block") - - if [ ${num_curr_block} -gt ${num_block} ] - then - break - fi - done - fi - - # search for label and files (this could be hugely optimized) - cowprobe=$(find_cow_device "${root_persistence}") - if [ -b "${cowprobe}" ] - then - # Blacklist /cow device, to avoid inconsistent setups for overlapping snapshots - # makes sense to have both persistence for /cow and /home mounted, maybe also with - # snapshots to be sure to really store some e.g key config files, - # but not on the same media - blacklistdev="${cowprobe}" - PERSISTENCE_IS_ON="1" - export PERSISTENCE_IS_ON - fi - # homecow just mount something on /home, this should be generalized some way - homecow=$(find_cow_device "${home_persistence}" "${blacklistdev}") - if [ -b "${homecow}" ] - then - PERSISTENCE_IS_ON="1" - export PERSISTENCE_IS_ON - fi - root_snapdata=$(find_snap "${root_snapshot_label}" "${blacklistdev}") - # This second type should be removed when snapshot will get smarter, - # hence when "/etc/live-snapshot*list" will be supported also by - # ext2|ext3|ext4|jffs2 snapshot types. - home_snapdata=$(find_snap "${home_snapshot_label}" "${blacklistdev}") - - if [ -b "${cowprobe}" ] - then - cowdevice=${cowprobe} - cow_fstype=$(get_fstype "${cowprobe}") - cow_mountopt="rw,noatime" - else - log_warning_msg "Unable to find the persistent medium" - cowdevice="tmpfs" - cow_fstype="tmpfs" - cow_mountopt="rw,noatime,mode=755" - fi - elif [ -n "${NFS_COW}" ] && [ -z "${NOPERSISTENT}" ] - then - # check if there are any nfs options - if echo ${NFS_COW}|grep -q ',' - then - nfs_cow_opts="-o nolock,$(echo ${NFS_COW}|cut -d, -f2-)" - nfs_cow=$(echo ${NFS_COW}|cut -d, -f1) - else - nfs_cow_opts="-o nolock" - nfs_cow=${NFS_COW} - fi - mac="$(get_mac)" - if [ -n "${mac}" ] - then - cowdevice=$(echo ${nfs_cow}|sed "s/client_mac_address/${mac}/") - cow_fstype="nfs" - else - panic "unable to determine mac address" - fi - else - cowdevice="tmpfs" - cow_fstype="tmpfs" - cow_mountopt="rw,noatime,mode=755" - fi - - if [ "${cow_fstype}" = "nfs" ] - then - log_begin_msg \ - "Trying nfsmount ${nfs_cow_opts} ${cowdevice} /cow" - nfsmount ${nfs_cow_opts} ${cowdevice} /cow || \ - panic "Can not mount ${cowdevice} (n: ${cow_fstype}) on /cow" - else - mount -t ${cow_fstype} -o ${cow_mountopt} ${cowdevice} /cow || \ - panic "Can not mount ${cowdevice} (o: ${cow_fstype}) on /cow" - fi - - rofscount=$(wordCount "echo ${rofslist}") - - if [ -n "${EXPOSED_ROOT}" ] - then - if [ ${rofscount} -ne 1 ] - then - panic "only one RO file system supported with exposedroot: ${rofslist}" - fi - exposedrootfs=${rofslist%% } - - mount --bind ${exposedrootfs} ${rootmnt} || \ - panic "bind mount of ${exposedrootfs} failed" - - if [ -z "${SKIP_UNION_MOUNTS}" ] - then - cow_dirs='/var/tmp /var/lock /var/run /var/log /var/spool /home /var/lib/live' - else - cow_dirs='' - fi - - for dir in ${cow_dirs}; do - mkdir -p /cow${dir} - mount -t ${UNIONTYPE} \ - -o rw,noatime,dirs=/cow${dir}=rw:${exposedrootfs}${dir}=ro \ - ${UNIONTYPE} "${rootmnt}${dir}" || \ - panic "mount ${UNIONTYPE} on ${rootmnt}${dir} failed with option \ - rw,noatime,dirs=/cow${dir}=rw:${exposedrootfs}${dir}=ro" - done - else - mount -t ${UNIONTYPE} -o noatime,dirs=/cow=rw:${rofsstring} \ - ${UNIONTYPE} "${rootmnt}" || panic "mount ${UNIONTYPE} on \ - ${rootmnt} failed with option noatime,dirs=/cow=rw:${rofsstring}" - fi - - # Correct the permissions of /: - chmod 0755 "${rootmnt}" - - # tmpfs file systems - touch /etc/fstab - mkdir -p "${rootmnt}/live" - mount -t tmpfs tmpfs ${rootmnt}/live - - # Adding other custom mounts - if [ -n "${PERSISTENT}" ] && [ -z "${NOPERSISTENT}" ] - then - # directly mount /home - # FIXME: add a custom mounts configurable system - - if [ -b "${homecow}" ] - then - mount -t $(get_fstype "${homecow}") -o rw,noatime "${homecow}" "${rootmnt}/home" - export HOMEMOUNTED=1 # used to proper calculate free space in do_snap_copy() - else - log_warning_msg "Unable to find the persistent home medium" - fi - - # Look for other snapshots to copy in - try_snap "${root_snapdata}" "${rootmnt}" "ROOT" - # This second type should be removed when snapshot grow smarter - try_snap "${home_snapdata}" "${rootmnt}/home" "HOME" - fi - - if [ -n "${SHOWMOUNTS}" ] - then - for d in ${rofslist} - do - mkdir -p "${rootmnt}/live/${d##*/}" - - case d in - *.dir) - # do nothing # mount -o bind "${d}" "${rootmnt}/live/${d##*/}" - ;; - - *) - mount -o move "${d}" "${rootmnt}/live/${d##*/}" - ;; - esac - done - fi - - # shows cow fs on /cow for use by live-snapshot - mkdir -p "${rootmnt}/live/cow" - mount -o move /cow "${rootmnt}/live/cow" >/dev/null 2>&1 || mount -o bind /cow "${rootmnt}/live/cow" || log_warning_msg "Unable to move or bind /cow to ${rootmnt}/live/cow" -} - -check_dev () -{ - sysdev="${1}" - devname="${2}" - skip_uuid_check="${3}" - - if [ -z "${devname}" ] - then - devname=$(sys2dev "${sysdev}") - fi - - if [ -d "${devname}" ] - then - mount -o bind "${devname}" $mountpoint || continue - - if is_live_path $mountpoint - then - echo $mountpoint - return 0 - else - umount $mountpoint - fi - fi - - if [ -n "${LIVE_MEDIA_OFFSET}" ] - then - loopdevname=$(setup_loop "${devname}" "loop" "/sys/block/loop*" "${LIVE_MEDIA_OFFSET}" '') - devname="${loopdevname}" - fi - - fstype=$(get_fstype "${devname}") - - if is_supported_fs ${fstype} - then - mountOpt="rw,noatime" - test "$fstype" = "vfat" && mountOpt="$mountOpt,umask=000" - mount -t ${fstype} -o ${mountOpt} "${devname}" ${mountpoint} || continue - - if is_live_path ${mountpoint} && \ - ([ "${skip_uuid_check}" ] || matches_uuid ${mountpoint}) - then - echo ${mountpoint} - return 0 - else - umount ${mountpoint} - fi - fi - - if [ -n "${LIVE_MEDIA_OFFSET}" ] - then - losetup -d "${loopdevname}" - fi - - return 1 -} - -find_livefs () -{ - timeout="${1}" - - # don't start autodetection before timeout has expired - if [ -n "${LIVE_MEDIA_TIMEOUT}" ] - then - if [ "${timeout}" -lt "${LIVE_MEDIA_TIMEOUT}" ] - then - return 1 - fi - fi - - # first look at the one specified in the command line - case "${LIVE_MEDIA}" in - removable-usb) - for sysblock in $(echo /sys/block/* | tr ' ' '\n' | grep -vE "/(loop|ram|dm-|fd)") - do - if [ "$(cat ${sysblock}/removable)" = "1" ] - then - if readlink ${sysblock} | grep -q usb || - readlink ${sysblock}/device | grep -q usb # linux < 2.6.29 - then - for dev in $(subdevices "${sysblock}") - do - if check_dev "${dev}" - then - return 0 - fi - done - fi - fi - done - ;; - - removable) - for sysblock in $(echo /sys/block/* | tr ' ' '\n' | grep -vE "/(loop|ram|dm-|fd)") - do - if [ "$(cat ${sysblock}/removable)" = "1" ] - then - for dev in $(subdevices "${sysblock}") - do - if check_dev "${dev}" - then - return 0 - fi - done - fi - done - ;; - - *) - if [ ! -z "${LIVE_MEDIA}" ] - then - if check_dev "null" "${LIVE_MEDIA}" "skip_uuid_check" - then - return 0 - fi - fi - ;; - esac - - # or do the scan of block devices - for sysblock in $(echo /sys/block/* | tr ' ' '\n' | grep -vE "/(loop|ram|dm-|fd)") - do - devname=$(sys2dev "${sysblock}") - fstype=$(get_fstype "${devname}") - - cdrom="1" - if [ -x /lib/udev/cdrom_id ] - then - /lib/udev/cdrom_id ${devname} > /dev/null - cdrom=$? - fi - - if [ "$cdrom" -eq "0" ] - then - if check_dev "null" "${devname}" - then - return 0 - fi - elif is_nice_device "${sysblock}" - then - for dev in $(subdevices "${sysblock}") - do - if check_dev "${dev}" - then - return 0 - fi - done - elif [ "${fstype}" = "squashfs" -o \ - "${fstype}" = "ext2" -o \ - "${fstype}" = "ext3" -o \ - "${fstype}" = "ext4" -o \ - "${fstype}" = "jffs2" ] - then - # This is an ugly hack situation, the block device has - # an image directly on it. It's hopefully - # live-initramfs, so take it and run with it. - ln -s "${devname}" "${devname}.${fstype}" - echo "${devname}.${fstype}" - return 0 - fi - done - - return 1 -} - -set_usplash_timeout () -{ - if [ -x /sbin/usplash_write ] - then - /sbin/usplash_write "TIMEOUT 120" - else if [ -x /sbin/splashy_update ] ; then - /sbin/splashy_update "TIMEOUT 120" - fi ; fi -} - -integrity_check () -{ - media_mountpoint="${1}" - - log_begin_msg "Checking media integrity" - - cd ${media_mountpoint} - /bin/md5sum -c md5sum.txt < /dev/tty8 > /dev/tty8 - RC="${?}" - - log_end_msg - - if [ "${RC}" -eq 0 ] - then - log_success_msg "Everything ok, will reboot in 10 seconds." - sleep 10 - cd / - umount ${media_mountpoint} - sync - echo u > /proc/sysrq-trigger - echo b > /proc/sysrq-trigger - else - panic "Not ok, a media defect is likely, switch to VT8 for details." - fi -} - -mountroot () -{ - if [ -x /scripts/local-top/cryptroot ]; then - /scripts/local-top/cryptroot - fi - - exec 6>&1 - exec 7>&2 - exec > live.log - exec 2>&1 - tail -f live.log >&7 & - tailpid="${!}" - - # Ensure 'panic' function is overridden - . /scripts/live-functions - - Arguments - - set_usplash_timeout - - maybe_break live-premount - log_begin_msg "Running /scripts/live-premount" - run_scripts /scripts/live-premount - log_end_msg - - # Needed here too because some things (*cough* udev *cough*) - # changes the timeout - - set_usplash_timeout - - if [ ! -z "${NETBOOT}" ] || [ ! -z "${FETCH}" ] || [ ! -z "${HTTPFS}" ] || [ ! -z "${FTPFS}" ] - then - if do_netmount - then - livefs_root="${mountpoint}" - else - panic "Unable to find a live file system on the network" - fi - else - if [ -n "${PLAIN_ROOT}" ] && [ -n "${ROOT}" ] - then - # Do a local boot from hd - livefs_root=${ROOT} - else - # Scan local devices for the image - i=0 - while [ "$i" -lt 60 ] - do - livefs_root=$(find_livefs ${i}) - - if [ -n "${livefs_root}" ] - then - break - fi - - sleep 1 - i="$(($i + 1))" - done - fi - fi - - if [ -z "${livefs_root}" ] - then - panic "Unable to find a medium containing a live file system" - fi - - if [ "${INTEGRITY_CHECK}" ] - then - integrity_check "${livefs_root}" - fi - - if [ "${TORAM}" ] - then - live_dest="ram" - elif [ "${TODISK}" ] - then - live_dest="${TODISK}" - fi - - if [ "${live_dest}" ] - then - log_begin_msg "Copying live media to ${live_dest}" - copy_live_to "${livefs_root}" "${live_dest}" - log_end_msg - fi - - if [ -n "${MODULETORAMFILE}" ] || [ -n "${PLAIN_ROOT}" ] - then - setup_unionfs "${livefs_root}" "${rootmnt}" - else - mac="$(get_mac)" - mac="$(echo ${mac} | sed 's/-//g')" - mount_images_in_directory "${livefs_root}" "${rootmnt}" "${mac}" - fi - - log_end_msg - - maybe_break live-bottom - log_begin_msg "Running /scripts/live-bottom\n" - - run_scripts /scripts/live-bottom - log_end_msg - - exec 1>&6 6>&- - exec 2>&7 7>&- - kill ${tailpid} - [ -w "${rootmnt}/var/log/" ] && cp live.log "${rootmnt}/var/log/" 2>/dev/null -} diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/02etc_live_conf b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/02etc_live_conf deleted file mode 100755 index 815e37971a..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/02etc_live_conf +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -. /scripts/live-functions - -log_begin_msg "Copying config on real root fs" - -# live-initramfs script - -if [ -f /etc/live.conf ] -then - if [ ! -z "${LIVECONF}" ] - then - # Updating live.conf - sed -i -e 's/\(USERNAME="\).*"/\1'"${USERNAME}"'"/g' \ - -e 's/\(USERFULLNAME="\).*"/\1'"${USERFULLNAME}"'"/g' \ - -e 's/\(HOSTNAME="\).*"/\1'"${HOSTNAME}"'"/g' \ - /etc/live.conf - fi - - cp -p /etc/live.conf /root/etc/live.conf -else - -cat > /root/etc/live.conf << EOF -export USERNAME="${USERNAME}" -export USERFULLNAME="${USERFULLNAME}" -export HOSTNAME="${HOSTNAME}" -EOF - -fi - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/02timezone b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/02timezone deleted file mode 100755 index 64faf3b8de..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/02timezone +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOTIMEZONE}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Setting timezone" - -# live-initramfs script - -if [ -n "${TIMEZONE}" ] -then - area="$(echo ${TIMEZONE} | cut -f1 -d '/')" - zone="$(echo ${TIMEZONE} | cut -f2 -d '/')" - -chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null << EOF -set tzdata/Areas ${area} -set tzdata/Zones/${area} ${zone} -EOF - - cp -f /root/usr/share/zoneinfo/${area}/${zone} /root/etc/localtime -else - -chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null << EOF -set tzdata/Areas Etc -set tzdata/Zones/Etc UTC -EOF - - cp -f /root/usr/share/zoneinfo/UTC /root/etc/localtime -fi - -if [ -n "${UTC}" ] -then - sed -i -e "s/UTC=.*/UTC=${UTC}/" /root/etc/default/rcS -fi - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/05mountpoints b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/05mountpoints deleted file mode 100755 index ce151e19e8..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/05mountpoints +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -. /scripts/live-functions - -log_begin_msg "Moving mount points" - -# live-initramfs script - -# Move to the new root filesystem so that programs there can get at it. -if [ ! -d /root/live/image ] -then - mkdir -p /root/live/image - mount --move /live/image /root/live/image -fi - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/06hostname b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/06hostname deleted file mode 100755 index b14703a98c..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/06hostname +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOHOSTS}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Setting hostname" - -# live-initramfs script - -# Change hostname only if it is not set -if [ ! -f /root/etc/hostname ] || grep -qs localhost\.localdomain /root/etc/hostname -then - echo "${HOSTNAME}" > /root/etc/hostname -else - HOSTNAME="$(cat /root/etc/hostname)" - really_export HOSTNAME -fi - -# Create /etc/hosts only if it is not present or empty -if [ ! -s /root/etc/hosts ] -then - cat > /root/etc/hosts << EOF -127.0.0.1 localhost -127.0.1.1 ${HOSTNAME} - -# The following lines are desirable for IPv6 capable hosts -::1 ip6-localhost ip6-loopback -fe00::0 ip6-localnet -ff00::0 ip6-mcastprefix -ff02::1 ip6-allnodes -ff02::2 ip6-allrouters -ff02::3 ip6-allhosts -EOF -fi - -hostname "${HOSTNAME}" - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/08persistence_excludes b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/08persistence_excludes deleted file mode 100755 index b7aac9226e..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/08persistence_excludes +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/sh - -# Persistence enhancer script -# This script saves precious time on slow persistence devices/image files -# and writes on flash based device. -# a tmpfs on $PERSTMP is mounted and directories listed in -# /etc/live-persistence.binds will be copied there and then bind mounted back. - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -z "${PERSISTENT}" ] || [ -n "${NOPERSISTENT}" ] || [ -z "${PERSISTENCE_IS_ON}" ] || [ ! -f /root/etc/live-persistence.binds ] -then - exit 0 -fi - -. /scripts/live-functions - -# live-initramfs script - -dirs="$(sed -e '/^ *$/d' -e '/^#.*$/d' /root/etc/live-persistence.binds | tr '\n' '\0')" -if [ -z "${dirs}" ] -then - exit 0 -fi - -log_begin_msg "Moving persistence bind mounts" - -PERSTMP="/root/live/persistence-binds" -CPIO="/bin/cpio" - -if [ ! -d "${PERSTMP}" ] -then - mkdir -p "${PERSTMP}" -fi - -mount -t tmpfs tmpfs "${PERSTMP}" - -for dir in $(echo "${dirs}" | tr '\0' '\n') -do - if [ ! -e "/root/${dir}" ] && [ ! -L "/root/${dir}" ] - then - # directory do not exists, create it - mkdir -p "/root/${dir}" - elif [ ! -d "/root/${dir}" ] - then - # it is not a directory, skip it - break - fi - - # Copy previous content if any - cd "/root/${dir}" - find . -print0 | ${CPIO} -pumd0 "${PERSTMP}/${dir}" - cd "${OLDPWD}" - - # Bind mount it to origin - mount -o bind "${PERSTMP}/${dir}" "/root/${dir}" -done - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/10adduser b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/10adduser deleted file mode 100755 index 92950707e7..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/10adduser +++ /dev/null @@ -1,120 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOUSER}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Adding live session user" - -# live-initramfs script - -user_crypted="8Ab05sVQ4LLps" # as in $(echo "live" | mkpasswd -s) - -# U6aMy0wojraho is just a blank password -chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null << EOF -set passwd/make-user true -set passwd/root-password-crypted * -set passwd/user-password-crypted ${user_crypted} -set passwd/user-fullname ${USERFULLNAME} -set passwd/username ${USERNAME} -set passwd/user-uid 1000 -EOF - -chroot /root /usr/bin/env -i HOME="/root" \ - TERM="${TERM}" PATH="/usr/sbin:/usr/bin:/sbin:/bin" \ - /usr/lib/user-setup/user-setup-apply 2>&1 \ - | grep -v "Shadow passwords are now on" - -# Clear out debconf database again to avoid confusing ubiquity later. -chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null << EOF -set passwd/make-user -set passwd/root-password-crypted -set passwd/user-password-crypted -set passwd/user-fullname -set passwd/username -set passwd/user-uid -EOF - -if ! grep -qs "${USERNAME}" /root/etc/passwd -then - echo "The default user (${USERNAME}) is not present," - first_user=$(grep '^[^:]*:[^:]*:[12]\?[0-9][0-9][0-9][0-9]:' /root/etc/passwd | head -1 | cut -f1 -d ':') - if [ -n "${first_user}" ]; - then - echo "setting default user to: ${first_user}." - USERNAME="${first_user}" - really_export USERNAME - else - echo "no other valid users found, disabling autologin." - NOAUTOLOGIN="Yes" - NOXAUTOLOGIN="Yes" - USERNAME="" - really_export NOAUTOLOGIN - really_export NOXAUTOLOGIN - really_export USERNAME - log_end_msg - exit 0 - fi -fi - -if [ -z "${NOSUDO}" ] -then - if ! grep -q "${USERNAME}" /root/etc/sudoers - then - echo "${USERNAME} ALL=(ALL) NOPASSWD: ALL" >> /root/etc/sudoers - - chroot /root sudo -u "${USERNAME}" sh -c "echo 'SU_TO_ROOT_SU=sudo' >> /home/${USERNAME}/.su-to-rootrc" - - if [ -x /root/usr/bin/gconftool-2 ] - then - chroot /root sudo -u "${USERNAME}" gconftool-2 -s -t bool /apps/gksu/sudo-mode true - chroot /root sudo -u "${USERNAME}" gconftool-2 -s -t bool /apps/gksu/display-no-pass-info false - fi - -chroot /root sudo -u "${USERNAME}" sh -c "umask 0077 && mkdir -p /home/${USERNAME}/.kde/share/config && cat > /home/${USERNAME}/.kde/share/config/kdesurc" << EOF -[super-user-command] -super-user-command=sudo -EOF - - if [ -f /root/usr/share/apps/konsole/sumc.desktop ] - then - chroot /root sudo -u "${USERNAME}" sh -c "umask 0077 && mkdir -p /home/${USERNAME}/.kde/share/apps/konsole && sed -e's/Exec=su.*$/Exec=sudo mc -c/' /usr/share/apps/konsole/sumc.desktop > /home/${USERNAME}/.kde/share/apps/konsole/sumc.desktop" - fi - - if [ -f /root/usr/share/apps/konsole/su.desktop ] - then - chroot /root sudo -u "${USERNAME}" sh -c "umask 0077 && mkdir -p /home/${USERNAME}/.kde/share/apps/konsole && sed -e's/Exec=su.*$/Exec=sudo -i/' /usr/share/apps/konsole/su.desktop > /home/${USERNAME}/.kde/share/apps/konsole/su.desktop" - fi - fi -fi - -if [ -L /root/home/${USERNAME}/Examples ] -then - chroot /root install -o ${USERNAME} -g ${USERNAME} -d /home/${USERNAME}/Desktop/ - mv /root/home/${USERNAME}/Examples /root/home/${USERNAME}/Desktop/ -fi - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/12fstab b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/12fstab deleted file mode 100755 index 701ed1edeb..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/12fstab +++ /dev/null @@ -1,102 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" -FSTAB=/root/etc/fstab - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -. /scripts/live-functions - -if [ -n "${NOFSTAB}" ] -then - exit 0 -fi - -log_begin_msg "Configuring fstab" - -# live-initramfs script - -# Create a fake fstab only if it doesn't exist or if its the debootstrap template -if [ ! -f "${FSTAB}" ] || grep -qs 'UNCONFIGURED FSTAB FOR BASE SYSTEM' "${FSTAB}" -then - -cat > ${FSTAB} << EOF -# /etc/fstab: static file system information. -# -# <file system> <mount point> <type> <options> <dump> <pass> - -EOF - -fi - -if ! grep -qs "^${UNIONTYPE}" "${FSTAB}" -then - echo "${UNIONTYPE} / ${UNIONTYPE} rw 0 0" >> "${FSTAB}" -fi - -if ! grep -qs "^tmpfs /tmp" "${FSTAB}" -then - echo "tmpfs /tmp tmpfs nosuid,nodev 0 0" >> "${FSTAB}" -fi - -if [ -z "${NOSWAP}" ] -then - devices="" - - for device in /dev/[hs]d[a-z][0-9]* - do - if ! [ -b "${device}" ] - then - continue - fi - - /lib/udev/blkid ${device%%[0-9]*} 2>/dev/null | grep -q "^ID_FS_USAGE=raid" && continue - - magic=$(/bin/dd if="${device}" bs=4086 skip=1 count=1 2>/dev/null | /bin/dd bs=10 count=1 2>/dev/null) || continue - - if [ "${magic}" = "SWAPSPACE2" -o "${magic}" = "SWAP-SPACE" ] - then - #log "Found ${device}" - devices="${devices} ${device}" - fi - done - - # Remove all auto swap entries - if grep -qs "swap swap" "${FSTAB}" - then - grep -v "swap swap" "${FSTAB}" > "${FSTAB}".tmp - mv "${FSTAB}".tmp "${FSTAB}" - fi - - # Add new swap entries - for device in ${devices} - do - echo "${device} swap swap defaults 0 0" >> "${FSTAB}" - done -fi - -# disabled for now -#rm -f /root/etc/rcS.d/S*checkroot.sh - -if [ "${NOFASTBOOT}" != "Yes" ] -then - touch root/fastboot -fi - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/14locales b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/14locales deleted file mode 100755 index 022a605626..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/14locales +++ /dev/null @@ -1,131 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOLOCALES}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Setting up locales" - -# Cosmetic line wrapping for output of local-gen -echo - -# live-initramfs script - -if [ -e /root/etc/default/locale ] -then - grep_file=/root/etc/default/locale -elif [ -e /root/etc/environment ] -then - # Old locales policy - grep_file=/root/etc/environment -fi - -if [ -n "${grep_file}" ] -then - # use rootfs configured locale - locale=$(grep -s 'LANG=' ${grep_file} | sed s/'LANG='// | tr -d '"' ) -fi - -if [ -n "${LOCALE}" ] -then - locale="${LOCALE}" - set_locale="true" -fi - -if [ -z "${locale}" ] -then - # Set a default one - locale=en_US.UTF-8 - set_locale="true" -fi - -if [ "${set_locale}" ] -then - if echo "${locale}" | grep -sqE '^[[:lower:]]{2}$' - then - # input is like "locale=it", so we will convert and setup also the keyboard if not already set - if [ -z "${KBD}" ] - then - # FIXME: look if this keyb is supported - KBD="${locale}" - really_export KBD - fi - - uploc=$(echo "${locale}" | tr '[a-z]' '[A-Z]') - locale="${locale}_${uploc}.UTF-8" - fi - - LANG= - language="$(echo ${locale} | cut -d. -f1)" - eval $(awk '/^'"${locale}"'/ { print "LANG=" $1 " codepage=" $2; exit; }' /root/usr/share/i18n/SUPPORTED) - - if [ -z "${LANG}" ] - then - # Try and fallback to another codepage for this language. - eval $(awk '/^'"${language}"'/ { print "LANG=" $1 " codepage=" $2; exit; }' /root/usr/share/i18n/SUPPORTED) - - if [ -n "${LANG}" ] - then - log_warning_msg "Choosing locale '${LANG}' as '${locale}' is unsupported." - fi - fi - - if [ -z "${LANG}" ] - then - log_warning_msg "Locale '${locale}' is unsupported." - codepage="UTF-8" - language="en_US" - locale="${language}.${codepage}" - LANG="${language}.${codepage}" - fi - - if [ -d /root/etc/default/kdm.d/ ] - then - if ! grep -qs "^LANGUAGE" "${LANG}" - then - printf 'LANGUAGE=%s\n' "${LANG}" >> /root/etc/default/kdm.d/live-autologin - fi - elif [ -f /root/etc/kde3/kdm/kdmrc ] - then - sed -i -r -e "s/#Language=.*/Language=${language}/" \ - /root/etc/kde3/kdm/kdmrc - fi - - really_export LANG - - printf 'LANG="%s"\n' "${LANG}" > /root/etc/default/locale - printf 'LANG="%s"\n' "${LANG}" > /root/etc/environment - printf '%s %s\n' "${LANG}" "${codepage}" > /root/etc/locale.gen - - if [ -z "${SILENT}" ] - then - chroot /root /usr/sbin/locale-gen - else - chroot /root /usr/sbin/locale-gen > /dev/null 2>&1 - fi -fi - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/15autologin b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/15autologin deleted file mode 100755 index 38c3a8f32d..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/15autologin +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -. /live.vars - -if [ -n "${NOXAUTOLOGIN}" ] || [ -z "${USERNAME}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Setting up automatic login" - -# live-initramfs script - -# chroot needed to handle symlinks correctly -if chroot /root [ -f /etc/gdm/gdm-cdd.conf ] -then - GDMCONF=/etc/gdm/gdm-cdd.conf -else - GDMCONF=/etc/gdm/gdm.conf -fi - -# chroot needed to handle symlinks correctly -if chroot /root [ -f ${GDMCONF} ] -then - # true hack ! -- nohar - chroot /root cp /usr/share/gdm/defaults.conf /etc/gdm/gdm.conf - - # Configure GDM autologin - chroot /root \ - sed -i -e "s/^AutomaticLoginEnable=.*\$/AutomaticLoginEnable=true/" \ - -e "s/^AutomaticLogin=.*\$/AutomaticLogin=${USERNAME}/" \ - -e "s/^TimedLoginEnable=.*\$/TimedLoginEnable=true/" \ - -e "s/^TimedLogin=.*\$/TimedLogin=${USERNAME}/" \ - -e "s/^TimedLoginDelay=.*\$/TimedLoginDelay=10/" \ - ${GDMCONF} -fi - -if [ -d /root/etc/default/kdm.d/ ] -then - if ! grep -qs "^AUTOLOGIN" /root/etc/default/kdm.d/live-autologin - then - -cat >> /root/etc/default/kdm.d/live-autologin << EOF -AUTOLOGINUSER=${USERNAME} -AUTOLOGINAGAIN=true -AUTOLOGINDELAY=0 -EOF - - fi - -elif [ -f /root/etc/kde3/kdm/kdmrc ] -then - # Configure KDM autologin - sed -i -r -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ - -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=${USERNAME}/" \ - -e "s/^#?AutoReLogin=.*\$/AutoReLogin=true/" \ - /root/etc/kde3/kdm/kdmrc -elif [ -f /root/etc/kde4/kdm/kdmrc ] -then - # Configure KDM-KDE4 autologin - sed -i -r -e "s/^#?AutoLoginEnable=.*\$/AutoLoginEnable=true/" \ - -e "s/^#?AutoLoginUser=.*\$/AutoLoginUser=$USERNAME/" \ - -e "s/^#?AutoReLogin=.*\$/AutoReLogin=true/" \ - /root/etc/kde4/kdm/kdmrc -fi - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/16umountfs b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/16umountfs deleted file mode 100755 index 64ad99da0a..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/16umountfs +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -. /live.vars - -. /scripts/live-functions - -log_begin_msg "Disabling umountfs for live specific filesystems" - -# live-initramfs script - -if [ -e /root/etc/init.d/umountfs ] -then - sed -i -e 's#pioodl $TMPFS_MTPTS)#pioodl $TMPFS_MTPTS | sed -e "s@\\ @\\n@" | grep -v ^/live)#' \ - -e 's#pioodl $REG_MTPTS)#pioodl $REG_MTPTS | sed -e "s@\\ @\\n@" | grep -v ^/live | grep -v ^/filesystem) /#' \ - /root/etc/init.d/umountfs -fi - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/19keyboard b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/19keyboard deleted file mode 100755 index d465698da8..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/19keyboard +++ /dev/null @@ -1,103 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOCONSOLEKEYBOARD}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Setting up console keyboard" - -# live-initramfs script - -kbd= -cslayout= -csvariant= -csmodel= - -# commandline -if [ -n "${KBD}" ] -then - kbd="${KBD}" -else - kbd=us -fi - -really_export kbd - -if [ -n "${KLAYOUT}" ] -then - cslayout="${KLAYOUT}" -fi - -if [ -n "${KVARIANT}" ] -then - csvariant="${KVARIANT}" -fi - -if [ -n "${KMODEL}" ] -then - csmodel="${KMODEL}" -fi - -if [ -x /root/bin/setupcon ] && [ -f /root/etc/default/console-setup ] -then - if [ "${cslayout}" ] - then - chroot /root sed -i "s/^XKBLAYOUT=.*/XKBLAYOUT=\"${cslayout}\"/" \ - /etc/default/console-setup - - if [ "${csvariant}" ] - then - chroot /root sed -i "s/^XKBVARIANT=.*/XKBVARIANT=\"${csvariant}\"/" \ - /etc/default/console-setup - else - live-preseed /root console-setup/variantcode '' false - fi - - if [ "${csmodel}" ] - then - chroot /root sed -i "s/^XKBMODEL=.*/XKBMODEL=\"${csmodel}\"/" \ - /etc/default/console-setup - else - live-preseed /root console-setup/modelcode '' false - fi - else - live-preseed /root console-setup/layoutcode '' false - live-preseed /root console-setup/variantcode '' false - live-preseed /root console-setup/modelcode '' false - fi - - live-preseed /root console-setup/optionscode '' false - live-preseed /root console-setup/codesetcode '' false - - sed -i 's/CONSOLE_SCREEN=$/CONSOLE_SCREEN=setupcon/; t END; b; : END; n; b END' /root/etc/init.d/usplash -elif [ -e /root/usr/sbin/install-keymap ] -then - chroot /root /usr/sbin/install-keymap ${kbd} - live-preseed /root debian-installer/keymap "${kbd}" - live-preseed /root kbd-chooser/method "${kbd}" -fi - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/20xconfig b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/20xconfig deleted file mode 100755 index f6a3f8d58c..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/20xconfig +++ /dev/null @@ -1,92 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOXAUTOCONFIG}" ] -then - exit 0 -fi - -. /scripts/live-functions - -# live-initramfs script - -if [ "${TERM_TYPE}" = "serial" ] -then - # Don't bother trying to configure or start X on a serial console - rm -f /root/etc/rc?.d/S??[gkx]dm - exit 0 -fi - -if [ -n "${TEXTONLY}" ] -then - exit 0 -fi - -if [ ! -x /root/usr/bin/X ] -then - exit 0 -fi - -log_begin_msg "Configuring X" - -locale=en_US.UTF-8 - -mount -o bind /sys /root/sys -mount -o bind /proc /root/proc -mount -o bind /dev /root/dev - -if [ -n "${XDEBCONF}" -a -x /root/usr/sbin/xdebconfigurator ] -then - # xdebconfigurator - chroot /root /usr/sbin/xdebconfigurator -fi - -if [ -n "${KOPTIONS}" ] -then - setoptions="set xserver-xorg/config/inputdevice/keyboard/options ${KOPTIONS}" -fi - -if [ -n "${KVARIANT}" ] -then - setvariant="set xserver-xorg/config/inputdevice/keyboard/variant ${KVARIANT}" -fi - -if [ -n "${KMODEL}" ] -then - setmodel="set xserver-xorg/config/inputdevice/keyboard/model ${KMODEL}" -fi - -chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null << EOF -set xserver-xorg/config/inputdevice/keyboard/layout ${kbd} -${setvariant} -${setmodel} -${setoptions} -EOF - -live-reconfigure /root xserver-xorg 2>&1 \ - | grep -v "overwriting possibly-customised configuration" \ - | grep -v "file; backup in /etc/X11/xorg.conf" -umount /root/sys -umount /root/proc -umount /root/dev - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/21xdriver b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/21xdriver deleted file mode 100755 index 105f5b24d3..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/21xdriver +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOXAUTOCONFIG}" ] || [ ! -x /root/usr/bin/X ] || [ -z "${XDRIVER}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Configuring X video driver" - -# live-initramfs script - -. /live.vars - -mount -o bind /sys /root/sys -mount -o bind /proc /root/proc -mount -o bind /dev /root/dev - -chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null << EOF -set xserver-xorg/autodetect_video_card false -set xserver-xorg/config/device/driver ${XDRIVER} -EOF - -chroot /root dexconf - -umount /root/sys -umount /root/proc -umount /root/dev - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/21xvidemode b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/21xvidemode deleted file mode 100755 index 489fc5c6ac..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/21xvidemode +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOXAUTOCONFIG}" ] -then - exit 0 -fi - -if [ ! -x /root/usr/bin/X ] -then - exit 0 -fi - -[ -n "$XVIDEOMODE" ] || exit - -. /scripts/live-functions - -log_begin_msg "Configuring X video modes" - -# live-initramfs script - -. /live.vars - -if [ $(cat /root/etc/debian_version | sed 's|\..*$||') -ge 4 ] -then - # lenny or newer - if [ -x "$(which xrandr 2>/dev/null)" ] - then - echo "xrandr -s ${XVIDEOMODE} || /bin/true" >> /root/etc/X11/Xsession.d/21xvidemode - fi -else - # etch - mount -o bind /sys /root/sys - mount -o bind /proc /root/proc - mount -o bind /dev /root/dev - -chroot /root debconf-communicate -fnoninteractive live-initramfs > /dev/null << EOF -set xserver-xorg/config/monitor/mode-list ${XVIDEOMODE} -set xserver-xorg/config/display/modes ${XVIDEOMODE} -EOF - - chroot /root dexconf - - umount /root/sys - umount /root/proc - umount /root/dev -fi - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/22gnome_panel_data b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/22gnome_panel_data deleted file mode 100755 index bd0be26d9b..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/22gnome_panel_data +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOGNOMEPANEL}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Configuring gnome-panel-data" - -# live-initramfs script - -if [ -x /root/usr/sbin/laptop-detect ] -then - if chroot /root laptop-detect - then - live-reconfigure /root gnome-panel-data - fi -fi - -panel_version=$(chroot /root /usr/bin/dpkg-query -W --showformat='${Version}' gnome-panel-data 2>/dev/null) || panel_version="" - -if [ -n "${panel_version}" ] && [ -n "${USERNAME}" ] -then - chroot /root sudo -u "${USERNAME}" gconftool-2 -s -t bool /apps/panel/global/disable_lock_screen true -fi - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/22screensaver b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/22screensaver deleted file mode 100755 index 584d234c45..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/22screensaver +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOXSCREENSAVER}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Configuring screensaver" - -# live-initramfs script - -gnome_screensaver_version=$(chroot /root dpkg-query -W --showformat='${Version}' gnome-screensaver 2>/dev/null) || gnome_screensaver_version="" - -if [ -n "${gnome_screensaver_version}" ] -then - # Support legacy gconf value - chroot /root sudo -u "${USERNAME}" gconftool-2 -t bool -s /apps/gnome-screensaver/lock false - chroot /root sudo -u "${USERNAME}" gconftool-2 -t bool -s /apps/gnome-screensaver/lock_enabled false -fi - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/23etc_modules b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/23etc_modules deleted file mode 100755 index 2240a1bab5..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/23etc_modules +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -. /scripts/live-functions - -log_begin_msg "Preconfiguring /etc/modules" - -# live-initramfs script - -# load the right modules -case "${DPKG_ARCH}" in - powerpc|ppc64) - echo snd_powermac >> /root/etc/modules - ;; -esac - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/23networking b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/23networking deleted file mode 100755 index 72aaf12e25..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/23networking +++ /dev/null @@ -1,157 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NONETWORKING}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Preconfiguring networking" - -# live-initramfs script - -IFFILE="/root/etc/network/interfaces" - -if [ "${STATICIP}" = "frommedia" -a -e "${IFFILE}" ] -then - # will use existent /etc/network/interfaces - log_end_msg - exit 0 -fi - -cat > "${IFFILE}" << EOF -auto lo -iface lo inet loopback - -EOF - -if [ -x /sbin/udevadm ] -then - # lenny - udevadm trigger - udevadm settle -else - # etch - udevtrigger - udevsettle -fi - -if [ -z "${NETBOOT}" -a -n "${STATICIP}" -a "${STATICIP}" != "frommedia" ] -then - parsed=$(echo "${STATICIP}" | sed -e 's/:/ /g') - - for ifline in ${parsed} - do - ifname="$(echo ${ifline} | cut -f1 -d ',')" - ifaddress="$(echo ${ifline} | cut -f2 -d ',')" - ifnetmask="$(echo ${ifline} | cut -f3 -d ',')" - ifgateway="$(echo ${ifline} | cut -f4 -d ',')" - -cat >> "${IFFILE}" << EOF -auto ${ifname} -iface ${ifname} inet static - address ${ifaddress} - netmask ${ifnetmask} - gateway ${ifgateway} - -EOF - - done -else - if [ -z "${NETBOOT}" ] - then - # default, dhcp assigned - method="dhcp" - else - # make sure that the preconfigured interface would not get reassigned by dhcp - # on startup by ifup script - otherwise our root fs might be disconnected! - method="manual" - fi - - # iterate the physical interfaces and add them to the interfaces list - if [ "${method}" != dhcp ] || ([ ! -x /root/usr/sbin/NetworkManager ] && [ ! -x /root/usr/sbin/wicd ]) - then - for interface in /sys/class/net/eth* /sys/class/net/ath* /sys/class/net/wlan* - do - [ -e ${interface} ] || continue - i="$(basename ${interface})" - -cat >> "${IFFILE}" << EOF -auto ${i} -iface ${i} inet ${method} - -EOF - - done - fi - - if [ ! -f /root/etc/resolv.conf ] || [ -z "$(cat /root/etc/resolv.conf)" ] - then - if [ -f /netboot.config ] - then - # create a resolv.conf if it is not present or empty - cp /netboot.config /root/var/log/netboot.config - - rc_search=$(cat netboot.config | awk '/domain/{print $3}') - rc_server0=$(cat netboot.config | awk '/dns0/{print $5}') - rc_server1=$(cat netboot.config | awk '/dns0/{print $8}') - rc_server0="nameserver ${rc_server0}" - - if [ "${rc_server1}" = "0.0.0.0" ] - then - rc_server1="" - else - rc_server1="nameserver ${rc_server1}" - fi - -cat > /root/etc/resolv.conf << EOF -# /etc/resolv.conf -# Autogenerated by live-initramfs -search ${rc_search} -domain ${rc_search} -${rc_server0} -${rc_server1} -EOF - - cat /root/etc/resolv.conf >> /root/var/log/netboot.config - fi - fi -fi - -#if [ ! -x /root/usr/sbin/NetworkManager ] -#then -# for i in eth0 eth1 eth2 ath0 wlan0 -# do -# grep -q "iface ${i}" ${IFFILE} && continue -# -#cat >> "${IFFILE}" << EOF -#auto ${i} -#iface ${i} inet dhcp -# -#EOF -# -# done -#fi - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/24preseed b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/24preseed deleted file mode 100755 index 2536bd0a34..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/24preseed +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOPRESEED}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Loading preseed file" - -# live-initramfs script - -if [ -e /preseed.cfg ] -then - chroot /root debconf-set-selections < /preseed.cfg -fi - -if [ -f "/root/${LOCATION}" ] -then - chroot /root debconf-set-selections < "/root/${LOCATION}" -fi - -if [ -n "${PRESEEDS}" ] -then - for preseed in ${PRESEEDS} - do - question="${preseed%%=*}" - value="${preseed#*=}" - - live-preseed /root "${question}" "${value}" - done -fi - -reply="$(echo "GET preseed/early_command" | chroot /root debconf-communicate -fnoninteractive live-initramfs)" - -if [ "${reply#0 }" != "${reply}" ] -then - reply="${reply#0 }" - sh -c "${reply}" -fi - -# Clear out debconf database backup files to save memory. -rm -f /root/var/cache/debconf/*.dat-old - -log_end_msg - -exit 0 diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/25configure_init b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/25configure_init deleted file mode 100755 index f55dd0e0c7..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/25configure_init +++ /dev/null @@ -1,114 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -. /scripts/live-functions - -log_begin_msg "Setting up init" - -# live-initramfs script - -# Arrange for shells on virtual consoles, rather than login prompts - -if [ -z "${NOAUTOLOGIN}" ] && [ -n "${USERNAME}" ] -then - if [ ! -z "${LIVE_GETTY}" ] - then - if echo "${DEFCONSOLE}" | grep -qs ttyS - then - # AUTOMATIC SERIAL CONSOLE # - PORT=$(echo "${DEFCONSOLE}" | \ - sed -e 's%,.*%%') - SPEED=$(echo "${DEFCONSOLE}" | \ - sed -e 's%ttyS[0-9]\+,%%' \ - -e's%\([0-9]\+\).*%\1%') - - if ! ( sed -n -e'/^[^#]/p' /root/etc/inittab | grep -qs ":respawn:/sbin/getty.*${PORT}" ) - then - IDs="A B C D E F G H I J K L M N O P Q R S T Q U V V X Y Z 0 1 2 3 4 5 6 7 8 9" - - for ID1 in ${IDs} - do - for ID2 in ${IDs} - do - ID="${ID1}${ID2}" - - if ! grep "^${ID}:" /etc/inittab - then - #make sure it is not already in use - break 2 - fi - done - done - - echo "${ID}:2345:respawn:/sbin/live-getty -L ${PORT} ${SPEED} vt100" >> /root/etc/inittab - fi - fi - - if [ -f /root/etc/inittab ] - then - sed -i -e'/^[^#]/s%respawn:/sbin/getty%respawn:/sbin/live-getty%' /root/etc/inittab - fi - else - if [ -f /root/etc/inittab ] - then - sed -i -e "s|^\([^:]*:[^:]*:[^:]*\):.*getty.*\<\(tty[0-9]*\).*$|\1:/bin/login -f ${USERNAME} </dev/\2 >/dev/\2 2>\&1|" /root/etc/inittab - fi - - if [ "/root/etc/event.d/tty*" != "$(echo /root/etc/event.d/tty*)" ] - then - for f in /root/etc/event.d/tty* - do - sed -i -e "/^respawn$/!s|^respawn.*|respawn /bin/login -f ${USERNAME} </dev/$(basename ${f}) > /dev/$(basename ${f}) 2>\&1|" ${f} - sed -i -e "s|^exec.*|exec /bin/login -f ${USERNAME} </dev/$(basename ${f}) > /dev/$(basename ${f}) 2>\&1|" ${f} - done - fi - fi - - # Since we use autologin, lastlog doesn't make sense on the console. - sed -i '/^[^#].*pam_lastlog\.so/s/^/# /' /root/etc/pam.d/login -fi - -# do not try to remove files if using file-rc -if [ -d /root/etc/rc0.d ] -then - # This has the nice side effect of the cron.{daily,weekly,monthly} jobs in - # /etc/crontab remaining disabled, yet also not run by anacron - if [ -x /root/usr/sbin/anacron ] - then - chroot /root dpkg-divert --add --rename --quiet /usr/sbin/anacron - ln -s /bin/true /root/usr/sbin/anacron - fi - - # Avoid clobbering the user's clock - rm -f /root/etc/rc?.d/K??hwclock.sh -fi - -# Disable readahead since it doesn't play well with squashfs + unionfs -# use chmod instead of mv to not trigger unionfs bugs. -if [ -e /root/sbin/readahead-list ] -then - chmod -x /root/sbin/readahead-list -fi - -log_end_msg - -exit 0 diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/30accessibility b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/30accessibility deleted file mode 100755 index 3ff3fda0d8..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/30accessibility +++ /dev/null @@ -1,181 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOACCESSIBILITY}" ] -then - exit 0 -fi - -. /scripts/live-functions - -if [ -z "${USERNAME}" ] -then - echo "No default user for accessibility options." - exit 0 -fi - -log_begin_msg "Configuring accessibility options" - -# live-initramfs script - -gconf_version=$(chroot /root /usr/bin/dpkg-query -W --showformat='${Version}' gconf2 2>/dev/null) || gconf_version="" - -gct () -{ - if [ "${gconf_version}" ] - then - chroot /root sudo -u "${USERNAME}" gconftool-2 "${@}" - fi -} - -laptop_detect () -{ - if chroot /root /usr/sbin/laptop-detect - then - echo "orca.settings.orcaModifierKeys = orca.settings.LAPTOP_MODIFIER_KEYS" >> /root/home/$USERNAME/.orca/user-settings.py - echo "orca.settings.keyboardLayout = orca.settings.GENERAL_KEYBOARD_LAYOUT_LAPTOP" >> /root/home/$USERNAME/.orca/user-settings.py - fi -} - -remove_applet () -{ - # Code to remove an applet from the default panel setup - # This is rather hacky, but I can't think of a one or two line regular - # expression to do this any more efficiently. Patches welcome. In - # addition, setting these via gconf also doesn't work for some reason. - - local line_no prior_line next_line - - line_no="$(grep -n "<string>$1</string>" /root/usr/share/gconf/defaults/05_panel-default-setup.entries | cut -f 1 -d :)" - prior_line="$((line_no-1))" - next_line="$((line_no+1))" - - sed -i -n "${prior_line},${next_line}!p" /root/usr/share/gconf/defaults/05_panel-default-setup.entries - - chroot /root update-gconf-defaults -} - -case ${ACCESS} in - access=v1) - # Lesser Visual Impairment - gct -s -t string /desktop/gnome/interface/gtk_theme HighContrastLargePrint - gct -s -t string /desktop/gnome/interface/icon_theme HighContrast - gct -s -t string /desktop/gnome/interface/monospace_font_name "monospace 18" - gct -s -t string /desktop/gnome/interface/font_name "sans 18" - gct -s -t string /apps/metacity/general/theme Atlanta - gct -s -t string /desktop/gnome/background/picture_filename "" - gct -s -t string /desktop/gnome/background/picture_options none - gct -s -t string /desktop/gnome/background/primary_color \#666666 - gct -s -t string /desktop/gnome/background/secondary_color \#7F7F7F - gct -s -t string /desktop/gnome/background/color_shading_type solid - gct -s -t int /desktop/gnome/peripherals/mouse/cursor_size 48 - gct -s -t string /desktop/gnome/peripherals/mouse/cursor_theme whiteglass - ;; - - access=v2) - # Moderate Visual Impairment - gct -s -t bool /desktop/gnome/interface/accessibility true - gct -s -t bool /desktop/gnome/applications/at/visual/startup true - gct -s -t string /desktop/gnome/applications/at/visual/exec orca - gct -s -t bool /apps/gksu/disable-grab true - gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity - - if [ -x /root/usr/bin/orca ] - then - mkdir -p /root/home/${USERNAME}/.orca - echo "import orca.settings" >> /root/home/${USERNAME}/.orca/user-settings.py - echo "orca.settings.enableSpeech = False" >> /root/home/${USERNAME}/.orca/user-settings.py - echo "orca.settings.enableMagnifier = True" >> /root/home/${USERNAME}/.orca/user-settings.py - laptop_detect - chroot /root chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}/.orca - fi - ;; - - access=v3) - # Blindness - # Disabled for now, until we know eSpeak works. - #gct -s -t bool /desktop/gnome/sound/enable_esd false - gct -s -t bool /desktop/gnome/interface/accessibility true - gct -s -t bool /desktop/gnome/applications/at/visual/startup true - gct -s -t string /desktop/gnome/applications/at/visual/exec orca - gct -s -t bool /apps/gksu/disable-grab true - gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity - - remove_applet fast_user_switch - ;; - - braille=ask) - # Braille - gct -s -t bool /desktop/gnome/interface/accessibility true - gct -s -t bool /desktop/gnome/applications/at/visual/startup true - gct -s -t string /desktop/gnome/applications/at/visual/exec orca - gct -s -t bool /apps/gksu/disable-grab true - gct -s -t string /desktop/gnome/applications/window_manager/default /usr/bin/metacity - - if [ -x /root/usr/bin/orca ] - then - mkdir -p /root/home/${USERNAME}/.orca - echo "import orca.settings" >> /root/home/${USERNAME}/.orca/user-settings.py - echo "orca.settings.enableSpeech = False" >> /root/home/${USERNAME}/.orca/user-settings.py - echo "orca.settings.enableBraille = True" >> /root/home/${USERNAME}/.orca/user-settings.py - laptop_detect - chroot /root chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}/.orca - fi - - remove_applet fast_user_switch - ;; - - access=m1) - # Minor Motor Difficulties - gct -s -t bool /desktop/gnome/accessibility/keyboard/enable true - gct -s -t bool /desktop/gnome/accessibility/keyboard/mousekeys_enable true - gct -s -t bool /desktop/gnome/accessibility/keyboard/stickykeys_enable true - gct -s -t bool /desktop/gnome/accessibility/keyboard/stickykeys_modifier_beep true - gct -s -t bool /desktop/accessibility/gnome/keyboard/stickykeys_two_key_off false - gct -s -t bool /desktop/gnome/peripherals/keyboard/repeat true - gct -s -t int /desktop/gnome/peripherals/keyboard/delay 700 - gct -s -t int /desktop/gnome/peripherals/keyboard/rate 10 - gct -s -t bool /apps/gksu/disable-grab true - - if [ -e /root/etc/xdg/xfce4/mcs_settings/keyboard.xml ] - then - sed -i 's/0/1/' /root/etc/xdg/xfce4/mcs_settings/keyboard.xml - fi - ;; - - access=m2) - # Motor Difficulties - pointing devices - gct -s -t bool /desktop/gnome/accessibility/keyboard/enable true - gct -s -t bool /desktop/gnome/interface/accessibility true - gct -s -t bool /desktop/gnome/accessibility/keyboard/stickykeys_enable true - gct -s -t bool /desktop/gnome/accessibility/keyboard/stickykeys_modifier_beep false - gct -s -t bool /desktop/accessibility/gnome/keyboard/stickykeys_two_key_off false - gct -s -t list --list-type=string /desktop/gnome/accessibility/startup/exec_ats [onboard] - - if [ -e /root/etc/xdg/xfce4/mcs_settings/keyboard.xml ] - then - sed -i '/Sticky/ s/0/1/' /root/etc/xdg/xfce4/mcs_settings/keyboard.xml - fi - ;; -esac - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/31disable_update_notifier b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/31disable_update_notifier deleted file mode 100755 index e3630495d8..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/31disable_update_notifier +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOUPDATENOTIFIER}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Disabling update-notifier" - -# live-initramfs script - -# For GNOME, we divert away apt-check to avoid a regular 'apt-get update' -# equivalent in the live session. We want to run update-notifier for crash -# report handling. -chroot /root dpkg-divert --add --rename --quiet \ - /usr/lib/update-notifier/apt-check - -if [ -e /root/usr/lib/update-notifier/apt-check ] -then - ln -s /bin/true /root/usr/lib/update-notifier/apt-check -fi - -# For KDE, adept_notifier's only useful function at the moment is an -# 'apt-get update' equivalent, so we disable it entirely. -rm -f /root/usr/share/autostart/adept_notifier_auto.desktop - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/32disable_hibernation b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/32disable_hibernation deleted file mode 100755 index f4960e645a..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/32disable_hibernation +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOPOWERMANAGEMENT}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Configuring power management" - -# live-initramfs script - -gpm_version=$(chroot /root /usr/bin/dpkg-query -W --showformat='${Version}' gnome-power-manager 2>/dev/null) || panel_version="" - -if [ -n "${gpm_version}" ] && [ -n "${USERNAME}" ] -then - #live-reconfigure /root gnome-power-manager - # Gnome < 2.20 - chroot /root sudo -u "${USERNAME}" gconftool-2 -s -t bool /apps/gnome-power-manager/can_hibernate false - # Gnome >= 2.20 - chroot /root sudo -u "${USERNAME}" gconftool-2 -s -t bool /apps/gnome-power-manager/general/can_hibernate false -fi - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/33enable_apport_crashes b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/33enable_apport_crashes deleted file mode 100755 index 47e650d2fc..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/33enable_apport_crashes +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOPROGRAMCRASHES}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Enabling detection of crashes" - -# live-initramfs script - -if [ -e /root/etc/default/apport ] -then - sed -i 's/enabled=0/enabled=1/' /root/etc/default/apport -fi - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/34disable_kpersonalizer b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/34disable_kpersonalizer deleted file mode 100755 index d61c8798de..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/34disable_kpersonalizer +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOKPERSONALIZER}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Disabling kpersonalizer" - -# live-initramfs script - -if chroot /root /usr/bin/which kpersonalizer >/dev/null -then - # Disable first-login wizard for KDE - if [ ! -f /root/etc/kde3/kpersonalizerrc ] - then - -cat > /root/etc/kde3/kpersonalizerrc << EOF -[General] -FirstLogin=false -EOF - - else - echo "I'm not smart enough to disable kpersonalizer startup" >&2 - echo "Because kpersonalizerrc already exists" >&2 - fi -fi - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/35fix_language_selector b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/35fix_language_selector deleted file mode 100755 index 8452d12000..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/35fix_language_selector +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOLANGUAGESELECTOR}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Fixing language selector" - -# live-initramfs script - -if [ -e /root/usr/share/applications/language-selector.desktop ] -then - sed -i '/^Exec/ s|/usr/bin/gnome-language-selector|& -n|' /root/usr/share/applications/language-selector.desktop -fi - -if [ -x /root/usr/bin/fontconfig-voodoo ] -then - chroot /root fontconfig-voodoo --auto --quiet || true -fi - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/36disable_trackerd b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/36disable_trackerd deleted file mode 100755 index 667131d86d..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/36disable_trackerd +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOTIMEZONE}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Disabling trackerd" - -# live-initramfs script - -rm -f /root/etc/xdg/autostart/tracker-applet.desktop \ - /root/etc/xdg/autostart/trackerd.desktop \ - /root/usr/share/autostart/trackerd.desktop - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/38jockey_disable_check b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/38jockey_disable_check deleted file mode 100755 index 1a642e195f..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/38jockey_disable_check +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh - -PREREQ="" - -prereqs() -{ - echo "$PREREQ" -} - -case $1 in -# get pre-requisites -prereqs) - prereqs - exit 0 - ;; -esac - -if [ -n "${NOJOCKEY}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Disabling jockey driver check" - -rm -f /root/etc/xdg/autostart/jockey*.desktop - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/41apt_cdrom b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/41apt_cdrom deleted file mode 100755 index 00606d5006..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/41apt_cdrom +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOAPTCDROM}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Adding APT-CDROM source" - -# live-initramfs script - -if [ -d /root/cdrom ] -then - chroot /root apt-cdrom -m add -fi - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/42disable_apparmor b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/42disable_apparmor deleted file mode 100755 index f87cab4fdd..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/42disable_apparmor +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOAPPARMOR}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Disabling AppArmor (does not work with stacked file systems)" - -# live-initramfs script - -if [ -x /root/etc/init.d/apparmor ] -then - chroot /root update-rc.d -f apparmor remove -fi - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/43disable_updateinitramfs b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/43disable_updateinitramfs deleted file mode 100755 index 0a434ed05b..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/43disable_updateinitramfs +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -. /scripts/live-functions - -log_begin_msg "Disabling update-initramfs" - -# live-initramfs script - -chroot /root dpkg-divert --add --rename --quiet \ - /usr/sbin/update-initramfs - -cat > /root/usr/sbin/update-initramfs <<EOF -#!/bin/sh - -echo "update-initramfs is disabled since running on a live CD" -exit 0 -EOF - -chmod 0755 /root/usr/sbin/update-initramfs - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/44pk_allow b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/44pk_allow deleted file mode 100755 index ccdd7cec5e..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/44pk_allow +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -n "${NOPOLKITCONF}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Grant administrative PolicyKit privilieges to default user" - -# live-initramfs script - -# configure PolicyKit in live session -mkdir -p /root/etc/PolicyKit -cat << EOF > /root/etc/PolicyKit/PolicyKit.conf -<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- --> - -<!DOCTYPE pkconfig PUBLIC "-//freedesktop//DTD PolicyKit Configuration 1.0//EN" -"http://hal.freedesktop.org/releases/PolicyKit/1.0/config.dtd"> - -<!-- See the manual page PolicyKit.conf(5) for file format --> - -<config version="0.1"> - <match user="root"> - <return result="yes"/> - </match> -EOF - -if [ -n "${USERNAME}" ] -then - cat << EOF >> /root/etc/PolicyKit/PolicyKit.conf - <!-- don't ask password for user in live session --> - <match user="$USERNAME"> - <return result="yes"/> - </match> -EOF -fi - -cat << EOF >> /root/etc/PolicyKit/PolicyKit.conf - <define_admin_auth group="admin"/> -</config> -EOF - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/99hook b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/99hook deleted file mode 100755 index abd7c0a9f6..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-bottom/99hook +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs header - -if [ -z "${HOOK}" ] -then - exit 0 -fi - -. /scripts/live-functions - -log_begin_msg "Executing custom hook script" - -# live-initramfs script - -cd /root - -if [ $(echo "${HOOK}" | grep file:\/\/) ] -then - LOCALFILE=$(echo ${HOOK} | sed "s/file\:\/\///") - cp ${LOCALFILE} /root -else - chroot /root wget "${HOOK}" -fi - -FILE="$(basename ${HOOK})" - -chmod 0755 "${FILE}" -./"${FILE}" -rm -f "${FILE}" - -log_end_msg diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-functions b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-functions deleted file mode 100644 index 8bf9c38e7a..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-functions +++ /dev/null @@ -1,113 +0,0 @@ - -. /scripts/functions -. /live.vars - -log_wait_msg () -{ - # Print a message and wait for enter - if [ -x /sbin/usplash_write ] - then - /sbin/usplash_write "INPUTENTER ${@}" - read nunya < /dev/.initramfs/usplash_outfifo - else if [ -x /sbin/splashy_update ] ; then - /sbin/splashy_update "getstring ${@}" | read nunya - fi ; fi - - _log_msg "Waiting: ${@} ... \n" -} - -really_export () -{ - STRING="${1}" - VALUE="$(eval echo -n \${$STRING})" - - if [ -f /live.vars ] && grep -sq "export ${STRING}" /live.vars - then - sed -i -e 's/\('${STRING}'=\).*$/\1'${VALUE}'/' /live.vars - else - echo "export ${STRING}=\"${VALUE}\"" >> /live.vars - fi - - eval export "${STRING}"="${VALUE}" -} - -lang2locale() { - langpart="${1%%_*}" - if [ "$1" != "C" ]; then - # Match the language code with 3rd field in languagelist - line=$(grep -v "^#" /root/usr/share/live-initramfs/languagelist | cut -f3,4,5 -d\; | grep -v ';C$' | grep "^$langpart;") - if [ -n "$line" ]; then - if [ "$(echo "$line" | grep -c '')" -gt 1 ]; then - # More than one match; try matching the - # country as well. - countrypart="${1#*_}" - if [ "$countrypart" = "$1" ]; then - countryline="$(echo "$line" | head -n1)" - echo "${countryline##*;}" - return - fi - countrypart="${countrypart%%[@.]*}" - countryline="$(echo "$line" | grep ";$countrypart;" | head -n1 || true)" - if [ "$countryline" ]; then - echo "${countryline##*;}" - return - fi - fi - echo "${line##*;}" - fi - else - echo "C" - fi -} - -# Override maybe_break from scripts/functions -maybe_break() -{ - if [ "${break}" = "$1" ]; then - # Call original panic - . /scripts/functions - panic "Spawning shell within the initramfs" - fi -} - -# Override panic from scripts/functions -panic() { - - DEB_1="\033[1;31m .''\`. \033[0m" - DEB_2="\033[1;31m: :' : \033[0m" - DEB_3="\033[1;31m\`. \`'\` \033[0m" - DEB_4="\033[1;31m \`- \033[0m" - - LIVELOG="\033[1;37m/live.log\033[0m" - DEBUG="\033[1;37mdebug\033[0m" - - # Reset redirections to avoid buffering - exec 1>&6 6>&- - exec 2>&7 7>&- - kill ${tailpid} - - printf "\n\n" - printf " ${DEB_1}\n" - printf " ${DEB_2} \033[1;37mBOOT FAILED!\033[0m\n" - printf " ${DEB_3}\n" - printf " ${DEB_4} This Debian Live image failed to boot.\n\n" - - printf " Please file a bug against the 'live-initramfs' package or email the Debian\n" - printf " Live mailing list at <debian-live@lists.debian.org>, making sure to note the\n" - printf " exact version, name and distribution of the image you were attempting to boot.\n\n" - - printf " The file ${LIVELOG} contains some debugging information but booting with the\n" - printf " ${DEBUG} command-line parameter will greatly increase its verbosity which is\n" - printf " extremely useful when diagnosing issues.\n\n" - - if [ -n "${panic}" ]; then - printf " live-initramfs will now restart your system. " - else - printf " live-initramfs will now start a shell. " - fi - printf "The error message was:\n\n " - - # Call original panic - . /scripts/functions - panic "$@" -} diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-helpers b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-helpers deleted file mode 100644 index 8e1c0feaf3..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-helpers +++ /dev/null @@ -1,501 +0,0 @@ -# live-initramfs helper functions, used by live-initramfs on boot and by live-snapshot - -if [ ! -x "/bin/fstype" ] -then - # klibc not in path -> not in initramfs - export PATH="${PATH}:/usr/lib/klibc/bin" -fi - -# handle upgrade path from old udev (using udevinfo) to -# recent versions of udev (using udevadm info) -if [ -x /sbin/udevadm ] -then - udevinfo='/sbin/udevadm info' -else - udevinfo='udevinfo' -fi - -# handle cases with partial udev (Ubuntu) -if [ -x /lib/udev/vol_id ] -then - volume_label='/lib/udev/vol_id -l' - volume_fstype='/lib/udev/vol_id -t' -else - volume_label='/lib/udev/blkid -s LABEL -o value' - volume_fstype='/lib/udev/blkid -s TYPE -o value' -fi - -!(wc --version > /dev/null 2>&1) || wcIsAvailable=1 - -wordCount() -{ - cmdLine=${1} - if [ -n "${wcIsAvailable}" ]; - then - num=$($cmdLine | wc -w) - else - num=0 - for word in $($cmdLine); - do - num=$(( $num + 1 )) - done - fi - echo $num -} - - -sys2dev () -{ - sysdev=${1#/sys} - echo "/dev/$($udevinfo -q name -p ${sysdev} 2>/dev/null|| echo ${sysdev##*/})" -} - -subdevices () -{ - sysblock=${1} - r="" - - for dev in "${sysblock}" "${sysblock}"/* - do - if [ -e "${dev}/dev" ] - then - r="${r} ${dev}" - fi - done - - echo ${r} -} - -is_supported_fs () -{ - fstype="${1}" - - # Validate input first - if [ -z "${fstype}" ] - then - return 1 - fi - - # Try to look if it is already supported by the kernel - if grep -q ${fstype} /proc/filesystems - then - return 0 - else - # Then try to add support for it the gentle way using the initramfs capabilities - modprobe ${fstype} - if grep -q ${fstype} /proc/filesystems - then - return 0 - # Then try the hard way if /root is already reachable - else - kmodule="/root/lib/modules/`uname -r`/${fstype}/${fstype}.ko" - if [ -e "${kmodule}" ] - then - insmod "${kmodule}" - if grep -q ${fstype} /proc/filesystems - then - return 0 - fi - fi - fi - fi - - return 1 -} - -get_fstype () -{ - local FSTYPE - local FSSIZE - - # fstype misreports LUKS devices - if is_luks "${1}" - then - $volume_fstype ${1} 2>/dev/null - return - fi - - - eval $(fstype ${1} 2>/dev/null) - - if [ "${FSTYPE}" != "unknown" ] - then - echo ${FSTYPE} - return 0 - fi - - $volume_fstype ${1} -} - -where_is_mounted () -{ - device=${1} - - if grep -q "^${device} " /proc/mounts - then - # return the first found - grep -m1 "^${device} " /proc/mounts | cut -f2 -d ' ' - fi -} - -lastline () -{ - while read lines - do - line=${lines} - done - - echo "${line}" -} - -base_path () -{ - testpath="${1}" - mounts="$(awk '{print $2}' /proc/mounts)" - testpath="$(busybox realpath ${testpath})" - - while true - do - if echo "${mounts}" | grep -qs "^${testpath}" - then - set -- $(echo "${mounts}" | grep "^${testpath}" | lastline) - echo ${1} - break - else - testpath=$(dirname $testpath) - fi - done -} - -fs_size () -{ - # Returns used/free fs kbytes + 5% more - # You could pass a block device as ${1} or the mount point as ${2} - - dev="${1}" - mountp="${2}" - used="${3}" - - if [ -z "${mountp}" ] - then - mountp="$(where_is_mounted ${dev})" - - if [ -z "${mountp}" ] - then - mountp="/mnt/tmp_fs_size" - - mkdir -p "${mountp}" - mount -t $(get_fstype "${dev}") -o ro "${dev}" "${mountp}" || log_warning_msg "cannot mount -t $(get_fstype ${dev}) -o ro ${dev} ${mountp}" - - doumount=1 - fi - fi - - if [ "${used}" = "used" ] - then - size=$(du -ks ${mountp} | cut -f1) - size=$(expr ${size} + ${size} / 20 ) # FIXME: 5% more to be sure - else - # free space - size="$(df -k | grep -s ${mountp} | awk '{print $4}')" - fi - - if [ -n "${doumount}" ] - then - umount "${mountp}" || log_warning_msg "cannot umount ${mountp}" - rmdir "${mountp}" - fi - - echo "${size}" -} - -load_keymap () -{ - # Load custom keymap - if [ -x /bin/loadkeys -a -r /etc/boottime.kmap.gz ] - then - loadkeys /etc/boottime.kmap.gz - fi -} - -setup_loop () -{ - local fspath=${1} - local module=${2} - local pattern=${3} - local offset=${4} - local encryption=${5} - local readonly=${6} - - modprobe -q -b "${module}" - - if [ -x /sbin/udevadm ] - then - # lenny - udevadm settle - else - # etch - udevsettle - fi - - for loopdev in ${pattern} - do - if [ "$(cat ${loopdev}/size)" -eq 0 ] - then - dev=$(sys2dev "${loopdev}") - options='' - - if [ -n "${readonly}" ] - then - if losetup --help 2>&1 | grep -q -- "-r\b" - then - options="${options} -r" - fi - fi - - if [ 0 -lt "${offset}" ] - then - options="${options} -o ${offset}" - fi - - if [ -z "${encryption}" ] - then - losetup ${options} "${dev}" "${fspath}" - else - # Loop AES encryption - while true - do - load_keymap - - echo -n "Enter passphrase for root filesystem: " >&6 - read -s passphrase - echo "${passphrase}" > /tmp/passphrase - unset passphrase - exec 9</tmp/passphrase - /sbin/losetup ${options} -e "${encryption}" -p 9 "${dev}" "${fspath}" - error=${?} - exec 9<&- - rm -f /tmp/passphrase - - if [ 0 -eq ${error} ] - then - unset error - break - fi - - echo - echo -n "There was an error decrypting the root filesystem ... Retry? [Y/n] " >&6 - read answer - - if [ "$(echo "${answer}" | cut -b1 | tr A-Z a-z)" = "n" ] - then - unset answer - break - fi - done - fi - - echo "${dev}" - return 0 - fi - done - - panic "No loop devices available" -} - -try_mount () -{ - dev="${1}" - mountp="${2}" - opts="${3}" - fstype="${4}" - - old_mountp="$(where_is_mounted ${dev})" - - if [ -n "${old_mountp}" ] - then - if [ "${opts}" != "ro" ] - then - mount -o remount,"${opts}" "${dev}" "${old_mountp}" || panic "Remounting ${dev} ${opts} on ${old_mountp} failed" - fi - - mount -o bind "${old_mountp}" "${mountp}" || panic "Cannot bind-mount ${old_mountp} on ${mountp}" - else - if [ -z "${fstype}" ] - then - fstype=$(get_fstype "${dev}") - fi - mount -t "${fstype}" -o "${opts}" "${dev}" "${mountp}" || panic "Cannot mount ${dev} on ${mountp}, fstype=${fstype}, options=${opts}" - fi -} - -find_cow_device () -{ - # Returns a device containing a partition labeled "${pers_label}" or containing a file named the same way - # in the latter case the partition containing the file is left mounted - # if is not in black_listed_devices - pers_label="${1}" - cow_backing="/${pers_label}-backing" - black_listed_devices="${2}" - - if [ -z "${PERSISTENT_PATH}" ] - then - pers_fpath=${cow_backing}/${pers_label} - else - pers_fpath=${cow_backing}/${PERSISTENT_PATH}/${pers_label} - fi - - for sysblock in $(echo /sys/block/* | tr ' ' '\n' | grep -v loop | grep -v ram | grep -v fd) - do - for dev in $(subdevices "${sysblock}") - do - devname=$(sys2dev "${dev}") - - if echo "${black_listed_devices}" | grep -q "${devname}" - then - # skip this device enterely - break - fi - - # Checking for a luks device - if [ -e /sbin/cryptsetup ] && /sbin/cryptsetup isLuks ${devname} - then - while true - do - load_keymap - - /lib/cryptsetup/askpass "Enter passphrase for ${pers_label} on ${devname}: " /sbin/cryptsetup -T 1 luksOpen ${devname} $(basename ${devname}) --key-file=- - error=${?} - - devname="/dev/mapper/$(basename ${devname})" - - if [ 0 -eq ${error} ] - then - unset error - break - fi - - echo - echo -n "There was an error decrypting ${devname} ... Retry? [Y/n] " >&6 - read answer - - if [ "$(echo "${answer}" | cut -b1 | tr A-Z a-z)" = "n" ] - then - unset answer - break - fi - done - fi - - if [ "$($volume_label -l ${devname} 2>/dev/null)" = "${pers_label}" ] - then - echo "${devname}" - return 0 - fi - - if [ "${PERSISTENT}" = "nofiles" ] - then - # do not mount the device to find for image files - # just skip this - break - fi - - case "$(get_fstype ${devname})" in - vfat|ext2|ext3|ext4|jffs2) - mkdir -p "${cow_backing}" - if ! try_mount "${devname}" "${cow_backing}" "rw" - then - break - fi - - if [ -f "${pers_fpath}" ] - then - echo $(setup_loop "${pers_fpath}" "loop" "/sys/block/loop*") - return 0 - else - umount ${cow_backing} - fi - ;; - *) - ;; - esac - done - done - return 1 -} - -find_files () -{ - # return the a string composed by device name, mountpoint an the first of ${filenames} found on a supported partition - # FIXME: merge with above function - - filenames="${1}" - snap_backing="/snap-backing" - black_listed_devices="${2}" - - for sysblock in $(echo /sys/block/* | tr ' ' '\n' | grep -v loop | grep -v ram | grep -v fd) - do - for dev in $(subdevices "${sysblock}") - do - devname=$(sys2dev "${dev}") - devfstype="$(get_fstype ${devname})" - - if echo "${black_listed_devices}" | grep -q "${devname}" - then - # skip this device enterely - break - fi - - if is_supported_fs ${devfstype} - then - mkdir -p "${snap_backing}" - - if try_mount "${devname}" "${snap_backing}" "ro" "${devfstype}" - then - for filename in ${filenames} - do - if [ -f "${snap_backing}/${filename}" ] - then - echo "${devname} ${snap_backing} ${filename}" - umount ${snap_backing} - return 0 - fi - done - fi - - umount ${snap_backing} - fi - done - done -} - -get_mac () -{ - mac="" - - for adaptor in /sys/class/net/* - do - status="$(cat ${adaptor}/iflink)" - - if [ "${status}" -eq 2 ] - then - mac="$(cat ${adaptor}/address)" - mac="$(echo ${mac} | sed 's/:/-/g' | tr '[a-z]' '[A-Z]')" - fi - done - - echo ${mac} -} - -is_luks() -{ - devname="${1}" - if [ -x /sbin/cryptsetup ] - then - /sbin/cryptsetup isLuks "${devname}" 2>/dev/null || ret=${?} - return ${ret} - else - return 1 - fi - -} diff --git a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-premount/modules b/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-premount/modules deleted file mode 100755 index 408e873848..0000000000 --- a/tools/XBMCLive/SDK/buildDEBs/live-initramfs-ubuntu/scripts/live-premount/modules +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -#set -e - -# initramfs-tools header - -PREREQ="udev" - -prereqs() -{ - echo "${PREREQ}" -} - -case "${1}" in - prereqs) - prereqs - exit 0 - ;; -esac - -# live-initramfs script - -# The following modprobe entry is a workaround to live-initramfs not -# finding the root filesytem. -# -# See also: -# * http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-May/001459.html -# * http://lists.alioth.debian.org/pipermail/debian-live-devel/2007-June/001517.html -# * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=363047 - -modprobe -q ide-generic -modprobe -q esp |