livecd-rootfs-2.408/0000775000000000000000000000000012706147572011212 5ustar livecd-rootfs-2.408/get-ppa-fingerprint0000775000000000000000000000070312706147572015022 0ustar #! /usr/bin/python3 from __future__ import print_function from optparse import OptionParser from softwareproperties import ppa parser = OptionParser(usage="%prog OWNER/NAME") _, args = parser.parse_args() if not args: parser.error("must provide a PPA owner/name") owner_name, ppa_name = args[0].split("/", 1) owner_name = "~%s" % owner_name ppa_info = ppa.get_ppa_info_from_lp(owner_name, ppa_name) print(ppa_info["signing_key_fingerprint"]) livecd-rootfs-2.408/COPYING0000664000000000000000000004310312706147572012246 0ustar 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. Copyright (C) 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. , 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. livecd-rootfs-2.408/live-build/0000775000000000000000000000000012706147572013246 5ustar livecd-rootfs-2.408/live-build/ubuntu-desktop-next/0000775000000000000000000000000012706147572017213 5ustar livecd-rootfs-2.408/live-build/ubuntu-desktop-next/includes.chroot/0000775000000000000000000000000012706147572022316 5ustar livecd-rootfs-2.408/live-build/ubuntu-desktop-next/includes.chroot/usr/0000775000000000000000000000000012706147572023127 5ustar livecd-rootfs-2.408/live-build/ubuntu-desktop-next/includes.chroot/usr/share/0000775000000000000000000000000012706147572024231 5ustar livecd-rootfs-2.408/live-build/ubuntu-desktop-next/includes.chroot/usr/share/lightdm/0000775000000000000000000000000012706147572025661 5ustar livecd-rootfs-2.408/live-build/ubuntu-desktop-next/includes.chroot/usr/share/lightdm/lightdm.conf.d/0000775000000000000000000000000012706147572030457 5ustar ././@LongLink0000644000000000000000000000020300000000000011576 Lustar rootrootlivecd-rootfs-2.408/live-build/ubuntu-desktop-next/includes.chroot/usr/share/lightdm/lightdm.conf.d/90-desktop-next-autologin.conflivecd-rootfs-2.408/live-build/ubuntu-desktop-next/includes.chroot/usr/share/lightdm/lightdm.conf.d/0000664000000000000000000000003712706147572030461 0ustar [Seat:*] autologin-user=ubuntu livecd-rootfs-2.408/live-build/ubuntu-desktop-next/includes.chroot/etc/0000775000000000000000000000000012706147572023071 5ustar livecd-rootfs-2.408/live-build/ubuntu-desktop-next/includes.chroot/etc/resolv.conf0000777000000000000000000000000012706147572032625 2../run/resolvconf/resolv.confustar livecd-rootfs-2.408/live-build/ubuntu-desktop-next/includes.chroot/etc/hosts0000664000000000000000000000042112706147572024151 0ustar 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts livecd-rootfs-2.408/live-build/ubuntu-desktop-next/hooks/0000775000000000000000000000000012706147572020336 5ustar livecd-rootfs-2.408/live-build/ubuntu-desktop-next/hooks/15-remove-grub-common.chroot0000664000000000000000000000015012706147572025515 0ustar #!/bin/sh # see bug https://bugs.launchpad.net/snappy-ubuntu/+bug/1442231 rm -f /etc/init.d/grub-commonlivecd-rootfs-2.408/live-build/ubuntu-desktop-next/hooks/07-configure-system-image-client.chroot0000775000000000000000000000037112706147572027645 0ustar #!/bin/sh -x # Change default cache partition (until LP: #1373467 is fixed). if [ -f /etc/system-image/client.ini ]; then sed -ie 's!cache_partition: /android/cache/recovery!cache_partition: /userdata/cache!g' \ /etc/system-image/client.ini fi livecd-rootfs-2.408/live-build/ubuntu-desktop-next/hooks/05-create_minimal_fstab.chroot0000775000000000000000000000020112706147572026124 0ustar #!/bin/sh -x cat >>/etc/fstab< /etc/passwd <&2 echo "The output below might help to resolve the issue" >&2 cat /etc/passwd echo "passwd md5sum: $passwd_hash" >&2 ERRCNT=1 fi # /etc/shadow if [ "$shadow_bootstrap" = "$shadow_hash" ]; then cat > /etc/shadow <&2 echo "The output below might help to resolve the issue" >&2 cat /etc/shadow echo "shadow md5sum: $shadow_hash" >&2 ERRCNT=1 fi # /etc/group if [ "$group_bootstrap" = "$group_hash" ]; then cat > /etc/group <&2 echo "The output below might help to resolve the issue" >&2 cat /etc/group echo "group md5sum: $group_hash" >&2 ERRCNT=1 fi # /etc/gshadow if [ "$gshadow_bootstrap" = "$gshadow_hash" ]; then cat > /etc/gshadow <&2 echo "The output below might help to resolve the issue" >&2 cat /etc/gshadow echo "gshadow md5sum: $gshadow_hash" >&2 ERRCNT=1 fi if [ -n "$ERRCNT" ]; then echo "There were changes to the password database," >&2 echo "please adjust the values in the livecd-rootfs source in the file:" >&2 echo "live-build/ubuntu-desktop-next/hooks/00-uid-gid-fix.chroot_early" >&2 echo >&2 echo "Please check also if a maintainer script of the package" >&2 echo "that added these entries perhaps created a home directory and," >&2 echo "if needed, add code for creation of it to the above hook" >&2 exit 1 fi # Create some missing directories mkdir -p /var/lib/lightdm chown lightdm:lightdm /var/lib/lightdm chmod 750 /var/lib/lightdm mkdir -p /var/lib/usermetrics chown usermetrics:usermetrics /var/lib/usermetrics chmod 750 /var/lib/usermetrics echo "adjusting ownership of /var/log" >&2 chown root:syslog /var/log ls -ln /var | grep log >&2 # Record the current state for later comparison for file in /etc/passwd /etc/shadow /etc/group /etc/gshadow; do rm -f ${file}- cp ${file} ${file}.orig done livecd-rootfs-2.408/live-build/ubuntu-desktop-next/hooks/400-create-apt-get-warning.binary0000664000000000000000000000061212706147572026311 0ustar #!/bin/sh set -ex echo "I: Creating warning to use snappy when apt-get is used" PREFIX=binary/boot/filesystem.dir mkdir -p $PREFIX/usr/local/bin cat >$PREFIX/usr/local/bin/no-apt <&2 echo "The new /etc/passwd md5sum is: $passwd_hash" >&2 diff -Nrup /etc/passwd.orig /etc/passwd >&2 || true ERRCNT=1 fi if [ "$shadow_hash" != "$shadow_orig_hash" ]; then echo "/etc/shadow has changed during setup." >&2 echo "The new /etc/shadow md5sum is: $shadow_hash" >&2 diff -Nrup /etc/shadow.orig /etc/shadow >&2 || true ERRCNT=1 fi if [ "$group_length" != "$group_orig_length" ]; then echo "/etc/group has changed during setup." >&2 diff -Nrup /etc/group.orig /etc/group >&2 || true ERRCNT=1 fi if [ "$gshadow_length" != "$gshadow_orig_length" ]; then echo "/etc/gshadow has changed during setup." >&2 diff -Nrup /etc/gshadow.orig /etc/gshadow >&2 || true ERRCNT=1 fi if [ -n "$ERRCNT" ]; then echo "There were changes to the password database," >&2 echo "please adjust the values in the livecd-rootfs source in the file:" >&2 echo "live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early" >&2 echo >&2 echo "Please check also if a maintainer script of the package" >&2 echo "that added these entries perhaps created a home directory and," >&2 echo "if needed, add code for creation of it to the above hook" >&2 exit 1 fi rm /etc/passwd.orig /etc/shadow.orig /etc/group.orig /etc/gshadow.orig livecd-rootfs-2.408/live-build/ubuntu-desktop-next/hooks/14-set-motd.chroot0000664000000000000000000000056112706147572023536 0ustar #!/bin/sh cat >/etc/motd</\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t<\/policy>\n\t\t/g' /etc/dbus-1/system.d/org.freedesktop.NetworkManager.conf mkdir -p /etc/polkit-1/localauthority/50-local.d cat > /etc/polkit-1/localauthority/50-local.d/org.freedesktop.NetworkManager.pkla << EOF [indicator-network-service] Identity=unix-group:sudo Action=org.freedesktop.NetworkManager.* ResultAny=yes ResultInactive=no ResultActive=yes EOF livecd-rootfs-2.408/live-build/ubuntu-desktop-next/hooks/11-remove-extra-packages.chroot0000664000000000000000000000012012706147572026160 0ustar #!/bin/sh set -e # we don't want click on snappy image apt-get purge -y click livecd-rootfs-2.408/live-build/ubuntu-desktop-next/hooks/13-set-locale.chroot0000664000000000000000000000010412706147572024022 0ustar #!/bin/sh set -e cat >/etc/default/locale<> /var/lib/extrausers/group grep "^$USER" /etc/passwd >> /var/lib/extrausers/passwd grep "^$USER" /etc/shadow >> /var/lib/extrausers/shadow grep "^$USER" /etc/gshadow >> /var/lib/extrausers/gshadow chmod 0644 /var/lib/extrausers/group chmod 0644 /var/lib/extrausers/passwd chmod 0640 /var/lib/extrausers/shadow chmod 0640 /var/lib/extrausers/gshadow chown root:shadow /var/lib/extrausers/shadow chown root:shadow /var/lib/extrausers/gshadow sed -i "/^$USER/d" /etc/group sed -i "/^$USER/d" /etc/passwd sed -i "/^$USER/d" /etc/shadow sed -i "/^$USER/d" /etc/gshadow touch /var/lib/extrausers/subuid touch /var/lib/extrausers/subgid # needs to run *after* the user was moved out to /var/lib/extrausers echo "I: set user $USER password to $USER" echo "$USER:$USER" | chpasswd livecd-rootfs-2.408/live-build/ubuntu-desktop-next/hooks/20-extra-files.chroot0000775000000000000000000000017112706147572024222 0ustar #! /bin/sh set -e echo "create needed directories" >&2 mkdir -p /lib/modules mkdir -p /lib/firmware mkdir -p /writable livecd-rootfs-2.408/live-build/ubuntu-desktop-next/hooks/500-move-kernel-to-device-tar.binary0000664000000000000000000000311512706147572026733 0ustar #!/bin/sh # # move the kernel out into a new device tarfile with system/boot set -ex echo "I: Moving kernel into device tarball" HERE="$(pwd)" TMPDIR="$(mktemp -d)" mkdir -p $TMPDIR/system/ mkdir -p $TMPDIR/assets/ # cp files, we can't simply use tar --transform as it changes the symlink target ( cd binary/boot/filesystem.dir cp -ar --parent lib/modules/ $TMPDIR/system/ cp -ar --parent lib/firmware/ $TMPDIR/system/ # new assets handling if [ -f boot/vmlinu?-*.signed ]; then kernel=boot/vmlinu?-*.signed else kernel=boot/vmlinu?-* fi initrd=boot/initrd.img-* cp -ar $initrd $TMPDIR/assets/ cp -ar $kernel $TMPDIR/assets/ cp -ar boot/abi-* boot/System.map-* $TMPDIR/assets/ dtbs=$(find lib/firmware -type d -name 'device-tree' -print0) if [ -n "$dtbs" ]; then mv "$dtbs" $TMPDIR/assets/dtbs fi # create hardware.yaml # this assumes armh == u-boot # and all others grub # common bits cat > $TMPDIR/hardware.yaml << EOF kernel: assets/$(basename $kernel) initrd: assets/$(basename $initrd) partition-layout: system-AB EOF # arch specific ones if [ "$ARCH" = "armhf" ]; then cat >> $TMPDIR/hardware.yaml << EOF dtbs: assets/dtbs bootloader: u-boot EOF else cat >> $TMPDIR/hardware.yaml << EOF bootloader: grub EOF fi ) # and tar it up ( cd $TMPDIR tar -c -z -f $HERE/device.tar.gz system assets hardware.yaml ) rm -rf $TMPDIR # remove files from the root filesystem (cd binary/boot/filesystem.dir rm -f boot/vmlinu?-* rm -f boot/initrd.img-* rm -f boot/abi-* rm -f boot/System.map-* rm -f initrd.img rm -f vmlinu? rm -rf lib/modules rm -rf lib/firmware ) livecd-rootfs-2.408/live-build/ubuntu-desktop-next/hooks/03-boot_with_systemd.chroot0000775000000000000000000000052612706147572025552 0ustar #!/bin/sh -x # Boot using systemd and disable quiet boot # to see what is happening. systemd=/lib/systemd/systemd if [ -f /etc/default/grub ]; then sed -i \ -e "s,^\\([ ]*GRUB_CMDLINE_LINUX\\)=\"\"$,\\1=\"init=$systemd\",g" \ -e 's,^\([ ]*GRUB_CMDLINE_LINUX_DEFAULT\)="quiet splash",\1="",g' \ /etc/default/grub fi livecd-rootfs-2.408/live-build/ubuntu-pd0000777000000000000000000000000012706147572017553 2ubuntu-touch/ustar livecd-rootfs-2.408/live-build/auto/0000775000000000000000000000000012706147572014216 5ustar livecd-rootfs-2.408/live-build/auto/build0000775000000000000000000006066512706147572015260 0ustar #! /bin/sh set -e export LC_ALL=C ( . "${LIVE_BUILD}/scripts/build.sh" > /dev/null 2>&1 || true ) || . /usr/lib/live/build.sh Arguments "${@}" Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source Set_defaults # Setup cleanup function Setup_cleanup rm -f binary.success ( if [ -d config/gnupg ]; then cat << @@EOF > config/gnupg/NEWKEY Key-Type: DSA Key-Length: 1024 Key-Usage: sign Name-Real: Ubuntu Local Archive One-Time Signing Key Name-Email: cdimage@ubuntu.com Expire-Date: 0 @@EOF gpg --home config/gnupg --gen-key --batch < config/gnupg/NEWKEY \ > config/gnupg/generate.log 2>&1 & GPG_PROCESS=$! fi lb bootstrap "$@" Chroot chroot "dpkg-divert --quiet --add \ --divert /usr/sbin/update-initramfs.REAL --rename \ /usr/sbin/update-initramfs" cat > chroot/usr/sbin/update-initramfs <<'EOF' #! /bin/sh if [ $# != 1 ] || [ "$1" != -u ]; then exec update-initramfs.REAL "$@" fi echo "update-initramfs: diverted by livecd-rootfs (will be called later)" >&2 exit 0 EOF chmod +x chroot/usr/sbin/update-initramfs cat > config/hooks/999-undivert-update-initramfs.chroot <<'EOF' #! /bin/sh rm -f /usr/sbin/update-initramfs dpkg-divert --quiet --remove --rename /usr/sbin/update-initramfs EOF lb chroot "$@" if [ -f config/oem-config-preinstalled ]; then # This is cargo-culted almost verbatim (with some syntax changes for # preinstalled being slightly different in what it doesn't ask) from # debian-installer's apt-setup: codename=$LB_DISTRIBUTION file="chroot/etc/apt/sources.list" dists="main" alldists="main" if echo "$LB_PARENT_ARCHIVE_AREAS" | grep -q restricted; then dists="$dists restricted" alldists="$alldists restricted" fi if echo "$LB_PARENT_ARCHIVE_AREAS" | grep -q universe; then UNIVERSE=true else UNIVERSE=false fi if echo "$LB_PARENT_ARCHIVE_AREAS" | grep -q multiverse; then MULTIVERSE=true else MULTIVERSE=false fi cat > $file <> $file if [ "$UNIVERSE" = true ]; then alldists="$alldists universe" COMMENT= else cat >> $file <> $file <> $file <> $file <> $file <> $file <> $file < config/indices/apt.conf <<-EOF Dir { ArchiveDir "chroot/var/lib/preinstalled-pool"; OverrideDir "config/indices"; CacheDir "config/indices"; } Default { Packages::Compress ". bzip2"; } TreeDefault { Directory "pool"; } Tree "dists/$LB_DISTRIBUTION" { Sections "$LB_PARENT_ARCHIVE_AREAS"; Architectures "$LB_ARCHITECTURES"; BinOverride "override.$LB_DISTRIBUTION.\$(SECTION)"; ExtraOverride "override.$LB_DISTRIBUTION.extra.\$(SECTION)"; Contents " "; } EOF for component in $LB_PARENT_ARCHIVE_AREAS; do mkdir -p chroot/var/lib/preinstalled-pool/dists/$LB_DISTRIBUTION/$component/binary-$LB_ARCHITECTURES done apt-ftparchive generate config/indices/apt.conf cat << @@EOF > chroot/etc/apt/sources.list.preinstall # This is a sources.list entry for a small pool of packages # provided on your preinstalled filesystem for your convenience. # # It is perfectly safe to delete both this entry and the directory # it references, should you want to save disk space and fetch the # packages remotely instead. # deb file:/var/lib/preinstalled-pool/ $LB_DISTRIBUTION $LB_PARENT_ARCHIVE_AREAS # @@EOF cp chroot/etc/apt/sources.list chroot/etc/apt/sources.list.orig cp chroot/etc/apt/sources.list.preinstall chroot/etc/apt/sources.list echo "Waiting on gnupg ("$GPG_PROCESS") to finish generating a key." wait $GPG_PROCESS R_ORIGIN=$(lsb_release -i -s) R_CODENAME=$(lsb_release -c -s) R_VERSION=$(lsb_release -r -s) R_PRETTYNAME=$(echo $R_CODENAME | sed -e 's/^\(.\)/\U\1/') apt-ftparchive -o APT::FTPArchive::Release::Origin=$R_ORIGIN \ -o APT::FTPArchive::Release::Label=$R_ORIGIN \ -o APT::FTPArchive::Release::Suite=$R_CODENAME-local \ -o APT::FTPArchive::Release::Version=$R_VERSION \ -o APT::FTPArchive::Release::Codename=$R_CODENAME \ -o APT::FTPArchive::Release::Description="$R_ORIGIN $R_PRETTYNAME Local" \ release chroot/var/lib/preinstalled-pool/dists/$R_CODENAME/ \ > config/gnupg/Release gpg --home config/gnupg --detach-sign --armor config/gnupg/Release mv config/gnupg/Release \ chroot/var/lib/preinstalled-pool/dists/$R_CODENAME/Release mv config/gnupg/Release.asc \ chroot/var/lib/preinstalled-pool/dists/$R_CODENAME/Release.gpg apt-key --keyring chroot/etc/apt/trusted.gpg add config/gnupg/pubring.gpg find chroot/var/lib/preinstalled-pool/ -name Packages | xargs rm Chroot chroot "apt-get update" cat chroot/etc/apt/sources.list.preinstall chroot/etc/apt/sources.list.orig \ > chroot/etc/apt/sources.list rm chroot/etc/apt/sources.list.preinstall chroot/etc/apt/sources.list.orig fi if [ "$PROJECT" = "ubuntu-touch" ] || [ "$PROJECT" = "ubuntu-pd" ]; then if [ "$ARCH" = "armhf" ]; then INFO_DESC="$(lsb_release -d -s)" echo "$INFO_DESC - $ARCH ($BUILDSTAMP)" >chroot/etc/media-info mkdir -p chroot/var/log/installer Chroot chroot "ln -s /etc/media-info /var/log/installer/media-info" fi fi if [ "$PROJECT" = "ubuntu-cpc" ]; then cat > chroot/etc/cloud/build.info << EOF build_name: server serial: $BUILDSTAMP EOF cat > chroot/etc/apt/sources.list << EOF deb ${LB_PARENT_MIRROR_BINARY} ${LB_DISTRIBUTION} main restricted universe multiverse deb ${LB_PARENT_MIRROR_BINARY} ${LB_DISTRIBUTION}-updates main restricted universe multiverse deb ${LB_PARENT_MIRROR_BINARY_SECURITY} ${LB_DISTRIBUTION}-security main restricted universe multiverse EOF lb chroot_hosts install lb chroot_resolv install Chroot chroot "apt-get update" lb chroot_resolv remove lb chroot_hosts remove fi echo "===== Checking size of /usr/share/doc =====" echo BEGIN docdirs (cd chroot && find usr/share/doc -maxdepth 1 -type d | xargs du -s | sort -nr) echo END docdirs lb binary "$@" touch binary.success ) 2>&1 | tee binary.log # bash has trouble with the build.sh sourcing arrangement at the top of this # file, so we use this cheap-and-cheerful approach rather than the more # correct 'set -o pipefail'. if [ -e binary.success ]; then rm -f binary.success else exit 1 fi # Link output files somewhere BuildLiveCD will be able to find them. PREFIX="livecd.$PROJECT${SUBARCH:+-$SUBARCH}" case $LB_INITRAMFS in casper) INITFS="casper" ;; live-boot) INITFS="live" ;; *) INITFS="boot" ;; esac for OUTPUT in ext2 ext3 ext4 manifest manifest-remove size squashfs; do [ -e "binary/$INITFS/filesystem.$OUTPUT" ] || continue ln "binary/$INITFS/filesystem.$OUTPUT" "$PREFIX.$OUTPUT" chmod 644 "$PREFIX.$OUTPUT" done for ISO in binary.iso binary.hybrid.iso; do [ -e "$ISO" ] || continue ln "$ISO" "$PREFIX.iso" chmod 644 "$PREFIX.iso" break done if [ -e "binary/$INITFS/filesystem.dir" ]; then (cd "binary/$INITFS/filesystem.dir/" && tar -c *) | \ gzip -9 --rsyncable > "$PREFIX.rootfs.tar.gz" chmod 644 "$PREFIX.rootfs.tar.gz" elif [ -e binary-tar.tar.gz ]; then cp -a binary-tar.tar.gz "$PREFIX.rootfs.tar.gz" fi if [ "$PROJECT:$SUBPROJECT" = "ubuntu-core:system-image" ]; then if [ -e "binary/$INITFS/filesystem.dir" ]; then rootfs="binary/$INITFS/filesystem.dir" for dir in lib/modules lib/firmware writable meta; do mkdir -p $rootfs/$dir done VERSION="$(lsb_release -r -s)+$(date +20%y%m%d.%H-%M)" cat > $rootfs/meta/snap.yaml < "$PREFIX.custom.tar.gz" chmod 644 "$PREFIX.custom.tar.gz" fi # '--initramfs none' produces different manifest names. if [ -e "binary/$INITFS/filesystem.packages" ]; then ln "binary/$INITFS/filesystem.packages" "$PREFIX.manifest" chmod 644 "$PREFIX.manifest" fi if [ -e "binary/$INITFS/filesystem.packages-remove" ]; then # Not a typo, empty manifest-remove has a single LF in it. :/ if [ $(cat binary/$INITFS/filesystem.packages-remove | wc -c) -gt 1 ]; then ln "binary/$INITFS/filesystem.packages-remove" "$PREFIX.manifest-remove" chmod 644 "$PREFIX.manifest-remove" fi fi # ubuntu-core and ubuntu-desktop-next splits kernel stuff into a "device" tarball so # at this point we reset it to "none" as all the work to extract it was done already # in a binary hook case $PROJECT:$SUBPROJECT in ubuntu-core:system-image|ubuntu-desktop-next:system-image) # create device tarball (for snappy only atm) if [ "$PROJECT:$SUBPROJECT" = "ubuntu-core:system-image" ]; then case $ARCH in armhf) subarches="generic raspi2" ;; arm64) subarches="generic dragonboard" ;; i386|amd64|powerpc|ppc64el|s390x) subarches="generic" ;; esac # create a clean chroot debootstrap --variant=minbase $LB_DISTRIBUTION chroot-device $LB_PARENT_MIRROR_BOOTSTRAP # ... but keep the PPA setup cp -a chroot/etc/apt/* chroot-device/etc/apt/ # ... and move it in place rm -rf chroot mv chroot-device chroot for devarch in $subarches; do (echo "I: creating $devarch device tarball for $ARCH" HERE="$(pwd)" set -x linux_package="linux-image-$devarch" case $ARCH in amd64) linux_package="linux-signed-image-generic" ;; arm64) if [ "$devarch" = "dragonboard" ]; then linux_package="linux-image-snapdragon linux-firmware-snapdragon" fi ;; armhf) if [ "$devarch" = "raspi2" ]; then linux_package="linux-image-raspi2" fi ;; ppc64el|s390x) echo "I: skipping kernel and device tarball for $ARCH" return ;; esac # make sure all virtual filesystems are available lb chroot_proc install "$@" lb chroot_sysfs install "$@" lb chroot_devpts install "$@" # prepare the env Chroot chroot "apt-get -y update" Chroot chroot "apt-get -y purge linux-image-*" Chroot chroot "apt-get -y autoremove" rm -rf chroot/boot/initrd.img* chroot/boot/vmlinu?-* chroot/lib/modules/* \ chroot/boot/abi-* chroot/boot/System.map-* chroot/boot/config-* mkdir -p chroot/etc/initramfs-tools/conf.d echo "COMPRESS=lzma" >chroot/etc/initramfs-tools/conf.d/snappy-device-tarball.conf # install needed packages and the kernel itself Chroot chroot "apt-get -y install initramfs-tools-ubuntu-core linux-firmware xz-utils" Chroot chroot "apt-get -y install $linux_package" Chroot chroot "dpkg -l" > chroot/dpkg.list # clean up lb chroot_devpts remove "$@" lb chroot_sysfs remove "$@" lb chroot_proc remove "$@" # now build the actual device tarball TMPDIR="$(mktemp -d)" mkdir -p $TMPDIR/system/ mkdir -p $TMPDIR/assets/ cd chroot cp -ar --parent lib/modules/ $TMPDIR/system/ cp -ar --parent lib/firmware/ $TMPDIR/system/ # new assets handling if [ -f boot/vmlinu?-*.signed ]; then kernel=boot/vmlinu?-*.signed else kernel=boot/vmlinu?-* fi initrd=boot/initrd.img-* cp -ar $initrd $TMPDIR/assets/ cp -ar $kernel $TMPDIR/assets/ cp -ar boot/abi-* boot/System.map-* boot/config-* $TMPDIR/assets/ dtbs=$(find lib/firmware -type d -name 'device-tree' -print0) if [ -n "$dtbs" ]; then mv "$dtbs" $TMPDIR/assets/dtbs case $devarch in raspi2) # ubuntu-device-flash does not like subdirs here, we need to tar it up if [ -e $TMPDIR/assets/dtbs/overlays ]; then tar -C $TMPDIR/assets/dtbs -f $TMPDIR/assets/dtbs/overlays.tgz -czv overlays rm -rf $TMPDIR/assets/dtbs/overlays fi ;; dragonboard) cp $TMPDIR/assets/dtbs/qcom/apq8016-sbc-snappy.dtb $TMPDIR/assets/dtbs/apq8016-sbc.dtb # add special link needed by the dragonboard wifi driver mkdir -p $TMPDIR/system/lib/firmware/wlan/ ln -s /run/macaddr0 $TMPDIR/system/lib/firmware/wlan/ ;; esac fi # copy dpkg manifest cp -ar dpkg.list $TMPDIR/assets # create hardware.yaml # this assumes armhf == u-boot # and all others grub # common bits cat > $TMPDIR/hardware.yaml << EOF kernel: assets/$(basename $kernel) initrd: assets/$(basename $initrd) partition-layout: system-AB EOF # arch specific ones if [ "$ARCH" = "armhf" ]; then cat >> $TMPDIR/hardware.yaml << EOF dtbs: assets/dtbs bootloader: u-boot EOF else cat >> $TMPDIR/hardware.yaml << EOF bootloader: grub EOF fi # compress everything cd $TMPDIR tarname="device.tar.gz" manifestname="device.manifest" if [ "$devarch" = "raspi2" ];then tarname="raspi2.$tarname" manifestname="$devarch.$manifestname" elif [ "$devarch" = "dragonboard" ];then tarname="$devarch.$tarname" manifestname="$devarch.$manifestname" fi # create tarfile tar -c -z -f $HERE/$PREFIX.$tarname system assets hardware.yaml # create device specific manifest to track kernel dpkg version cp assets/dpkg.list $HERE/$PREFIX.$manifestname # show size of initrd and kernel in the log ls -lh assets/ # dump the content list into the log echo "I: device tarball contents for $PREFIX.$tarname:" find . -type f # azure wants its own device tarball if [ "$ARCH" = "amd64" ]; then cp $HERE/$PREFIX.$tarname $HERE/$PREFIX.azure.$tarname fi # create snap snapname="kernel.snap" metaname=canonical-pc-linux if [ "$devarch" = "raspi2" ];then metaname=canonical-pi2-linux snapname="$devarch.kernel.snap" elif [ "$devarch" = "generic" ] && [ "$ARCH" = "armhf" ];then metaname=canonical-bbb-linux elif [ "$devarch" = "dragonboard" ] && [ "$ARCH" = "arm64" ];then metaname=canonical-snapdragon-linux snapname="$devarch.kernel.snap" fi rm -rf $HERE/snap || true mkdir -p $HERE/snap/meta cp -a $TMPDIR/assets/* $HERE/snap cp -a $TMPDIR/system/* $HERE/snap cd $HERE/snap kernel="$(ls vmlinuz-*)" initrd="$(ls initrd.img-*)" ln -s $kernel vmlinuz ln -s $initrd initrd.img kvers="$(ls vmlinuz-*|sed 's/^.*vmlinuz-//;s/-[a-z.]*$//')" VERSION=$kvers+$(date +20%y%m%d.%H-%M) cat > meta/snap.yaml <> meta/snap.yaml fi cd $HERE apt-get -y install snapcraft snapcraft snap snap snapfile="$(ls $metaname*.snap)" cp -a $snapfile $PREFIX.$snapname ) done fi LB_LINUX_FLAVOURS=none ;; esac for FLAVOUR in $LB_LINUX_FLAVOURS; do if [ -z "$LB_LINUX_FLAVOURS" ] || [ "$LB_LINUX_FLAVOURS" = "none" ]; then continue fi if [ "$FLAVOUR" = "virtual" ]; then # The virtual kernel is named generic in /boot FLAVOUR="generic" fi KVERS="$( (cd "binary/$INITFS"; ls vmlinu?-* 2>/dev/null || true) | (fgrep -v .efi || true) | sed -n "s/^vmlinu.-\\([^-]*-[^-]*-$FLAVOUR\\)$/\\1/p" )" if [ -z "$KVERS" ]; then if [ -e "binary/$INITFS/vmlinuz" ]; then # already renamed by ubuntu-defaults-image break fi echo "No kernel output for $FLAVOUR!" >&2 exit 1 fi NUMKVERS="$(set -- $KVERS; echo $#)" if [ "$NUMKVERS" -gt 1 ]; then echo "Cannot handle more than one kernel for $FLAVOUR ($KVERS)!" >&2 exit 1 fi ln "binary/$INITFS/"vmlinu?-"$KVERS" "$PREFIX.kernel-$FLAVOUR" if [ -e "binary/$INITFS/"vmlinu?-"$KVERS.efi.signed" ]; then ln "binary/$INITFS/"vmlinu?-"$KVERS.efi.signed" "$PREFIX.kernel-$FLAVOUR.efi.signed" chmod 644 "$PREFIX.kernel-$FLAVOUR.efi.signed" fi chmod 644 "$PREFIX.kernel-$FLAVOUR" if [ -e "binary/$INITFS/initrd.img-$KVERS" ]; then ln "binary/$INITFS/initrd.img-$KVERS" "$PREFIX.initrd-$FLAVOUR" chmod 644 "$PREFIX.initrd-$FLAVOUR" fi done NUMFLAVOURS="$(set -- $LB_LINUX_FLAVOURS; echo $#)" if [ "$NUMFLAVOURS" = 1 ] && [ "$LB_LINUX_FLAVOURS" != "none" ]; then # only one kernel flavour if [ -e "binary/$INITFS/vmlinuz" ]; then ln "binary/$INITFS/vmlinuz" "$PREFIX.kernel" chmod 644 "$PREFIX.kernel" else ln -sf "$PREFIX.kernel-$LB_LINUX_FLAVOURS" "$PREFIX.kernel" fi if [ -e "binary/$INITFS/initrd.lz" ]; then ln "binary/$INITFS/initrd.lz" "$PREFIX.initrd" chmod 644 "$PREFIX.initrd" else ln -sf "$PREFIX.initrd-$LB_LINUX_FLAVOURS" "$PREFIX.initrd" fi fi if [ "$SUBARCH" = "ac100" ] || [ "$SUBARCH" = "nexus7" ]; then # create the md5sum and size files for which we are actually doing all this md5sum $PREFIX.rootfs.tar.gz >chroot/installer.md5 wc -c $PREFIX.rootfs.tar.gz >chroot/installer.size INFO_DESC="$(lsb_release -d -s)" INFO_STAMP=$(date +20%y%m%d-%H:%M) echo "$INFO_DESC - $ARCH ($INFO_STAMP)" >chroot/media-info # make sure update-initramfs feels cosy and warm in the environment lb chroot_proc install "$@" lb chroot_sysfs install "$@" lb chroot_devpts install "$@" # re-create initrd to contain the installer.md5 file Chroot chroot "env FLASH_KERNEL_SKIP=1 update-initramfs -k all -t -u -v" # create boot.img Chroot chroot "abootimg --create /boot/installer-${KVERS}.img -f /boot/bootimg.cfg-$SUBARCH -r /boot/initrd.img-${KVERS} -k /boot/vmlinuz-${KVERS}" if [ "$SUBARCH" = "nexus7" ]; then # roll the android rootfs images mkdir -p userdata mv $PREFIX.rootfs.tar.gz userdata/rootfs.tar.gz make_ext4fs -l 6G -s $PREFIX.ext4-$FLAVOUR userdata/ mv userdata/rootfs.tar.gz $PREFIX.rootfs.tar.gz ln -sf "$PREFIX.ext4-$FLAVOUR" "$PREFIX.ext4" fi # clean up lb chroot_devpts remove "$@" lb chroot_sysfs remove "$@" lb chroot_proc remove "$@" cp "chroot/boot/installer-${KVERS}.img" "$PREFIX.bootimg-$FLAVOUR" ln -sf "$PREFIX.bootimg-$FLAVOUR" "$PREFIX.bootimg" fi if [ "$PROJECT" = "ubuntu-touch" ] || [ "$PROJECT" = "ubuntu-pd" ]; then sourceslist="chroot/etc/apt/sources.list" lb chroot_proc install "$@" lb chroot_sysfs install "$@" lb chroot_devpts install "$@" if [ -e "$PREFIX.manifest" ]; then Chroot chroot "click list" | while read line; do echo "click:$line" >>"$PREFIX.manifest" done fi if [ -e chroot/etc/resolv.conf ]; then mv chroot/etc/resolv.conf chroot/etc/resolv.conf.orig fi if [ -e /etc/resolv.conf ]; then cp /etc/resolv.conf chroot/etc/resolv.conf fi mv "${sourceslist}" "${sourceslist}.orig" mv "${sourceslist}.d" "${sourceslist}.d.orig" echo "deb $LB_PARENT_MIRROR_CHROOT ${LB_DISTRIBUTION} main universe multiverse restricted" >$sourceslist Chroot chroot "apt-get -y update" Chroot chroot "apt-get -y install android" if [ "$ARCH" = "armhf" ]; then touchsubarches="flo mako generic" for subarch in $touchsubarches; do cp -v chroot/usr/share/android/product/*-preinstalled-system-armel+${subarch}.img\ "${PREFIX}.system-armel+${subarch}.img" cp -v chroot/usr/share/android/product/*-preinstalled-recovery-armel+${subarch}.img\ "${PREFIX}.recovery-armel+${subarch}.img" cp -v chroot/usr/share/android/product/*-preinstalled-boot-armhf+${subarch}.img\ "${PREFIX}.boot-armhf+${subarch}.img" # drop this following line once cdimage can handle -boot-*.img cp -v "${PREFIX}.boot-armhf+${subarch}.img" "${PREFIX}.bootimg-${subarch}" done fi if [ "$ARCH" = "i386" ]; then touchsubarches="generic_x86" for subarch in $touchsubarches; do cp -v chroot/usr/share/android/product/*-preinstalled-system-i386+${subarch}.img\ "${PREFIX}.system-i386+${subarch}.img" cp -v chroot/usr/share/android/product/*-preinstalled-recovery-i386+${subarch}.img\ "${PREFIX}.recovery-i386+${subarch}.img" cp -v chroot/usr/share/android/product/*-preinstalled-boot-i386+${subarch}.img\ "${PREFIX}.boot-i386+${subarch}.img" # drop this following line once cdimage can handle -boot-*.img cp -v "${PREFIX}.boot-i386+${subarch}.img" "${PREFIX}.bootimg-${subarch}" done fi lb chroot_devpts remove "$@" lb chroot_sysfs remove "$@" lb chroot_proc remove "$@" rm -rf chroot/etc/init/*.override fi # LTSP chroot building (only in 32bit and for Edubuntu (DVD)) case $PROJECT in edubuntu-dvd) if [ "$ARCH" = i386 ]; then echo "Building LTSP chroot" ltsp-build-client --base $(pwd) --mirror $LB_PARENT_MIRROR_BOOTSTRAP --arch $ARCH --dist $LB_PARENT_DISTRIBUTION --chroot ltsp-live --late-packages ldm-edubuntu-theme,plymouth-theme-edubuntu --purge-chroot --skipimage mkdir -p images mksquashfs ltsp-live images/ltsp-live.img -e cdrom rm -Rf ltsp-live if [ -f images/ltsp-live.img ]; then mv images/ltsp-live.img livecd.$PROJECT-ltsp.squashfs chmod 0644 livecd.$PROJECT-ltsp.squashfs rmdir --ignore-fail-on-non-empty images else echo "LTSP: Unable to build the chroot, see above for details." fi fi ;; esac livecd-rootfs-2.408/live-build/auto/config0000775000000000000000000006063212706147572015420 0ustar #! /bin/sh set -e rm -rf config echo "Building on $(hostname --fqdn)" SEEDMIRROR=http://people.canonical.com/~ubuntu-archive/seeds/ if [ -z "$MIRROR" ]; then case $(hostname --fqdn) in bld-*.mmjgroup.com) ;; *.mmjgroup.com) case $ARCH in i386|amd64) MIRROR=http://archive.mmjgroup.com/ubuntu/ ;; *) MIRROR=http://archive.mmjgroup.com/ubuntu-ports/ ;; esac ;; *.0c3.net) case $ARCH in i386|amd64) MIRROR=http://mirrors.0c3.net/ubuntu/ ;; *) MIRROR=http://mirrors.0c3.net/ubuntu-ports/ ;; esac ;; *.ubuntu.com) MIRROR=http://ftpmaster.internal/ubuntu/ SEEDMIRROR=http://archive-team.internal/seeds/ ;; *.warthogs.hbd.com) MIRROR=http://ftpmaster.internal/ubuntu/ SEEDMIRROR=http://archive-team.internal/seeds/ ;; *.buildd) MIRROR=http://ftpmaster.internal/ubuntu/ SEEDMIRROR=http://archive-team.internal/seeds/ ;; esac fi mkdir -p config/package-lists add_task () { local pass="$1" shift local task # The removal of direct task installation support from live-build # poses some problems. If the chroot has multiarch configured - for # example, if we're building for amd64 - then dumpavail will show # foreign-architecture packages which will have their own Task # lines, but which we don't want to install. (Compare # PackageContainerInterface::FromTask in apt, which restricts task # expansion to the native architecture.) We therefore restrict our # search to stanzas with Architecture: $ARCH or all. # # However, even this may not be accurate enough. At the moment I # have no idea what happens if an Architecture: all package has # different Task fields on different architectures. This is # probably a lurking timebomb that we need to fix. In the meantime, # the Architecture restriction at least saves us from abject # failure. for task; do # We need a ridiculous number of backslashes to protect # parentheses from eval. echo "!chroot chroot apt-cache dumpavail | grep-dctrl -nsPackage \\\\\\( -XFArchitecture $ARCH -o -XFArchitecture all \\\\\\) -a -wFTask $task" >> "config/package-lists/livecd-rootfs.list.chroot_$pass" done } add_package () { local pass="$1" shift local pkg for pkg; do echo "$pkg" >> "config/package-lists/livecd-rootfs.list.chroot_$pass" done } OPTS= COMPONENTS= BINARY_REMOVE_LINUX=: BINARY_IMAGES=none MEMTEST=none SOURCE='--source false' BOOTLOADER=none BOOTAPPEND_LIVE= LIVE_TASK= PREINSTALLED=false PREINSTALL_POOL= PREINSTALL_POOL_SEEDS= CHROOT_HOOKS= BINARY_HOOKS= add_chroot_hook () { CHROOT_HOOKS="${CHROOT_HOOKS:+$CHROOT_HOOKS }$1" } add_binary_hook () { BINARY_HOOKS="${BINARY_HOOKS:+$BINARY_HOOKS }$1" } case $PROJECT in ubuntu-cpc) IMAGEFORMAT=ext4 ;; esac case $IMAGEFORMAT in ext2|ext3|ext4) OPTS="${OPTS:+$OPTS }--initramfs none --chroot-filesystem $IMAGEFORMAT" PREINSTALLED=true case $SUBPROJECT in wubi) add_package install lupin-support COMPONENTS='main restricted universe multiverse' ;; *) case $PROJECT in ubuntu-cpc) ;; *) add_package live jasper ;; esac ;; esac ;; plain) OPTS="${OPTS:+$OPTS }--initramfs none --chroot-filesystem $IMAGEFORMAT" PREINSTALLED=true ;; *) case $PROJECT in ubuntu-server|ubuntu-touch|ubuntu-pd) ;; *) add_package live lupin-casper ;; esac ;; esac if [ "$PREINSTALLED" = "true" ] && [ "$SUBPROJECT" != "wubi" ]; then # This is an oem-config preinstalled image, touch a random file that # we can refer back to during build, cause that's wildly hackish touch config/oem-config-preinstalled case $PROJECT in kubuntu*) add_package live oem-config-kde ubiquity-frontend-kde add_package live ubiquity-slideshow-kubuntu ;; lubuntu*) add_package live oem-config-gtk ubiquity-frontend-gtk add_package live ubiquity-slideshow-lubuntu ;; xubuntu*) add_package live oem-config-gtk ubiquity-frontend-gtk add_package live ubiquity-slideshow-xubuntu ;; ubuntu-mate) add_package live oem-config-gtk ubiquity-frontend-gtk add_package live ubiquity-slideshow-ubuntu-mate ;; ubuntu-server) add_package live oem-config-debconf ubiquity-frontend-debconf ;; ubuntu-core|base|ubuntu-touch|ubuntu-pd|ubuntu-cpc|ubuntu-desktop-next) ;; *) add_package live oem-config-gtk ubiquity-frontend-gtk add_package live ubiquity-slideshow-ubuntu ;; esac fi case $BINARYFORMAT in iso*|usb*) BINARY_IMAGES="$BINARYFORMAT" MEMTEST=memtest86+ BOOTLOADER=syslinux OPTS="${OPTS:+$OPTS }--zsync=false" ;; esac SIGNED_KERNEL_PACKAGE="linux-signed-generic" UNITY_HWE_HINTS="unity-settings-daemon notify-osd libqt4-sql-sqlite unity gnome-terminal" case $PROJECT in ubuntu|ubuntu-dvd) add_package install ubuntu-minimal ubuntu-standard add_package install ubuntu-desktop $UNITY_HWE_HINTS LIVE_TASK='ubuntu-live' case $ARCH in amd64) add_package live $SIGNED_KERNEL_PACKAGE ;; esac ;; ubuntu-desktop-next) add_task install minimal standard ubuntu-desktop-next ubuntu-sdk-libs COMPONENTS='main restricted universe' LIVE_TASK='ubuntu-touch-live' KERNEL_FLAVOURS=generic case $ARCH in amd64) add_package live linux-signed-generic ;; esac # system image snappy desktop next image # mvo: This is for cron.daily-preinstalled # CDIMAGE_PREINSTALLED is not passed from build.py # and PREINSTALLED means something different. So # we use SUBPROJECT to pass on the information if [ "$SUBPROJECT" = "system-image" ]; then OPTS="${OPTS:+$OPTS }--linux-packages=linux-image" fi ;; kubuntu|kubuntu-dvd) add_task install minimal standard add_task install kubuntu-desktop LIVE_TASK='kubuntu-live' case $ARCH in amd64) add_package live linux-signed-generic ;; esac COMPONENTS='main restricted universe' add_chroot_hook remove-gnome-icon-cache ;; kubuntu-active) add_task install minimal standard kubuntu-active LIVE_TASK='kubuntu-active-live' COMPONENTS='main restricted universe' add_chroot_hook remove-gnome-icon-cache ;; kubuntu-plasma5) add_task install minimal standard add_package install kubuntu-plasma5-desktop # Technically cheating, but PPAs don't have tasks and the # live seed doesn't have a corresponding metapackage. We'll # get away with this as long as kubuntu-desktop and # kubuntu-plasma5-desktop don't grow too far apart. LIVE_TASK='kubuntu-live' COMPONENTS='main restricted universe' add_chroot_hook remove-gnome-icon-cache ;; edubuntu|edubuntu-dvd) add_task install minimal standard ubuntu-desktop edubuntu-desktop-gnome LIVE_TASK='edubuntu-live' case $ARCH in amd64) add_package live linux-signed-generic ;; esac COMPONENTS='main restricted universe' ;; xubuntu) add_task install minimal standard xubuntu-desktop add_package install xterm LIVE_TASK='xubuntu-live' case $ARCH in amd64) add_package live linux-signed-generic ;; esac COMPONENTS='main restricted universe multiverse' case $ARCH in amd64|i386) KERNEL_FLAVOURS=generic ;; esac ;; ubuntu-netbook) add_task install minimal standard ubuntu-netbook LIVE_TASK='netbook-live' ;; mythbuntu) add_task install minimal standard mythbuntu-desktop LIVE_TASK='mythbuntu-live' case $ARCH in amd64) add_package live linux-signed-generic ;; esac COMPONENTS='main restricted universe multiverse' ;; lubuntu) add_task install minimal standard lubuntu-desktop LIVE_TASK='lubuntu-live' case $ARCH in amd64) add_package live linux-signed-generic ;; esac COMPONENTS='main restricted universe multiverse' case $ARCH in amd64|i386) KERNEL_FLAVOURS=generic ;; esac # The Lubuntu STRUCTURE file has "feature # no-follow-recommends". Mirror this. export APT_OPTIONS="--yes --no-install-recommends" ;; ubuntu-gnome) add_task install minimal standard ubuntu-gnome-desktop LIVE_TASK='ubuntu-gnome-live' case $ARCH in amd64) add_package live linux-signed-generic ;; esac COMPONENTS='main restricted universe' ;; ubuntu-mate) add_task install minimal standard ubuntu-mate-core ubuntu-mate-desktop LIVE_TASK='ubuntu-mate-live' case $ARCH in amd64) add_package live linux-signed-generic ;; esac COMPONENTS='main restricted universe multiverse' # The Ubuntu MATE STRUCTURE file has "feature # no-follow-recommends". Mirror this. export APT_OPTIONS="--yes --no-install-recommends" ;; ubuntustudio-dvd) add_task install minimal standard ubuntustudio-desktop ubuntustudio-audio ubuntustudio-fonts ubuntustudio-graphics ubuntustudio-video ubuntustudio-publishing ubuntustudio-photography COMPONENTS='main restricted universe multiverse' case $ARCH in amd64|i386) KERNEL_FLAVOURS=lowlatency ;; esac ;; ubuntukylin) add_task install minimal standard ubuntukylin-desktop add_package install ubuntukylin-default-settings LIVE_TASK='ubuntukylin-live' case $ARCH in amd64) add_package live linux-signed-generic ;; esac COMPONENTS='main restricted universe' ;; base) add_task install minimal standard ;; ubuntu-server) add_task install minimal COMPONENTS='main' PREINSTALL_POOL_SEEDS='server-ship' ;; ubuntu-core) # mvo: This is for cron.daily-preinstalled # CDIMAGE_PREINSTALLED is not passed from build.py # and PREINSTALLED means something different. So # we use SUBPROJECT to pass on the information if [ "$SUBPROJECT" = "system-image" ]; then OPTS="${OPTS:+$OPTS }--apt-recommends false" # some workarounds because the seeds are not quite # corrent at the moment add_package install dbus add_package install isc-dhcp-client add_package install libpam-systemd add_package install ppp add_package install watchdog # no Task: header yet add_package install snapd add_package install ubuntu-core-snapd-units # no minimal as we want to be really minimal #add_task install minimal add_task install ubuntu-core # more packages are pulled in via the seed. # (important to remember when comparing to the # livecd-rootfs from ppa:snappy-dev/image) case $ARCH in i386) # efi support can go once the task # header is available for grub-efi-ia32-bin add_package install grub-efi-ia32-bin ;; esac # generic kernel etc KERNEL_FLAVOURS=none case $ARCH in i386) add_package install grub-pc ;; amd64) add_package install grub-pc-bin add_package install grub-efi-amd64-signed add_package install shim-signed ;; armhf) add_package install flash-kernel u-boot-tools ;; arm64) add_package install u-boot-tools ;; esac OPTS="${OPTS:+$OPTS }--linux-packages=none --initramfs=none --initramfs-compression=none" # contains the framework definition add_package install ubuntu-core-libs # universe needed for 'system-image-cli' and multiverse for firmware COMPONENTS='main restricted universe multiverse' fi OPTS="${OPTS:+$OPTS }--bootstrap-flavour=minimal" ;; ubuntu-touch|ubuntu-pd) if [ "$PROJECT" = "ubuntu-touch" ]; then meta_package=ubuntu-touch else meta_package=ubuntu-pocket-desktop fi add_package install ubuntu-minimal $meta_package systemd-sysv- packagekit ubuntu-system-settings-online-accounts COMPONENTS='main restricted universe' BOOTAPPEND_LIVE='hostname=ubuntu-phablet username=ubuntu' export LB_BOOTSTRAP_INCLUDE='apt-transport-https gnupg' OPTS="${OPTS:+$OPTS }--apt-recommends false" OPTS="${OPTS:+$OPTS }--compression gzip" OPTS="${OPTS:+$OPTS }--system normal" OPTS="${OPTS:+$OPTS }--zsync false" # TODO cjwatson 2014-07-17: This is a bit of an abuse of # SUBPROJECT, but it's a handy thing that launchpad-buildd # already passes through to us that we weren't otherwise # using here. case $SUBPROJECT in ubuntu-rtm/dogfood) MIRROR=http://derived-archive.dogfood.content.paddev.net/ubuntu-rtm/ OPTS="${OPTS:+$OPTS }--apt-secure false" OPTS="${OPTS:+$OPTS }--mirror-chroot-security ${MIRROR}" OPTS="${OPTS:+$OPTS }--mirror-binary-security ${MIRROR}" OPTS="${OPTS:+$OPTS }--mirror-binary ${MIRROR}" ;; ubuntu-rtm) MIRROR=http://derived.archive.canonical.com/ubuntu-rtm/ OPTS="${OPTS:+$OPTS }--mirror-chroot-security ${MIRROR}" OPTS="${OPTS:+$OPTS }--mirror-binary-security ${MIRROR}" OPTS="${OPTS:+$OPTS }--mirror-binary ${MIRROR}" ;; esac ;; ubuntu-cpc) add_task install minimal standard cloud-image add_package install ubuntu-minimal BINARY_REMOVE_LINUX=false OPTS="${OPTS:+$OPTS }--initramfs=none" KERNEL_FLAVOURS=virtual case $ARCH in armhf) KERNEL_FLAVOURS=generic-lpae add_package install flash-kernel add_task install server ;; arm64) KERNEL_FLAVOURS=generic add_package install flash-kernel add_task install server ;; ppc64el) add_task install server ;; powerpc) KERNEL_FLAVOURS=powerpc64-smp add_task install server ;; esac OPTS="${OPTS:+$OPTS }--system=normal" OPTS="${OPTS:+$OPTS }--hdd-label=cloudimg-rootfs" OPTS="${OPTS:+$OPTS }--ext-resize-blocks=536870912 --ext-block-size=4096" OPTS="${OPTS:+$OPTS }--ext-fudge-factor=15" ;; *) echo "unknown project $PROJECT" >&2 exit 2 ;; esac if [ "$PREINSTALLED" != "true" ] && [ "$LIVE_TASK" ]; then add_task live "$LIVE_TASK" fi case $PROJECT in ubuntu-dvd) add_task install ubuntu-usb add_task live ubuntu-usb-live ;; *-dvd) add_task live "$PROJECT-live" ;; esac case $ARCH in armel|armhf) KERNEL_FLAVOURS="${SUBARCH:-$KERNEL_FLAVOURS}" case $SUBARCH in dove) BINARY_REMOVE_LINUX=false ;; omap) add_package install u-boot-linaro-omap3-beagle u-boot-tools BINARY_REMOVE_LINUX=false ;; omap4) case $PROJECT in ubuntu-server|ubuntu-core|base) add_package install u-boot-linaro-omap4-panda u-boot-tools ;; *) add_package install u-boot-linaro-omap4-panda u-boot-tools pvr-omap4 ;; esac BINARY_REMOVE_LINUX=false ;; mx5) COMPONENTS='main restricted universe' KERNEL_FLAVOURS=linaro-lt-mx5 add_package install flash-kernel u-boot-linaro-mx53loco u-boot-tools BINARY_REMOVE_LINUX=false ;; ac100) COMPONENTS='main restricted universe multiverse' add_package install zram-config abootimg add_package live ac100-tarball-installer BINARY_REMOVE_LINUX=false ;; nexus7) COMPONENTS='main restricted universe multiverse' add_package install zram-config abootimg add_package install nvidia-tegra3 ubuntu-defaults-nexus7 add_package live ac100-tarball-installer BINARY_REMOVE_LINUX=false mkdir -p config/preseed echo "linux-firmware-nexus7 shared/nexus7_notice_accepted boolean true" >config/preseed/linux-firmware-nexus7.preseed.chroot echo "d-i passwd/auto-login boolean true" >config/preseed/autologin.preseed.chroot ;; raspi2) COMPONENTS='main restricted universe multiverse' add_package install linux-firmware-raspi2 u-boot-rpi flash-kernel u-boot-tools BINARY_REMOVE_LINUX=false ;; esac ;; esac case $PROJECT in ubuntu-server|ubuntu-core|ubuntu-touch|ubuntu-pd) case $SUBPROJECT in system-image) # keep the kernel for the system-image build ;; *) OPTS="${OPTS:+$OPTS }--linux-packages=none --initramfs=none" KERNEL_FLAVOURS=none BINARY_REMOVE_LINUX=false ;; esac esac add_chroot_hook update-apt-file-cache add_chroot_hook update-apt-xapian-index add_chroot_hook update-mlocate-database add_chroot_hook remove-dbus-machine-id add_chroot_hook remove-openssh-server-host-keys add_chroot_hook remove-udev-persistent-rules case $PROJECT in ubuntu-server|ubuntu-cpc) ;; *) add_chroot_hook remove-python-py ;; esac case $SUBPROJECT in wubi) add_binary_hook build-wubildr ;; esac lb config noauto \ --mode ubuntu \ --distribution "$SUITE" \ --bootstrap-keyring ubuntu-keyring \ --binary-images "$BINARY_IMAGES" \ --memtest "$MEMTEST" \ $SOURCE \ --build-with-chroot false \ ${MIRROR:+--parent-mirror-bootstrap $MIRROR} \ ${COMPONENTS:+--parent-archive-areas "$COMPONENTS"} \ --apt-source-archives false \ ${KERNEL_FLAVOURS:+--linux-flavours "$KERNEL_FLAVOURS"} \ --initsystem none \ --bootloader "$BOOTLOADER" \ --initramfs-compression lzma \ ${BOOTAPPEND_LIVE:+--bootappend-live "$BOOTAPPEND_LIVE"} \ $OPTS \ "$@" echo "LB_CHROOT_HOOKS=\"$CHROOT_HOOKS\"" >> config/chroot echo "LB_BINARY_HOOKS=\"$BINARY_HOOKS\"" >> config/binary echo "BUILDSTAMP=\"$NOW\"" >> config/binary case $ARCH+$SUBARCH in armhf+raspi2) cat > config/hooks/01-firmware-directory.chroot_early < config/hooks/999-raspi2-fixes.chroot <> /etc/fstab << EOM LABEL=system-boot /boot/firmware vfat defaults 0 1 EOM cat > /boot/firmware/cmdline.txt << EOM net.ifnames=0 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait EOM cat > /boot/firmware/config.txt << EOM # For more options and information see # http://www.raspberrypi.org/documentation/configuration/config-txt.md # Some settings may impact device functionality. See link above for details kernel=uboot.bin # enable i2c dtparam=i2c_arm=on dtparam=spi=on # uncomment if you get no picture on HDMI for a default "safe" mode #hdmi_safe=1 # uncomment this if your display has a black border of unused pixels visible # and your display can output without overscan #disable_overscan=1 # uncomment the following to adjust overscan. Use positive numbers if console # goes off screen, and negative if there is too much border #overscan_left=16 #overscan_right=16 #overscan_top=16 #overscan_bottom=16 # uncomment to force a console size. By default it will be display's size minus # overscan. #framebuffer_width=1280 #framebuffer_height=720 # uncomment if hdmi display is not detected and composite is being output #hdmi_force_hotplug=1 # uncomment to force a specific HDMI mode (this will force VGA) #hdmi_group=1 #hdmi_mode=1 # uncomment to force a HDMI mode rather than DVI. This can make audio work in # DMT (computer monitor) modes #hdmi_drive=2 # uncomment to increase signal to HDMI, if you have interference, blanking, or # no display #config_hdmi_boost=4 # uncomment for composite PAL #sdtv_mode=2 #uncomment to overclock the arm. 700 MHz is the default. #arm_freq=800 EOM EOF ;; *) ;; esac case $PROJECT in ubuntu-server) cat > config/hooks/100-remove-fstab.chroot < config/hooks/100-ubuntukylin.chroot < config/binary_rootfs/excludes << EOF boot/vmlinu?-* boot/initrd.img-* EOF fi if [ "$PROPOSED" ]; then . config/bootstrap cat > config/archives/proposed.list.chroot << EOF deb $LB_PARENT_MIRROR_BINARY_VOLATILE $SUITE-proposed $LB_PARENT_ARCHIVE_AREAS EOF cp -a config/archives/proposed.list.chroot \ config/archives/proposed.list.binary fi case $PROJECT:$SUBPROJECT in *-dvd:*) . config/bootstrap cat > config/archives/dvd.list.binary << EOF deb $LB_PARENT_MIRROR_BINARY $SUITE universe multiverse deb $LB_PARENT_MIRROR_BINARY_SECURITY $SUITE-security universe multiverse deb $LB_PARENT_MIRROR_BINARY_VOLATILE $SUITE-updates universe multiverse EOF if [ "$PROPOSED" ]; then cat >> config/archives/dvd.list.binary << EOF deb $LB_PARENT_MIRROR_BINARY_VOLATILE $SUITE-proposed universe multiverse EOF fi ;; ubuntu-touch:*|ubuntu-pd:*|ubuntu-core:system-image|ubuntu-desktop-next:system-image|ubuntu-cpc:*) cp -af /usr/share/livecd-rootfs/live-build/${PROJECT}/* \ config/ ;; esac if [ "$EXTRA_PPAS" ]; then rm -f config/archives/extra-ppas.list.chroot \ config/archives/extra-ppas.pref.chroot \ config/archives/extra-ppas.key.chroot gpg_tmpdir="$(mktemp -d)" run_gpg () { gpg --no-default-keyring --no-options --homedir "$gpg_tmpdir" \ --secret-keyring "$gpg_tmpdir/secring.gpg" \ --keyserver hkp://keyserver.ubuntu.com:80/ \ "$@" } for extra_ppa in $EXTRA_PPAS; do extra_ppa_pin='' extra_ppa_origin='' case $extra_ppa in *:*) extra_ppa_pin=${extra_ppa#*:} extra_ppa=${extra_ppa%:*} ;; esac extra_ppa_fingerprint="$(/usr/share/livecd-rootfs/get-ppa-fingerprint "$extra_ppa")" cat >> config/archives/extra-ppas.list.chroot <> config/archives/extra-ppas.pref.chroot echo "Pin: release o=$extra_ppa_origin" >> config/archives/extra-ppas.pref.chroot echo "Pin-Priority: $extra_ppa_pin" >> config/archives/extra-ppas.pref.chroot echo "" >> config/archives/extra-ppas.pref.chroot fi run_gpg --keyring "$gpg_tmpdir/pubring.gpg" \ --recv "$extra_ppa_fingerprint" run_gpg --keyring "$gpg_tmpdir/pubring.gpg" \ --output "$gpg_tmpdir/export.gpg" \ --export "$extra_ppa_fingerprint" got_fingerprint="$( run_gpg --keyring "$gpg_tmpdir/export.gpg" \ --fingerprint --batch --with-colons | grep '^fpr:' | cut -d: -f10)" if [ "$got_fingerprint" != "$extra_ppa_fingerprint" ]; then echo "Fingerprints do not match. Got:" >&2 echo "$got_fingerprint" | sed 's/^/ /' >&2 echo "Expected:" >&2 echo " $extra_ppa_fingerprint" >&2 exit 1 fi cat "$gpg_tmpdir/export.gpg" >> config/archives/extra-ppas.key.chroot rm -f "$gpg_tmpdir/export.gpg" done rm -rf "$gpg_tmpdir" cp -a config/archives/extra-ppas.list.chroot \ config/archives/extra-ppas.list.binary cp -a config/archives/extra-ppas.key.chroot \ config/archives/extra-ppas.key.binary if [ -f config/archives/extra-ppas.pref.chroot ]; then cp -a config/archives/extra-ppas.pref.chroot \ config/archives/extra-ppas.pref.binary fi fi case $SUBPROJECT in ubuntu-rtm|ubuntu-rtm/*) # debootstrap doesn't know about ubuntu-rtm series directly. Rather # than having to teach it, we employ a few hacks to make it use the # Ubuntu script instead. mkdir -p config/fake_debootstrap_dir/scripts ln -s /usr/share/debootstrap/devices.tar.gz \ config/fake_debootstrap_dir/ ln -s /usr/share/debootstrap/functions config/fake_debootstrap_dir/ ln -s /usr/share/debootstrap/scripts/gutsy \ "config/fake_debootstrap_dir/scripts/$SUITE" echo 'export DEBOOTSTRAP_DIR="$PWD/config/fake_debootstrap_dir"' \ >> config/bootstrap ;; esac # cribbed from cdimage, perhaps this should be a small helper script in germinate? add_inheritance () { case " $inherit " in *" $1 "*) ;; *) inherit="${inherit:+$inherit }$1" ;; esac } expand_inheritance () { for seed in $(grep "^$1:" config/germinate-output/structure | cut -d: -f2); do expand_inheritance "$seed" done add_inheritance "$1" } inheritance () { inherit= expand_inheritance "$1" echo "$inherit" } if [ "$PREINSTALLED" = "true" ]; then if [ -n "$PREINSTALL_POOL_SEEDS" ]; then mkdir -p config/germinate-output case $PROJECT in kubuntu-active*) SEED=kubuntu-active.$SUITE ;; kubuntu*) SEED=kubuntu.$SUITE ;; xubuntu*) SEED=xubuntu.$SUITE ;; *) SEED=ubuntu.$SUITE ;; esac (cd config/germinate-output && germinate --no-rdepends --no-installer \ -S $SEEDMIRROR -m $MIRROR -d $SUITE -s $SEED \ ${COMPONENTS:+-c "$COMPONENTS"} -a $ARCH) UNWANTED_SEEDS="${LIVE_TASK:+$LIVE_TASK }boot installer required" for i in $UNWANTED_SEEDS; do UNWANTED_SEEDS="${UNWANTED_SEEDS:+$UNWANTED_SEEDS }$(inheritance $i)" done for i in $PREINSTALL_POOL_SEEDS; do PREINSTALL_POOL_SEEDS="${PREINSTALL_POOL_SEEDS:+$PREINSTALL_POOL_SEEDS }$(inheritance $i)" done for i in $PREINSTALL_POOL_SEEDS; do case " $UNWANTED_SEEDS " in *" $i "*) ;; *) PPS_EXP="${PPS_EXP:+$PPS_EXP }$i" ;; esac done for i in $PPS_EXP; do PREINSTALL_POOL="$PREINSTALL_POOL $(awk '{print $1}' \ config/germinate-output/$i | egrep -v '^-|^Package|^\|' | tr '\n' ' ')" done fi if [ -n "$PREINSTALL_POOL" ]; then mkdir -p config/gnupg mkdir -p config/indices for component in $COMPONENTS; do (cd config/indices && \ wget $MIRROR/indices/override.$SUITE.$component && \ wget $MIRROR/indices/override.$SUITE.extra.$component \ ) done cat > config/hooks/100-preinstall-pool.chroot < /etc/fw_env.config <>/etc/fstab< usr/share/snappy/dpkg.list ) # dpkg-deb and dpkg purposefully left behind (cd $PREFIX chroot . dpkg --purge apt rm -r \ var/lib/dpkg \ var/log/apt rm \ usr/bin/dpkg-query \ usr/bin/dpkg-split \ usr/bin/dpkg-divert \ usr/bin/dpkg-trigger \ usr/bin/dpkg-statoverride \ usr/bin/dpkg-maintscript-helper ) livecd-rootfs-2.408/live-build/ubuntu-core/hooks/09-disable-cloud-init-net-breaking.chroot0000775000000000000000000000027112706147572026326 0ustar #!/bin/sh -x [ -d /etc/cloud/cloud.cfg.d ] || mkdir -p /etc/cloud/cloud.cfg.d cat >> /etc/cloud/cloud.cfg.d/99-snappy-disable-network-config.cfg < /etc/passwd <&2 echo "The output below might help to resolve the issue" >&2 cat /etc/passwd echo "passwd md5sum: $passwd_hash" >&2 ERRCNT=1 fi # /etc/shadow if [ "$shadow_bootstrap" = "$shadow_hash" ]; then cat > /etc/shadow <&2 echo "The output below might help to resolve the issue" >&2 cat /etc/shadow echo "shadow md5sum: $shadow_hash" >&2 ERRCNT=1 fi # /etc/group if [ "$group_bootstrap" = "$group_hash" ]; then cat > /etc/group <&2 echo "The output below might help to resolve the issue" >&2 cat /etc/group echo "group md5sum: $group_hash" >&2 ERRCNT=1 fi # /etc/gshadow if [ "$gshadow_bootstrap" = "$gshadow_hash" ]; then cat > /etc/gshadow <&2 echo "The output below might help to resolve the issue" >&2 cat /etc/gshadow echo "gshadow md5sum: $gshadow_hash" >&2 ERRCNT=1 fi if [ -n "$ERRCNT" ]; then echo "There were changes to the password database," >&2 echo "please adjust the values in the livecd-rootfs source in the file:" >&2 echo "live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early" >&2 echo >&2 echo "Please check also if a maintainer script of the package" >&2 echo "that added these entries perhaps created a home directory and," >&2 echo "if needed, add code for creation of it to the above hook" >&2 exit 1 fi # Record the current state for later comparison for file in /etc/passwd /etc/shadow /etc/group /etc/gshadow; do rm -f ${file}- cp ${file} ${file}.orig done livecd-rootfs-2.408/live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary0000664000000000000000000000061212706147572024614 0ustar #!/bin/sh set -ex echo "I: Creating warning to use snappy when apt-get is used" PREFIX=binary/boot/filesystem.dir mkdir -p $PREFIX/usr/local/bin cat >$PREFIX/usr/local/bin/no-apt <&2 mkdir -p /usr/share/snappy/ apt list --installed apparmor ubuntu-core-security-* > /usr/share/snappy/security-policy-version livecd-rootfs-2.408/live-build/ubuntu-core/hooks/99zz-check-uid-gid.chroot0000775000000000000000000000355712706147572023316 0ustar #!/bin/sh -eu ERRCNT="" passwd_hash=$(set -- $(md5sum /etc/passwd) && echo $1) shadow_hash=$(set -- $(cat /etc/shadow | sed "s/:.*:0:99999:/:0:99999:/g" | md5sum) && echo $1) group_length=$(cat /etc/group | wc -l) gshadow_length=$(cat /etc/gshadow | wc -l) passwd_orig_hash=$(set -- $(md5sum /etc/passwd.orig) && echo $1) shadow_orig_hash=$(set -- $(cat /etc/shadow.orig | sed "s/:.*:0:99999:/:0:99999:/g" | md5sum) && echo $1) group_orig_length=$(cat /etc/group.orig | wc -l) gshadow_orig_length=$(cat /etc/gshadow.orig | wc -l) if [ "$passwd_hash" != "$passwd_orig_hash" ]; then echo "/etc/passwd has changed during setup." >&2 echo "The new /etc/passwd md5sum is: $passwd_hash" >&2 diff -Nrup /etc/passwd.orig /etc/passwd >&2 || true ERRCNT=1 fi if [ "$shadow_hash" != "$shadow_orig_hash" ]; then echo "/etc/shadow has changed during setup." >&2 echo "The new /etc/shadow md5sum is: $shadow_hash" >&2 diff -Nrup /etc/shadow.orig /etc/shadow >&2 || true ERRCNT=1 fi if [ "$group_length" != "$group_orig_length" ]; then echo "/etc/group has changed during setup." >&2 diff -Nrup /etc/group.orig /etc/group >&2 || true ERRCNT=1 fi if [ "$gshadow_length" != "$gshadow_orig_length" ]; then echo "/etc/gshadow has changed during setup." >&2 diff -Nrup /etc/gshadow.orig /etc/gshadow >&2 || true ERRCNT=1 fi if [ -n "$ERRCNT" ]; then echo "There were changes to the password database," >&2 echo "please adjust the values in the livecd-rootfs source in the file:" >&2 echo "live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early" >&2 echo >&2 echo "Please check also if a maintainer script of the package" >&2 echo "that added these entries perhaps created a home directory and," >&2 echo "if needed, add code for creation of it to the above hook" >&2 exit 1 fi rm /etc/passwd.orig /etc/shadow.orig /etc/group.orig /etc/gshadow.orig livecd-rootfs-2.408/live-build/ubuntu-core/hooks/14-set-motd.chroot0000664000000000000000000000047112706147572022041 0ustar #!/bin/sh cat >/etc/motd< /usr/sbin/grub-install <<'EOF' #! /bin/sh echo "grub-install: diverted by livecd-rootfs (will be called later)" >&2 exit 0 EOF chmod +x /usr/sbin/grub-install ;; esac livecd-rootfs-2.408/live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot0000664000000000000000000000011612706147572024470 0ustar #!/bin/sh set -e # we want a really minimal image apt-get purge -y locales livecd-rootfs-2.408/live-build/ubuntu-core/hooks/13-set-locale.chroot0000664000000000000000000000010412706147572022325 0ustar #!/bin/sh set -e cat >/etc/default/locale<> /var/lib/extrausers/group grep "^$USER" /etc/passwd >> /var/lib/extrausers/passwd grep "^$USER" /etc/shadow >> /var/lib/extrausers/shadow grep "^$USER" /etc/gshadow >> /var/lib/extrausers/gshadow chmod 0644 /var/lib/extrausers/group chmod 0644 /var/lib/extrausers/passwd chmod 0640 /var/lib/extrausers/shadow chmod 0640 /var/lib/extrausers/gshadow chown root:shadow /var/lib/extrausers/shadow chown root:shadow /var/lib/extrausers/gshadow sed -i "/^$USER/d" /etc/group sed -i "/^$USER/d" /etc/passwd sed -i "/^$USER/d" /etc/shadow sed -i "/^$USER/d" /etc/gshadow touch /var/lib/extrausers/subuid touch /var/lib/extrausers/subgid # needs to run *after* the user was moved out to /var/lib/extrausers echo "I: set user $USER password to $USER" echo "$USER:$USER" | chpasswd livecd-rootfs-2.408/live-build/ubuntu-core/hooks/20-extra-files.chroot0000775000000000000000000000030312706147572022522 0ustar #! /bin/sh set -e echo "creating mtab and modules dir" >&2 ln -sf ../proc/self/mounts /etc/mtab mkdir -p /lib/modules mkdir -p /lib/firmware mkdir -p /writable mkdir -p /var/lib/systemd/rfkill livecd-rootfs-2.408/live-build/ubuntu-core/hooks/25-create-generic-initrd.chroot0000775000000000000000000000122212706147572024451 0ustar #! /bin/sh set -ex IVER="$(dpkg -s initramfs-tools-ubuntu-core | \ sed -n '/^Version:/{s/^[^: ]*: \([^: ]*\).*/\1/;p;}')" # fail the build if we did not find the snappy initrd package [ -n "$IVER" ] || exit 1 # force lzma mkdir -p /etc/initramfs-tools/conf.d echo "COMPRESS=lzma" >/etc/initramfs-tools/conf.d/snappy-generic-initrd.conf update-initramfs.REAL -c -kcore-$IVER -v cd /boot ln -s initrd.img-core-$IVER initrd.img-core cd - sha1sum /boot/initrd.img-core >/var/lib/initramfs-tools/core # for snapcraft backwards compatibility mkdir -p /usr/lib/ubuntu-core-generic-initrd cp -a /boot/initrd.img-core* /usr/lib/ubuntu-core-generic-initrd/ livecd-rootfs-2.408/live-build/ubuntu-core/hooks/03-boot_with_systemd.chroot0000775000000000000000000000052612706147572024055 0ustar #!/bin/sh -x # Boot using systemd and disable quiet boot # to see what is happening. systemd=/lib/systemd/systemd if [ -f /etc/default/grub ]; then sed -i \ -e "s,^\\([ ]*GRUB_CMDLINE_LINUX\\)=\"\"$,\\1=\"init=$systemd\",g" \ -e 's,^\([ ]*GRUB_CMDLINE_LINUX_DEFAULT\)="quiet splash",\1="",g' \ /etc/default/grub fi livecd-rootfs-2.408/live-build/ubuntu-cpc/0000775000000000000000000000000012706147572015333 5ustar livecd-rootfs-2.408/live-build/ubuntu-cpc/functions0000664000000000000000000001613512706147572017274 0ustar # vi: ts=4 expandtab syntax=sh CLOUD_IMG_STR="# CLOUD_IMG: This file was created/modified by the Cloud Image build process" IMAGE_SIZE=$((2252*1024**2)) # 2.2G (the current size we ship) rootfs_dev_mapper= loop_device= loop_raw= backing_img= apt-get -qqy install dosfstools gdisk clean_loops() { if [ -n "${backing_img}" ]; then kpartx -v -d "${backing_img}" unset backing_img fi if [ -z "${rootfs_dev_mapper}" ]; then return 0 fi unset loop_device unset loop_raw unset rootfs_dev_mapper } create_empty_disk_image() { # Prepare an empty disk image dd if=/dev/zero of="$1" bs=1 count=0 seek="${IMAGE_SIZE}" } make_ext4_partition() { device="$1" mkfs.ext4 -F -b 4096 -i 8192 -m 0 -L cloudimg-rootfs -E resize=536870912 "$device" } mount_image() { apt-get install -qqy kpartx trap clean_loops EXIT backing_img="$1" local rootpart="$2" kpartx_mapping="$(kpartx -s -v -a ${backing_img})" # Find the loop device loop_p1="$(echo -e ${kpartx_mapping} | head -n1 | awk '{print$3}')" loop_device="/dev/loop$(echo ${loop_p1} | cut -b5)" if [ ! -b ${loop_device} ]; then echo "unable to find loop device for ${backing_img}" exit 1 fi # Find the rootfs location rootfs_dev_mapper="/dev/mapper/${loop_p1%%[0-9]}${rootpart}" if [ ! -b "${rootfs_dev_mapper}" ]; then echo "${rootfs_dev_mapper} is not a block device"; exit 1 fi # Add some information to the debug logs echo "Mounted disk image ${backing_img} to ${rootfs_dev_mapper}" blkid ${rootfs_dev_mapper} return 0 } setup_mountpoint() { local mountpoint="$1" mount --bind /dev "$mountpoint/dev" mount devpts-live -t proc "$mountpoint/dev/pts" mount proc-live -t proc "$mountpoint/proc" mount sysfs-live -t sysfs "$mountpoint/sys" mount -t tmpfs none "$mountpoint/tmp" mv "$mountpoint/etc/resolv.conf" resolv.conf.tmp cp /etc/resolv.conf "$mountpoint/etc/resolv.conf" } mount_partition() { partition="$1" mountpoint="$2" mount "$partition" "$mountpoint" setup_mountpoint "$mountpoint" } mount_disk_image() { local disk_image=${1} local mountpoint=${2} mount_image ${disk_image} 1 mount_partition "${rootfs_dev_mapper}" $mountpoint local uefi_dev="/dev/mapper${loop_device///dev/}p15" if [ -b ${uefi_dev} -a -e $mountpoint/boot/efi ]; then mount "${uefi_dev}" $mountpoint/boot/efi fi # This is needed to allow for certain operations # such as updating grub and installing software cat > $mountpoint/usr/sbin/policy-rc.d << EOF #!/bin/sh # ${CLOUD_IMG_STR} echo "All runlevel operations denied by policy" >&2 exit 101 EOF chmod 0755 $mountpoint/usr/sbin/policy-rc.d } umount_settle() { # Unmount device, and let it settle umount $1 udevadm settle sleep 3 } umount_partition() { local mountpoint=${1} mv resolv.conf.tmp "$mountpoint/etc/resolv.conf" for submnt in proc sys dev/pts dev tmp; do umount_settle $mountpoint/$submnt done umount_settle $mountpoint if [ -n "${rootfs_dev_mapper}" -a -b "${rootfs_dev_mapper}" ]; then # buildd's don't have /etc/mtab symlinked # /etc/mtab is needed in order zerofree space for ext4 filesystems [ -e /etc/mtab ] || ln -s /proc/mounts /etc/mtab # both of these are likely overkill, but it does result in slightly # smaller ext4 filesystem apt-get -qqy install zerofree e2fsck -y -E discard ${rootfs_dev_mapper} zerofree ${rootfs_dev_mapper} fi } umount_disk_image() { mountpoint="$1" local uefi_dev="/dev/mapper${loop_device///dev/}p15" if [ -e "$mountpoint/boot/efi" -a -b "$uefi_dev" ]; then umount --detach-loop "$mountpoint/boot/efi" fi if [ -e $mountpoint/usr/sbin/policy-rc.d ]; then rm $mountpoint/usr/sbin/policy-rc.d fi umount_partition $mountpoint clean_loops } modify_vmdk_header() { # Modify the VMDK headers so that both VirtualBox _and_ VMware can # read the vmdk and import them. The vodoo here is _not_ documented # anywhere....so this will have to do. This is undocumented vodoo # that has been learned by the Cloud Image team. vmdk_name="${1}" descriptor=$(mktemp) newdescriptor=$(mktemp) # Extract the vmdk header for manipulation dd if="${vmdk_name}" of="${descriptor}" bs=1 skip=512 count=1024 # The sed lines below is where the magic is. Specifically: # ddb.toolsVersion: sets the open-vm-tools so that VMware shows # the tooling as current # ddb.virtualHWVersion: set the version to 7, which covers most # current versions of VMware # createType: make sure its set to stream Optimized # remove the vmdk-stream-converter comment and replace with # # Disk DescriptorFile. This is needed for Virtualbox # remove the comments from vmdk-stream-converter which causes # VirtualBox and others to fail VMDK validation sed -e 's|# Description file.*|# Disk DescriptorFile|' \ -e '/# Believe this is random*/d' \ -e '/# Indicates no parent/d' \ -e '/# The Disk Data Base/d' \ -e 's|ddb.comment.*|ddb.toolsVersion = "2147483647"|' \ "${descriptor}" > "${newdescriptor}" # The header is cannot be bigger than 1024 expr $(stat --format=%s ${newdescriptor}) \< 1024 > /dev/null 2>&1 || { echo "descriptor is too large, VMDK will be invalid!"; exit 1; } # Overwrite the vmdk header with our new, modified one dd conv=notrunc,nocreat \ if="${newdescriptor}" of="${vmdk_name}" \ bs=1 seek=512 count=1024 rm ${descriptor} ${newdescriptor} } create_vmdk() { # There is no real good way to create a _compressed_ VMDK using open source # tooling that works across multiple VMDK-capable platforms. This functions # uses vmdk-stream-converter and then calls modify_vmdk_header to produce a # compatible VMDK. src="$1" destination="$2" size="${3:-10240}" apt-get install -qqy qemu-utils vmdk-stream-converter streamconverter="/usr/share/pyshared/VMDKstream.py" scratch_d=$(mktemp -d) cp ${src} ${scratch_d}/resize.img truncate --size=${size}M ${scratch_d}/resize.img python ${streamconverter} ${scratch_d}/resize.img ${destination} modify_vmdk_header ${destination} qemu-img info ${destination} rm -rf ${scratch_d} } create_derivative() { # arg1 is the disk type # arg2 is the new name unset derivative_img case ${1} in uefi) disk_image="binary/boot/disk-uefi.ext4"; dname="${disk_image//-uefi/-$2-uefi}";; *) disk_image="binary/boot/disk.ext4"; dname="${disk_image//.ext4/-$2.ext4}";; esac if [ ! -e ${disk_image} ]; then echo "Did not find ${disk_image}!"; exit 1; fi cp ${disk_image} ${dname} export derivative_img=${dname} } convert_to_qcow2() { apt-get install -qqy qemu-utils src="$1" destination="$2" qemu-img convert -c -O qcow2 -o compat=0.10 "$src" "$destination" qemu-img info "$destination" } livecd-rootfs-2.408/live-build/ubuntu-cpc/includes.chroot/0000775000000000000000000000000012706147572020436 5ustar livecd-rootfs-2.408/live-build/ubuntu-cpc/includes.chroot/etc/0000775000000000000000000000000012706147572021211 5ustar livecd-rootfs-2.408/live-build/ubuntu-cpc/includes.chroot/etc/network/0000775000000000000000000000000012706147572022702 5ustar livecd-rootfs-2.408/live-build/ubuntu-cpc/includes.chroot/etc/network/interfaces.d/0000775000000000000000000000000012706147572025247 5ustar livecd-rootfs-2.408/live-build/ubuntu-cpc/includes.chroot/etc/network/interfaces0000664000000000000000000000064112706147572024751 0ustar # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # Source interfaces # Please check /etc/network/interfaces.d before changing this file # as interfaces may have been defined in /etc/network/interfaces.d # See LP: #1262951 source /etc/network/interfaces.d/*.cfg livecd-rootfs-2.408/live-build/ubuntu-cpc/includes.chroot/etc/hosts0000664000000000000000000000033512706147572022275 0ustar 127.0.0.1 localhost # 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 livecd-rootfs-2.408/live-build/ubuntu-cpc/includes.chroot/etc/hostname0000664000000000000000000000000712706147572022747 0ustar ubuntu livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/0000775000000000000000000000000012706147572016456 5ustar livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/040-qcow2-image.binary0000775000000000000000000000114312706147572022302 0ustar #!/bin/bash -ex case $ARCH:$SUBARCH in # Not sure if any other cloud images use subarch for something that # should take qcow2 format, so only skipping this on raspi2 for now. armhf:raspi2) apt-get install -qqy pxz pxz -T4 -c binary/boot/disk.ext4 > livecd.ubuntu-cpc.disk1.img.xz exit 0 ;; esac apt-get install -qqy qemu-utils . /build/config/functions if [ -f binary/boot/disk.ext4 ]; then convert_to_qcow2 binary/boot/disk.ext4 livecd.ubuntu-cpc.disk1.img fi if [ -f binary/boot/disk-uefi.ext4 ]; then convert_to_qcow2 binary/boot/disk-uefi.ext4 livecd.ubuntu-cpc.uefi1.img fi livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/034-disk-image-ppc64el.binary0000775000000000000000000000354212706147572023464 0ustar #!/bin/bash -eux case $ARCH in ppc64el|powerpc) ;; *) exit 0 ;; esac . /build/config/functions create_partitions() { disk_image="$1" apt-get install -qqy gdisk sgdisk "${disk_image}" \ --zap-all sgdisk "${disk_image}" \ --new=2::+8M \ --new=1: sgdisk "${disk_image}" -t 2:4100 sgdisk "${disk_image}" \ --print } install_grub() { mkdir mountpoint mount_partition "${rootfs_dev_mapper}" mountpoint chroot mountpoint apt-get -qqy install grub2 chroot mountpoint apt-get -qqy remove --purge grub-legacy-ec2 # set the kernel commandline to use hvc0 mkdir -p mountpoint/etc/default/grub.d cat << EOF > mountpoint/etc/default/grub.d/50-cloudimg-settings.cfg ${CLOUD_IMG_STR} # Set the recordfail timeout GRUB_RECORDFAIL_TIMEOUT=0 # Do not wait on grub prompt GRUB_TIMEOUT=0 # Set the default commandline GRUB_CMDLINE_LINUX_DEFAULT="console=hvc0 earlyprintk" EOF prep_partition="/dev/mapper${loop_device///dev/}p2" chroot mountpoint grub-install "${prep_partition}" \ --no-nvram \ --boot-directory=/boot \ --target=powerpc-ieee1275 chroot mountpoint dpkg-divert --local --rename /etc/grub.d/30_os-prober chroot mountpoint update-grub sed -i "s,root=.* ,root=LABEL=cloudimg-rootfs ,g" mountpoint/boot/grub/grub.cfg chroot mountpoint dpkg-divert --remove --local --rename /etc/grub.d/30_os-prober umount_partition mountpoint rmdir mountpoint } disk_image=binary/boot/disk.ext4 create_empty_disk_image "${disk_image}" create_partitions "${disk_image}" mount_image "${disk_image}" 1 # Copy the chroot in to the disk make_ext4_partition "${rootfs_dev_mapper}" mkdir mountpoint mount "${rootfs_dev_mapper}" mountpoint cp -a chroot/* mountpoint/ umount mountpoint rmdir mountpoint install_grub clean_loops trap - EXIT livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/042-vagrant.binary0000775000000000000000000001315412706147572021640 0ustar #!/bin/bash -eux # vi: ts=4 noexpandtab # # Generate a generic Vagrant Box. # # Vagrant images are essentially nothing more than OVA's with extra-metadata. # # We can't use the OVA's for Vagrant since Vagrant uses SSH to modify the instance. # This build step creates a cloud-config ISO so that Cloud-Init will configure # the initial user, creates meta-data that tells Vagrant how to interact with # the cloud-init created users, and finally create the OVA. # # For this step, we re-use the VMDK's made in 040-vmdk-image.binary cur_d=${PWD} my_d=$(dirname $(readlink -f ${0})) base_vmdk="livecd.ubuntu-cpc.disk1.vmdk" case $ARCH in amd64|i386) ;; *) echo "Vagrant images are not supported for $ARCH" exit 0 esac if [ ! -e ${base_vmdk} ]; then echo "Did not find VMDK to produce Vagrant images." exit 0 fi . /build/config/functions # Virtualbox is needed for making a small VMDK apt-get -qqy install genisoimage qemu-utils # Lets be safe about this box_d=$(mktemp -d) seed_d=$(mktemp -d) trap "rm -rf ${box_d} ${seed_d}" EXIT # Used to identify bits suite=$(chroot chroot lsb_release -c -s) version=$(chroot chroot lsb_release --release --short) distro=$(chroot chroot lsb_release --id --short | tr [:upper:] [:lower:]) # Get the VMDK in place prefix="${distro}-${suite}-${version}-cloudimg" vmdk_f="${box_d}/${prefix}.vmdk" cp ${base_vmdk} ${vmdk_f} # Vagrant needs a base user. We either inject the well-known SSH key # or use password authentication. Both are ugly. So we'll use a password # and make it random. This obviously is insecure...but at least its # better than the alternatives. ubuntu_user_pass=$(openssl rand -hex 12) #################################### # Create the ConfigDrive # This is a cloud-init piece that instructs cloud-init to configure # a default user at first boot. cdrom_vmdk_f="${box_d}/${prefix}-configdrive.vmdk" # Create the user-data. This is totally insecure, but so is Vagrant. To # mitigate this insecurity, the vagrant instance is not accessible # except via local host. cat > ${seed_d}/user-data < ${seed_d}/meta-data < ${box_d}/Vagrantfile < ${box_d}/metadata.json < "${manifest}" < "${manifest}" < "${idir}/${condev}.conf" # CONDEV - getty # # This service maintains a getty on CONDEV from the point the system is # started until it is shut down again. start on stopped rc RUNLEVEL=[2345] and ( not-container or container CONTAINER=lxc or container CONTAINER=lxc-libvirt) stop on runlevel [!2345] pre-start script # getty will not be started if the serial console is not present stty -F /dev/CONDEV -a 2> /dev/null > /dev/null || { stop ; exit 0; } end script respawn script exec /sbin/getty -L CONDEV 115200 vt102 end script ${CLOUD_IMG_STR} EOF sed -i "s/CONDEV/${condev}/g" "$idir/${condev}.conf" } fake_cloud_init() { # If the cloud does not provide a meta-data service this should be run # This will setup a nocloud datasource. seed_d="${rootd}/var/lib/cloud/seed/nocloud-net" mkdir -p "${seed_d}" # fake instance-id cat << EOF > "${seed_d}/meta-data" instance_id: cloud-image EOF # fake user-data to create the default user/password cat << EOF > "${seed_d}/user-data" #cloud-config password: ubuntu chpasswd: ubuntu ssh_pwauth: True EOF # tell cloud-init not to look for meta-data sources cat << EOF > ${rootd}/etc/cloud/cloud.cfg.d/99-fake_cloud.cfg # configure cloud-init for NoCloud datasource_list: [ NoCloud, None ] EOF } ## -------------- # remove 127.0.1.1 entry (LP: #440757) _xchroot "${rootd}" sh -c 'sed -i "/^127.0.1.1/d" /etc/hosts' ## -------------- # remove ssh pregenerated keys (LP: #512377) _xchroot "${rootd}" sh -c 'rm -f /etc/ssh/ssh_host_[rd]sa_key*' ## -------------- _xchroot "${rootd}" locale-gen en_US.utf8 ## -------------- # set cloud-init to be on values="NoCloud, ConfigDrive, AltCloud, OVF, MAAS, Ec2, None" printf "%s\t%s\t%s\t%s\n" \ cloud-init cloud-init/datasources multiselect "$values" | _xchroot "${rootd}" debconf-set-selections _xchroot "${rootd}" dpkg-reconfigure --frontend=noninteractive cloud-init ## -------------- # write some build information to the guest # the idea is that given runtime info and this info, the instance # can at least determine if there is a newer build available # these variables are passed in in environment from cloudimg-build-launcher if [ -n "${build_name}" -o -n "${serial}" ]; then d="${rootd}/etc/cloud" [ -d "$d" ] || mkdir -p "${d}" { [ -n "${build_name}" ] && echo "build_name: ${build_name}" [ -n "${serial}" ] && echo "serial: ${serial}" } > "$d/build.info" fi ## -------------- # for maverick and newer, use LABEL= for the '/' entry in fstab if [ -n "${root_fs_label}" ]; then bl="[:blank:]" lstr="LABEL=${root_fs_label}" sed -i "s,^[^#${bl}]*\([${bl}]*/[${bl}].*\),${lstr}\1," "${rootd}/etc/fstab" fi cat > /etc/fstab << EOM LABEL=cloudimg-rootfs / ext4 defaults 0 0 EOM ## Make sure that the update-motd.d directory exists [ ! -e "${rootd}/etc/update-motd.d" ] && mkdir -p "${rootd}/etc/update-motd.d" ## write a MOTD file advertising support for images cat > "${rootd}/etc/update-motd.d/51-cloudguest" << EOF #!/bin/sh # ${CLOUD_IMG_STR} # This file is not managed by a package. If you no longer want to # see this message you can safely remove the file. echo "" echo " Get cloud support with Ubuntu Advantage Cloud Guest:" echo " http://www.ubuntu.com/business/services/cloud" EOF chmod +x "${rootd}/etc/update-motd.d/51-cloudguest" # for quantal and newer, add /etc/overlayroot.local.conf # but do not overwrite anything that somehow got there if [ -f "${rootd}/etc/overlayroot.conf" ] && [ ! -f "${rootd}/etc/overlayroot.local.conf" ]; then { echo "${CLOUD_IMG_STR}" echo "overlayroot_cfgdisk=LABEL=OROOTCFG" } > "${rootd}/etc/overlayroot.local.conf" fi #### END COMMON ARCH FUNCTIONS case $arch in # ARM images are special armhf|arm64) echo "Configuring ARM Serial Port" add_serial_console ttyAMA0 # Dirty hack because SUBARCH doesn't exist when running chroot hooks, # and we don't want raspi2 images to depend on a cloud data source: if _xchroot "${rootd}" dpkg -l linux-image-raspi2 2>/dev/null | grep -q '^.i'; then fake_cloud_init fi echo "Image architecture is ARM. Existing vmbuilder-fixups" exit 0 ;; ## Add ttyS0 for i386/amd64 for Trusty and newer i386|amd64) add_serial_console ttyS0 ;; powerpc|ppc64el) add_serial_console hvc0 exit 0 ;; s390x) exit 0 ;; esac psuedo_grub_probe() { cat <<"PSUEDO_GRUB_PROBE" #!/bin/sh Usage() { cat <&2; fail "$@"; } short_opts="" long_opts="device-map:,target:,device" getopt_out=$(getopt --name "${0##*/}" \ --options "${short_opts}" --long "${long_opts}" -- "$@") && eval set -- "${getopt_out}" || bad_Usage device_map="" target="" device=0 arg="" while [ $# -ne 0 ]; do cur=${1}; next=${2}; case "$cur" in --device-map) device_map=${next}; shift;; --device) device=1;; --target) target=${next}; shift;; --) shift; break;; esac shift; done arg=${1} case "${target}:${device}:${arg}" in device:*:/*) echo "/dev/sda1"; exit 0;; fs:*:*) echo "ext2"; exit 0;; partmap:*:*) # older versions of grub (lucid) want 'part_msdos' written # rather than 'msdos' legacy_pre="" grubver=$(dpkg-query --show --showformat '${Version}\n' grub-pc 2>/dev/null) && dpkg --compare-versions "${grubver}" lt 1.98+20100804-5ubuntu3 && legacy_pre="part_" echo "${legacy_pre}msdos"; exit 0;; abstraction:*:*) echo ""; exit 0;; drive:*:/dev/sda) echo "(hd0)";; drive:*:/dev/sda*) echo "(hd0,1)";; fs_uuid:*:*) exit 1;; esac PSUEDO_GRUB_PROBE } ## install / setup grub2 gprobe="${rootd}/usr/sbin/grub-probe" moved=0 if [ -f "${gprobe}" ]; then mv "${gprobe}" "${gprobe}.dist" moved=1 fi psuedo_grub_probe > "${gprobe}" chmod 755 "${gprobe}" # for Quantal and later, use /etc/default/grub.d functionality # rather than modifying the grub configuration itself. # This avoids the mess of having to do dpkg stuff # LP: 1179940 mkdir -p "${rootd}/etc/default/grub.d" cat << EOF > "${rootd}/etc/default/grub.d/50-cloudimg-settings.cfg" # Cloud Image specific Grub settings for Generic Cloud Images ${CLOUD_IMG_STR} # Set the recordfail timeout GRUB_RECORDFAIL_TIMEOUT=0 # Do not wait on grub prompt GRUB_TIMEOUT=0 # Set the default commandline GRUB_CMDLINE_LINUX_DEFAULT="console=tty1 console=ttyS0" # Set the grub console type GRUB_TERMINAL=console EOF _xchroot "${rootd}" update-grub2 # since this is a disk image, we technically don't need to install all the # grub modules, as the image itself is not bootable. This makes for a small # disk image _xchroot "${rootd}" update-grub # reconfigure grub so that upgrades to grub-pc do not force a debconf config # changed prompt (LP: #1009294). This re-runs update-grub _xchroot "${rootd}" env DEBIAN_FRONTEND=noninteractive \ dpkg-reconfigure grub-pc grub2cfg="${rootd}/boot/grub/grub.cfg" [ ! -f "${grub2cfg}" ] || sed -i -e "s,root=/dev/[hs]da1,root=LABEL=${root_fs_label}," "${grub2cfg}" [ ${moved} -eq 0 ] || mv "${gprobe}.dist" "${gprobe}" ## modify /boot/grub/menu.lst if it exists ## this is generated at install time by grub-legacy-ec2, but will have ## devices as found from the _xchroot. Here we write what it will be on ec2 if [ -f "${rootd}/boot/grub/menu.lst" ]; then grub_root="(hd0)" linux_root=/dev/sda1 [ -n "${root_fs_label}" ] && linux_root="LABEL=${root_fs_label}" # the sed code below basically fixes/sets the following lines in a # /boot/grub/menu.lst file: # # kopt=root=xxxxxxx ro # kernel /boot/vmlinuz-... root=xxxxxx .... # # groot=xxxxx # root xxxxx # uuuid xxxxx sed -i "${rootd}/boot/grub/menu.lst" \ -e "s|^\(# kopt=root=\)[^ ]*|\1${linux_root}|" \ -e "s|^\(kernel.*root=\)[^ ]*|\1${linux_root}|" \ -e "s|^\(# groot=\)[^ ]*|\1${grub_root}|" \ -e "s|^\(root\|uuid\)\([[:space:]]*\).*|root\2${grub_root}|" # grub-legacy-ec2 writes this ucf entry. since we've modified # /boot/grub/menu.lst, we have to remove it, or the user will # get prompted for a 3 way merge of the changes the first time this runs _xchroot "${rootd}" /usr/bin/ucfr --purge grub /var/run/grub/menu.lst fi # vi: ts=3 expandtab livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/052-ssh_authentication.chroot0000775000000000000000000000014512706147572024101 0ustar #!/bin/bash sed -i "s|#PasswordAuthentication yes|PasswordAuthentication no|g" /etc/ssh/sshd_config livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/999-undivert-sync.chroot0000775000000000000000000000012312706147572023037 0ustar #! /bin/sh set -e rm -f /bin/sync dpkg-divert --quiet --remove --rename /bin/sync livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/030-root-tarball.binary0000775000000000000000000000242412706147572022573 0ustar #!/bin/bash -ex if [ -n "$SUBARCH" ]; then echo "Skipping rootfs build for subarch flavor build" exit 0 fi . /build/config/functions mkdir binary/boot/filesystem.dir cp -a chroot/* binary/boot/filesystem.dir setup_mountpoint binary/boot/filesystem.dir chroot binary/boot/filesystem.dir dpkg-divert --local --rename /usr/sbin/grub-probe chroot binary/boot/filesystem.dir touch /usr/sbin/grub-probe chroot binary/boot/filesystem.dir chmod +x /usr/sbin/grub-probe env DEBIAN_FRONTEND=noninteractive chroot binary/boot/filesystem.dir apt-get --purge remove --assume-yes '^linux-.*' 'linux-base+' env DEBIAN_FRONTEND=noninteractive chroot binary/boot/filesystem.dir apt-get --purge remove --assume-yes '^grub-.*' env DEBIAN_FRONTEND=noninteractive chroot binary/boot/filesystem.dir apt-get autoremove --purge --assume-yes chroot binary/boot/filesystem.dir mkdir /lib/modules chroot binary/boot/filesystem.dir rm /usr/sbin/grub-probe chroot binary/boot/filesystem.dir dpkg-divert --remove --local --rename /usr/sbin/grub-probe mv resolv.conf.tmp "binary/boot/filesystem.dir/etc/resolv.conf" umount "binary/boot/filesystem.dir/proc" umount "binary/boot/filesystem.dir/sys" umount "binary/boot/filesystem.dir/dev/pts" umount "binary/boot/filesystem.dir/dev" umount "binary/boot/filesystem.dir/tmp" livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/040-vmdk-image.binary0000775000000000000000000000075012706147572022213 0ustar #!/bin/bash -eux # vi: ts=4 expandtab # # Generate VMDK files extension="disk1.vmdk" case $ARCH in i386|amd64) ;; *) echo "VMDK images are not supported for $ARCH yet."; exit 0;; esac . /build/config/functions if [ -e binary/boot/disk.ext4 ]; then create_vmdk binary/boot/disk.ext4 livecd.ubuntu-cpc.disk1.vmdk fi if [ -e binary/boot/disk-uefi.ext4 ]; then create_vmdk binary/boot/disk-uefi.ext4 livecd.ubuntu-cpc.uefi.vmdk fi livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/060-ipv6.chroot0000775000000000000000000000072312706147572021072 0ustar #!/bin/bash # # Disable IPv6 privacy extensions on Utopic and later # codename=$(sh -c 'lsb_release --short --codename') dist_ge() { [[ "$1" > "$2" || "$1" == "$2" ]]; } if ! dist_ge "${codename}" "trusty"; then exit 0 fi cat << EOF > /etc/sysctl.d/99-cloudimg-ipv6.conf # Written by the Cloud Image build process # See https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1068756 net.ipv6.conf.all.use_tempaddr = 0 net.ipv6.conf.default.use_tempaddr = 0 EOF livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/020-pkg-configure.chroot0000775000000000000000000000206712706147572022745 0ustar #!/bin/bash # Configure certain packages ## console-setup # Select the fontface printf "%s\t%s\t%s\t%s\n" \ console-setup console-setup/console-setup/fontface47 string "Fixed" debconf-set-selections || { echo "FAILED to setup console fontface"; exit 1; } # Select the code page for font printf "%s\t%s\t%s\t%s\n" \ console-setup console-setup/codesetcode string "Uni2" | debconf-set-selections || { echo "FAILED to setup console code page to Uni2"; exit 1; } # Set Language string for codepage 47 printf "%s\t%s\t%s\t%s\n" \ console-setup console-setup/codeset47 string ". Combined - Latin; Slavic Cyrillic; Greek" | debconf-set-selections || { echo "FAILED to setup codeset47 to proper string"; exti 1; } # Replace the console font and typ ein /etc/default/console-setup sed -i -e 's,^CODESET.*,CODESET="Uni2",g' \ -e 's,^FONTFACE.*,FONTFACE="Fixed",g' \ /etc/default/console-setup # Configure the console-setup dpkg-reconfigure --frontend=noninteractive console-setup || { echo "FAILED to recofigure console-setup"; exit 1; } livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/001-divert-sync.chroot_early0000775000000000000000000000030212706147572023635 0ustar #!/bin/sh set -e dpkg-divert --quiet --add --divert /bin/sync.REAL --rename /bin/sync cat > /bin/sync <<'EOF' #! /bin/sh echo "$0: diverted by livecd-rootfs" >&2 exit 0 EOF chmod +x /bin/sync livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/010-write-etc-ec2-version.chroot0000775000000000000000000000011612706147572024232 0ustar #!/bin/bash -eux . /etc/os-release echo "Ubuntu $VERSION" > /etc/ec2_version livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/051-hwclock.chroot0000775000000000000000000000007312706147572021636 0ustar #!/bin/bash printf "HWCLOCKACCESS=no" >> /etc/default/rcS livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/031-root-xz.binary0000775000000000000000000000047712706147572021622 0ustar #!/bin/bash -ex # vi: ts=4 noexpandtab # # Generate the rootfs.tar.gz and manifest if [ -n "$SUBARCH" ]; then exit 0 fi dpkg-query --admindir=binary/boot/filesystem.dir/var/lib/dpkg -W > livecd.ubuntu-cpc.rootfs.manifest (cd "binary/boot/filesystem.dir/" && tar -c *) | \ xz > "livecd.ubuntu-cpc.rootfs.tar.xz" livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/032-root-squashfs.binary0000775000000000000000000000070612706147572023012 0ustar #!/bin/bash -ex # vi: ts=4 noexpandtab # # Generate a squashfs root and manifest if [ -n "$SUBARCH" ]; then exit 0 fi apt-get -qqy install squashfs-tools squashfs_f="${PWD}/livecd.ubuntu-cpc.squashfs" squashfs_f_manifest="${squashfs_f}.manifest" dpkg-query --admindir=binary/boot/filesystem.dir/var/lib/dpkg -W > ${squashfs_f_manifest} (cd "binary/boot/filesystem.dir/" && mksquashfs . ${squashfs_f} \ -no-progress -xattrs -comp xz ) livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/ovf/0000775000000000000000000000000012706147572017250 5ustar livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/ovf/ubuntu-ova-v1-vmdk.tmpl0000664000000000000000000002465312706147572023550 0ustar Virtual disk information The list of logical networks The VM Network network A virtual machine @@NAME@@ The kind of installed guest operating system Cloud-Init customization Ubuntu @@VERSION@@ Server (@@DATE@@) Specifies the instance id. This is required and used to determine if the machine should take "first boot" actions Specifies the hostname for the appliance This field is optional, but indicates that the instance should 'seed' user-data and meta-data from the given url. If set to 'http://tinyurl.com/sm-' is given, meta-data will be pulled from http://tinyurl.com/sm-meta-data and user-data from http://tinyurl.com/sm-user-data. Leave this empty if you do not want to seed from a url. This field is optional, but indicates that the instance should populate the default user's 'authorized_keys' with this value In order to fit into a xml attribute, this value is base64 encoded . It will be decoded, and then processed normally as user-data. If set, the default user's password will be set to this value to allow password based login. The password will be good for only a single login. If set to the string 'RANDOM' then a random password will be generated, and written to the console. Virtual hardware requirements Virtual Hardware Family 0 @@NAME@@ vmx-10 hertz * 10^6 Number of Virtual CPUs @@NUM_CPUS@@ virtual CPU(s) 1 3 @@NUM_CPUS@@ byte * 2^20 Memory Size @@MEM_SIZE@@MB of memory 2 4 @@MEM_SIZE@@ 0 SCSI Controller SCSI Controller 0 3 VirtualSCSI 6 1 IDE Controller VirtualIDEController 1 4 5 0 IDE Controller VirtualIDEController 0 5 5 false VirtualVideoCard 6 24 false VirtualVMCIDevice 7 vmware.vmci 1 0 false CD-ROM 1 8 4 vmware.cdrom.remotepassthrough 15 0 Hard Disk 1 ovf:/disk/vmdisk1 9 3 17 0 false Floppy Drive Floppy 1 10 vmware.floppy.remotedevice 14 7 true VM Network VmxNet3 ethernet adapter on "VM Network" Ethernet 1 11 VmxNet3 10 livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/ovf/ubuntu-ovf-v1-img.tmpl0000664000000000000000000001563012706147572023363 0ustar Virtual disk information The list of logical networks The bridged network A virtual machine $VIRTUAL_SYSTEM_NAME $VIRTUAL_SYSTEM_OS_INFO Cloud-Init customization $VIRTUAL_SYSTEM_OS_INFO Specifies the instance id. This is required and used to determine if the machine should take "first boot" actions Specifies the hostname for the appliance This field is optional, but indicates that the instance should 'seed' user-data and meta-data from the given url. If set to 'http://tinyurl.com/sm-' is given, meta-data will be pulled from http://tinyurl.com/sm-meta-data and user-data from http://tinyurl.com/sm-user-data. Leave this empty if you do not want to seed from a url. This field is optional, but indicates that the instance should populate the default user's 'authorized_keys' with this value In order to fit into a xml attribute, this value is base64 encoded . It will be decoded, and then processed normally as user-data. If set, the default user's password will be set to this value to allow password based login. The password will be good for only a single login. If set to the string 'RANDOM' then a random password will be generated, and written to the console. Virtual hardware requirements Virtual Hardware Family 0 $VIRTUAL_SYSTEM_IDENTIFIER $VIRTUAL_SYSTEM_TYPES hertz * 10^6 Number of Virtual CPUs 1 virtual CPU(s) 1 3 1 byte * 2^20 Memory Size 256MB of memory 2 4 256 0 USB Controller usb 3 23 0 SCSI Controller scsiController0 4 lsilogic 6 1 IDE Controller ideController1 5 5 0 false cdrom1 6 5 15 0 disk1 ovf:/disk/vmdisk1 7 4 17 2 true bridged ethernet adapter on "bridged" ethernet0 8 E1000 10 $ANNOTATION_INFO $ANNOTATION livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/ovf/ubuntu-ova-v1-cloudcfg-vmdk.tmpl0000664000000000000000000002531512706147572025330 0ustar Virtual disk information The list of logical networks The VM Network network A virtual machine @@NAME@@ The kind of installed guest operating system Cloud-Init customization Ubuntu @@VERSION@@ Server (@@DATE@@) Specifies the instance id. This is required and used to determine if the machine should take "first boot" actions Specifies the hostname for the appliance This field is optional, but indicates that the instance should 'seed' user-data and meta-data from the given url. If set to 'http://tinyurl.com/sm-' is given, meta-data will be pulled from http://tinyurl.com/sm-meta-data and user-data from http://tinyurl.com/sm-user-data. Leave this empty if you do not want to seed from a url. This field is optional, but indicates that the instance should populate the default user's 'authorized_keys' with this value In order to fit into a xml attribute, this value is base64 encoded . It will be decoded, and then processed normally as user-data. If set, the default user's password will be set to this value to allow password based login. The password will be good for only a single login. If set to the string 'RANDOM' then a random password will be generated, and written to the console. Virtual hardware requirements Virtual Hardware Family 0 @@NAME@@ vmx-10 hertz * 10^6 Number of Virtual CPUs @@NUM_CPUS@@ virtual CPU(s) 1 3 @@NUM_CPUS@@ byte * 2^20 Memory Size @@MEM_SIZE@@MB of memory 2 4 @@MEM_SIZE@@ 0 SCSI Controller SCSI Controller 0 3 VirtualSCSI 6 1 IDE Controller VirtualIDEController 1 4 5 0 IDE Controller VirtualIDEController 0 5 5 false VirtualVideoCard 6 24 false VirtualVMCIDevice 7 vmware.vmci 1 0 false CD-ROM 1 8 4 vmware.cdrom.remotepassthrough 15 0 Hard Disk 1 ovf:/disk/vmdisk1 9 3 17 1 ConfigDriveDisk ovf:/disk/vmdisk2 10 3 17 7 true VM Network VmxNet3 ethernet adapter on "VM Network" Ethernet 1 11 VmxNet3 10 livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/032-disk-image.binary0000775000000000000000000000735212706147572022212 0ustar #!/bin/bash -ex . /build/config/functions BOOTPART_START= BOOTPART_END= BOOT_MOUNTPOINT= ROOTPART_START=1 case $ARCH:$SUBARCH in ppc64el:*|powerpc:*) echo "POWER disk images are handled separately" exit 0 ;; armhf:raspi2) # matches the size of the snappy image IMAGE_SIZE=$((4*1000*1000*1000)) BOOTPART_START=8192s BOOTPART_END=138M BOOT_MOUNTPOINT=/boot/firmware ;; *) ;; esac create_empty_partition_table() { apt-get install -qqy parted parted "$1" --script -- mklabel msdos } create_empty_partition() { local disk="$1" local part="$2" local start="$3" local end="$4" local type="$5" local bootable="$6" parted_prefix="parted $disk --script --" ${parted_prefix} mkpart primary "$type" "$start" "$end" if [ -n "$bootable" ]; then ${parted_prefix} set "$part" B fi ${parted_prefix} print ${parted_prefix} align-check opt "$part" } disk_image=binary/boot/disk.ext4 create_empty_disk_image "${disk_image}" create_empty_partition_table "${disk_image}" ROOTPART=1 ROOT_BOOTABLE=1 if [ -n "$BOOTPART_START" ]; then ROOTPART=2 ROOTPART_START="$BOOTPART_END" ROOT_BOOTABLE= create_empty_partition "$disk_image" 1 "$BOOTPART_START" "$BOOTPART_END" fat32 1 fi create_empty_partition "${disk_image}" "$ROOTPART" "$ROOTPART_START" -1 ext2 "$ROOT_BOOTABLE" mount_image "${disk_image}" "$ROOTPART" # Copy the chroot in to the disk make_ext4_partition "${rootfs_dev_mapper}" mkdir mountpoint mount "${rootfs_dev_mapper}" mountpoint if [ -n "$BOOT_MOUNTPOINT" ]; then boot_dev_mapper="${rootfs_dev_mapper%%[0-9]}1" # assume fat32 for now mkfs.vfat -n system-boot "$boot_dev_mapper" mkdir -p "mountpoint/$BOOT_MOUNTPOINT" mount "$boot_dev_mapper" "mountpoint/$BOOT_MOUNTPOINT" fi cp -a chroot/* mountpoint/ setup_mountpoint mountpoint case $ARCH:$SUBARCH in armhf:raspi2) chroot mountpoint flash-kernel \ --machine "Raspberry Pi 2 Model B" # not the best place for this, but neither flash-kernel nor # u-boot have provisions for installing u-boot via maintainer # script /build/config/hooks/raspi2/mkknlimg --dtok \ mountpoint/usr/lib/u-boot/rpi_2/u-boot.bin \ mountpoint/boot/firmware/uboot.bin ;; *) ;; esac case $ARCH in amd64|i386) should_install_grub=1;; *) should_install_grub=0;; esac if [ "${should_install_grub}" -eq 1 ]; then echo "(hd0) ${loop_device}" > mountpoint/tmp/device.map chroot mountpoint grub-install ${loop_device} chroot mountpoint grub-bios-setup \ --boot-image=i386-pc/boot.img \ --core-image=i386-pc/core.img \ --skip-fs-probe \ --device-map=/tmp/device.map \ ${loop_device} rm mountpoint/tmp/device.map fi if [ "$ARCH" = "s390x" ]; then # Do ZIPL install bits chroot mountpoint apt-get -qqy install s390-tools sysconfig-hardware # Write out cloudy zipl.conf for future kernel updates cat << EOF > mountpoint/etc/zipl.conf # This has been modified by the cloud image build process [defaultboot] default=ubuntu [ubuntu] target = /boot image = /boot/vmlinuz ramdisk = /boot/initrd.img parameters = root=LABEL=cloudimg-rootfs EOF # Kernel initramfs hooks end up creating a copy # rather than a symlink FIXME pushd mountpoint/boot ln -sf initrd.img-* initrd.img popd # Create bootmap file chroot mountpoint /sbin/zipl -V \ --image=/boot/vmlinuz \ --ramdisk=/boot/initrd.img \ --parameters='root=LABEL=cloudimg-rootfs' \ --target=/boot/ \ --targetbase=$loop_device \ --targettype=SCSI \ --targetblocksize=512 \ --targetoffset=2048 fi if [ -n "$BOOT_MOUNTPOINT" ]; then umount "mountpoint/$BOOT_MOUNTPOINT" fi umount_partition mountpoint rmdir mountpoint clean_loops trap - EXIT livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/099-cleanup.chroot0000775000000000000000000000370712706147572021656 0ustar #!/bin/bash # Clean up extraneous log files that may be left around rm /etc/ssh/ssh_host*key* || echo "No SSH keys to remove" # Fix LP: #1047707, 1019338 # Truncate logs that are owned, otherwise remove whitelisted_logs=(/var/log/btmp /var/log/lastlog /var/log/wtmp /var/log/fsck/checkfs /var/log/fsck/checkroot) for log in $(find /var/log -type f) do whitelisted=$(echo "${whitelisted_logs[@]}" | grep -o ${log}) if [ -n "${whitelisted}" ]; then : > ${log} && echo "Truncated whitelisted log ${log}" || echo "Failed to truncate whitelisted log ${log}" else dpkg -S ${log} > /dev/null 2>&1 && { : > ${log} || echo "Failed to truncate $f"; } || { rm ${log} && echo "Removed ${log} as an orphaned log file" || echo "Failed to remove unnecessary log $f"; } fi done # Remove un-owned log directories whitelisted_dirs=(/var/log/fsck) for log_d in $(find /var/log/* -type d) do whitelisted=$(echo "${whitelisted_dirs[@]}" | grep -o "${log_d}") if [ -z "${whitelisted}" ]; then dpkg -S ${log_d} > /dev/null 2>&1 && echo "Preserving log directory ${log_d}" || { rm -rf ${log_d} && echo "Removed log directory ${log_d} as orphaned log dir" || echo "Failed to remove unnessasary log dir ${log_d}"; } else echo "Preserving whitelisted directory ${log_d}" fi done rm -rf /var/run/* || echo "Failed to clean /var/run/*" rm /etc/passwd- || echo "No spare passwd file to cleanup" rm /etc/shadow- || echo "No spare shadow file to cleanup" rm /etc/gshadow- || echo "No spare gshadow file to cleanup" rm /etc/group- || echo "No spare group file to clenaup" rm -f /etc/apt/conf.d/00secure || echo "No apt cache to cleanup" # Truncate instead of delete, LP: #707311 truncate --size=0 -c /etc/popularity-contest.conf livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/999-extras.binary0000775000000000000000000000044712706147572021532 0ustar #!/bin/bash # Execute extra binary hooks. my_dir=$(dirname $(readlink -f ${0})) extra_d=${my_dir}/extra if [ ! -d ${my_dir}/extra ]; then exit 0 fi # Export the common functions to the extras . /build/config/functions # Cleaner execution /bin/run-parts --regex ".*\.binary" "${extra_d}" livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/033-disk-image-uefi.binary0000775000000000000000000001064412706147572023137 0ustar #!/bin/bash -eux case $ARCH in amd64|arm64) ;; *) echo "We don't create EFI images for $ARCH." exit 0 ;; esac . /build/config/functions apt-get -qqy install dosfstools gdisk create_partitions() { disk_image="$1" sgdisk "${disk_image}" --zap-all case $ARCH in arm64) sgdisk "${disk_image}" \ --new=15:0:204800 \ --typecode=15:ef00 \ --new=1: ;; amd64) sgdisk "${disk_image}" \ --new=14::+4M \ --new=15::+106M \ --new=1:: sgdisk "${disk_image}" \ -t 14:ef02 \ -t 15:ef00 ;; esac sgdisk "${disk_image}" \ --print } create_and_mount_uefi_partition() { uefi_dev="/dev/mapper${loop_device///dev/}p15" mountpoint="$1" mkfs.vfat -F 32 -n UEFI "${uefi_dev}" mkdir -p "${mountpoint}"/boot/efi mount "${uefi_dev}" "$mountpoint"/boot/efi cat << EOF >> "mountpoint/etc/fstab" LABEL=UEFI /boot/efi vfat defaults 0 0 EOF } install_grub() { mkdir mountpoint mount_partition "${rootfs_dev_mapper}" mountpoint create_and_mount_uefi_partition mountpoint echo "(hd0) ${loop_device}" > mountpoint/tmp/device.map mkdir -p mountpoint/etc/default/grub.d efi_boot_dir="/boot/efi/EFI/BOOT" chroot mountpoint mkdir -p "${efi_boot_dir}" case $ARCH in arm64) chroot mountpoint apt-get -qqy install --no-install-recommends grub-efi-arm64 grub-efi-arm64-bin grub_modules="part_gpt fat gzio ext2 normal chain boot configfile linux search_fs_uuid search_label terminal serial video video_fb efi_gop" efi_target=arm64-efi ;; amd64) chroot mountpoint apt-get install -qqy grub-efi-amd64-signed grub-efi-amd64 shim-signed grub_modules="part_gpt fat ext2 normal chain boot configfile linux multiboot search_fs_uuid search_label terminal serial video video_fb video_bochs usb usb_keyboard efi_gop efi_uga" chroot mountpoint cp /usr/lib/shim/shim.efi.signed "${efi_boot_dir}/shimx64.efi" chroot mountpoint cp /usr/lib/shim/MokManager.efi.signed "${efi_boot_dir}/MokManager.efi" chroot mountpoint cp /usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed "${efi_boot_dir}/grubx64.efi" efi_target=x86_64-efi ;; esac cat << EOF >> mountpoint/etc/default/grub.d/50-cloudimg-settings.cfg ${CLOUD_IMG_STR} # For Cloud Image compatability GRUB_PRELOAD_MODULES="${grub_modules}" EOF chroot mountpoint grub-install "${loop_device}" \ --boot-directory=/boot \ --efi-directory=/boot/efi \ --target=${efi_target} \ --removable \ --uefi-secure-boot \ --no-nvram \ --modules="${grub_modules}" if [ -f mountpoint/boot/efi/EFI/BOOT/grub.cfg ]; then sed -i "s| root| root hd0,gpt1|" mountpoint/boot/efi/EFI/BOOT/grub.cfg sed -i "1i${CLOUD_IMG_STR}" mountpoint/boot/efi/EFI/BOOT/grub.cfg # For some reason the grub disk is looking for /boot/grub/grub.cfg on # part 15.... chroot mountpoint mkdir -p /boot/efi/boot/grub chroot mountpoint cp /boot/efi/EFI/BOOT/grub.cfg /boot/efi/boot/grub fi if [ "$ARCH" = "amd64" ]; then # Install the BIOS/GPT bits. Since GPT boots from the ESP partition, # it means that we just run this simple command and we're done chroot mountpoint grub-install --target=i386-pc "${loop_device}" fi chroot mountpoint dpkg-divert --local --rename /etc/grub.d/30_os-prober chroot mountpoint update-grub sed -i "s,root=.* ,root=LABEL=cloudimg-rootfs ,g" mountpoint/boot/grub/grub.cfg chroot mountpoint dpkg-divert --remove --local --rename /etc/grub.d/30_os-prober chroot mountpoint apt-get -y clean chroot mountpoint apt-get -y update rm mountpoint/tmp/device.map sync umount mountpoint/boot/efi sleep 5 udevadm settle mount umount_partition mountpoint rmdir mountpoint } disk_image=binary/boot/disk-uefi.ext4 create_empty_disk_image "${disk_image}" create_partitions "${disk_image}" mount_image "${disk_image}" 1 # Copy the chroot in to the disk make_ext4_partition "${rootfs_dev_mapper}" mkdir mountpoint mount "${rootfs_dev_mapper}" mountpoint cp -a chroot/* mountpoint/ umount mountpoint rmdir mountpoint install_grub clean_loops trap - EXIT livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/raspi2/0000775000000000000000000000000012706147572017656 5ustar livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/raspi2/mkknlimg0000775000000000000000000001242112706147572021415 0ustar #!/usr/bin/env perl # ---------------------------------------------------------------------- # mkknlimg by Phil Elwell for Raspberry Pi # based on extract-ikconfig by Dick Streefland # # (c) 2009,2010 Dick Streefland # (c) 2014,2015 Raspberry Pi (Trading) Limited # # Licensed under the terms of the GNU General Public License. # ---------------------------------------------------------------------- use strict; use warnings; use integer; my $trailer_magic = 'RPTL'; my $tmpfile1 = "/tmp/mkknlimg_$$.1"; my $tmpfile2 = "/tmp/mkknlimg_$$.2"; my $dtok = 0; my $is_283x = 0; while (@ARGV && ($ARGV[0] =~ /^-/)) { my $arg = shift(@ARGV); if ($arg eq '--dtok') { $dtok = 1; } elsif ($arg eq '--283x') { $is_283x = 1; } else { print ("* Unknown option '$arg'\n"); usage(); } } usage() if (@ARGV != 2); my $kernel_file = $ARGV[0]; my $out_file = $ARGV[1]; if (! -r $kernel_file) { print ("* File '$kernel_file' not found\n"); usage(); } my @wanted_strings = ( 'bcm2708_fb', 'brcm,bcm2835-mmc', 'brcm,bcm2835-sdhost', 'brcm,bcm2708-pinctrl', 'brcm,bcm2835-gpio', 'brcm,bcm2835', 'brcm,bcm2836' ); my $res = try_extract($kernel_file, $tmpfile1); $res = try_decompress('\037\213\010', 'xy', 'gunzip', 0, $kernel_file, $tmpfile1, $tmpfile2) if (!$res); $res = try_decompress('\3757zXZ\000', 'abcde', 'unxz --single-stream', -1, $kernel_file, $tmpfile1, $tmpfile2) if (!$res); $res = try_decompress('BZh', 'xy', 'bunzip2', 0, $kernel_file, $tmpfile1, $tmpfile2) if (!$res); $res = try_decompress('\135\0\0\0', 'xxx', 'unlzma', 0, $kernel_file, $tmpfile1, $tmpfile2) if (!$res); $res = try_decompress('\211\114\132', 'xy', 'lzop -d', 0, $kernel_file, $tmpfile1, $tmpfile2) if (!$res); $res = try_decompress('\002\041\114\030', 'xy', 'lz4 -d', 1, $kernel_file, $tmpfile1, $tmpfile2) if (!$res); my $append_trailer; my $trailer; my $kver = '?'; $append_trailer = $dtok; if ($res) { $kver = $res->{''} || '?'; print("Version: $kver\n"); $append_trailer = $dtok; if (!$dtok) { if (config_bool($res, 'bcm2708_fb') || config_bool($res, 'brcm,bcm2835-mmc') || config_bool($res, 'brcm,bcm2835-sdhost')) { $dtok ||= config_bool($res, 'brcm,bcm2708-pinctrl'); $dtok ||= config_bool($res, 'brcm,bcm2835-gpio'); $is_283x ||= config_bool($res, 'brcm,bcm2835'); $is_283x ||= config_bool($res, 'brcm,bcm2836'); $dtok ||= $is_283x; $append_trailer = 1; } else { print ("* This doesn't look like a Raspberry Pi kernel. In pass-through mode.\n"); } } } elsif (!$dtok) { print ("* Is this a valid kernel? In pass-through mode.\n"); } if ($append_trailer) { printf("DT: %s\n", $dtok ? "y" : "n"); printf("283x: %s\n", $is_283x ? "y" : "n"); my @atoms; push @atoms, [ $trailer_magic, pack('V', 0) ]; push @atoms, [ 'KVer', $kver ]; push @atoms, [ 'DTOK', pack('V', $dtok) ]; push @atoms, [ '283x', pack('V', $is_283x) ]; $trailer = pack_trailer(\@atoms); $atoms[0]->[1] = pack('V', length($trailer)); $trailer = pack_trailer(\@atoms); } my $ofh; my $total_len = 0; if ($out_file eq $kernel_file) { die "* Failed to open '$out_file' for append\n" if (!open($ofh, '>>', $out_file)); $total_len = tell($ofh); } else { die "* Failed to open '$kernel_file'\n" if (!open(my $ifh, '<', $kernel_file)); die "* Failed to create '$out_file'\n" if (!open($ofh, '>', $out_file)); my $copybuf; while (1) { my $bytes = sysread($ifh, $copybuf, 64*1024); last if (!$bytes); syswrite($ofh, $copybuf, $bytes); $total_len += $bytes; } close($ifh); } if ($trailer) { # Pad to word-alignment syswrite($ofh, "\x000\x000\x000", (-$total_len & 0x3)); syswrite($ofh, $trailer); } close($ofh); exit($trailer ? 0 : 1); END { unlink($tmpfile1) if ($tmpfile1); unlink($tmpfile2) if ($tmpfile2); } sub usage { print ("Usage: mkknlimg [--dtok] [--283x] \n"); exit(1); } sub try_extract { my ($knl, $tmp) = @_; my $ver = `strings "$knl" | grep -a -E "^Linux version [1-9]"`; return undef if (!$ver); chomp($ver); my $res = { ''=>$ver }; my $string_pattern = '^('.join('|', @wanted_strings).')$'; my @matches = `strings \"$knl\" | grep -E \"$string_pattern\"`; foreach my $match (@matches) { chomp($match); $res->{$match} = 1; } return $res; } sub try_decompress { my ($magic, $subst, $zcat, $idx, $knl, $tmp1, $tmp2) = @_; my $pos = `tr "$magic\n$subst" "\n$subst=" < "$knl" | grep -abo "^$subst"`; if ($pos) { chomp($pos); $pos = (split(/[\r\n]+/, $pos))[$idx]; return undef if (!defined($pos)); $pos =~ s/:.*[\r\n]*$//s; my $cmd = "tail -c+$pos \"$knl\" | $zcat > $tmp2 2> /dev/null"; my $err = (system($cmd) >> 8); return undef if (($err != 0) && ($err != 2)); return try_extract($tmp2, $tmp1); } return undef; } sub pack_trailer { my ($atoms) = @_; my $trailer = pack('VV', 0, 0); for (my $i = $#$atoms; $i>=0; $i--) { my $atom = $atoms->[$i]; $trailer .= pack('a*x!4Va4', $atom->[1], length($atom->[1]), $atom->[0]); } return $trailer; } sub config_bool { my ($configs, $wanted) = @_; my $val = $configs->{$wanted} || 'n'; return (($val eq 'y') || ($val eq '1')); } livecd-rootfs-2.408/live-build/ubuntu-cpc/hooks/025-create-groups.chroot0000775000000000000000000000050512706147572022765 0ustar #!/bin/bash # # Create the necessary users and set their passwords. If needed, # make sure they belong to the proper groups # # Author: Ben Howard # Date: 29 Jun 2011 # echo "Adding admin group..." addgroup --system --quiet admin echo "Adding netdev group..." addgroup --system --quiet netdev livecd-rootfs-2.408/live-build/ubuntu-touch/0000775000000000000000000000000012706147572015710 5ustar livecd-rootfs-2.408/live-build/ubuntu-touch/includes.chroot/0000775000000000000000000000000012706147572021013 5ustar livecd-rootfs-2.408/live-build/ubuntu-touch/includes.chroot/etc/0000775000000000000000000000000012706147572021566 5ustar livecd-rootfs-2.408/live-build/ubuntu-touch/includes.chroot/etc/lightdm/0000775000000000000000000000000012706147572023216 5ustar livecd-rootfs-2.408/live-build/ubuntu-touch/includes.chroot/etc/lightdm/lightdm.conf.d/0000775000000000000000000000000012706147572026014 5ustar ././@LongLink0000644000000000000000000000014700000000000011605 Lustar rootrootlivecd-rootfs-2.408/live-build/ubuntu-touch/includes.chroot/etc/lightdm/lightdm.conf.d/90-phablet.conflivecd-rootfs-2.408/live-build/ubuntu-touch/includes.chroot/etc/lightdm/lightdm.conf.d/90-phablet.co0000664000000000000000000000004012706147572030176 0ustar [Seat:*] autologin-user=phablet livecd-rootfs-2.408/live-build/ubuntu-touch/includes.chroot/etc/hosts0000664000000000000000000000047012706147572022652 0ustar 127.0.0.1 localhost.localdomain localhost ::1 ubuntu-phablet localhost6.localdomain6 localhost6 127.0.1.1 ubuntu-phablet # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts livecd-rootfs-2.408/live-build/ubuntu-touch/includes.chroot/etc/hostname0000664000000000000000000000001712706147572023325 0ustar ubuntu-phablet livecd-rootfs-2.408/live-build/ubuntu-touch/includes.chroot/etc/default/0000775000000000000000000000000012706147572023212 5ustar livecd-rootfs-2.408/live-build/ubuntu-touch/includes.chroot/etc/default/locale0000664000000000000000000000002312706147572024367 0ustar LANG="en_US.UTF-8" livecd-rootfs-2.408/live-build/ubuntu-touch/includes.chroot/var/0000775000000000000000000000000012706147572021603 5ustar livecd-rootfs-2.408/live-build/ubuntu-touch/includes.chroot/var/cache/0000775000000000000000000000000012706147572022646 5ustar livecd-rootfs-2.408/live-build/ubuntu-touch/includes.chroot/var/cache/apparmor/0000775000000000000000000000000012706147572024467 5ustar livecd-rootfs-2.408/live-build/ubuntu-touch/includes.chroot/var/cache/apparmor/.features0000664000000000000000000000247012706147572026311 0ustar dbus {mask {acquire send receive } } signal {mask {hup int quit ill trap abrt bus fpe kill usr1 segv usr2 pipe alrm term stkflt chld cont stop stp ttin ttou urg xcpu xfsz vtalrm prof winch io pwr sys emt lost } } ptrace {mask {read trace } } caps {mask {chown dac_override dac_read_search fowner fsetid kill setgid setuid setpcap linux_immutable net_bind_service net_broadcast net_admin net_raw ipc_lock ipc_owner sys_module sys_rawio sys_chroot sys_ptrace sys_pacct sys_admin sys_boot sys_nice sys_resource sys_time sys_tty_config mknod lease audit_write audit_control setfcap mac_override mac_admin syslog wake_alarm epollwakeup } } rlimit {mask {cpu fsize data stack core rss nproc nofile memlock as locks sigpending msgqueue nice rtprio rttime } } capability {0xffffff } namespaces {pivot_root {yes } profile {yes } } mount {mask {mount umount } } network {af_unix {yes } af_mask {unspec unix inet ax25 ipx appletalk netrom bridge atmpvc x25 inet6 rose netbeui security key netlink packet ash econet atmsvc rds sna irda pppox wanpipe llc can tipc bluetooth iucv rxrpc isdn phonet ieee802154 caif alg nfc } } file {mask {create read write exec append mmap_exec link lock } } domain {change_profile {yes } change_onexec {yes } change_hatv {yes } change_hat {yes } } policy {set_load {yes } versions {v7 {yes } v6 {yes } v5 {yes } } } livecd-rootfs-2.408/live-build/ubuntu-touch/hooks/0000775000000000000000000000000012706147572017033 5ustar livecd-rootfs-2.408/live-build/ubuntu-touch/hooks/80-enable-libhybris.chroot0000775000000000000000000000051612706147572023720 0ustar #!/bin/sh echo "I: making libhybris the default alternatives for @DEB_HOST_MULTIARCH@_egl_conf" update-alternatives --set @DEB_HOST_MULTIARCH@_egl_conf /usr/lib/@DEB_HOST_MULTIARCH@/libhybris-egl/ld.so.conf # ldconfig needs to be run immediately as we're changing /etc/ld.so.conf.d/ with alternatives. LDCONFIG_NOTRIGGER=y ldconfig livecd-rootfs-2.408/live-build/ubuntu-touch/hooks/90-precompile-apparmor-policies.chroot0000775000000000000000000000437412706147572026277 0ustar #!/bin/sh FEATURES=/var/cache/apparmor/.features echo "I: precompiling click apparmor policies" /sbin/apparmor_parser -v -M ${FEATURES} -Q --write-cache --cache-loc=/var/cache/apparmor/ `find /var/lib/apparmor/profiles/ -maxdepth 1 -type f -not -path '*/\.*'` echo "I: precompiling deb apparmor policies" /sbin/apparmor_parser -v -M ${FEATURES} -Q --write-cache --cache-loc=/etc/apparmor.d/cache/ `find /etc/apparmor.d/ -maxdepth 1 -type f -not -path '*/\.*'` echo "I: precompiling custom click apparmor policies" mkdir -p /custom/cache/apparmor /sbin/apparmor_parser -v -M ${FEATURES} -Q --write-cache --cache-loc=/custom/cache/apparmor/ `find /var/lib/apparmor/profiles/ -maxdepth 1 -type f -not -path '*/\.*'` #get the apparmor manifests and profiles mkdir -p /custom/lib/apparmor/clicks mkdir -p /custom/lib/apparmor/profiles for manifest in /var/lib/apparmor/clicks/*; do # FIXME: if this code survives for very long, it should probably be # rewritten using click's Python bindings pkgdir="$(click pkgdir "$manifest")" manifest_real="$(readlink -f "$manifest")" manifest_tail="${manifest_real#$pkgdir}" # Does this package exist in the custom tarball? If so, move its # profiles there (if it only exists in custom) or copy them (if it # also exists in core). version="${pkgdir##*/}" pkgdir_noversion="${pkgdir%/*}" name="${pkgdir_noversion##*/}" profile="$(basename "$manifest" .json)" if [ -d "/custom/click/$name/$version" ]; then # Clone into custom. ln -nsf "/custom/click/$name/$version$manifest_tail" "/custom/lib/apparmor/clicks/${manifest##*/}" cp -a "/var/lib/apparmor/profiles/click_$profile" /custom/lib/apparmor/profiles/ if [ -d "/usr/share/click/preinstalled/$name/$version" ]; then # Ensure that the version in the rootfs points to # the core database. ln -nsf "/usr/share/click/preinstalled/$name/$version$manifest_tail" "$manifest" else # Remove from the rootfs. rm -f "$manifest" rm -f "/var/lib/apparmor/profiles/click_$profile" rm -f "/var/cache/apparmor/click_$profile" fi else # Remove from custom. rm -f "/custom/cache/apparmor/click_$profile" fi done ls -l /custom/cache/apparmor/ echo "I: touching cache files to sanitize possible timestamp issues" touch /custom/cache/apparmor/* ls -l /custom/cache/apparmor/ livecd-rootfs-2.408/live-build/ubuntu-touch/hooks/48-setup-env.chroot0000775000000000000000000000117412706147572022440 0ustar #!/bin/bash echo "I: setting up initial environment for Touch..." echo "HOSTNAME=android TERM=linux ANDROID_CACHE=/cache LOOP_MOUNTPOINT=/mnt/obb ASEC_MOUNTPOINT=/mnt/asec ANDROID_PROPERTY_WORKSPACE=8,49152 ANDROID_ASSETS=/system/app ANDROID_BOOTLOGO=1 LD_LIBRARY_PATH=/vendor/lib:/system/lib PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ANDROID_DATA=/data QML2_IMPORT_PATH=/usr/lib/@DEB_HOST_MULTIARCH@/qt5/imports QT_SELECT=qt5 SHLVL=1 MKSH=/system/bin/sh ANDROID_ROOT=/system EXTERNAL_STORAGE=/mnt/sdcard LANG=en_US.UTF-8 LANGUAGE=en_US:en FLASH_KERNEL_SKIP=true QT_IM_MODULE=maliitphablet" > /etc/environment livecd-rootfs-2.408/live-build/ubuntu-touch/hooks/60-install-click.chroot0000775000000000000000000000500312706147572023230 0ustar #!/bin/sh set -e echo "Setting up click packages" click_uri=http://archive-team.internal/click_packages click_list=$click_uri/click_list click_db=/usr/share/click/preinstalled click_db_custom=/custom/click mkdir -p -m 755 "$click_db" chown clickpkg:clickpkg "$click_db" # some of these get installed to /custom/click mkdir -p -m 755 "$click_db_custom" chown clickpkg:clickpkg "$click_db_custom" tmpdir="$(mktemp -d)" cleanup () { rm -rf "$tmpdir"; } trap cleanup EXIT CLICKARCH=$(dpkg --print-architecture) wget --no-verbose -O "$tmpdir/click_list" "$click_list" for package in $(cat "$tmpdir/click_list") do if echo $package | egrep -q "_$CLICKARCH.click|_all.click|_unknown.click|_multi.click"; then echo "Setting up $package" wget --no-verbose -O "$tmpdir/$package" "$click_uri/$package" # FIXME: first attempt, a hard-coded list of the packages that go to # the custom tarball case $package in com.ubuntu.developer.webapps.webapp-amazon_*|\ com.ubuntu.developer.webapps.webapp-ebay_*|\ com.ubuntu.developer.webapps.webapp-facebook_*|\ com.ubuntu.developer.webapps.webapp-gmail_*|\ com.ubuntu.developer.webapps.webapp-twitter_*|\ com.ubuntu.scopes.youtube_*|\ com.ubuntu.dropping-letters_*|\ com.ubuntu.filemanager_*|\ com.ubuntu.reminders_*|\ com.ubuntu.shorts_*|\ com.ubuntu.sudoku_*|\ com.ubuntu.terminal_*|\ com.ubuntu.calendar_*|\ navigator.costales_*|\ dekko.dekkoproject_*) roots="$click_db_custom" ;; *) roots="$click_db" ;; esac for root in $roots; do if [ "$root" = "$click_db_custom" ]; then # FIXME: there is no good way to stop click from # deduplicating things when installing the same package in # multiple databases; the best we can do is to temporarily # pretend that the core database does not exist mv /etc/click/databases/10_core.conf \ /etc/click/databases/10_core.conf.tmp fi click install --force-missing-framework --root="$root" --all-users \ "$tmpdir/$package" if [ "$root" = "$click_db_custom" ]; then mv /etc/click/databases/10_core.conf.tmp \ /etc/click/databases/10_core.conf fi done fi done livecd-rootfs-2.408/live-build/ubuntu-touch/hooks/03-etc-writable.chroot0000775000000000000000000000053612706147572023064 0ustar #!/bin/sh set -e set -x mkdir -p /etc/writable touch /etc/writable/machine-info for f in timezone localtime machine-info hostname whoopsie; do if [ -e /etc/$f ]; then echo "I: Moving /etc/$f to /etc/writable/" mv /etc/$f /etc/writable/$f fi echo "I: Linking /etc/$f to /etc/writable/" ln -s writable/$f /etc/$f done livecd-rootfs-2.408/live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early0000775000000000000000000001723312706147572024003 0ustar #!/bin/sh -eu ERRCNT="" # Known good post-debootstrap values passwd_bootstrap="b1a93d7f7c6dfe40034b80e43de9ffc3" shadow_bootstrap="396cbe822f1dd1dd055bd5c6bcabd0c3" group_bootstrap="77a05f7c087eb2492f5970132aa436d4" gshadow_bootstrap="d610b4f0a42808f4d99b72dfff14435a" # Current post-debootstrap values passwd_hash=$(set -- $(md5sum /etc/passwd) && echo $1) shadow_hash=$(set -- $(cat /etc/shadow | sed "s/:.*:0:99999:/:0:99999:/g" | md5sum) && echo $1) group_hash=$(set -- $(md5sum /etc/group) && echo $1) gshadow_hash=$(set -- $(md5sum /etc/gshadow) && echo $1) # /etc/passwd if [ "$passwd_bootstrap" = "$passwd_hash" ]; then cat > /etc/passwd <&2 echo "The output below might help to resolve the issue" >&2 cat /etc/passwd echo "passwd md5sum: $passwd_hash" >&2 ERRCNT=1 fi # /etc/shadow if [ "$shadow_bootstrap" = "$shadow_hash" ]; then cat > /etc/shadow <&2 echo "The output below might help to resolve the issue" >&2 cat /etc/shadow echo "shadow md5sum: $shadow_hash" >&2 ERRCNT=1 fi # /etc/group if [ "$group_bootstrap" = "$group_hash" ]; then cat > /etc/group <&2 echo "The output below might help to resolve the issue" >&2 cat /etc/group echo "group md5sum: $group_hash" >&2 ERRCNT=1 fi # /etc/gshadow if [ "$gshadow_bootstrap" = "$gshadow_hash" ]; then cat > /etc/gshadow <&2 echo "The output below might help to resolve the issue" >&2 cat /etc/gshadow echo "gshadow md5sum: $gshadow_hash" >&2 ERRCNT=1 fi if [ -n "$ERRCNT" ]; then echo "There were changes to the password database," >&2 echo "please adjust the values in the livecd-rootfs source in the file:" >&2 echo "live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early" >&2 echo >&2 echo "Please check also if a maintainer script of the package" >&2 echo "that added these entries perhaps created a home directory and," >&2 echo "if needed, add code for creation of it to the above hook" >&2 exit 1 fi # Create some missing directories mkdir -p /var/lib/lightdm chown lightdm:lightdm /var/lib/lightdm chmod 750 /var/lib/lightdm mkdir -p /var/lib/usermetrics chown usermetrics:usermetrics /var/lib/usermetrics chmod 750 /var/lib/usermetrics echo "adjusting ownership of /var/log" >&2 chown root:syslog /var/log ls -ln /var | grep log >&2 # Record the current state for later comparison for file in /etc/passwd /etc/shadow /etc/group /etc/gshadow; do rm -f ${file}- cp ${file} ${file}.orig done livecd-rootfs-2.408/live-build/ubuntu-touch/hooks/99-remove-lists.binary0000775000000000000000000000046412706147572023140 0ustar #!/bin/sh # remove-lists: Remove all apt lists for space as our apport does not need them # # Author: Łukasz 'sil2100' Zemczak # Date : September 22, 2015 echo "Removing /var/lib/apt/lists/* from the binary" find binary/boot/filesystem.dir/var/lib/apt/lists/ -type f | xargs rm -flivecd-rootfs-2.408/live-build/ubuntu-touch/hooks/99zz-check-uid-gid.chroot0000775000000000000000000000367112706147572023505 0ustar #!/bin/sh -eu ERRCNT="" passwd_hash=$(set -- $(md5sum /etc/passwd) && echo $1) shadow_hash=$(set -- $(cat /etc/shadow | sed "s/:.*:0:99999:/:0:99999:/g" | md5sum) && echo $1) group_length=$(cat /etc/group | wc -l) gshadow_length=$(cat /etc/gshadow | wc -l) passwd_orig_hash=$(set -- $(md5sum /etc/passwd.orig) && echo $1) shadow_orig_hash=$(set -- $(cat /etc/shadow.orig | sed "s/:.*:0:99999:/:0:99999:/g" | md5sum) && echo $1) group_orig_length=$(cat /etc/group.orig | wc -l) gshadow_orig_length=$(cat /etc/gshadow.orig | wc -l) if [ "$passwd_hash" != "$passwd_orig_hash" ]; then echo "/etc/passwd has changed during setup." >&2 echo "The new /etc/passwd md5sum is: $passwd_hash" >&2 diff -Nrup /etc/passwd.orig /etc/passwd >&2 || true ERRCNT=1 fi if [ "$shadow_hash" != "$shadow_orig_hash" ]; then echo "/etc/shadow has changed during setup." >&2 echo "The new /etc/shadow md5sum is: $shadow_hash" >&2 diff -Nrup /etc/shadow.orig /etc/shadow >&2 || true ERRCNT=1 fi if [ "$group_length" != "$group_orig_length" ]; then echo "/etc/group has changed during setup." >&2 diff -Nrup /etc/group.orig /etc/group >&2 || true ERRCNT=1 fi if [ "$gshadow_length" != "$gshadow_orig_length" ]; then echo "/etc/gshadow has changed during setup." >&2 diff -Nrup /etc/gshadow.orig /etc/gshadow >&2 || true ERRCNT=1 fi if [ -n "$ERRCNT" ]; then echo "There were changes to the password database," >&2 echo "please adjust the values in the livecd-rootfs source in the file:" >&2 echo "live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early" >&2 echo >&2 echo "Please check also if a maintainer script of the package" >&2 echo "that added these entries perhaps created a home directory and," >&2 echo "if needed, add code for creation of it to the above hook" >&2 exit 1 fi echo "ownership of /var/log after build:" >&2 ls -ln /var| grep log >&2 rm /etc/passwd.orig /etc/shadow.orig /etc/group.orig /etc/gshadow.orig livecd-rootfs-2.408/live-build/ubuntu-touch/hooks/02-add_user_to_groups.chroot0000775000000000000000000000634712706147572024376 0ustar #!/bin/sh -x USER=phablet DEFGROUPS="tty,sudo,adm,dialout,cdrom,plugdev,audio,dip,video,gps,radio,bluetooth,android_net,android_net2,android_net3,android_graphics,android_input,sdcard_rw,android_media,android_nvram,android_cache" /bin/egrep -i "^audio:" /etc/group if [ $? -eq 0 ]; then # Needed to change group id as audio is already created by ubuntu echo "User audio exists in /etc/group, changing gid to be android compatible" groupmod -g 1005 audio else echo "User audio does not exists in /etc/group must create" groupadd -g 1005 audio fi /bin/egrep -i "^gps:" /etc/group if [ $? -eq 0 ]; then echo "User gps exists in /etc/group" else echo "User gps does not exist in /etc/group -- must create" groupadd -g 1021 gps fi /bin/egrep -i "^radio:" /etc/group if [ $? -eq 0 ]; then echo "User radio exists in /etc/group" else echo "User radio does not exist in /etc/group -- must create" groupadd -g 1001 radio fi /bin/egrep -i "^bluetooth:" /etc/group if [ $? -eq 0 ]; then echo "User bluetooth exists in /etc/group changing ID to 1002" groupmod -g 1002 bluetooth else echo "User bluetooth does not exist in /etc/group -- must create" groupadd -g 1002 bluetooth fi /bin/egrep -i "^android_net:" /etc/group if [ $? -eq 0 ]; then echo "User android_net exists in /etc/group" else echo "User android_net does not exist in /etc/group -- must create" groupadd -g 3003 android_net fi /bin/egrep -i "^android_net2:" /etc/group if [ $? -eq 0 ]; then echo "User android_net2 exists in /etc/group" else echo "User android_net2 does not exist in /etc group -- must create" groupadd -g 3004 android_net2 fi /bin/egrep -i "^android_net3:" /etc/group if [ $? -eq 0 ]; then echo "User android_net3 exists in /etc/group" else echo "User android_net3 does not exist in /etc group -- must create" groupadd -g 3002 android_net3 fi /bin/egrep -i "^android_graphics:" /etc/group if [ $? -eq 0 ]; then echo "User android_graphics exists in /etc/group" else echo "User android_graphics does not exist in /etc group -- must create" groupadd -g 1003 android_graphics fi /bin/egrep -i "^android_input:" /etc/group if [ $? -eq 0 ]; then echo "User android_input exists in /etc/group" else echo "User android_input does not exist in /etc group -- must create" groupadd -g 1004 android_input fi /bin/egrep -i "^sdcard_rw:" /etc/group if [ $? -eq 0 ]; then echo "User sdcard_rw exists in /etc/group" else echo "User sdcard_rw does not exist in /etc group -- must create" groupadd -g 1015 sdcard_rw fi /bin/egrep -i "^android_media:" /etc/group if [ $? -eq 0 ]; then echo "User android_media exists in /etc/group" else echo "User android_media does not exist in /etc group -- must create" groupadd -g 1013 android_media fi /bin/egrep -i "^android_nvram:" /etc/group if [ $? -eq 0 ]; then echo "User android_nvram exists in /etc/group" else echo "User android_nvram does not exist in /etc group -- must create" groupadd -g 9997 android_nvram fi /bin/egrep -i "^android_cache:" /etc/group if [ $? -eq 0 ]; then echo "User android_cache exists in /etc/group" else echo "User android_cache does not exist in /etc group -- must create" groupadd -g 2001 android_cache fi echo "I: add $USER to ($DEFGROUPS) groups" usermod -a -G ${DEFGROUPS} ${USER} livecd-rootfs-2.408/live-build/ubuntu-touch/hooks/45-add-sudo-group-nm.chroot0000775000000000000000000000132312706147572023745 0ustar #!/bin/bash echo "Adding admin group policy to NM system service" sed -i 's//\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t<\/policy>\n\t\t/g' /etc/dbus-1/system.d/org.freedesktop.NetworkManager.conf mkdir -p /etc/polkit-1/localauthority/50-local.d cat > /etc/polkit-1/localauthority/50-local.d/org.freedesktop.NetworkManager.pkla << EOF [indicator-network-service] Identity=unix-group:sudo Action=org.freedesktop.NetworkManager.* ResultAny=yes ResultInactive=no ResultActive=yes EOF livecd-rootfs-2.408/live-build/ubuntu-touch/hooks/50-upower-poweroff-percentages.chroot0000775000000000000000000000036312706147572026146 0ustar #! /bin/sh set -e echo "Updating upower configuration..." sed -i 's/^UsePercentageForPolicy=.*/UsePercentageForPolicy=true/' /etc/UPower/UPower.conf sed -i 's/^CriticalPowerAction=.*/CriticalPowerAction=PowerOff/' /etc/UPower/UPower.conf livecd-rootfs-2.408/live-build/ubuntu-touch/hooks/70-reconfigure-autopilot.chroot0000775000000000000000000000072112706147572025030 0ustar #!/bin/sh # make sure the phablet user is in the autopilot group # (the user is not available when the package postinst # adds all users of the sudo group to the autopilot one # so we re-run the package configuration now echo "making sure phablet user is in the autopilot group" for pkg in python-autopilot python3-autopilot; do if dpkg-query -W -f '${Status}\n' "$pkg" 2>/dev/null | \ grep -q ' installed$'; then dpkg-reconfigure "$pkg" break fi done livecd-rootfs-2.408/live-build/ubuntu-touch/hooks/60-install-click.binary0000775000000000000000000000030612706147572023217 0ustar #!/bin/sh set -e echo "Splitting out custom tarball" rm -f binary/boot/custom.dir mkdir -p binary/boot/custom.dir/system mv binary/boot/filesystem.dir/custom binary/boot/custom.dir/system/custom livecd-rootfs-2.408/live-build/ubuntu-touch/hooks/01-setup_user.chroot0000775000000000000000000000313612706147572022675 0ustar #!/bin/sh -x USER=phablet GECOS=Ubuntu UGID=32011 echo "I: creating default user $USER" adduser --gecos $GECOS --disabled-login $USER --uid $UGID echo "I: set user $USER password to blank" passwd -d $USER adduser --gecos system --no-create-home --disabled-login --disabled-password system --uid 1000 adduser --gecos radio --no-create-home --disabled-login --disabled-password radio --uid 1001 # Enable libnss-extrusers sed -i 's/^group:.*compat/\0 extrausers/' /etc/nsswitch.conf sed -i 's/^passwd:.*compat/\0 extrausers/' /etc/nsswitch.conf sed -i 's/^shadow:.*compat/\0 extrausers/' /etc/nsswitch.conf # Move user from /etc to extrausers location grep "^$USER" /etc/group >> /var/lib/extrausers/group grep "^$USER" /etc/passwd >> /var/lib/extrausers/passwd grep "^$USER" /etc/shadow >> /var/lib/extrausers/shadow grep "^$USER" /etc/gshadow >> /var/lib/extrausers/gshadow chmod 0644 /var/lib/extrausers/group chmod 0644 /var/lib/extrausers/passwd chmod 0640 /var/lib/extrausers/shadow chmod 0640 /var/lib/extrausers/gshadow chown root:shadow /var/lib/extrausers/shadow chown root:shadow /var/lib/extrausers/gshadow sed -i "/^$USER/d" /etc/group sed -i "/^$USER/d" /etc/passwd sed -i "/^$USER/d" /etc/shadow sed -i "/^$USER/d" /etc/gshadow touch /var/lib/extrausers/subuid touch /var/lib/extrausers/subgid # Prevent the system user from being presented in the greeter by bumping MIN_UID sed -i 's/^\(UID_MIN\s\+\).*/\11002/g' /etc/login.defs mkdir -p /home/$USER/Music mkdir -p /home/$USER/Pictures mkdir -p /home/$USER/Videos mkdir -p /home/$USER/Downloads mkdir -p /home/$USER/Documents chown -R $UGID:$UGID /home/$USER livecd-rootfs-2.408/live-build/ubuntu-touch/hooks/99-remove-documentation.chroot0000775000000000000000000000064712706147572024670 0ustar #!/bin/bash # remove-documentation: Remove unnecessary documentation to reduce disk usage # # Author: Alex Chiang # Date : November 9, 2010 echo "Removing documentation..." find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true find /usr/share/doc -empty|xargs rmdir || true rm -rf /usr/share/man /usr/share/groff /usr/share/info /usr/share/lintian /usr/share/linda /var/cache/man livecd-rootfs-2.408/live-build/ubuntu-touch/hooks/20-extra-files.chroot0000775000000000000000000000023312706147572022716 0ustar #! /bin/sh set -e echo "creating mtab and modules dir" >&2 ln -sf /proc/mounts /etc/mtab mkdir -p /lib/modules mkdir -p /lib/firmware mkdir -p /userdata livecd-rootfs-2.408/debian/0000775000000000000000000000000012706147572012434 5ustar livecd-rootfs-2.408/debian/source/0000775000000000000000000000000012706147572013734 5ustar livecd-rootfs-2.408/debian/source/format0000664000000000000000000000001512706147572015143 0ustar 3.0 (native) livecd-rootfs-2.408/debian/copyright0000664000000000000000000000200712706147572014366 0ustar live-build/* is copyright (c) 2004-2016 by Canonical Ltd. These programs are free software; you can redistribute and/or modify them under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. These programs are distributed in the hope that they 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 with your Ubuntu system, in /usr/share/common-licenses/GPL, or with the livecd-rootfs source package as the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Files: live-build/ubuntu-cpc/hooks/raspi2/mkknlimg Copyright: 2009,2010 Dick Streefland 2014,2015 Raspberry Pi (Trading) Limited License: GPL-2+ livecd-rootfs-2.408/debian/changelog0000664000000000000000000046702312706147572014322 0ustar livecd-rootfs (2.408) xenial; urgency=medium * drop linux-firmware-raspi2, it does not actually contain driver firmware but bootloaders (and fails to install if its target dir is missing). -- Oliver Grawert Thu, 21 Apr 2016 14:15:21 +0200 livecd-rootfs (2.407) xenial; urgency=medium [ Colin Watson ] * Add a basic build-time syntax check for live-build/auto/*. [ Oliver Grawert ] * add multiverse to sources.list for snappy kernel builds -- Oliver Grawert Thu, 21 Apr 2016 10:53:12 +0200 livecd-rootfs (2.406) xenial; urgency=medium * Fix syntax error. -- Iain Lane Wed, 20 Apr 2016 21:13:23 +0100 livecd-rootfs (2.405) xenial; urgency=medium * move the snappy kernel builds to the correct linux-image-$arch and linux-firmware-$arch metapackages -- Oliver Grawert Wed, 20 Apr 2016 19:34:11 +0200 livecd-rootfs (2.404) xenial; urgency=medium * Follow linux-firmware-raspi2 renaming in the archive for raspi2 images. -- Adam Conrad Wed, 20 Apr 2016 10:49:02 -0600 livecd-rootfs (2.403) xenial; urgency=medium * Follow up on recent changes from the new network-manager packages and add the nm-openvpn user to touch. This should essentially fix the image build failures. -- Łukasz 'sil2100' Zemczak Mon, 18 Apr 2016 12:27:04 +0200 livecd-rootfs (2.402) xenial; urgency=medium * Update the passwd, shadow, group and gshadow bootstrap hashes for touch. -- Łukasz 'sil2100' Zemczak Fri, 15 Apr 2016 13:52:56 +0200 livecd-rootfs (2.401) xenial; urgency=medium * Re-enable systemd predictable network interface naming on cloud-images * Stop creating default configuration for eth0 (LP: #1563487) -- Daniel Watkins Thu, 14 Apr 2016 14:47:42 -0400 livecd-rootfs (2.400) xenial; urgency=medium * Transition from ubuntu-snappy to ubuntu-core-snapd-units and snapd. -- Adam Conrad Wed, 13 Apr 2016 22:57:39 -0600 livecd-rootfs (2.399) xenial; urgency=medium [ Oliver Grawert ] * live-build/ubuntu-core/hooks/25-create-generic-initrd.chroot: kill the snappy os build if the initramfs-tools-ubuntu-core package is not found * make s390x known to the snappy builds * skip kernel snap an device tarball builds for s390x and ppc64el * drop listing of the device tarballs, this was only for debugging [ Adam Conrad ] * live-build/ubuntu-cpc/hooks/032-disk-image.binary: Install s390-tools and sysconfig-hardware before we attempt to configure zipl. -- Oliver Grawert Sun, 10 Apr 2016 17:23:05 +0200 livecd-rootfs (2.398) xenial; urgency=medium * switch snappy package builds from "snappy build" to "snapcraft snap" (LP: #1557515) -- Oliver Grawert Fri, 08 Apr 2016 16:45:48 +0200 livecd-rootfs (2.397) xenial; urgency=medium * live-build/ubuntu-core/hooks/25-create-generic-initrd.chroot: create a generic initrd inside the snappy os-snap so we do not need the hackish ubuntu-core-generic-initrd package anymore. -- Oliver Grawert Thu, 07 Apr 2016 17:21:13 +0200 livecd-rootfs (2.396) xenial; urgency=medium [ Adam Conrad ] * Remove obsolete pvr-omap4 special-casing to simplify configs. [ Daniel Watkins ] * Enable building of powerpc cloud images. -- Adam Conrad Sun, 03 Apr 2016 02:39:50 -0600 livecd-rootfs (2.395) xenial; urgency=medium * create /etc/cloud/cloud.cfg.d/99-snappy-disable-network-config.cfg on snappy so we do not end up with broken network config after cloud-init ran (LP: #1563296). -- Oliver Grawert Fri, 01 Apr 2016 16:31:50 +0200 livecd-rootfs (2.394) xenial; urgency=medium [ Xavi Garcia ] * Adding a new hook to change the configuration file for upower. -- Łukasz 'sil2100' Zemczak Wed, 30 Mar 2016 16:20:20 +0200 livecd-rootfs (2.393) xenial; urgency=medium * actually make the /etc/mtab link relative (LP: #1547033) -- Oliver Grawert Thu, 24 Mar 2016 13:27:01 +0100 livecd-rootfs (2.392) xenial; urgency=medium * move mtab link to point to /proc/self/mounts instead of /proc/mounts (LP: #1547033) in snappy builds -- Oliver Grawert Tue, 22 Mar 2016 13:16:59 +0100 livecd-rootfs (2.391) xenial; urgency=medium * adjust snap versions to only have one dash and use plus chars instead -- Oliver Grawert Mon, 21 Mar 2016 17:36:47 +0100 livecd-rootfs (2.390) xenial; urgency=medium * add link for wlan mac address in dragonboard kernel snaps * move dragonboard kernel snap to linux-snapdragon (with a currently hardcoded version due to missing -meta package for this kernel, don't do that at home !) -- Oliver Grawert Wed, 16 Mar 2016 14:28:22 +0100 livecd-rootfs (2.389) xenial; urgency=medium * Follow rename of ubuntustudio-font-meta to ubuntustudio-fonts. -- Colin Watson Wed, 16 Mar 2016 10:45:40 +0000 livecd-rootfs (2.388) xenial; urgency=medium * add support for dragonboard kernel snap * remove grub-efi-arm64 to the arm64 OS snap as it breaks uboot -- Oliver Grawert Tue, 15 Mar 2016 13:21:25 +0100 livecd-rootfs (2.387) xenial; urgency=medium * Move the new touch click apps (unav, dekko, calendar) to the custom tarball. -- Łukasz 'sil2100' Zemczak Tue, 15 Mar 2016 12:56:32 +0100 livecd-rootfs (2.386) xenial; urgency=medium [ Michael Vogt ] * add dpkg.list to assets of the kernel snap * add grub-efi-arm64 to the arm64 OS snap [ Adam Conrad ] * Build raspi2 images with multiverse for firmware. -- Adam Conrad Mon, 14 Mar 2016 10:31:55 -0600 livecd-rootfs (2.385) xenial; urgency=medium * add snap building for kernel snaps -- Oliver Grawert Wed, 09 Mar 2016 15:58:35 +0100 livecd-rootfs (2.384) xenial; urgency=medium * slightly adjust the naming of the OS snap for snappy builds so it becomes easier for cdimage to grab and publish it. -- Oliver Grawert Tue, 08 Mar 2016 19:43:19 +0100 livecd-rootfs (2.383) xenial; urgency=medium * add snap cration for ubuntu-core snappy rootfs builds -- Oliver Grawert Tue, 08 Mar 2016 16:43:45 +0100 livecd-rootfs (2.382) xenial; urgency=medium * Remove the manta device from the list of touchsubarches as we're not building its kernel anymore. -- Łukasz 'sil2100' Zemczak Fri, 04 Mar 2016 09:47:31 +0100 livecd-rootfs (2.381) xenial; urgency=medium [ Ben Howard ] * live-build/ubuntu-cpc/hooks/042-vagrant.binary: scope serial device for Virtualbox only. [ Łukasz 'sil2100' Zemczak ] * Update the debootstrap group and gshadow hashes for ubuntu-touch. -- Łukasz 'sil2100' Zemczak Thu, 03 Mar 2016 10:07:26 +0100 livecd-rootfs (2.380) xenial; urgency=medium [ Ben Howard ] * live-build/ubuntu-cpc/hooks/042-vagrant.binary: add serial device for Vagrant images (LP: #1546108). [ Daniel Watkins ] * Refactor ubuntu-cpc hooks to hard-code producing an 'ext4' rootfs, which is used outside of the livecd-rootfs build process (specifically for EC2 publication). -- Dimitri John Ledkov Mon, 22 Feb 2016 19:17:15 +0000 livecd-rootfs (2.379) xenial; urgency=medium * add /var/lib/systemd/rfkill to pre-created dirs to use as writable mountpoint for bind-mounts in snappy. -- Oliver Grawert Thu, 18 Feb 2016 14:42:29 +0100 livecd-rootfs (2.378) xenial; urgency=medium * Add net.ifnames=0 to the raspi2 cmdline injected into raspi2 builds. -- Adam Conrad Wed, 17 Feb 2016 17:47:26 -0700 livecd-rootfs (2.377) xenial; urgency=medium * live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot: Add fake_cloud_init function to create a nocloud data source for cloud images that aren't meant to be used on real clouds and use it by default on armhf+raspi2 -- Adam Conrad Sun, 14 Feb 2016 03:12:37 -0700 livecd-rootfs (2.376) xenial; urgency=medium [ Michael Terry ] * Change real name for phablet user to "Ubuntu" in ubuntu-touch. [ Steve Langasek ] * Drop BuildLiveCD from the examples; we now use launchpad-buildd to drive livefs builds, so BuildLiveCD is obsolete and misleading. * Add hooks to ubuntu-cpc to divert /bin/sync in the chroot and undivert it at the end. This is a general-purpose change that should be applied to all flavors and archs, but at the moment it's only needed on armhf+raspi2 to work around the raspberrypi2-firmware postinst calling sync, which is actually warranted in the normal case. * If a subarch is specified for a cloud image build, don't build rootfs artifacts; these should come from the 'generic' build. * Fix architecture handling in hooks. We know we're always being invoked from a launchpad-buildd-like setup, which passes ARCH and SUBARCH in the environment, because auto/config and auto/build both rely on this. So don't scatter dpkg --print-architecture calls throughout, especially when many of these are not cross-build-aware. * Refactor ubuntu-cpc hooks to allow us to handle images where the root partition should not be partition 1. [ Ben Howard ] * ubuntu-cpc: fix hooks/032-disk-image.binary call to create_empty_partition, which requires five args due to "-u" * ubuntu-cpc: in hooks/030-root-tarball.binary create /lib/modules to fix (LP: 1543204). [ Dimitri John Ledkov ] * Do not remove linux-base, when purging all the linux-*, in the tarball build. Otherwise ubuntu-minimal is removed, and things get crazy. * Correct initrd.img symlink, kernel/hooks should actually produce the right thing here, but meh. * Chroot to execute zipl, because it's nice. * Use the right loop device to install zipl onto. [ Steve Langasek ] * Refactor ubuntu-cpc hooks to always produce a 'plain' rootfs via live-build and reuse this for the tarball, instead of lb_binary_rootfs creating some artifact that we ignore / throw away. * Initial support for raspi2 subarch. * Import live-build/ubuntu-cpc/hooks/raspi2/mkknlimg from https://github.com/raspberrypi/linux/blob/rpi-4.1.y/scripts/mkknlimg and use it to install a bootable uboot.bin. -- Steve Langasek Fri, 12 Feb 2016 21:14:49 +0000 livecd-rootfs (2.375) xenial; urgency=medium [ Steve Langasek ] * Refactor some non-idiomatic architecture handling in live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot that also misidentifies the architecture name for armhf. [ Ben Howard ] * ubuntu-cpc: add missing net.ifnames=0 for ppc64el disk images. -- Ben Howard Thu, 04 Feb 2016 17:15:58 +0100 livecd-rootfs (2.374) xenial; urgency=medium [ Michael Vogt ] * ubuntu-core: - include the dpkg.list in the device tarball - store /usr/share/snappy/dpkg.list manifest on the OS tarball [ Dimitri John Ledkov ] * ubuntu-cpc: - exclude s390x from should_install_grub [ Steve Langasek ] * Refactor/reorder ubuntu-cpc support for consistency with other flavors, so that subarch overrides can be applied correctly. [ Ben Howard ] * ubuntu-cpc: - fixed loop setup due to change of kpartx output - only use grub-install logic for Intel architectures -- Ben Howard Tue, 02 Feb 2016 10:18:14 -0700 livecd-rootfs (2.373) xenial; urgency=medium * Set timeout options so ppc64el cloud images don't display a grub boot menu (matching the behaviour of other cloud images). * Specify a regex to run-parts so that cloud image extra scripts are found and executed. -- Daniel Watkins Thu, 28 Jan 2016 11:51:23 +0000 livecd-rootfs (2.372) xenial; urgency=medium * Install grub in ppc64el cloud images so they are bootable (LP: #1538610) -- Daniel Watkins Wed, 27 Jan 2016 16:32:58 +0000 livecd-rootfs (2.371) xenial; urgency=medium * Remove unneeded packages from the root.tar.{gz,xz} cloud image targets (LP: #1534764). -- utlemming Howard Tue, 19 Jan 2016 12:48:32 +0000 livecd-rootfs (2.370) xenial; urgency=medium * Produce OVA files for i386 cloud builds. -- Daniel Watkins Wed, 13 Jan 2016 11:51:51 +0000 livecd-rootfs (2.369) xenial; urgency=medium [ Łukasz 'sil2100' Zemczak ] * Fix the invalid path for the error message in 00-uid-gid-fix.chroot_early for ubuntu-touch. [ Michael Vogt ] * live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot: - remove libicu52 hook [ Daniel Watkins ] * Enable building of s390x cloud images. -- Colin Watson Wed, 13 Jan 2016 10:29:43 +0000 livecd-rootfs (2.368) xenial; urgency=medium * Fix earlier mistake of changing the wrong hashes. -- Łukasz 'sil2100' Zemczak Mon, 14 Dec 2015 10:01:58 +0100 livecd-rootfs (2.367) xenial; urgency=medium * Update the passwd/shadow db hashes on ubuntu-touch builds -- Łukasz 'sil2100' Zemczak Mon, 14 Dec 2015 09:47:01 +0100 livecd-rootfs (2.366) xenial; urgency=medium * also add the new apt user to /etc/passwd in snappy -- Oliver Grawert Fri, 11 Dec 2015 17:34:44 +0100 livecd-rootfs (2.365) xenial; urgency=medium * update /etc/shadow on snappy for new apt user -- Oliver Grawert Fri, 11 Dec 2015 12:05:39 +0100 livecd-rootfs (2.364) xenial; urgency=medium * ubunut-cpc: - extendend hooks/functions to support creation of derivative images including mounting images. - added the ability to create qcow2 images in hooks/functions - simplified loop clean-up in hooks/functions - removed assumption that disk1.img would be built - switched qcow2 generation to use hooks/functions function -- Ben Howard Thu, 10 Dec 2015 09:10:35 -0700 livecd-rootfs (2.363) xenial; urgency=medium * configure /etc/fw_env.config for all arm arches on snappy -- Oliver Grawert Thu, 10 Dec 2015 15:04:41 +0100 livecd-rootfs (2.362) xenial; urgency=medium * make sure u-boot-tools is installed on snappy arm64 -- Oliver Grawert Tue, 08 Dec 2015 16:47:21 +0100 livecd-rootfs (2.361) xenial; urgency=medium * live-build/ubuntu-core/hooks/01-setup_user.chroot: make sure the default group is still created when adding the default user to adm and sudo groups. -- Oliver Grawert Tue, 08 Dec 2015 16:36:34 +0100 livecd-rootfs (2.360) xenial; urgency=medium [ Michael Vogt ] * live-build/ubuntu-core/hooks/01-setup_user.chroot: - add default ubuntu user to "adm" and "sudo" groups [ Łukasz 'sil2100' Zemczak ] * Fix the previous apt list removal hook. This hook needs to be .binary as otherwise we're still left with apt lists when the image is published. -- Michael Vogt Mon, 07 Dec 2015 11:03:35 +0100 livecd-rootfs (2.359) xenial; urgency=medium * ubuntu-cpc: - add devpts-live to hook builds - add logic to settle the disks after UEFI builds -- Ben Howard Mon, 23 Nov 2015 09:34:57 -0700 livecd-rootfs (2.358) xenial; urgency=medium * Fix typo in ubuntu-cpc preventing non-intel builds. -- Ben Howard Tue, 17 Nov 2015 08:36:32 -0700 livecd-rootfs (2.357) xenial; urgency=medium * merge lp:~utlemming/livecd-rootfs/additional-cloud-targets: * added additional CPC build targets: - added manifest generation for squashfs and root.tar.gz - added VMDK generation - added OVA generation from VMDK's - added generic Vagrant image generation -- Oliver Grawert Mon, 16 Nov 2015 15:50:17 +0100 livecd-rootfs (2.356) xenial; urgency=medium * merge lp:~sil2100/livecd-rootfs/update_hashes to update the passwd db hashes on ubuntu-touch builds (LP: #1516526) -- Oliver Grawert Mon, 16 Nov 2015 15:44:48 +0100 livecd-rootfs (2.355) xenial; urgency=medium * fix input group in snappy -- Oliver Grawert Fri, 13 Nov 2015 12:52:34 +0100 livecd-rootfs (2.354) xenial; urgency=medium * do not ship assets/dtbs/overlays in raspi2 tarball, it breaks ubuntu-device-flash -- Oliver Grawert Fri, 13 Nov 2015 10:53:13 +0100 livecd-rootfs (2.353) xenial; urgency=medium * drop input group from snappy images, adjust md5 sums in live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early * completely separate the snappy device tarball creation from the snappy rootfs so one doesnt taint the other (which allows dropping a lot more from the rootfs we do not need in a snappy system, like initramfs creation tools and all its dependencies). * drop live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary * enable automated build of raspi2 device tarballs for snappy -- Oliver Grawert Mon, 09 Nov 2015 12:53:24 +0100 livecd-rootfs (2.352) xenial; urgency=medium * Move building of all architecture-specific CPC artifacts into Launchpad (LP: #1513754). -- Daniel Watkins Fri, 06 Nov 2015 09:55:33 +0000 livecd-rootfs (2.351) xenial; urgency=medium * live-build/ubuntu-core/hooks/21-snappy-security-policy-stamp.chroot: - create a /usr/share/snappy/security-policy-version so that snappy can re-generate the security profiles if any of the versions of apparmor or ubuntu-core-security-* changes -- Michael Vogt Wed, 04 Nov 2015 08:45:49 +0100 livecd-rootfs (2.350) xenial; urgency=medium [ Oliver Grawert ] * bump UID for tss user in snappy, else it matches dnsmasq and bad things happen * fix handling of writable files in /etc/default for snappy [ Ben Howard ] * Cloud Images: disable new NIC naming convention (LP: #1510345). -- Colin Watson Thu, 29 Oct 2015 14:25:28 +0000 livecd-rootfs (2.349) wily; urgency=medium * do not hardcode installation of grub-pc for amd64 in snappy images, instead install the right grub set for secureboot there -- Oliver Grawert Fri, 09 Oct 2015 17:47:03 +0200 livecd-rootfs (2.348) wily; urgency=medium * limit grub-install diversion on snappy images to x86 architectures -- Oliver Grawert Fri, 09 Oct 2015 12:52:57 +0200 livecd-rootfs (2.347) wily; urgency=medium * divert grub-install on snappy images during rootfs build -- Oliver Grawert Fri, 09 Oct 2015 12:44:04 +0200 livecd-rootfs (2.346) wily; urgency=medium * merge lp:~sil2100/livecd-rootfs/remove_apt_lists to drop cruft from /var/lib/apt/lists on phone images -- Oliver Grawert Wed, 30 Sep 2015 15:23:02 +0200 livecd-rootfs (2.345) wily; urgency=medium [ Łukasz Zemczak ] * lp:~sil2100/livecd-rootfs/pocket-desktop: - add support for pocket-desktop [ Oliver Grawert ] * add user/group fixes for snappy shipping tpm-tools -- Michael Vogt Mon, 21 Sep 2015 16:19:43 +0200 livecd-rootfs (2.344) wily; urgency=medium * Drop 'landscape-client' from Cloud Images (LP: #1497030). -- Ben Howard Thu, 17 Sep 2015 15:56:24 -0600 livecd-rootfs (2.343) wily; urgency=medium [ Oliver Grawert ] * add empty "extrausers" equivalents for subuid and subgid files, else adduser falls over in interactive mode when trying to write to them. [ Iain Lane ] * live-build/ubuntu-touch/hooks/03-etc-writable.chroot: Set up /etc/whoopsie too. (LP: #1437633) -- Iain Lane Thu, 10 Sep 2015 12:22:57 +0100 livecd-rootfs (2.342) wily; urgency=medium * ubuntu-touch, ubuntu-desktop-next: drop systemd-journal-remote from group files, update md5sums in 00-uid-gid-fix.chroot_early -- Oliver Grawert Wed, 09 Sep 2015 13:20:10 +0200 livecd-rootfs (2.341) wily; urgency=medium * add ppp and watchdog packages to snappy -- Oliver Grawert Mon, 07 Sep 2015 18:32:15 +0200 livecd-rootfs (2.340) wily; urgency=medium [ Michael Vogt ] * live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary: - cleanup further after moving the kernel out of the rootfs (LP: #1468469) [ Oliver Grawert ] * systemd-journal-remote was dropped from /etc/group and /etc/gshadow, update the files and md5sums in the passwd checks of ubuntu-core -- Oliver Grawert Thu, 03 Sep 2015 14:20:39 +0200 livecd-rootfs (2.339) wily; urgency=medium * revert the apparmor-super-noise change, issue is found * touch the cache files during build to prevent timestamp issues in the future * drop copying of zip files of the android package, we do not generate these anymore. -- Oliver Grawert Wed, 12 Aug 2015 12:17:51 +0200 livecd-rootfs (2.338) wily; urgency=medium [ Łukasz Zemczak ] * merge lp:~sil2100/livecd-rootfs/deb-src_for_extra_ppas, In case of extra PPAs also include the deb-src entry in the sources list. (LP: #1482703) [ Oliver Grawert ] * add the apparmor-super-noise change to get extra detailed info about all apparmor operations in the ubuntu-touch build logs -- Oliver Grawert Tue, 11 Aug 2015 18:18:58 +0200 livecd-rootfs (2.336) wily; urgency=medium * make apparmor precompilation more verbose, list the dir contents of /custom/cache/apparmor to see in the build log what has been created. -- Oliver Grawert Tue, 11 Aug 2015 11:29:01 +0200 livecd-rootfs (2.335) wily; urgency=medium * Attempt to build Ubuntu image using metapackages instead of tasks; this is necessary in order to build a test image out of wily-proposed for the g++5 transition, but may be reverted later if this doesn't turn out to be maintainable. (Code taken from the trusty HWE LTS branch of livecd-rootfs.) -- Steve Langasek Sun, 09 Aug 2015 22:54:24 -0700 livecd-rootfs (2.334) wily; urgency=medium * add dnsmasq user to snappy builds, needed by ubuntu-fan -- Oliver Grawert Tue, 28 Jul 2015 10:48:13 +0200 livecd-rootfs (2.333) wily; urgency=medium * lp:~mvo/livecd-rootfs/snappy-add-fw_env.config: - add /etc/fw_env.config that points to /boot/uboot/fw_env.config to make fw_{set,print}env work -- Michael Vogt Fri, 17 Jul 2015 17:46:09 +0200 livecd-rootfs (2.332) wily; urgency=medium * Get previous ubuntu-core changes on desktop-next -- Sebastien Bacher Thu, 09 Jul 2015 18:19:41 +0200 livecd-rootfs (2.331) wily; urgency=medium * merge lp:~sergiusens/livecd-rootfs/eth0Not to not hardcode eth0 anymore on snappy. -- Oliver Grawert Thu, 09 Jul 2015 16:41:53 +0200 livecd-rootfs (2.330) wily; urgency=medium * fix another quoting issue in snappy -- Oliver Grawert Thu, 09 Jul 2015 12:11:55 +0200 livecd-rootfs (2.329) wily; urgency=medium [ Łukasz Zemczak ] * Split out the youtube scope to the custom tarball since some images can't have it pre-installed (e.g. arale China images). -- Steve Langasek Wed, 08 Jul 2015 15:08:15 -0700 livecd-rootfs (2.328) wily; urgency=medium * fix quoting issue with the last change ... -- Oliver Grawert Wed, 08 Jul 2015 22:51:04 +0200 livecd-rootfs (2.327) wily; urgency=medium * merge lp:~sergiusens/livecd-rootfs/snappyDevicePart for using versioned kernel and initrd binaries in snappy -- Oliver Grawert Wed, 08 Jul 2015 17:46:36 +0200 livecd-rootfs (2.326) wily; urgency=medium * snappy: install libc6:i386 on amd64 images for multiarch support out of the box. (LP: #1444049) -- Oliver Grawert Tue, 07 Jul 2015 11:49:46 +0200 livecd-rootfs (2.325) wily; urgency=medium * live-build/ubuntu-touch/includes.chroot/etc/lightdm/lightdm.conf.d/ 90-phablet.conf: - don't use deprecated "[SeatDefault]" syntax * live-build/ubuntu-desktop-next/includes.chroot/usr/share/lightdm/ lightdm.conf.d/90-desktop-next-autologin.conf: - let desktop-next autolog to the ubuntu user session -- Sebastien Bacher Fri, 03 Jul 2015 11:39:41 +0200 livecd-rootfs (2.324) wily; urgency=medium * Revert unwanted change included in the previous upload -- Sebastien Bacher Thu, 02 Jul 2015 16:04:16 +0200 livecd-rootfs (2.323) wily; urgency=medium * live-build/ubuntu-desktop-next/hooks/11-remove-extra-packages.chroot: - remove click from desktop-next -- Sebastien Bacher Thu, 02 Jul 2015 15:53:43 +0200 livecd-rootfs (2.322) wily; urgency=medium * live-build/ubuntu-desktop-next/hooks/00-uid-gid-fix.chroot_early: - updated for the previous group changes -- Sebastien Bacher Wed, 01 Jul 2015 10:09:43 +0200 livecd-rootfs (2.320) wily; urgency=medium * Copied some touch tweaks (n-m config and user groups) to desktop-next [ Michael Vogt ] * snappy/desktop-next: - add snappypkg user and remove clickpkg user -- Sebastien Bacher Tue, 30 Jun 2015 18:08:10 +0200 livecd-rootfs (2.319) wily; urgency=medium * copy set locale hook from core to desktop-next [ Sergio Schvezov ] * removing debian packaging artifacts from the image -- Sebastien Bacher Fri, 26 Jun 2015 10:43:07 +0200 livecd-rootfs (2.318) wily; urgency=medium * merge lp:~sergiusens/livecd-rootfs/no-walinuxagent to remove all the hackery that was initially needed for azure snappy images, this got properly implemented now. -- Oliver Grawert Thu, 25 Jun 2015 13:59:50 +0200 livecd-rootfs (2.317) wily; urgency=medium [ Sebastien Bacher ] * live-build/ubuntu-desktop-next/hooks/20-extra-files.chroot: - create other needed directories * live-build/ubuntu-desktop-next/includes.chroot: - copy ubuntu-core's include for /etc/hosts and resolv.conf config * live-build/ubuntu-desktop-next/hooks/00-uid-gid-fix.chroot_early: - copy touch hacks to create needed userdirs (lightdm & usermetrics), the users are added by the script and not the usual postinst so their uderdirs are not created as they should * live-build/ubuntu-desktop-next/hooks/10-remove-documentation.binary: - don't remove the copyright and manpages on desktop [ Oliver Grawert ] * allow install of "multi" click packages in 60-install-click.chroot on ubuntu-touch -- Sebastien Bacher Fri, 19 Jun 2015 10:52:07 +0200 livecd-rootfs (2.316) wily; urgency=medium * live-build/ubuntu-desktop-next/hooks/20-extra-files.chroot: - create /writable otherwise the mounts job fail and block the boot -- Sebastien Bacher Wed, 17 Jun 2015 17:10:18 +0200 livecd-rootfs (2.315) wily; urgency=medium * live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary, live-build/ubuntu-desktop-next/hooks/500-move-kernel-to-device-tar.binary,: - deal with vmlinuz .signed when copying kernels -- Sebastien Bacher Thu, 11 Jun 2015 17:53:01 +0200 livecd-rootfs (2.314) wily; urgency=medium [ Iain Lane ] * Small whitespace cleanup in live-build/auto/config [ Sebastien Bacher ] * Set kernel flavours variable to try to fix amd64 build -- Sebastien Bacher Wed, 10 Jun 2015 15:10:03 +0200 livecd-rootfs (2.313) wily; urgency=medium * Revert symlink changes, that creates build issues, copy updated hook to the desktop-next directory instead -- Sebastien Bacher Wed, 10 Jun 2015 11:26:04 +0200 livecd-rootfs (2.312) wily; urgency=low [ Michael Vogt ] * live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary: - ignore /vmlinu?, /initrd.img symlinks when building the boot assets [ Sebastien Bacher ] * Symlink some desktop-next hooks to ubuntu-core to avoid duplication -- Sebastien Bacher Tue, 09 Jun 2015 17:56:23 +0200 livecd-rootfs (2.311) wily; urgency=medium * Updates users and groups for desktop next -- Sebastien Bacher Mon, 08 Jun 2015 15:32:17 +0200 livecd-rootfs (2.310) wily; urgency=medium * Don't add a docker group to desktop next -- Sebastien Bacher Mon, 08 Jun 2015 09:49:23 +0200 livecd-rootfs (2.309) wily; urgency=medium * Updated user/groups config for the desktop-next -- Sebastien Bacher Fri, 05 Jun 2015 18:31:52 +0200 livecd-rootfs (2.308) wily; urgency=medium * Copy desktop-next hooks in the configuration -- Sebastien Bacher Fri, 05 Jun 2015 15:06:07 +0200 livecd-rootfs (2.307) wily; urgency=medium * Remove duplicated code leftover in the previous desktop-next changeset -- Sebastien Bacher Fri, 05 Jun 2015 10:55:39 +0200 livecd-rootfs (2.306) wily; urgency=medium * Create hooks and image build config for the ubuntu-desktop-next new based on snappy image. -- Didier Roche Fri, 29 May 2015 11:51:22 +0200 livecd-rootfs (2.305) wily; urgency=medium * also add /lib/firmware to the dirs we pre-create on touch and core. -- Oliver Grawert Thu, 28 May 2015 13:18:43 +0200 livecd-rootfs (2.304) wily; urgency=medium * -touch/-core create /etc/mtab link, /lib/modules dir and the respective writable mountpoints (/userdata for touch, /writable for core) so we do not need to re-pack the rootfs on the system-image server to add them. -- Oliver Grawert Thu, 28 May 2015 12:17:32 +0200 livecd-rootfs (2.303) wily; urgency=medium * drop grouper from touchsubarches variable. the android package does not provide any grouper images anymore which makes touch image builds fail. -- Oliver Grawert Tue, 26 May 2015 14:12:09 +0200 livecd-rootfs (2.302) wily; urgency=medium * Call Setup_cleanup in live-build/auto/build to set exit handler. -- Adam Conrad Mon, 25 May 2015 23:09:42 -0600 livecd-rootfs (2.301) wily; urgency=low [ Michael Vogt ] * create /boot/uboot on armhf to ensure that its in the system tarball and still on the system if ubuntu-core-upgrader performs a "format" (LP: #1447652) * live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary: - fix typo in hardware.yaml * live-build/auto/config: - add grub-efi-ia32-bin for i386 for efi support [ Adam Conrad ] * live-build/auto/config: Handle applying priorities to EXTRA_PPAS via the extra_ppa="user/ppaname:priority" syntax (LP: #1450257) -- Adam Conrad Wed, 06 May 2015 18:23:17 -0600 livecd-rootfs (2.300) vivid; urgency=medium * live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot: revert removal of python from the rootfs temporarily, since we've manually re-added it to the seed in order to make walinuxagent work again on the azure image. -- Steve Langasek Wed, 22 Apr 2015 16:03:42 -0700 livecd-rootfs (2.299) vivid; urgency=medium * Fix snappy motd to not reference 'development', which isn't always true. -- Adam Conrad Fri, 17 Apr 2015 13:29:03 -0600 livecd-rootfs (2.298) vivid; urgency=low * live-build/auto/config: - remove resolvconf, click-apparmor, dosfstools - shuffle install order around * snappy: + remove click-hook-framework + remove /etc/init.d/grub-common -- Michael Vogt Thu, 16 Apr 2015 09:37:34 -0500 livecd-rootfs (2.297) vivid; urgency=low * fix device.tar.gz generation for snappy * lp:~ubuntu-on-ec2/livecd-rootfs/cpc2: - build cloud based images using livecd-rootfs -- Michael Vogt Thu, 09 Apr 2015 14:54:23 +0200 livecd-rootfs (2.296) vivid; urgency=low * ubuntu-core: - update passwd/group etc for new syslog user - remove live-build/ubuntu-core/hooks/15-pycompile-snappy.chroot - merged lp:~snappy-dev/livecd-rootfs/core_update to generate device tar conform hardware.yaml - add compability handling for current u-d-f/grub when extracting the device tarball -- Michael Vogt Mon, 30 Mar 2015 20:40:25 +0200 livecd-rootfs (2.295) vivid; urgency=medium * forcefully add ubuntu-system-settings-online-accounts to ubuntu-touch builds to make sure the dependency is fulfilled in advance -- Oliver Grawert Wed, 25 Mar 2015 10:26:40 +0100 livecd-rootfs (2.294) vivid; urgency=medium * add more verbosity to the copy command for android fragments in ubuntu-touch -- Oliver Grawert Fri, 13 Mar 2015 11:10:33 +0100 livecd-rootfs (2.293) vivid; urgency=low [ Michael Vogt ] * live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot: - remove libpython2.7 and friends as welll [ Oliver Grawert ] * remove all .override files in teh build chroot, else teh buildd machines fall over. -- Oliver Grawert Tue, 10 Mar 2015 16:21:36 +0100 livecd-rootfs (2.292) vivid; urgency=low [ Michael Vogt ] * live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot: - python2 is no longer required on a snappy system * live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early: - updated md5sums as the ordering of users/groups has changed with the new systemd-sysv [ Oliver Grawert ] * live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early: bump all md5sums to new values, now that debootstrap installs systemd-sysv instead of upstart the ordering and thus the group numbering has changed -- Oliver Grawert Tue, 10 Mar 2015 12:07:16 +0100 livecd-rootfs (2.291) vivid; urgency=low [ Michael Vogt ] * do not leave some packages in ^rc state on snappy/ubuntu-core (LP: #1428115). Thanks to Daniel Holbach [ Oliver Grawert ] * put FLASH_KERNEL_SKIP=true into /etc/environment on phones, this will prevent the systems from trying to flash an updated initrd automatically in case you call update-initramfs or install your own kernel package on a nexus device where this is supported, please call flash-kernel manually after unsetting the variable in your work environment. -- Oliver Grawert Fri, 06 Mar 2015 21:14:11 +0100 livecd-rootfs (2.290) vivid; urgency=medium * touch: Explicitly uninstall systemd-sysv, to help apt to install upstart when the preferred "init" alternative is systemd-sysv. Also explicitly install packagekit to help the problem resolver. Thanks Colin Watson! (LP: #1428026) -- Martin Pitt Wed, 04 Mar 2015 12:04:22 +0100 livecd-rootfs (2.289) vivid; urgency=medium * add info about /var/log ownership so it ends up in the ubuntu-touch build logs -- Oliver Grawert Tue, 03 Mar 2015 15:10:07 +0100 livecd-rootfs (2.288) vivid; urgency=low [ Michael Vogt ] * add dosfstools on snappy to ensure systemd can fsck the /boot partition [ Ricardo Salveti de Araujo ] * touch: don't depend on mir-platform-graphics-android and let that to be handled by the seeds (they can't stop bumping the package name and the graphics-mesa package doesn't cause any harm) -- Ricardo Salveti de Araujo Sun, 01 Mar 2015 01:27:11 -0300 livecd-rootfs (2.287) vivid; urgency=low [ Michael Vogt ] * add even more verbose output to live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early (thanks Oliver!) * live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early: - adjust the {group,gshadow}_bootstrap values. The audio group used to be gid 1005 after the bootstrap and is now 29. * live-build/auto/config: - add snappy-ubuntu [ Oliver Grawert ] * make sure /var/log is always owned by the syslog group on touch -- Oliver Grawert Wed, 18 Feb 2015 15:03:54 +0100 livecd-rootfs (2.286) vivid; urgency=medium * touch: forcing package mir-platform-graphics-android to see if we're able to remove the dependency on the mesa one (until mir is properly fixed) -- Ricardo Salveti de Araujo Thu, 12 Feb 2015 03:05:31 -0200 livecd-rootfs (2.285) vivid; urgency=medium * touch: removing dependencies on a specific mir platform driver as mir can now identify and load the correct driver during runtime -- Ricardo Salveti de Araujo Wed, 11 Feb 2015 23:35:42 -0200 livecd-rootfs (2.284) vivid; urgency=medium * bump the gshadow hash in 00-uid-gid-fix.chroot_early too -- Oliver Grawert Wed, 11 Feb 2015 21:07:27 +0100 livecd-rootfs (2.283) vivid; urgency=low [ Michael Vogt ] * add more verbose output to live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early (thanks Oliver!) [ Oliver Grawert ] * make sure to collect all output of all changed files in one go in 00-uid-gid-fix.chroot_early, that way we only need to fix it once and have all info in the logs -- Oliver Grawert Wed, 11 Feb 2015 18:25:11 +0100 livecd-rootfs (2.282) vivid; urgency=medium * update the passwd hash for changed GID of syslog ... also add output of the respective md5sums to the error message for easier debugging -- Oliver Grawert Wed, 11 Feb 2015 16:46:18 +0100 livecd-rootfs (2.281) vivid; urgency=medium * add more verbose output to live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early -- Oliver Grawert Wed, 11 Feb 2015 15:11:51 +0100 livecd-rootfs (2.280) vivid; urgency=medium * live-build/ubuntu-core/hooks/02-add_user_to_groups.chroot: use commas instead of spaces. -- Loïc Minier Wed, 04 Feb 2015 18:03:08 +0100 livecd-rootfs (2.279) vivid; urgency=medium * Revert changes to post-debootstrap hashes for core. -- Loïc Minier Wed, 04 Feb 2015 16:32:09 +0100 livecd-rootfs (2.278) vivid; urgency=medium * Add live-build/ubuntu-core/hooks/99zz-check-uid-gid.chroot, copy of live-build/ubuntu-touch/hooks/99zz-check-uid-gid.chroot with just the error message changed. Currently, the passwd/group checks weren't run. * live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early: also add input group. * Core: drop live-build/ubuntu-core/hooks/12-add-docker-user.chroot and move docker user creation to live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early; add ubuntu user to docker group in live-build/ubuntu-core/hooks/02-add_user_to_groups.chroot. This fixes static uid/gid maps for docker user/group. * Update post-debootstrap hashes in live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early. -- Loïc Minier Wed, 04 Feb 2015 14:28:37 +0100 livecd-rootfs (2.277) vivid; urgency=medium * live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early: add new "input" group to etc/group and etc/gshadow static maps. * live-build/ubuntu-core/includes.chroot/etc/resolv.conf: use relative symlink as suggested by lintian. * Bump Standards-Version to 3.9.6. -- Loïc Minier Wed, 04 Feb 2015 13:32:58 +0100 livecd-rootfs (2.276) vivid; urgency=medium [ Mathieu Trudel-Lapierre ] * live-build/auto/config: add config for Ubuntu MATE. [ Michael Vogt ] * use generic kernel for all ubuntu-core system-image * live-build/ubuntu-core/hooks/01-setup_user.chroot: - run chpasswd after user moved into /var/lib/extrausers * live-build/ubuntu-core/hooks/01-setup_user.chroot: - run with -e -- Mathieu Trudel-Lapierre Wed, 28 Jan 2015 11:03:08 -0500 livecd-rootfs (2.275+ppa2) vivid; urgency=medium * live-build/ubuntu-core/hooks/04-configure_network.chroot: use 'allow-hotplug' for the network config, not 'auto', to work around systemd behavior that causes 'auto' to delay the rest of the boot when DHCP is not available on the network. -- Steve Langasek Wed, 14 Jan 2015 22:49:43 -0800 livecd-rootfs (2.275+ppa1) vivid; urgency=low * live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early: - port static uid/gid setup from ubuntu-touch * live-build/ubuntu-core/hooks/15-pycompile-snappy.chroot: - byte compile .pyc files for snappy -- Michael Vogt Wed, 07 Jan 2015 09:36:11 +0100 livecd-rootfs (2.275) vivid; urgency=low [ Michael Vogt ] * live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early: - port static uid/gid setup from ubuntu-touch [ Ricardo Salveti de Araujo ] * Bump the hardcoded libmirplatform driver version for ubuntu-touch -- Ricardo Salveti de Araujo Wed, 14 Jan 2015 13:31:43 -0200 livecd-rootfs (2.274) vivid; urgency=medium [ Michael Vogt ] * live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary: - improve apt-get output * live-build/auto/config: - add click-apparmor for system-image * live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary: - fix incorrect "echo" - add missing wrappers for apt, apt-cache - fix message * live-build/ubuntu-core/hooks/14-set-motd.chroot: - update motd [ James Hunt ] * live-build/ubuntu-core/hooks/10-remove-documentation.binary: - compress remaining documentation to save further space. -- Michael Vogt Wed, 10 Dec 2014 12:57:30 +0100 livecd-rootfs (2.273) vivid; urgency=low [ Michael Vogt ] * live-build/ubuntu-core/hooks/14-set-motd.chroot: - set snappy specific motd * live-build/ubuntu-core/hooks/13-set-locale.chroot: - set default locale to C.UTF-8 [ Oliver Grawert ] * add systemd-journal-remote group to touch builds -- Oliver Grawert Tue, 02 Dec 2014 10:20:28 +0100 livecd-rootfs (2.271) vivid; urgency=medium * bump the hardcoded libmirplatform driver version for ubuntu-touch -- Oliver Grawert Thu, 27 Nov 2014 16:27:44 +0100 livecd-rootfs (2.270) vivid; urgency=medium * bump version of mir alternative in ubuntu-touch -- Oliver Grawert Thu, 27 Nov 2014 12:37:31 +0100 livecd-rootfs (2.269) vivid; urgency=low * live-build/auto/{build,config}: - create device-azure.tar.gz during the build that includes the packages for the azure cloud * live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary: - display helpful message to use snappy when a user tries to use apt-get on a snappy system * live-build/ubuntu-core/hooks/500-move-kernel-to-device-tar.binary: - do the device-azure.tar.gz extraction here * live-build/ubuntu-core/hooks/12-add-docker-user.chroot: - ensure docker group is used -- Michael Vogt Mon, 24 Nov 2014 08:38:15 +0100 livecd-rootfs (2.268) vivid; urgency=low * live-build/ubuntu-core/hooks/09-move-kernel-to-device-tar.binary: - build device tarball with system/ prefix - include /vmlinz, /initrd.img into device tarball - include /boot/abi-* /boot/System.map-* -- Michael Vogt Mon, 17 Nov 2014 11:27:31 +0100 livecd-rootfs (2.267) vivid; urgency=low * live-build/auto/config: - system-image: do not install ubuntu-minimal - system-image: install KERNEL_FLAVOURS=virtual on i386/amd64 - system-image: use "--linux-packages=linux-image" - add click-hook-framework * live-build/auto/build: - system-image: collect the deivce.tar.gz * live-build/ubuntu-core/hooks/09-move-kernel-to-device-tar.binary: - create a device.tar.gz from the installed kernel/modules and remove it from the rootfs * live-build/ubuntu-core/hooks/10-remove-documentation.binary: - strip documentation * live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot: - remove extra packages like libicu52/libqt that are still on the image because vivid system-image has a dependency on u-d-m which depends on libqt * live-build/ubuntu-core/hooks/12-add-docker-user.chroot: - add a docker user/group into the image (this can go once we have a hook for this) -- Michael Vogt Fri, 14 Nov 2014 13:06:19 +0100 livecd-rootfs (2.266) vivid; urgency=medium * Move the shorts click package to the custom tarball. LP: #1386177. -- Steve Langasek Wed, 12 Nov 2014 23:15:15 -0800 livecd-rootfs (2.265) vivid; urgency=low * live-build/ubuntu-core/hooks/03-boot_with_systemd.chroot: - only modify /etc/default/grub if the file exists -- Michael Vogt Mon, 03 Nov 2014 17:10:57 +0100 livecd-rootfs (2.264) vivid; urgency=low * live-build/auto/config: - also install flash-kernel/u-boot-tools in the armhf system-image, thanks to Adam Conrad -- Michael Vogt Mon, 03 Nov 2014 11:45:00 +0100 livecd-rootfs (2.263) vivid; urgency=medium * live-build/auto/config: - explicitly set KERNEL_FLAVOURS=generic to get the right kernel on armhf -- Michael Vogt Mon, 03 Nov 2014 11:30:02 +0100 livecd-rootfs (2.262) vivid; urgency=medium * fix typo in 99zz-check-uid-gid.chroot * add systemd users to group and passwd files on touch -- Oliver Grawert Wed, 29 Oct 2014 19:54:28 +0100 livecd-rootfs (2.261) vivid; urgency=medium * make diff not exit 1 if we show the diff for passwd, shadow, group etc -- Oliver Grawert Wed, 29 Oct 2014 16:44:25 +0100 livecd-rootfs (2.260) vivid; urgency=medium * properly redirect error output in 99zz-check-uid-gid.chroot so it ends up in the log files. -- Oliver Grawert Wed, 29 Oct 2014 13:19:46 +0100 livecd-rootfs (2.259) vivid; urgency=medium * merge ubuntu-core system-image fixes from the PPA: - add ubuntu-core-libs - add packages not (yet) in the ubuntu-core seed - fix resolv.conf - make timezone, localtime and hostname writable for cloud-init -- Michael Vogt Wed, 29 Oct 2014 11:05:29 +0100 livecd-rootfs (2.258) vivid; urgency=medium * collect changes to /etc/{passwd|shadow|group|gshadow} in the error output in case they got updated on ubuntu-touch. Give a proper hint what to change to make the error go away on the next run. -- Oliver Grawert Wed, 29 Oct 2014 09:49:56 +0100 livecd-rootfs (2.257) utopic; urgency=medium * Drop the click packages moved in 2.255 from the rootfs, leaving them only in the custom tarball. -- Colin Watson Wed, 15 Oct 2014 21:07:38 +0100 livecd-rootfs (2.256) utopic; urgency=medium * Fix directory layout of custom tarball. -- Colin Watson Wed, 15 Oct 2014 17:12:23 +0100 livecd-rootfs (2.255) utopic; urgency=medium [ Steve Langasek ] * Add support to the ubuntu-touch target to generate a separate custom tarball as part of the build, moving most click packages into it. [ Colin Watson ] * Temporarily install the to-be-moved click packages in both core and custom databases, to simplify the landing process. -- Colin Watson Tue, 14 Oct 2014 00:12:08 +0100 livecd-rootfs (2.254) utopic; urgency=medium * force the right alternative when the libmir*-android packages are installed, so that accidentially pulled in -mesa versions will not provide the default alternatives for them in ubuntu-touch images -- Oliver Grawert Sat, 11 Oct 2014 13:09:49 +0200 livecd-rootfs (2.253) utopic; urgency=medium * Update hardcoded libmir*-android installations for Mir 0.8.0. -- Colin Watson Sat, 11 Oct 2014 08:54:47 +0100 livecd-rootfs (2.252) utopic; urgency=low [ James Hunt ] * Convert resolvconf hook from a chroot hook to a binary hook since lb overwrites /etc/resolv.conf after the chroot hooks have run. * -- Michael Vogt Thu, 09 Oct 2014 13:20:40 +0200 livecd-rootfs (2.251) utopic; urgency=low * create /etc/hosts for ubuntu-core:system-image -- Michael Vogt Thu, 09 Oct 2014 09:24:39 +0200 livecd-rootfs (2.250) utopic; urgency=low * build system-image without recommends -- Michael Vogt Tue, 07 Oct 2014 11:44:09 +0200 livecd-rootfs (2.249) utopic; urgency=medium * live-build/ubuntu-core/hooks/06-handle_resolvconf.chroot: Remove pre-existing /etc/resolv.conf. -- James Hunt Mon, 06 Oct 2014 13:25:11 +0100 livecd-rootfs (2.248) utopic; urgency=medium * live-build/ubuntu-core/hooks/06-handle_resolvconf.chroot: Configure resolv.conf for Ubuntu Core. * live-build/ubuntu-core/hooks/07-configure-system-image-client.chroot: Configure system-image-cli's client.ini for Ubuntu Core. This can be dropped once bug 1373467 is fixed. -- James Hunt Fri, 03 Oct 2014 15:23:47 +0100 livecd-rootfs (2.247) utopic; urgency=medium * live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early: Create some directories which would otherwise go missing due to our pre-created users. (LP: #1374553) -- Stéphane Graber Fri, 26 Sep 2014 14:41:19 -0400 livecd-rootfs (2.246) utopic; urgency=medium * live-build/auto/config: Use ubuntukylin-live task for ubuntukylin, not ubuntu-live (LP: #1372731). -- Colin Watson Wed, 24 Sep 2014 10:59:55 +0100 livecd-rootfs (2.245) utopic; urgency=medium * Add two new hooks for Ubuntu Touch to setup sensible /etc/passwd, /etc/shadow, /etc/group and /etc/gshadow PRIOR to package installation to guarantee user/group ordering on the image and then to check for any unexpected change to those files. (LP: #1332538) Any change to either the initial set of users and groups or to the post-package-install set will now be fatal to the image and will require a manual update of the hardcoded user/group list contained in this new chroot_early hook. * Bump dependency on live-build accordingly. * Update the setup_user hook to also take care of gshadow. -- Stéphane Graber Mon, 22 Sep 2014 16:02:58 -0400 livecd-rootfs (2.244) utopic; urgency=medium * Substitute DEB_HOST_MULTIARCH into hook scripts at build time, rather than relying on dpkg-architecture (which is in dpkg-dev) to be present in the image. -- Colin Watson Tue, 23 Sep 2014 16:07:41 +0100 livecd-rootfs (2.243) utopic; urgency=medium * Updating apparmor features file for Ubuntu Touch -- Ricardo Salveti de Araujo Mon, 22 Sep 2014 23:59:25 -0300 livecd-rootfs (2.242) utopic; urgency=medium * get-ppa-fingerprint: Adjust use of softwareproperties.ppa.get_ppa_info_from_lp to match the new calling convention in software-properties 0.93. -- Colin Watson Wed, 17 Sep 2014 11:11:41 +0100 livecd-rootfs (2.241) utopic; urgency=medium * live-build/auto/config: Use ubuntukylin-desktop task for ubuntukylin, not ubuntu-desktop. -- Colin Watson Wed, 10 Sep 2014 10:54:17 +0100 livecd-rootfs (2.240) utopic; urgency=medium * live-build/ubuntu-touch/hooks/01-setup_user.chroot: - Don't modify PAM files directly, we'll let ubuntu-touch-session do that for us the proper way. (LP: #1348637) -- Michael Terry Wed, 13 Aug 2014 16:37:17 -0400 livecd-rootfs (2.239) utopic; urgency=medium * Revert part of the last change to ship the systemd hook as .chroot and not .binary since it doesn't appear to be running properly as a binary hook. -- Stéphane Graber Tue, 05 Aug 2014 13:37:57 -0400 livecd-rootfs (2.238) utopic; urgency=medium * ubuntu-core: Fix build failure due to missing /etc/default/grub and provide an fstab that will make systemd happy. -- Stéphane Graber Tue, 05 Aug 2014 11:32:44 -0400 livecd-rootfs (2.237) utopic; urgency=medium * ubuntu-core: Add click-systemd to preinstalled image (currently only in a PPA, so can't use tasks for this). -- Colin Watson Tue, 05 Aug 2014 13:29:22 +0200 livecd-rootfs (2.236) utopic; urgency=medium [ James Hunt ] * ubuntu-core: - Perform in-place edit. - Allow variable expansion. -- Colin Watson Tue, 05 Aug 2014 10:52:55 +0200 livecd-rootfs (2.235) utopic; urgency=medium * Only add the ubuntu-core hooks for the system-image subproject. -- Colin Watson Tue, 05 Aug 2014 08:34:27 +0200 livecd-rootfs (2.234) utopic; urgency=medium [ James Hunt ] * ubuntu-core: - Don't remove doc to be kind to devs. - Boot with systemd (temporary method until we have systemd-sysv). - Configure first network interface. -- Colin Watson Mon, 04 Aug 2014 16:12:43 +0200 livecd-rootfs (2.233) utopic; urgency=medium [ Colin Watson ] * live-build/auto/config: Add configuration for new kubuntu-plasma5 flavour. [ James Hunt ] * ubuntu-core: Run setup hooks as done for ubuntu-touch. -- Colin Watson Thu, 31 Jul 2014 10:37:18 +0100 livecd-rootfs (2.232) utopic; urgency=medium [ James Hunt ] * live-build/auto/config: Enable universe for system-image ubuntu-core sub-project which requires 'system-image-cli'. -- Colin Watson Wed, 30 Jul 2014 17:56:04 +0100 livecd-rootfs (2.231) utopic; urgency=medium * Hard-code installation of libmirclientplatform-android and libmirplatformgraphics-android to avoid accidentally pulling in the -mesa variants that are preferred as dependencies of libmirclient and libmirserver. -- Steve Langasek Mon, 28 Jul 2014 20:17:14 -0700 livecd-rootfs (2.230) utopic; urgency=low * lp:~mvo/livecd-rootfs/ubuntu-core-system-image: - install the "ubuntu-core" task and a kernel when building ubuntu-core with SUBPROJECT=system-image -- Michael Vogt Mon, 28 Jul 2014 20:10:56 +0200 livecd-rootfs (2.229) utopic; urgency=medium [ Michael Terry ] * Don't set an arbitrary password for the phablet user. As we transition to using PAM as the storage medium for the user's password, we can't expect the user to know about the 'phablet' password. * And configure libnss-extrausers to store user password information instead of /etc/shadow. -- Steve Langasek Thu, 24 Jul 2014 15:49:48 -0700 livecd-rootfs (2.228) utopic; urgency=medium * Pass --mirror-binary in the ubuntu-rtm case too; this isn't inherited from the bootstrap mirror. -- Colin Watson Wed, 23 Jul 2014 11:51:11 +0100 livecd-rootfs (2.227) utopic; urgency=medium * Pass --mirror-chroot-security and --mirror-binary-security in the ubuntu-rtm case, as the default of http://security.ubuntu.com/ubuntu/ isn't going to have ubuntu-rtm suites. -- Colin Watson Wed, 23 Jul 2014 11:00:23 +0100 livecd-rootfs (2.226) utopic; urgency=medium * Disable apt authentication checks when building ubuntu-rtm images against dogfood (that test archive is signed, but not with a very useful key). * Apply a grievous hack to get debootstrap working against ubuntu-rtm series. -- Colin Watson Wed, 23 Jul 2014 01:50:21 +0100 livecd-rootfs (2.225) utopic; urgency=medium * Use the soon-to-exist ubuntu-rtm archive for ubuntu-touch builds if SUBPROJECT is ubuntu-rtm (or ubuntu-rtm/dogfood for the dogfood version). -- Colin Watson Thu, 17 Jul 2014 12:50:09 +0100 livecd-rootfs (2.224) utopic; urgency=medium * drop extra space in DEFGROUPS variable -- Oliver Grawert Wed, 16 Jul 2014 20:32:58 +0200 livecd-rootfs (2.223) utopic; urgency=medium * add android_cache group (GID 2001) so that after we switch developer mode to default to the phablet user it is still possible to adb push image tarballs to the /cache partition -- Oliver Grawert Wed, 16 Jul 2014 14:15:21 +0200 livecd-rootfs (2.222) utopic; urgency=medium * Precompiling apparmor policies on touch -- Ricardo Salveti de Araujo Tue, 15 Jul 2014 17:34:38 -0300 livecd-rootfs (2.221) utopic; urgency=medium * Adding android_nvram group to the touch image -- Ricardo Salveti de Araujo Mon, 30 Jun 2014 00:12:43 +0400 livecd-rootfs (2.220) utopic; urgency=medium [ Alfonso Sanchez-Beato (email Canonical) ] * Add media group to touch image -- Oliver Grawert Fri, 27 Jun 2014 16:31:02 +0200 livecd-rootfs (2.219) utopic; urgency=medium * Drop fdupes analysis: not widely used any more, can be done separately if needed, and very noisy in build logs. * Make the output kernel/initrd world-readable in a couple more cases, particularly relevant to ubuntu-defaults-image (LP: #1334616). -- Colin Watson Thu, 26 Jun 2014 12:31:12 +0100 livecd-rootfs (2.218) utopic; urgency=medium * Install linux-signed-generic directly in live passes rather than relying on it being in the corresponding tasks. linux-signed-generic shouldn't be in a task because that expands to ABI-versioned packages, and tasks can't be updated post-release. -- Colin Watson Tue, 24 Jun 2014 02:18:36 +0100 livecd-rootfs (2.217) utopic; urgency=medium * drop swapfile creation for preinstalled images -- Oliver Grawert Mon, 23 Jun 2014 18:35:57 +0200 livecd-rootfs (2.216) utopic; urgency=medium * ubuntu-touch: remove the previous ugly hack again ... issue is fixed -- Oliver Grawert Fri, 30 May 2014 13:25:57 +0200 livecd-rootfs (2.215) utopic; urgency=medium * ubuntu-touch; DON'T DO THAT AT HOME ! (and keep the kids away) ... hack to remove a bunch of initscripts that currently break writable mode. this needs to be dropped again ASAP (once a proper fix landed) !! -- Oliver Grawert Fri, 30 May 2014 10:09:58 +0200 livecd-rootfs (2.214) utopic; urgency=medium * ubuntu-desktop-next: Use the Task fields that the archive now has for this project. -- Iain Lane Wed, 28 May 2014 10:37:36 +0100 livecd-rootfs (2.213) utopic; urgency=medium * The EXTRA_ARCHIVES environment variable defined in 2.212 doesn't quite work properly because it doesn't allow for signing key configuration. Rename it to the more domain-specific EXTRA_PPAS (which is now a space-separated sequence of / pairs), and fetch signing keys for those from Launchpad using python3-software-properties. -- Colin Watson Mon, 19 May 2014 15:28:35 +0100 livecd-rootfs (2.212) utopic; urgency=medium * live-build/auto/config: If EXTRA_ARCHIVES is set in the environment, dump its value into config/archives/extra-archives.list.chroot and config/archives/extra-archives.list.binary. This makes it easier for a builder to build an image against an additional PPA. -- Colin Watson Mon, 19 May 2014 12:14:28 +0100 livecd-rootfs (2.211) utopic; urgency=medium * Add an ubuntu-desktop-next project for building a desktop flavour including Unity 8 and the applications developed for Ubuntu Touch. -- Iain Lane Fri, 16 May 2014 17:54:04 +0100 livecd-rootfs (2.210) utopic; urgency=medium * live-build/ubuntu-touch/hooks/70-reconfigure-autopilot.chroot: Fix test for whether a package is installed, and check for both python-autopilot and python3-autopilot. -- Colin Watson Fri, 16 May 2014 13:05:07 +0100 livecd-rootfs (2.209) utopic; urgency=medium * live-build/auto/config: Pass any additional command-line arguments on to "lb config". -- Colin Watson Sat, 10 May 2014 13:54:42 +0100 livecd-rootfs (2.208) trusty; urgency=medium * Adding support for ubuntu-touch i386 based images -- Ricardo Salveti de Araujo Fri, 28 Mar 2014 19:00:25 -0300 livecd-rootfs (2.207) trusty; urgency=medium * touch/80-enable-libhybris.chroot: making libhybris the default alternatives for EGL/GLESv2 on touch -- Ricardo Salveti de Araujo Tue, 18 Mar 2014 21:03:48 -0300 livecd-rootfs (2.206) trusty; urgency=medium * dropping maguro and adding flo, changing golfish to generic in touchsubarches -- Oliver Grawert Sat, 22 Feb 2014 23:35:07 +0100 livecd-rootfs (2.205) trusty; urgency=medium * touch/48-setup-env.chroot: QML2_IMPORT_PATH should respect DEB_HOST_MULTIARCH (as we now have i386 builds as well) -- Ricardo Salveti de Araujo Tue, 18 Feb 2014 23:51:24 -0300 livecd-rootfs (2.204) trusty; urgency=medium * Make livecd-rootfs be Architecture: any so that we can go back to the android-tools-fsutils dependency being architecture-specific, which relieves us of having to port it to new architectures which don't care about Android. -- Colin Watson Fri, 31 Jan 2014 11:04:39 +0000 livecd-rootfs (2.203) trusty; urgency=medium * Add hostname and machine-info to the writable paths, so that hostnamectl can change them to create a sane default bluetooth device name. -- Chris Wayne Mon, 20 Jan 2014 15:34:59 +0100 livecd-rootfs (2.202) trusty; urgency=medium * Add the minimal task to ubuntu-core to preserve brand consistency. -- Adam Conrad Fri, 10 Jan 2014 11:46:36 -0700 livecd-rootfs (2.201) trusty; urgency=low * add support for copying goldfish android images out of the android package -- Oliver Grawert Wed, 27 Nov 2013 12:22:07 +0100 livecd-rootfs (2.200) trusty; urgency=low * use proper quoting for egrep call in click installer -- Oliver Grawert Tue, 26 Nov 2013 16:41:56 +0100 livecd-rootfs (2.199) trusty; urgency=low * make the click package installation check for proper architecture before trying to install packages from the list, so that i386 touch builds do not fall over with "wrong architecture" failures at the click install step. -- Oliver Grawert Tue, 26 Nov 2013 15:14:18 +0100 livecd-rootfs (2.198) trusty; urgency=low * Double-quotes prevented the previous change from working, so drop those. Additionally remove an hardcoded occurence of "saucy", instead using LB_DISTRIBUTION to avoid having to change that in the future. -- Stéphane Graber Sun, 20 Oct 2013 23:17:57 -0400 livecd-rootfs (2.197) trusty; urgency=low * Workaround to make ubuntu-touch build with older android package. -- Stéphane Graber Sun, 20 Oct 2013 16:52:29 -0400 livecd-rootfs (2.196) saucy; urgency=low * Removing the PPAs for Ubuntu Touch builds. -- Sergio Schvezov Mon, 14 Oct 2013 19:20:15 -0300 livecd-rootfs (2.195) saucy; urgency=low * fix the prefixing of click packages in manifest files -- Oliver Grawert Fri, 11 Oct 2013 18:27:58 +0200 livecd-rootfs (2.194) saucy; urgency=low * prefix click packages in the manifest file with "click:" -- Oliver Grawert Fri, 11 Oct 2013 18:14:02 +0200 livecd-rootfs (2.193) saucy; urgency=low * drop SHELL=/system/bin/sh from /etc/environment on touch images (urgh) -- Oliver Grawert Fri, 11 Oct 2013 17:30:21 +0200 livecd-rootfs (2.192) saucy; urgency=low * add click packages to the manifest output on ubuntu touch -- Oliver Grawert Fri, 11 Oct 2013 14:29:41 +0200 livecd-rootfs (2.191) saucy; urgency=low * ubuntu-touch: Make writable symlinks relative. -- Martin Pitt Mon, 30 Sep 2013 13:59:59 +0200 livecd-rootfs (2.190) saucy; urgency=low * ubuntu-touch: Add 03-etc-writable.chroot hook to move/symlink files in /etc to /etc/writable/ that we need to update atomically. At the moment these are timezone and localtime. (LP: #1227520) -- Martin Pitt Mon, 30 Sep 2013 13:32:32 +0200 livecd-rootfs (2.189) saucy; urgency=low * Explicitly add the ubuntu-desktop task to Edubuntu builds, so that any ambiguous dependencies resolved by the contents of the ubuntu-desktop task are actually resolved reliably. -- Colin Watson Tue, 24 Sep 2013 16:58:20 +0100 livecd-rootfs (2.188) saucy; urgency=low * ship policykit rules for networkmanager, now that we use it on touch -- Oliver Grawert Sat, 21 Sep 2013 12:54:02 +0200 livecd-rootfs (2.187) saucy; urgency=low * Removing QPA_PLATFORM_PLUGIN as it is now handled in their proper packages. -- Sergio Schvezov Thu, 12 Sep 2013 23:25:42 +0200 livecd-rootfs (2.186) saucy; urgency=low * drop phablet-team PPA sources.list entries from ubuntu-touch, since we do not use the PPA anymore -- Oliver Grawert Thu, 12 Sep 2013 20:47:11 +0200 livecd-rootfs (2.185) saucy; urgency=low * Configure LightDM, if installed, to autologin the phablet user -- Michael Terry Mon, 09 Sep 2013 12:21:13 -0400 livecd-rootfs (2.184) saucy; urgency=low * Revert to always using archive-team.internal in 60-install-click.chroot for now. This is unfortunate, but "hostname --fqdn" doesn't work at this stage. -- Colin Watson Fri, 06 Sep 2013 13:21:42 +0100 livecd-rootfs (2.183) saucy; urgency=low * Make 60-install-click.chroot more verbose, in an attempt to figure out why this doesn't work in the datacentre. -- Colin Watson Fri, 06 Sep 2013 11:48:25 +0100 livecd-rootfs (2.182) saucy; urgency=low * Log the hostname at the start of the build. * Fix test for whether we're running in the Canonical datacentre when installing click packages. -- Colin Watson Thu, 05 Sep 2013 16:03:15 +0100 livecd-rootfs (2.181) saucy; urgency=low * Use new multiple-database scheme in click 0.4.3 to preinstall click packages. * Download core click packages from the right place when building images outside the Canonical datacentre. -- Colin Watson Thu, 05 Sep 2013 11:29:17 +0100 livecd-rootfs (2.180) saucy; urgency=low * make sure the NM configuration mangling of touch images uses the sudo and not the admin group, "admin" is dead since years ... (LP: #1217596) * drop a few superfluous env vars on request of Ted Gould -- Oliver Grawert Wed, 28 Aug 2013 16:27:12 +0200 livecd-rootfs (2.179) saucy; urgency=low * add 70-reconfigure-autopilot.chroot to ubuntu-touch builds, to make sure the phablet user actually ends up in the autopilot group -- Oliver Grawert Tue, 27 Aug 2013 11:23:56 +0200 livecd-rootfs (2.178) saucy; urgency=low * Copying click packages to install search location instead of installing for a hardcoded user. -- Sergio Schvezov Mon, 26 Aug 2013 17:22:14 -0300 livecd-rootfs (2.177) saucy; urgency=low * do not forcefully use the admin group on touch images. this group was dropped in favour of the sudo group several releases ago -- Oliver Grawert Mon, 26 Aug 2013 16:51:13 +0200 livecd-rootfs (2.176) saucy; urgency=low * preserve a symlink of media-info for backwards compatibility -- Oliver Grawert Fri, 23 Aug 2013 16:39:31 +0200 livecd-rootfs (2.175) saucy; urgency=low * move media-info file from /var/log/installer to /etc on touch images. -- Oliver Grawert Fri, 23 Aug 2013 16:25:08 +0200 livecd-rootfs (2.174) saucy; urgency=low * make sure the bluetooth group has the right android GID on touch builds -- Oliver Grawert Fri, 16 Aug 2013 13:25:52 +0200 livecd-rootfs (2.173) saucy; urgency=low [Michael Terry] * Add phablet user to nopasswdlogin group on Touch images * Switch min uid to 1002 to prevent system users from showing in the greeter on Touch images -- Oliver Grawert Wed, 14 Aug 2013 11:01:47 +0200 livecd-rootfs (2.172) saucy; urgency=low * Reenabling click package installation hook. -- Sergio Schvezov Sun, 11 Aug 2013 19:03:53 -0300 livecd-rootfs (2.171) saucy; urgency=low * seems unlike my local build the buildd doesnt get along with links, use copy instead -- Oliver Grawert Wed, 07 Aug 2013 21:56:07 +0200 livecd-rootfs (2.170) saucy; urgency=low * fix package mirror in android package install routine -- Oliver Grawert Wed, 07 Aug 2013 19:17:43 +0200 livecd-rootfs (2.169) saucy; urgency=low * switch touch builds to use the packaged android img files (pending cdimage changes to publish these from the livefs builder) -- Oliver Grawert Wed, 07 Aug 2013 16:05:45 +0200 livecd-rootfs (2.168) saucy; urgency=low * drop unity-next PPA from ubuntu-touch builds, unity8 is in the archive now -- Oliver Grawert Thu, 01 Aug 2013 19:11:55 +0200 livecd-rootfs (2.167) saucy; urgency=low * make sure FLASH_KERNEL_SKIP is set when we post-process touch images -- Oliver Grawert Wed, 31 Jul 2013 13:33:53 +0200 livecd-rootfs (2.166) saucy; urgency=low * add radio user (with UID 1001 (required by android)) to the default user creation for ubuntu-touch -- Oliver Grawert Thu, 25 Jul 2013 11:14:34 +0200 livecd-rootfs (2.165) saucy; urgency=low * Remove e2fs-zero.py and references to it, it's no longer used. -- Adam Conrad Wed, 24 Jul 2013 11:42:23 +0100 livecd-rootfs (2.164) saucy; urgency=low * Run builds under eatmydata. (This doesn't actually seem to help very much - it shaves a minute off a 48-minute test build on my laptop - but it will stop people being distracted by it.) * Remove livecd.py, which was never finished. * Remove all vestiges of livecd.sh and ubuntu-touch-android.sh. Requiescant in pace. * Temporarily disable Click package installation, until desktop/AppArmor integration has landed properly. -- Colin Watson Tue, 23 Jul 2013 23:21:56 +0100 livecd-rootfs (2.163) saucy; urgency=low * point click package install to http://archive-team.internal/click_packages -- Oliver Grawert Thu, 18 Jul 2013 16:31:54 +0200 livecd-rootfs (2.162) saucy; urgency=low * Ubuntu Touch click package install hook. -- Sergio Schvezov Wed, 17 Jul 2013 00:05:49 -0300 livecd-rootfs (2.161) saucy; urgency=low * drop bashrc mangling from ubuntu-touch builds \o/ -- Oliver Grawert Wed, 17 Jul 2013 16:30:12 +0200 livecd-rootfs (2.160) saucy; urgency=low * Do the same trick as in 2.158 for kubuntu armhf+omap4 too. -- Iain Lane Wed, 17 Jul 2013 11:52:23 +0100 livecd-rootfs (2.159) saucy; urgency=low * make touch images source the dbus session address from ~/.cache/upstart/dbus-session instead of ~/.dbus-session -- Oliver Grawert Tue, 16 Jul 2013 20:12:31 +0200 livecd-rootfs (2.158) saucy; urgency=low * Under armhf+omap4, don't use the ubuntu-desktop Task, but use the metapackage instead. The metapackage doesn't pull in the X stack which allows us to additionally install the special "revert" X stack that we require here. -- Iain Lane Tue, 16 Jul 2013 17:19:22 +0100 livecd-rootfs (2.157) saucy; urgency=low * add xserver-xorg-input-evdev-omap-revert and xserver-xorg-video-omap-revert to panda builds -- Oliver Grawert Fri, 12 Jul 2013 11:03:34 +0200 livecd-rootfs (2.156) saucy; urgency=low * fix build stamp handling for ubuntu-touch (requires an RT to have IS update BuildLiveCD on the builders) -- Oliver Grawert Thu, 11 Jul 2013 16:34:34 +0200 livecd-rootfs (2.155) saucy; urgency=low * try to hand the exported $NOW over from live-build/auto/config as $BUILDSTAMP so live-build/auto/build can use it to write a stamp file -- Oliver Grawert Fri, 05 Jul 2013 12:29:50 +0200 livecd-rootfs (2.154) saucy; urgency=low [ Sergio Schvezov ] * Adding ppa:ubuntu-unity/next for Touch to obtain unity8 and Mir. * Switching to using the maliit plugin provided by maliit-framework. -- Ricardo Salveti de Araujo Thu, 04 Jul 2013 13:44:08 -0300 livecd-rootfs (2.153) saucy; urgency=low * we do better not try to create something outside of a chroot while we are in it :P (make sure bootimg's are created in /boot of the chroot and only copied afterwards). -- Oliver Grawert Sat, 29 Jun 2013 16:59:28 +0200 livecd-rootfs (2.152) saucy; urgency=low * live-build/auto/build: Fix syntax error. -- Colin Watson Fri, 28 Jun 2013 17:13:54 +0100 livecd-rootfs (2.151) saucy; urgency=low * use ubuntu-touch-generic-initrd for touch images instead of rolling an arch specific initrd at build time for each arch (this should save quite some build time) * directly create the output file with abootimg, no need to cp it separately * do not remove kernel packages from a chroot we throw away anyway -- Oliver Grawert Fri, 28 Jun 2013 15:06:59 +0200 livecd-rootfs (2.150) saucy; urgency=low * export $NOW in BuildLiveCD so we have it available in live-build * create a build stamp in /var/log/installer/media-info on Ubuntu Touch images -- Oliver Grawert Wed, 26 Jun 2013 11:32:31 +0200 livecd-rootfs (2.149) saucy; urgency=low * set QT_SELECT=qt5 in touch image environment -- Oliver Grawert Fri, 14 Jun 2013 16:11:33 +0200 livecd-rootfs (2.148) saucy; urgency=low [ Colin Watson ] * live-build/ubuntu-touch/hooks/02-add_user_to_groups.chroot: Delete redundant code to create global static groups, which are already created more correctly by base-passwd on every Ubuntu system. * live-build/ubuntu-touch/hooks/02-add_user_to_groups.chroot: Fix detection of existing groups not to misfire if there is an existing group with the desired group name as a prefix. [ Oliver Grawert ] * drop daily-build-next PPA, according to didrocks everything from there should be in the saucy archive now, yay. -- Oliver Grawert Mon, 10 Jun 2013 12:33:32 +0200 livecd-rootfs (2.147) saucy; urgency=low * sync ubuntu-touch customzation scripts with phablet build tree -- Oliver Grawert Mon, 03 Jun 2013 09:56:15 +0200 livecd-rootfs (2.146) saucy; urgency=low * drop the generic .bootimg from ubuntu-touch, all boot images we need have to be subarch tagged -- Oliver Grawert Thu, 30 May 2013 18:21:06 +0200 livecd-rootfs (2.145) saucy; urgency=low * adjust naming of the bootimg files so cdimage picks them up for publishing -- Oliver Grawert Thu, 30 May 2013 12:14:38 +0200 livecd-rootfs (2.144) saucy; urgency=low * Clean up subarch loop for touch subarches to skip unwanted deps. -- Adam Conrad Wed, 29 May 2013 16:41:24 -0600 livecd-rootfs (2.143) saucy; urgency=low * drop all the cleanup code, we already have the tarball and don't need to clean the chroot. * add better quoting for update-initramfs and abootimg calls for ubuntu-touch -- Oliver Grawert Wed, 29 May 2013 21:47:03 +0200 livecd-rootfs (2.142) saucy; urgency=low * copy the initrd out of the chroot before we purge the kernel package on ubuntu-touch -- Oliver Grawert Wed, 29 May 2013 16:53:56 +0200 livecd-rootfs (2.141) saucy; urgency=low * make removal of non existing old initrds non fatal in ubuntu-touch -- Oliver Grawert Wed, 29 May 2013 16:25:18 +0200 livecd-rootfs (2.140) saucy; urgency=low * hardcode dist in the temporary sources.list of the ubuntu-touch initrd creation for a test -- Oliver Grawert Wed, 29 May 2013 14:20:34 +0200 livecd-rootfs (2.139) saucy; urgency=low * fix resolv.conf for ubuntu-touch initramfs creation -- Oliver Grawert Wed, 29 May 2013 12:10:53 +0200 livecd-rootfs (2.138) saucy; urgency=low * also move the sources.list.d dir out of the way on ubuntu-touch -- Oliver Grawert Tue, 28 May 2013 15:17:46 +0200 livecd-rootfs (2.137) saucy; urgency=low * clear up /var/lib/initramfs-tools/ in the chroot after building initrds * remove ubuntu-touch/hooks/49-setup-demo-assets.chroot * handle sources.list in ubuntu-touch initrd creation -- Oliver Grawert Tue, 28 May 2013 11:13:57 +0200 livecd-rootfs (2.136) saucy; urgency=low * ubuntu-touch: determine the value for $kver inside the chroot, not outside. Use -c and drop -t with update-initramfs -- Oliver Grawert Mon, 27 May 2013 18:13:05 +0200 livecd-rootfs (2.135) saucy; urgency=low [ Colin Watson ] * BuildLiveCD: Time out lockfile after 12 hours, which should be enough for even the longest build queue to clear. [ Oliver Grawert ] * add live-build script for subarch specific Ubuntu Touch initrd and boot image creation -- Oliver Grawert Mon, 27 May 2013 14:34:17 +0200 livecd-rootfs (2.134) saucy; urgency=low * remove qt5-proper PPA from ubuntu touch builds -- Oliver Grawert Fri, 17 May 2013 14:33:35 +0200 livecd-rootfs (2.133) saucy; urgency=low * drop online-accounts-qt5-staging PPA from ubuntu-touch images -- Oliver Grawert Tue, 07 May 2013 21:00:42 +0200 livecd-rootfs (2.132) saucy; urgency=low * also remove ubuntu-touch-android.sh from debian/install -- Oliver Grawert Tue, 07 May 2013 15:11:53 +0200 livecd-rootfs (2.131) saucy; urgency=low * drop hardcoded packagelists for ubuntu-touch, this is dealt with by the ubuntu-touch seed/task/metapackage * drop android build script, we will instead use a package -- Oliver Grawert Tue, 07 May 2013 14:19:03 +0200 livecd-rootfs (2.130) saucy; urgency=low * make sure we build a plain filesystem for ubuntu-touch (this should automatically produce a preinstalled tarball) -- Oliver Grawert Mon, 06 May 2013 12:48:17 +0200 livecd-rootfs (2.129) saucy; urgency=low * Disable zsync for ubuntu-touch images. * Copy binary-tar.tar.gz to $PREFIX.rootfs.tar.gz if it exists. -- Colin Watson Fri, 03 May 2013 11:46:58 -0700 livecd-rootfs (2.128) saucy; urgency=low * Don't include lupin-casper in ubuntu-touch images. * Use gzip compression for ubuntu-touch tarballs. -- Colin Watson Fri, 03 May 2013 08:51:24 -0700 livecd-rootfs (2.127) saucy; urgency=low * Install metapackages rather than tasks for ubuntu-touch, since it still relies on PPAs and those don't have tasks. -- Colin Watson Thu, 02 May 2013 13:50:34 -0700 livecd-rootfs (2.126) saucy; urgency=low * drop the super-friends (sorry batman and robin ...) and ubuntu-sdk PPAs from live-build config for ubuntu-touch, their packages should be in the saucy archive already -- Oliver Grawert Thu, 02 May 2013 20:23:13 +0200 livecd-rootfs (2.125) saucy; urgency=low * live-build/auto/config: Add basic ubuntu-touch enablement (based on patch from Oliver Grawert, for which thanks). * live-build/auto/config, live-build/ubuntu-touch: Copy a huge pile of customisation by Ricardo Salveti from lp:~phablet-team/touch-preview-images/ubuntu-build-phablet, which should be close to enough for the architecture-independent parts of ubuntu-touch builds. -- Colin Watson Wed, 01 May 2013 12:05:41 -0700 livecd-rootfs (2.124) raring; urgency=low * drop the namespace in mount options of ubuntu-touch-android.sh, mount does not like that * actually give chroot a rootdir when calling it * make sure /dev/pts exists in the chroot before mounting something on it * make umount lazy -- Oliver Grawert Tue, 16 Apr 2013 13:53:53 +0200 livecd-rootfs (2.123) raring; urgency=low * fix typos in debootstrap line of ubuntu-touch-android.sh -- Oliver Grawert Tue, 16 Apr 2013 11:07:44 +0200 livecd-rootfs (2.122) raring; urgency=low * redo ubuntu-touch-android.sh to use its own build chroot since we can not add universe support to the livefs builder chroot -- Oliver Grawert Mon, 15 Apr 2013 20:18:32 +0200 livecd-rootfs (2.121) raring; urgency=low * ubuntu-touch-android.sh: enable universe in the build chroot -- Oliver Grawert Mon, 15 Apr 2013 18:40:55 +0200 livecd-rootfs (2.120) raring; urgency=low * fix typo in shebang of ubuntu-touch-android.sh -- Oliver Grawert Mon, 15 Apr 2013 16:07:08 +0200 livecd-rootfs (2.119) raring; urgency=low [ Colin Watson ] * BuildLiveCD: Link livecd-${NOW}-${ARCH}.out to livecd-${ARCH}.out, to make it easier for cdimage to fetch the latest build log for failure notification mails. [ Oliver Grawert ] * the android build system is sadly full of bashisms (even though it has generic .sh suffixes and no shebang line) until this is fixed use a /bin/bash shebang -- Oliver Grawert Thu, 11 Apr 2013 11:28:08 +0200 livecd-rootfs (2.118) raring; urgency=low * normalize the naming scheme for ubuntu-touch-android.sh output -- Oliver Grawert Thu, 28 Mar 2013 19:34:18 +0100 livecd-rootfs (2.117) raring; urgency=low * make ubuntu-touch-android.sh also create $subarch-system.img $subarch-recovery.img and $subarch-boot.img -- Oliver Grawert Thu, 28 Mar 2013 18:47:06 +0100 livecd-rootfs (2.116) raring; urgency=low * add new arg (-t) to enable Ubuntu Touch android cross builds which calls a newly added script (ubuntu-touch-android.sh) to cross build android base images for Ubuntu Touch on an amd64 builder. -- Oliver Grawert Thu, 28 Mar 2013 16:02:12 +0100 livecd-rootfs (2.115) raring; urgency=low * live-build/auto/config: Run the ubuntukylin-default-settings chroot hook. -- Colin Watson Wed, 27 Mar 2013 14:47:51 +0000 livecd-rootfs (2.114) raring; urgency=low * Revert changes in 2.113. This needs to be done in cdimage/debian-cd instead. -- Colin Watson Thu, 14 Mar 2013 16:54:48 +0000 livecd-rootfs (2.113) raring; urgency=low * live-build/auto/config: Set gfxboot default language to zh_CN for UbuntuKylin. -- Colin Watson Thu, 14 Mar 2013 11:53:38 +0000 livecd-rootfs (2.112) raring; urgency=low * live-build/auto/config: Add ubuntu-gnome project (LP: #1152818) -- Jeremy Bicha Wed, 13 Mar 2013 10:28:23 +0000 livecd-rootfs (2.111) raring; urgency=low * live-build/auto/config: Add ubuntukylin as a valid project (LP: #1152812). * BuildLiveCD: Remove the explicit list of valid projects. This is a hassle to modify, and not very useful since an invalid project will fail soon enough anyway. -- Colin Watson Sat, 09 Mar 2013 12:13:24 +0000 livecd-rootfs (2.110) raring; urgency=low * live-build/auto/config: Drop ubuntustudio-audio-plugins task. -- Colin Watson Thu, 07 Mar 2013 13:27:13 +0000 livecd-rootfs (2.109) raring; urgency=low * Drop ubuntustudio-generation and ubuntustudio-recording tasks and add ubuntustudio-audio task to reflect Ubuntu Studio seed restructuring - update live-build/auto/config -- Micah Gersten Tue, 05 Mar 2013 23:14:25 -0600 livecd-rootfs (2.108) raring; urgency=low [ Colin Watson ] * live-build/auto/build: Use slightly safer code for kernel handling just in case 'set -o pipefail' is ever reinstated here. [ Adam Conrad ] * Add abootimg explicitly to ac100 and nexus7 images, so it's marked as manually installed and apt doesn't autoremove it (LP: #1041290) * Remove linux-firmware-nexus7 from the install list, it gets pulled in automatically by linux-image-nexus7, so this is redundant. -- Adam Conrad Tue, 29 Jan 2013 12:34:37 -0700 livecd-rootfs (2.107) raring; urgency=low * Make sure the $PREFIX.kernel-$FLAVOUR.efi.signed output is world-readable. -- Colin Watson Tue, 04 Dec 2012 16:20:22 +0000 livecd-rootfs (2.106) raring; urgency=low * re-enable all slideshows on all preinstalled images, webkit should work again -- Oliver Grawert Mon, 03 Dec 2012 14:37:01 +0100 livecd-rootfs (2.105) raring; urgency=low * preseed autologin in the nexus7 tarball * use ubuntu-defaults-nexus7 package in the nexus7 images -- Oliver Grawert Fri, 23 Nov 2012 12:20:30 +0100 livecd-rootfs (2.104) raring; urgency=low * use a subarch based approach for the ac100 and nexus7 bootimg.cfg files * create a media-info file and place it inside the tarball installer initramfs for copying it to the target system on successfull decompression (LP: #1080747) -- Oliver Grawert Thu, 22 Nov 2012 01:23:29 +0100 livecd-rootfs (2.103) raring; urgency=low * live-build/auto/build: Exclude all *.efi* files from kernel version detection (i.e. including *.efi.signature), not just *.efi.signed. -- Colin Watson Wed, 21 Nov 2012 22:31:46 +0000 livecd-rootfs (2.102) raring; urgency=low * create the nexus7 rootfs image with .ext4 as suffix instead of using .img, so debian-cd knows how to handle it -- Oliver Grawert Tue, 20 Nov 2012 16:45:06 +0100 livecd-rootfs (2.101) raring; urgency=low * instead of mangling the ac100 bootimg for nexus7 support, ship a proper config in ac100-tarball-installer and build the nexus7 one from scratch as well. -- Oliver Grawert Tue, 20 Nov 2012 12:37:33 +0100 livecd-rootfs (2.100) raring; urgency=low * clean up the userdata dir * move the tarball around instead of copying it * fix quoting of abootimg call harder -- Oliver Grawert Mon, 19 Nov 2012 19:48:42 +0100 livecd-rootfs (2.99) raring; urgency=low * fix quoting in abootimg call for nexus7 * dont fail if the userdata dir already exists -- Oliver Grawert Mon, 19 Nov 2012 18:04:13 +0100 livecd-rootfs (2.98) raring; urgency=low * we want nvidia-tegra3 (the binary) not nvidia-graphics-drivers-tegra3 -- Oliver Grawert Mon, 19 Nov 2012 14:55:19 +0100 livecd-rootfs (2.97) raring; urgency=low * add linux-firmware-nexus7 and nvidia-graphics-drivers-tegra3 to nexus7 builds * preseed the license popup of linux-firmware-nexus7, we will show it in the installer for full image installs. -- Oliver Grawert Mon, 19 Nov 2012 12:58:36 +0100 livecd-rootfs (2.96) raring; urgency=low * add nexus7 specific kernel cmdline * move the nexus7 processing up a bit in the code so we can modify the bootimg cmdline before the file gets copied around -- Oliver Grawert Wed, 14 Nov 2012 13:28:50 +0100 livecd-rootfs (2.95) raring; urgency=low * make the dependency on android-tools-fsutils not arch specific, seems dpkg doesnt like arch specific binary deps in arch all packages -- Oliver Grawert Fri, 09 Nov 2012 13:30:15 +0100 livecd-rootfs (2.94) raring; urgency=low * add a dependency on android-tools-fsutils for armhf builds * add nexus7 live-build configuration * add nexus7 post processing with make_ext4fs for teh tarball to roll a proper android img file -- Oliver Grawert Fri, 09 Nov 2012 13:00:36 +0100 livecd-rootfs (2.93) quantal; urgency=low * Revert binary/$INITFS/kernel-$FLAVOUR to the unsigned kernel, and link signed kernels to binary/$INITFS/kernel-$FLAVOUR.efi.signed instead (LP: #1067659). -- Colin Watson Wed, 17 Oct 2012 11:48:47 +0100 livecd-rootfs (2.92) quantal; urgency=low * disable all slideshows on al preinstalled images, due to (LP: #1066046) the installer crashes when trying to start up webkit for teh slideshow -- Oliver Grawert Sat, 13 Oct 2012 11:44:52 +0200 livecd-rootfs (2.91) quantal; urgency=low * make sure preinstalled ac100 images have multiverse enabled in their sources.list -- Oliver Grawert Fri, 12 Oct 2012 14:18:53 +0200 livecd-rootfs (2.90) quantal; urgency=low * live-build/auto/build: If they exist, link *.efi.signed versions of the kernel to binary/$INITFS/kernel-$FLAVOUR rather than the unsigned versions. -- Colin Watson Thu, 11 Oct 2012 02:22:34 +0100 livecd-rootfs (2.89) quantal; urgency=low * fix lubuntu and xubuntu preinstalled handling so we end up with the right slideshows in oem-config -- Oliver Grawert Tue, 02 Oct 2012 23:56:33 +0200 livecd-rootfs (2.88) quantal; urgency=low * live-build/auto/config: Add photography and publishing metas for Ubuntu Studio (LP: #1057816) -- Micah Gersten Thu, 27 Sep 2012 23:19:19 -0500 livecd-rootfs (2.87) quantal; urgency=low * live-build/auto/config: Build ubuntu-server and ubuntu-core with --initramfs=none, since we don't need casper in those images. -- Colin Watson Wed, 12 Sep 2012 14:01:56 +0100 livecd-rootfs (2.86) quantal; urgency=low * Reorganise code to avoid kernel installation on ubuntu-server/ubuntu-core so that it works for all architectures. -- Colin Watson Tue, 11 Sep 2012 16:56:43 +0100 livecd-rootfs (2.85) quantal; urgency=low * live-build/auto/config: Set KERNEL_FLAVOURS=none for ubuntu-server as well, so that live-build/auto/build doesn't try to copy out kernel images. -- Colin Watson Mon, 10 Sep 2012 09:34:56 +0100 livecd-rootfs (2.84) quantal; urgency=low * Actually apply the change done in 2.74 as it was only done to the legacy code... - Change mksquashfs compression flags for LTSP images, turning compression back on to match current ltsp-update-image behaviour. -- Stéphane Graber Sun, 09 Sep 2012 15:49:07 -0400 livecd-rootfs (2.83) quantal; urgency=low * live-build/auto/config: Remove standard and server tasks from ubuntu-server squashfs, and build it with no kernel packages so that they can be added more correctly later by the installer (LP: #1028453). -- Colin Watson Sun, 09 Sep 2012 20:41:19 +0100 livecd-rootfs (2.82) quantal; urgency=low * live-build/auto/build: live-build now calls hybrid ISO9660 images binary.hybrid.iso rather than binary-hybrid.iso. -- Colin Watson Mon, 03 Sep 2012 18:41:24 +0100 livecd-rootfs (2.81) quantal; urgency=low * live-build/auto/config: Disable zsync for BINARYFORMAT=iso*|usb* builds. -- Colin Watson Thu, 30 Aug 2012 23:44:33 +0100 livecd-rootfs (2.80) quantal; urgency=low * add pvr-omap4 driver to omap4 image builds for everything but ubuntu-server, ubuntu-core and base images so we have GLES working out of the box on them -- Oliver Grawert Wed, 29 Aug 2012 12:53:11 +0200 livecd-rootfs (2.79) quantal; urgency=low * setting --architectures seems to have weird side effects on arm (considering all but the buildd arch as foreign etc), disable it for a testbuild... -- Oliver Grawert Mon, 27 Aug 2012 16:04:30 +0200 livecd-rootfs (2.78) quantal; urgency=low * revert the last change, i was not aware that unity-2d was also ripped out of the archive and not only removed from the seeds -- Oliver Grawert Thu, 23 Aug 2012 19:02:35 +0200 livecd-rootfs (2.77) quantal; urgency=low * add unity-2d to the list of extra packages on ac100 -- Oliver Grawert Thu, 23 Aug 2012 17:55:37 +0200 livecd-rootfs (2.76) quantal; urgency=low * live-build/auto/config: - Don't try to install an empty task name when building an image without a live task. - Fix installation of ubuntu-server fstab removal hook. - Pass --architectures to 'lb config', to make it easier to build images for a different architecture. - Attempt to restrict task installation to the native architecture. -- Colin Watson Thu, 23 Aug 2012 11:09:10 +0100 livecd-rootfs (2.75) quantal; urgency=low * Adjust for live-build interface changes up to 3.0~a57-1ubuntu1. * Break ubuntu-defaults-builder (<< 0.32) to account for these interface changes. -- Colin Watson Wed, 22 Aug 2012 13:29:29 +0100 livecd-rootfs (2.74) quantal; urgency=low * Change mksquashfs compression flags for LTSP images, turning compression back on to match current ltsp-update-image behaviour. -- Stéphane Graber Mon, 20 Aug 2012 19:37:01 -0400 livecd-rootfs (2.73) quantal; urgency=low * Add u-boot-tools to the installed set for all u-boot ARM images * Remove ti-omap4-ppa from the omap4 images; it's no longer used -- Adam Conrad Wed, 25 Jul 2012 06:37:02 -0600 livecd-rootfs (2.72) quantal; urgency=low * Install a hook to remove /etc/fstab rather than building ubuntu-server with --debian-installer=live; the latter has unwanted side-effects. -- Colin Watson Mon, 23 Jul 2012 21:34:28 +0100 livecd-rootfs (2.71) quantal; urgency=low * live-build/auto/config: Don't purge .pyc files on ubuntu-server images. * live-build/auto/config: Build ubuntu-server with --debian-installer=live. -- Colin Watson Mon, 23 Jul 2012 17:57:59 +0100 livecd-rootfs (2.70) quantal; urgency=low * live-build/auto/config: Don't install lupin-casper on ubuntu-server images. -- Colin Watson Sun, 22 Jul 2012 23:45:21 +0100 livecd-rootfs (2.69) quantal; urgency=low * live-build/auto/config: Add server task to ubuntu-server images. -- Colin Watson Fri, 06 Jul 2012 12:39:46 +0100 livecd-rootfs (2.68) quantal; urgency=low * live-build/auto/config: Emit sources.list entries for -proposed if the environment variable PROPOSED is set (LP: #1019514). * BuildLiveCD: If the -p option was used, pass PROPOSED=1 to 'lb config'. -- Colin Watson Sat, 30 Jun 2012 07:13:50 +0100 livecd-rootfs (2.67) quantal; urgency=low * Switch i386 ubuntustudio to linux-lowlatency flavor (LP: #1018075) -- Adam Conrad Tue, 26 Jun 2012 14:00:39 -0600 livecd-rootfs (2.66) quantal; urgency=low [ Jonathan Riddell ] * Build Kubuntu from universe. -- Colin Watson Mon, 11 Jun 2012 12:49:57 +0100 livecd-rootfs (2.65) precise; urgency=low * Add (extra-)override parsing to the preinstalled pool to make sure we get task headers in the local pool for tasksel (LP: #819899) * Move temp directories under config so they get cleaned properly * Invoke apt-get update once with only the sources.list fragment for the local archive, so our package/task selection more closely mimics the CD experience (LP: #985258, #985737, #985280, #819900) * Write out a standard sources.list entry for preinstalled systems that's similar to the one generated by installers (LP: #985291) -- Adam Conrad Fri, 20 Apr 2012 00:29:38 -0600 livecd-rootfs (2.64) precise; urgency=low * Add minimal and standard tasks to Ubuntu Studio images (LP: #962585). -- Colin Watson Fri, 23 Mar 2012 14:21:12 +0000 livecd-rootfs (2.63) precise; urgency=low * Add the ubiquity slideshow back to PREINSTALLED images (LP: #960688) -- Adam Conrad Thu, 22 Mar 2012 12:46:18 -0600 livecd-rootfs (2.62) precise; urgency=low * On Lubuntu and Xubuntu, only use the generic kernel on amd64 and i386. -- Colin Watson Tue, 20 Mar 2012 17:53:04 +0000 livecd-rootfs (2.61) precise; urgency=low [ Colin Watson ] * Use lowlatency for Ubuntu Studio amd64, since lowlatency-pae is i386-specific (LP: #959011). [ Julien Lavergne ] * Use generic (non-PAE) kernel for Lubuntu (LP: #958866). -- Colin Watson Mon, 19 Mar 2012 12:53:13 +0000 livecd-rootfs (2.60) precise; urgency=low * Use generic (non-PAE) kernel for Xubuntu (LP: #955009). -- Colin Watson Thu, 15 Mar 2012 18:54:45 +0000 livecd-rootfs (2.59) precise; urgency=low * Switch Ubuntu Studio to lowlatency-pae kernel rather than lowlatency (LP: #956250). -- Colin Watson Thu, 15 Mar 2012 18:35:14 +0000 livecd-rootfs (2.58) precise; urgency=low * Use lowlatency kernel for Ubuntu Studio (LP: #956250). -- Colin Watson Thu, 15 Mar 2012 18:08:44 +0000 livecd-rootfs (2.57) precise; urgency=low * Move ac100-tarball-installer from install set to live set to make sure it's not pulling in other bits in the install pass (and because installers belong in the live set anyway) -- Adam Conrad Wed, 29 Feb 2012 09:23:48 -0700 livecd-rootfs (2.56) precise; urgency=low [ Ante Karamatić ] * Add cloud-live project to livecd.sh and BuildLiveCD. [ Jonathan Riddell ] * Replace kubuntu-mobile with kubuntu-active * Remove kubuntu-netbook, now just part of kubuntu-desktop -- Jonathan Riddell Wed, 22 Feb 2012 11:58:20 +0000 livecd-rootfs (2.55) precise; urgency=low * Build Lubuntu with --no-install-recommends, to match its seed structure (LP: #918401). -- Colin Watson Thu, 02 Feb 2012 14:15:07 +0000 livecd-rootfs (2.54) precise; urgency=low * Remove the x-loader packages from omap and omap4 flavours, as they are now using the MLO provided by their respective u-boot packages. * Add zram-config to the ac100 subarch to replace the installer hack. -- Adam Conrad Wed, 25 Jan 2012 22:34:59 -0700 livecd-rootfs (2.53) precise; urgency=low * live-build/auto/config: Fix ubuntustudio-dvd task selection. -- Colin Watson Mon, 23 Jan 2012 19:46:07 +0000 livecd-rootfs (2.52) precise; urgency=low * live-build/auto/config: Fix support for ubuntustudio-dvd project. -- Colin Watson Mon, 23 Jan 2012 17:17:04 +0000 livecd-rootfs (2.51) precise; urgency=low * BuildLiveCD: Accept ubuntustudio-dvd as a valid project. -- Colin Watson Fri, 20 Jan 2012 23:23:48 +0000 livecd-rootfs (2.50) precise; urgency=low * Add Ubuntu Studio support. -- Colin Watson Fri, 20 Jan 2012 20:51:04 +0000 livecd-rootfs (2.49) precise; urgency=low [ Adam Conrad ] * Update maintainer to Ubuntu Developers, LaMont doesn't upload much. [ Colin Watson ] * Get live-build to divert update-initramfs while building the chroot. This should cut a few minutes off builds, particularly on slow architectures. -- Colin Watson Mon, 16 Jan 2012 12:53:23 +0000 livecd-rootfs (2.48) precise; urgency=low * Fix sense of live/preinstalled change in 2.46; add the live task for non-preinstalled images, rather than only for preinstalled images. -- Colin Watson Tue, 10 Jan 2012 12:41:36 +0000 livecd-rootfs (2.47) precise; urgency=low * put ti-omap4-ppa into omap4 images -- Oliver Grawert Tue, 10 Jan 2012 12:46:20 +0100 livecd-rootfs (2.46) precise; urgency=low * Guard legacy cloop code in a [ -f ], so it stops failing. * Don't add the LIVE_TASK for any PREINSTALLED images. -- Adam Conrad Mon, 09 Jan 2012 03:23:26 -0700 livecd-rootfs (2.45) precise; urgency=low * Change default suite to precise (better late than never?) * Add the -A option to the getopts argument list, so it works. -- Adam Conrad Mon, 05 Dec 2011 07:50:14 -0700 livecd-rootfs (2.44) precise; urgency=low * Mirror armel support as armhf, so we can build all the same images. * Allow ARCH to be specified on the BuildLiveCD command line as -A, so that it doesn't have to be hardcoded for non-native builders. -- Adam Conrad Fri, 02 Dec 2011 11:41:13 -0700 livecd-rootfs (2.43) oneiric; urgency=low * BuildLiveCD: Stop building ubuntu-defaults-image images with universe. ubuntu-defaults-zh-cn is in main now, and it causes images to overflow due to the extra /var/lib/apt/lists indexes. -- Martin Pitt Fri, 07 Oct 2011 18:29:59 +0200 livecd-rootfs (2.42) oneiric; urgency=low * Explicitly select ubuquity frontend as well, to match the oem-config frontend, and avoid pulling in unwanted deps. -- Adam Conrad Thu, 06 Oct 2011 19:30:51 -0600 livecd-rootfs (2.41) oneiric; urgency=low * Re-enable swap on jasper-using images, a regression from the switch from livecd-rootfs to live-build (LP: #868662) -- Adam Conrad Wed, 05 Oct 2011 13:20:24 -0600 livecd-rootfs (2.40) oneiric; urgency=low * Revert the previous change and apply it for all $PREINSTALLED targets instead of just ext2|ext3|ext4, so ac100 gets the fix. -- Adam Conrad Wed, 28 Sep 2011 15:20:38 -0600 livecd-rootfs (2.39) oneiric; urgency=low * Explicitly select the oem-config frontend to install on a per-project basis, to match the ubiquity in use (LP: #820514) -- Adam Conrad Mon, 26 Sep 2011 19:14:56 -0600 livecd-rootfs (2.38) oneiric; urgency=low * Add main, restricted, universe, and multiverse to the sources.list for Wubi disk images (LP: #855301). -- Evan Dandrea Thu, 22 Sep 2011 10:31:11 +0100 livecd-rootfs (2.37) oneiric; urgency=low * BuildLiveCD: Fix typo that broke installing ubuntu-defaults-builder and its recommendations. * Squash errors from 'ls vmlinu?-*'. -- Colin Watson Wed, 14 Sep 2011 12:15:02 +0100 livecd-rootfs (2.36) oneiric; urgency=low [ Colin Watson ] * BuildLiveCD: Add subproject and ubuntu-defaults-image locale to error mail subject. * BuildLiveCD: Install recommendations of ubuntu-defaults-builder. [ Oliver Grawert ] * also store the size of the ac100 tarball in the initrd, since the tarball changes its name several times during build we need a second criteria to not loop over all availiable tarballs with md5sum at install time. -- Oliver Grawert Tue, 06 Sep 2011 15:25:52 +0200 livecd-rootfs (2.35) oneiric; urgency=low * Set KERNEL_FLAVOURS for mx5. -- Jani Monoses Wed, 24 Aug 2011 18:18:42 +0300 livecd-rootfs (2.34) oneiric; urgency=low * drop FLASH_KERNEL_SKIP from live-build config, flash-kernel suppression is handled through a diversion already. * add FLASH_KERNEL_SKIP explicitly to the post build ac100 update-initramfs chroot call. -- Oliver Grawert Wed, 24 Aug 2011 14:16:55 +0200 livecd-rootfs (2.33) oneiric; urgency=low * BuildLiveCD: Add the subproject (if any) and the ubuntu-defaults-image locale (if any) to the output directory name. -- Colin Watson Wed, 24 Aug 2011 12:25:52 +0100 livecd-rootfs (2.32) oneiric; urgency=low * Fix kernel package name for mx5. -- Jani Monoses Wed, 24 Aug 2011 14:14:10 +0300 livecd-rootfs (2.31) oneiric; urgency=low * Link binary.iso or binary-hybrid.iso, if found, into the output directory for use by BuildLiveCD. * Tolerate ubuntu-defaults-image's kernel renaming. * Add a -u option to BuildLiveCD which calls ubuntu-defaults-image. -- Colin Watson Tue, 23 Aug 2011 18:35:56 +0100 livecd-rootfs (2.30) oneiric; urgency=low * provide .bootimg as a link to .bootimg-$FLAVOUR similar to the naming scheme we use for initrd and kernel files. -- Oliver Grawert Sat, 20 Aug 2011 10:58:30 +0200 livecd-rootfs (2.29) oneiric; urgency=low * rename ac100 bootimage to something the build system can parse easier. -- Oliver Grawert Fri, 19 Aug 2011 14:29:10 +0200 livecd-rootfs (2.28) oneiric; urgency=low * Switch ubuntu-dvd to ubuntu-usb and ubuntu-usb-live tasks. -- Colin Watson Fri, 19 Aug 2011 10:56:49 +0100 livecd-rootfs (2.27) oneiric; urgency=low * fix typo in abootimg call -- Oliver Grawert Thu, 18 Aug 2011 18:04:44 +0200 livecd-rootfs (2.26) oneiric; urgency=low * make sure flash-kernel is not executed during build, this setting wasn't transitioned from livecd.sh yet -- Oliver Grawert Thu, 18 Aug 2011 11:55:54 +0200 livecd-rootfs (2.25) oneiric; urgency=low * include the md5 sum of the rootfs tarball in the initrd, so the installer can check against it for ac100 installs * post process the kernel and initrd for ac100 though abootimg to get a proper android boot image -- Oliver Grawert Wed, 17 Aug 2011 17:55:08 +0200 livecd-rootfs (2.24) oneiric; urgency=low * add missing ;; to the mx5 case statement -- Oliver Grawert Tue, 16 Aug 2011 15:40:51 +0200 livecd-rootfs (2.23) oneiric; urgency=low [ Jani Monoses ] * Add mx5 subarch support for Freescale i.MX53 [ Oliver Grawert ] * adjust the packagelist for ac100 a bit, according to adam it should not need the kernel metapackage seeded if it matches the naming convention * do not install preinstall-pool on ac100-server, it breaks for no apparent reason atm, this makes server rootfses for ac100 buildable again. -- Oliver Grawert Tue, 16 Aug 2011 14:50:33 +0200 livecd-rootfs (2.22) oneiric; urgency=low [ Adam Conrad ] * Switch a hardcoded "boot" to "$INITFS" in auto/build. [ Colin Watson ] * BuildLiveCD: Make sure livecd-rootfs is still installed in the chroot after the dist-upgrade. -- Colin Watson Thu, 11 Aug 2011 12:19:58 +0100 livecd-rootfs (2.21) oneiric; urgency=low * make sure ac100 images have universe enabled since the kernel lives there. -- Oliver Grawert Wed, 10 Aug 2011 13:14:25 +0200 livecd-rootfs (2.20) oneiric; urgency=low * make sure the right packages are installed on armel+ac100 subarch builds -- Oliver Grawert Tue, 09 Aug 2011 16:25:11 +0200 livecd-rootfs (2.19) oneiric; urgency=low * Add support for building a pool of packages into the live config: - define SEEDMIRROR, PREINSTALL_POOL, PREINSTALL_POOL_SEEDS in config - set PREINSTALL_POOL_SEEDS to "server-ship" for ubuntu-server - crib seed inheritance logic from cdimage implementation of same - run germinate against seeds from SEEDMIRROR if to populate PREINSTALL_POOL with a list of packages from PREINSTALL_POOL_SEEDS - create a local-hook to download PREINSTALL_POOL packages to rootfs * And add support to deal with the above pool of packages during build: - generate a GPG key in the background if we're going to need one - create a sources.list.d entry pointing at the rootfs pool - create a Packages file and create and sign a Release file - add our previously-generated key to the apt keyring and toss it -- Adam Conrad Tue, 26 Jul 2011 15:26:01 -0600 livecd-rootfs (2.18) oneiric; urgency=low * export LB_LINUX_FLAVOURS="none" in auto/clean, so the clean routine doesn't bomb out with no kernels selected. This almost certainly needs fixing in live-build, but works here for now -- Adam Conrad Fri, 15 Jul 2011 18:21:28 -0600 livecd-rootfs (2.17) oneiric; urgency=low * Only set KERNEL_FLAVOURS to SUBARCH if SUBARCH is already set. -- Adam Conrad Fri, 15 Jul 2011 14:55:13 -0600 livecd-rootfs (2.16) oneiric; urgency=low * Add support for building new "ubuntu-core" rootfs tarballs: - add project support to BuildLiveCD and auto/config - make auto/config and auto/build deal with plain FS types - add some logic to auto/build to not choke with no kernels * Minor cleanups to BuildLiveCD (LANG=C, bump current suite) * Fix one spot where I missed future-proofing ext4 support -- Adam Conrad Fri, 15 Jul 2011 11:19:49 -0600 livecd-rootfs (2.15) oneiric; urgency=low * Support generating different binary image types using BINARYFORMAT=iso-hybrid and so on (although this won't actually work until we create a syslinux-themes-ubuntu package). -- Colin Watson Thu, 14 Jul 2011 18:27:04 +0100 livecd-rootfs (2.14) oneiric; urgency=low * Handle package/task list changes in live-build 3.0~a22-1. * Handle local sources.list changes in live-build 3.0~a22-1. -- Colin Watson Wed, 13 Jul 2011 19:06:29 +0100 livecd-rootfs (2.13) oneiric; urgency=low * Didn't realize that you can pass multiple projects to BuildLiveCD. Let's try SUBPROJECT using an argument. -- Evan Dandrea Wed, 06 Jul 2011 17:21:48 +0100 livecd-rootfs (2.12) oneiric; urgency=low [ Colin Watson ] * Re-enable deb-src lines for Edubuntu (LP: #806428). -- Evan Dandrea Wed, 06 Jul 2011 16:57:39 +0100 livecd-rootfs (2.11) oneiric; urgency=low * Pass SUBPROJECT to live-build. -- Evan Dandrea Wed, 06 Jul 2011 11:59:24 +0100 livecd-rootfs (2.10) oneiric; urgency=low * Initial Wubi support. -- Evan Dandrea Mon, 04 Jul 2011 10:54:07 +0100 livecd-rootfs (2.9) oneiric; urgency=low * Rename the ARM headless image to ubuntu-server for oneiric * Future-proof --chroot-filesystem support for a switch to ext4 -- Adam Conrad Tue, 28 Jun 2011 14:20:35 +0100 livecd-rootfs (2.8) oneiric; urgency=low * Use all_chroot_pyc-purge.sh hook from live-build 3.0~a21-1ubuntu4. -- Colin Watson Wed, 22 Jun 2011 15:38:30 +0100 livecd-rootfs (2.7) oneiric; urgency=low * Install xubuntu-live for xubuntu, not edubuntu-live (LP: #800211). -- Colin Watson Tue, 21 Jun 2011 17:41:26 +0100 livecd-rootfs (2.6) oneiric; urgency=low * '--initramfs none' produces *.packages* outputs rather than *.manifest*; handle this. -- Colin Watson Thu, 16 Jun 2011 12:59:09 +0100 livecd-rootfs (2.5) oneiric; urgency=low * Pass correct IMAGEFORMAT through to live-build from BuildLiveCD. * Add Lubuntu support. * Set --chroot-filesystem option if IMAGEFORMAT is ext2 or ext3. -- Colin Watson Wed, 15 Jun 2011 14:40:05 +0100 livecd-rootfs (2.4) oneiric; urgency=low * Remove old config directory before creating a new configuration. -- Colin Watson Wed, 15 Jun 2011 10:15:20 +0100 livecd-rootfs (2.3) oneiric; urgency=low * Set pipefail (bash-specific) in auto/build so that we fail immediately if the main image build fails. * Anchor regex to avoid misdetecting vmlinux-3.0-0-powerpc64-smp as a powerpc flavour kernel. -- Colin Watson Tue, 14 Jun 2011 09:16:43 +0100 livecd-rootfs (2.2) oneiric; urgency=low * Pass --linux-flavours to lb config if necessary. -- Colin Watson Tue, 14 Jun 2011 08:30:10 +0100 livecd-rootfs (2.1) oneiric; urgency=low * Fix ordering of log file creation in BuildLiveCD. * Fix permissions in BuildLiveCD when setting up auto directory. * Switch from --binary-remove-linux to config/binary_rootfs/excludes. -- Colin Watson Mon, 13 Jun 2011 23:32:40 +0100 livecd-rootfs (2.0) oneiric; urgency=low * Add live-build support. The old livecd.sh is still here for compatibility, but this package's primary purpose is now to provide Ubuntu-specific configuration for live-build. -- Colin Watson Mon, 13 Jun 2011 12:35:47 +0100 livecd-rootfs (1.167) oneiric; urgency=low * Drop language-support-en from LIVELIST for kubuntu-mobile and kubuntu-netbook; it's not in the oneiric archive any more, and the necessary packages are already in the respective tasks. -- Colin Watson Sun, 29 May 2011 21:10:36 +0100 livecd-rootfs (1.166) natty; urgency=low * Make the output kernel world-readable, since it was changed to be world-unreadable in linux 2.6.38-8.40. -- Colin Watson Thu, 07 Apr 2011 11:41:01 +0100 livecd-rootfs (1.165) natty; urgency=low * Drop the hack that removes ubiquity-slideshow-* on armel, webkit works again. -- Oliver Grawert Wed, 16 Mar 2011 12:09:28 +0100 livecd-rootfs (1.164) natty; urgency=low * Use Edubuntu theming for Edubuntu LTSP chroot. -- Jonathan Carter Mon, 14 Mar 2011 10:03:33 +0000 livecd-rootfs (1.163) natty; urgency=low * make sure preinstalled images do not have the build machine set as hostname before oem-config runs (LP: #605972) -- Oliver Grawert Thu, 10 Mar 2011 14:48:43 +0100 livecd-rootfs (1.162) natty; urgency=low * the name of the flavour needs to be ubuntu-headless, not just headless -- Oliver Grawert Wed, 09 Mar 2011 16:48:28 +0100 livecd-rootfs (1.161) natty; urgency=low * add ubuntu-headless as allowed flavour to BuildLiveCD -- Oliver Grawert Wed, 09 Mar 2011 13:51:11 +0100 livecd-rootfs (1.160) natty; urgency=critical * Emergency hack to remove ubiquity-slideshow-* on armel due to python-webkit causing a segfault (Works aroud LP: #727368) -- Michael Casadevall Wed, 02 Mar 2011 11:33:51 -0800 livecd-rootfs (1.159) natty; urgency=low * create an empty swapfile on ext2/3 images by default, we care for use or deletion on first boot, this cuts of 3min from the first boot of preinstalled images. -- Oliver Grawert Wed, 23 Feb 2011 14:55:06 +0100 livecd-rootfs (1.158) natty; urgency=low * switch default session for armel netbook images to unity-2d -- Oliver Grawert Tue, 15 Feb 2011 18:20:57 +0100 livecd-rootfs (1.157) natty; urgency=low * drop IGEPv2 x-loader and u-boot from livefs.sh, they are not in main and thus break image builds -- Oliver Grawert Sat, 12 Feb 2011 13:32:59 +0100 livecd-rootfs (1.156) natty; urgency=low * Add X-Loader and U-Boot packages for IGEPv2, Beagle and Panda in the OMAP3/4 images. -- Jani Monoses Fri, 11 Feb 2011 17:21:27 +0200 livecd-rootfs (1.155) natty; urgency=low * Add headless image type for armel minimal developer image building, same as base now, but may be modified later. * Disable running of flash-kernel on armel as it breaks the script when there is no boot partition available to update. -- Jani Monoses Wed, 26 Jan 2011 14:01:18 +0200 livecd-rootfs (1.154) natty; urgency=low * apply setting of the default session to all ubuntu-armel builds so we do not need to do this on first boot. -- Oliver Grawert Mon, 10 Jan 2011 23:27:43 +0100 livecd-rootfs (1.153) natty; urgency=low * Update default suite in BuildLiveCD to natty. * Use --force-unsafe-io for all dpkg operations. If we crash we'll just destroy the chroot and start from scratch, so syncing is pointless. -- Colin Watson Sat, 04 Dec 2010 12:02:15 +0000 livecd-rootfs (1.152) maverick; urgency=low * livecd.sh: - Restore the keyring earlier in the chroot (before the dist-upgrade). This fixes the missng key for the extras.ubuntu.com that is added during the livecd build dist-ugprade (LP: #650525) -- Michael Vogt Thu, 30 Sep 2010 14:32:57 +0200 livecd-rootfs (1.151) maverick; urgency=low * enforce installation of only suitable header packages for the respective subarch on armel instead of blindly installing all armel headers (LP: #600478) -- Oliver Grawert Fri, 24 Sep 2010 14:54:53 +0200 livecd-rootfs (1.150) maverick; urgency=low * Set GDM's default session to une-efl on ubuntu-netbook armel+dove. -- Colin Watson Tue, 31 Aug 2010 19:44:43 +0100 livecd-rootfs (1.149) maverick; urgency=low * Fix syntax error in icon cache checks. -- Colin Watson Tue, 31 Aug 2010 12:36:42 +0100 livecd-rootfs (1.148) maverick; urgency=low * Add universe support to kubuntu-mobile to work around seed change -- Emmet Hikory Thu, 26 Aug 2010 23:57:25 +0900 livecd-rootfs (1.147) maverick; urgency=low * Add support for kubuntu-mobile -- Emmet Hikory Thu, 26 Aug 2010 13:29:12 +0900 livecd-rootfs (1.146) maverick; urgency=low * Add a series of checkpoints where the current time is logged. -- Colin Watson Fri, 20 Aug 2010 15:55:30 +0100 livecd-rootfs (1.145) maverick; urgency=low * raise inode count during ext2fs build to be able to use the full size of the ext2 image * drop debugging code -- Oliver Grawert Sat, 31 Jul 2010 16:29:40 +0200 livecd-rootfs (1.144) maverick; urgency=low * cat /proc/mounts before trying to copy to the ext2 image, there still seems to be some virtual fs mounted in the chroot we try to copy to the image. -- Oliver Grawert Tue, 27 Jul 2010 11:51:15 +0200 livecd-rootfs (1.143) maverick; urgency=low * add more spare space to the ext2 filesystem images to compensate journal overhead and make it possible to run oem-config even without resizing * do not reserve 5% for root in the ext2 image files. -- Oliver Grawert Mon, 26 Jul 2010 14:26:08 +0200 livecd-rootfs (1.142) maverick; urgency=low * do not fail if losetup -d does not find a device -- Oliver Grawert Fri, 23 Jul 2010 10:39:16 +0200 livecd-rootfs (1.141) maverick; urgency=low * add some debug output to teh ext2 image creation to see whats going on -- Oliver Grawert Thu, 22 Jul 2010 18:29:53 +0200 livecd-rootfs (1.140) maverick; urgency=low * tell mke2fs that we _really_ want a filesystem on this "non-blockdevice" -- Oliver Grawert Thu, 22 Jul 2010 09:11:14 +0200 livecd-rootfs (1.139) maverick; urgency=low [ Steve Langasek ] * One more undefined variable fix for set -u [ Oliver Grawert ] * drop genext2fs, it is simply to slow, instead we use a loop munted ext2 image now. -- Oliver Grawert Wed, 21 Jul 2010 15:15:18 +0200 livecd-rootfs (1.138) maverick; urgency=low * Don't go overboard with the downgrading of packages; this probably caused the rebuild failure attempts, we'll do without downgrading base packages already installed by debootstrap in this use case. -- Steve Langasek Wed, 21 Jul 2010 09:18:48 +0200 livecd-rootfs (1.137) maverick; urgency=low * Make sure APT_SOURCE is always set. -- Colin Watson Wed, 21 Jul 2010 07:52:47 +0100 livecd-rootfs (1.136) maverick; urgency=low * One more fix; if we're asking apt to downgrade packages, we have to explicitly pass --force-yes. -- Steve Langasek Wed, 21 Jul 2010 01:08:31 +0200 livecd-rootfs (1.135) maverick; urgency=low * Implement the -a option in the right place - in livecd.sh, not in BuildLiveCD. -- Steve Langasek Tue, 20 Jul 2010 22:38:10 +0200 livecd-rootfs (1.134) maverick; urgency=low * Add -a option to BuildLiveCD to allow pulling from an additional apt source. -- Steve Langasek Tue, 20 Jul 2010 18:25:13 +0200 livecd-rootfs (1.133) maverick; urgency=low * adjust BuildLiveCD PUBDIR variable to match reality (uses SUBARCH on the buildd) -- Oliver Grawert Fri, 16 Jul 2010 15:56:01 +0200 livecd-rootfs (1.132) maverick; urgency=low * BuildLiveCD: revert change from revno 284 that adds subarch to the logfile names as it breaks mailing of the logs from the cdimage buildlive script -- Oliver Grawert Thu, 15 Jul 2010 11:19:54 +0200 livecd-rootfs (1.131) maverick; urgency=low * add support for omap4 images -- Oliver Grawert Fri, 02 Jul 2010 11:24:55 +0200 livecd-rootfs (1.130) maverick; urgency=low * Revert to version 1.127: we do want the subarch in the filename so these files can coexist in the same directory, as they do for all other archs. * BuildLiveCD: drop the subarch from the directory name, which has never made sense; but we don't want this to go live without coordination with cdimage. -- Steve Langasek Tue, 29 Jun 2010 17:46:46 -0700 livecd-rootfs (1.129) maverick; urgency=low * fix typo -- Oliver Grawert Wed, 30 Jun 2010 01:11:51 +0200 livecd-rootfs (1.128) maverick; urgency=low * do not mangle the project name by attaching the subarch to it on armel, this results in livefs names that confuse find-live_filesystem -- Oliver Grawert Tue, 29 Jun 2010 23:04:10 +0200 livecd-rootfs (1.127) maverick; urgency=low * make BuildLiveCD set $SUBARCHARG properly again, else livecd.sh doesnt get the necessary option handed over. -- Oliver Grawert Tue, 29 Jun 2010 12:54:35 +0200 livecd-rootfs (1.126) maverick; urgency=low * Set LIVE_BOOT_SCRIPTS to "casper lupin-casper" for non-jasper builds, rather than leaving it empty. -- Colin Watson Mon, 28 Jun 2010 16:50:23 +0100 livecd-rootfs (1.125) maverick; urgency=low * make livecd.sh not fail if e2fsck returns non-zero (which is always the case with genext2fs images due to bug 583317) -- Oliver Grawert Mon, 28 Jun 2010 16:27:51 +0200 livecd-rootfs (1.124) maverick; urgency=low * BuildLiveCD: update livecd chroot at start of run, for freshest livecd-rootfs package. -- LaMont Jones Sat, 26 Jun 2010 07:37:46 -0600 livecd-rootfs (1.123) maverick; urgency=low * Make sure LIVE_BOOT_SCRIPTS is always defined. * Convert to source format 3.0 (native). -- Colin Watson Sat, 26 Jun 2010 10:28:40 +0100 livecd-rootfs (1.122) maverick; urgency=low * livecd.sh don't set a variable to itself, especially when the variable is empty and causes build failures under set -u. -- Steve Langasek Fri, 25 Jun 2010 21:59:16 -0700 livecd-rootfs (1.121) maverick; urgency=low [ LaMont Jones ] * BuildLiveCD: only pass -f if we were told it, since older chroots don't support it. [ Oliver Grawert ] * instead of special casing for only one arch, base jasper vs casper inclusion on the IMAGETYPE variable * depend on genext2fs -- Oliver Grawert Fri, 25 Jun 2010 17:30:28 +0200 livecd-rootfs (1.120) maverick; urgency=low * add special case to ubuntu-netbook on omap3 and 4, we want jasper instead of casper in the initramfs -- Oliver Grawert Tue, 15 Jun 2010 16:34:25 +0200 livecd-rootfs (1.119) maverick; urgency=low * Depends: lzma * drop tmpfs in general while allowing a envvar to enable it again -- LaMont Jones Fri, 11 Jun 2010 08:37:17 -0600 livecd-rootfs (1.118) maverick; urgency=low * add temporary workaround for genext2fs bug 583317 (wrong filesystem revision for ext3 filesystems) -- Oliver Grawert Thu, 10 Jun 2010 07:38:05 +0200 livecd-rootfs (1.117) maverick; urgency=low * Only use tmpfs on amd64, due to space restrictions on the current build machines. -- LaMont Jones Sat, 05 Jun 2010 06:50:24 -0600 livecd-rootfs (1.116) maverick; urgency=low [Michael Casadevall] * added new -f switch for changing image build type * added support for building ext2 and ext3 images in addition to squashfs * fixed spacing in the livefs build code * extended BuildLiveCD to handle the -f switch * reworked BuildLiveCD command line parsing to be more sane -- Oliver Grawert Tue, 03 Jun 2010 18:40:10 +0200 livecd-rootfs (1.115) maverick; urgency=low * use a tmpfs for the livefs root directory, to get some speed on the build machines. (ubuntu-dvd requires > 5GB, so use 8GB) -- LaMont Jones Wed, 05 May 2010 10:42:00 -0600 livecd-rootfs (1.114) lucid; urgency=low * make sure STRIP_VMLINUZ=no is set for omap, also change the code to only use the case statement for matching subarches instead of adding an extra check. * fix the comment for STRIP_VMLINUZ to reflect reality. -- Oliver Grawert Tue, 20 Apr 2010 13:20:10 +0200 livecd-rootfs (1.113) lucid; urgency=low * fix typo -- LaMont Jones Sat, 27 Mar 2010 21:10:16 -0600 livecd-rootfs (1.112) lucid; urgency=low * ltsp image needs to be readable -- LaMont Jones Fri, 26 Mar 2010 20:23:41 -0600 livecd-rootfs (1.111) lucid; urgency=low * edubuntu-dvd/ltsp: mksquashfs needs the directory to exist * clean up comments -- LaMont Jones Fri, 26 Mar 2010 19:09:25 -0600 livecd-rootfs (1.110) lucid; urgency=low * Add support for armel+omap, and remove incorrect comments from the armel kernel installation block. * Really update the maintainer field. -- Steve Kowalik Thu, 25 Mar 2010 00:49:17 +1100 livecd-rootfs (1.109) lucid; urgency=low * if the ltsp squashfs image build fails, fail the build. * use mksquashfs directly, instead of ltsp-update-image -- LaMont Jones Wed, 24 Mar 2010 05:15:39 -0600 livecd-rootfs (1.108) lucid; urgency=low * Deliver edubuntu-dvd/i386 ltsp squashfs image, since that's what actually gets built these days. * Update maintainer field. -- LaMont Jones Mon, 22 Mar 2010 21:40:59 -0600 livecd-rootfs (1.107) lucid; urgency=low * Deliver edubuntu/i386 ltsp sqaushfs image. LP: #531546 * fix typo in deciding to remove /usr/share/icons/*/icon-theme.cache on kubuntu-ish images. -- LaMont Jones Wed, 17 Mar 2010 15:07:12 -0600 livecd-rootfs (1.106) lucid; urgency=low * Delete Gnome icon cache for Kubuntu images -- Jonathan Riddell Tue, 23 Feb 2010 17:51:57 +0000 livecd-rootfs (1.105) lucid; urgency=low * Edubuntu is allowed to pull from universe; update livecd.sh accordingly -- Steve Langasek Tue, 26 Jan 2010 17:17:35 -0800 livecd-rootfs (1.104) lucid; urgency=low * Rename Ubuntu Netbook Remix to Ubuntu Netbook. -- Steve Kowalik Fri, 18 Dec 2009 14:16:26 +1100 livecd-rootfs (1.103) lucid; urgency=low * make sure there is no old squashfs around before attempting to squash a new one. -- Oliver Grawert Mon, 07 Dec 2009 11:27:50 +0100 livecd-rootfs (1.102) lucid; urgency=low * Don't output a newline in filesystem.size. -- Evan Dandrea Thu, 19 Nov 2009 14:57:10 -0600 livecd-rootfs (0.101) lucid; urgency=low * Write out the total size of uncompressed squashfs to be used by partman and ubiquity. -- Evan Dandrea Wed, 18 Nov 2009 12:11:10 -0600 livecd-rootfs (0.100) karmic; urgency=low * UNR LIVELIST: list lupin-casper and laptop-detect explicitly and drop ubiquity which is in the live seed already. Fixes lack of wubi support in UNR images; LP: #457246. -- Loïc Minier Thu, 22 Oct 2009 14:09:41 +0200 livecd-rootfs (0.99) karmic; urgency=low * Revert 0.98 change; it's actually much more wide-ranging than I thought as it would cause each livefs build on a subarch to rotate the timestamped dir and hence would mask the previous builds; and even if that would be fixed, arch-indepedent filenames such as manifest/kernel/initrd/etc. symlinks would clash. * Rename EXTRASOURCE to PPA and also define PPAMIRROR near top, set to ppa.launchpad.net. Changing to PPA avoids listing non-main components in deb lines and having an useful comment in sources.list. * Create an etc/apt/preferences file Pin-ing the PPA at 550 when there's one. * Gross hack to reinstall the moblin-ppa-keyring package after the trusted db is put back in place since otherwise we miss the GPG key we wanted. * Fix computation of Origin fields for PPAs named "ppa" and document the exception along with the expected format for the PPA var in comments. LP: #434243 * Move the code taking a backup of the APT trusted keyring to just after sources.list generation (this is safe since there's no apt call inbetween) and move the installation of the moblin-archive-keyring just before the backup is taken; this allows dropping the hack of reinstalling the keyring package at the end of the build. It might break apt-get update for UMR before the host keys are appended to the trusted keyring though. * Remove ${ROOT}var/cache/apt/{,src}pkgcache.bin after installing the moblin keyring package, workaround for LP #442082. * Run apt-get update one more time after installing the moblin keyring package, to promote Release.gpg from APT's lists/partial/ to lists/. Ideally APT would do that for us on apt-key updates. * Also change computation of Origin field for PPAs when generating the final APT config; ideally we wouldn't have to duplicate this code though; perhaps the removal of APT preferences file can be limited to hardy too. Also add an Explanation: header in the final preferences. -- Loïc Minier Sun, 04 Oct 2009 13:53:40 +0200 livecd-rootfs (0.98) karmic; urgency=low * Put livecd logs into project/ not project-subarch/. -- Loïc Minier Wed, 23 Sep 2009 09:46:43 +0200 livecd-rootfs (0.97) karmic; urgency=low [ Colin Watson ] * Upgrade to debhelper v7. [ Loïc Minier ] * Make stripping of vmlinuz from livefs optional for uImage subarches where we can't use this trick to save space and disable it on armel+dove. -- Loïc Minier Wed, 16 Sep 2009 00:52:18 +0200 livecd-rootfs (0.96) karmic; urgency=low [ Loïc Minier ] * Append ${SUBARCH:+-$SUBARCH} to LOG filename for consistency. [ Colin Watson ] * Edubuntu's desktop task is edubuntu-desktop-gnome, not edubuntu-desktop. -- Colin Watson Tue, 15 Sep 2009 13:13:10 +0100 livecd-rootfs (0.95) karmic; urgency=low * Add the EXTRASOURCE apt source to the "pristine" /etc/apt/sources.list. -- Steve Kowalik Tue, 01 Sep 2009 17:34:57 +1000 livecd-rootfs (0.94) karmic; urgency=low [ Steve Kowalik ] * Add support for UMR. [ Loïc Minier ] * Use ubuntu-moblin-live in LIVELIST instead of a hardcoded list. -- Loïc Minier Thu, 27 Aug 2009 12:36:10 +0200 livecd-rootfs (0.93) karmic; urgency=low * remove temporary enablement of universe from the armel subarchitectures -- Oliver Grawert Tue, 25 Aug 2009 18:38:07 +0200 livecd-rootfs (0.92) karmic; urgency=low * change armel+imx51 back to the proper metapackage name * enable universe for armel+dove build * drop armel fallback, we want to fail officially if no armel subarch is set * clean some trailing whitespace in the armel subarch case statement -- Oliver Grawert Fri, 21 Aug 2009 19:33:15 +0200 livecd-rootfs (0.91) karmic; urgency=low [ Steve Kowalik ] * Remove subarch hack for ubuntu-mid, it was never used. [ Mario Limonciello ] * Remove metapackage hack for mythbuntu. Now that tasks are published for multiverse, it's no longer necessary. -- Mario Limonciello Thu, 13 Aug 2009 22:19:26 -0500 livecd-rootfs (0.90) karmic; urgency=low * make armel imx51 build from universe for alpha4 until our kernel package is in main. * change linux metapackage name to linux-babbage on imx51 to reflect the new name choice of the kernel team. -- Oliver Grawert Tue, 11 Aug 2009 10:55:54 +0200 livecd-rootfs (0.89) karmic; urgency=low [ Michael Casadevall ] * Move armel to subarchitectures so we can support dove . * Made armel with no subarch default to imx51. [ Steve Kowalik ] * livecd.sh: Stop building UNR from universe. -- Steve Kowalik Wed, 05 Aug 2009 14:20:37 +0100 livecd-rootfs (0.88) karmic; urgency=low [ Adam Conrad ] * Make the sort file fetch a no-op for now, since the old URL was hanging the builds, and we don't actually HAVE sort files. If that ever changes, we can undo this. [ Mario Limonciello ] * Install a hybrid of tasks and a meta package for mythbuntu to boot out all the gnome stuff that's getting added by dependency resolution order. -- Mario Limonciello Thu, 23 Jul 2009 03:08:53 -0500 livecd-rootfs (0.87) karmic; urgency=low [ Timo Aaltonen ] * livecd.sh: Don't mess with xorg.conf anymore, we don't install one by default. [ Colin Watson ] * Clean up the chroot tree before trying to remove it, just in case there's some leftover junk from a previous failed build. -- Colin Watson Tue, 07 Jul 2009 13:07:47 +0100 livecd-rootfs (0.86) karmic; urgency=low [ Scott Kitterman ] * BuildLiveCD: Add kubuntu-netbook, drop kubuntu-kde4 * livecd.sh: Support kubuntu-netbook, drop kubuntu-kde4 [ Steve Kowalik ] * livecd.sh: Switch UNR to using ubuntu-netbook-remix^ and unr-live^. -- Steve Kowalik Tue, 30 Jun 2009 12:13:08 +1000 livecd-rootfs (0.85) karmic; urgency=low * Compress the initrd with LZMA by default, now that the kernel supports this across the board. Saves about 3MB on Ubuntu live CDs. -- Colin Watson Tue, 23 Jun 2009 17:28:19 +0100 livecd-rootfs (0.84) karmic; urgency=low * Don't force installation of libgoffice-gtk-0-6 on xubuntu; this package is now obsolete. -- Steve Langasek Wed, 10 Jun 2009 13:22:11 -0700 livecd-rootfs (0.83) karmic; urgency=low * Don't fail if livecd.${FSS}.{kernel,initrd} already exist for some reason. -- Colin Watson Fri, 29 May 2009 11:38:18 +0200 livecd-rootfs (0.82) karmic; urgency=low [ Loic Minier ] * Default suite is the current one as returned by $(lsb_release -cs); depend on lsb-release (LP: #301963). * Use dpkg --print-architecture as --print-installation-architecture is deprecated. * Don't explicitely install linux-headers-imx51 on armel; all other arches get around this requirement by explicitely seeding the headers in desktop-common which we do as well. [ Colin Watson ] * Remove -nolzma option from mksquashfs, since (a) it's been the default since squashfs 1:3.3-1ubuntu1, and (b) it's no longer available in 4.0. -- Colin Watson Fri, 29 May 2009 09:19:59 +0200 livecd-rootfs (0.81) karmic; urgency=low * ia64 uses -ia64 kernels across the board now. * BuildLiveCD: default to karmic. -- Colin Watson Sat, 09 May 2009 00:34:38 +0100 livecd-rootfs (0.80) jaunty; urgency=low * Add standard^ to UNR. * Add mobile-live^ to LIVELIST for MID and UNR. (LP: #358095) * Only build UNR from main, restricted and universe. -- Steve Kowalik Thu, 16 Apr 2009 20:46:30 +1000 livecd-rootfs (0.79) jaunty; urgency=low * Use the --purge option to 'apt-get install', to ensure that any packages removed as a result of Conflicts are purged (LP: #327821). -- Colin Watson Fri, 03 Apr 2009 01:06:18 +0100 livecd-rootfs (0.78) jaunty; urgency=low * Use the imx51 kernel on armel. -- Steve Kowalik Mon, 23 Mar 2009 09:49:30 +1100 livecd-rootfs (0.77) jaunty; urgency=low * Remove the D-Bus machine identifier from the livefs; it needs to be unique, and it's generated at boot time if it's missing (LP: #322830). -- Colin Watson Thu, 29 Jan 2009 17:21:23 +0000 livecd-rootfs (0.76) jaunty; urgency=low * Allow kernel-less builds for armel for now (see https://wiki.ubuntu.com/Specs/ARMImageSelection). -- Colin Watson Tue, 20 Jan 2009 23:39:56 +0000 livecd-rootfs (0.75) jaunty; urgency=low [ Steve Langasek ] * BuildLiveCD: recognize 'mythbuntu' and 'ubuntu-mobile' as valid project names [ Colin Watson ] * BuildLiveCD: add ubuntu-umpc too. [ Steve Kowalik ] * BuildLiveCD: Add ubuntu-netbook-remix. * livecd.sh: Support ubuntu-netbook-remix. -- Steve Kowalik Sat, 10 Jan 2009 11:08:29 +1100 livecd-rootfs (0.74) jaunty; urgency=low * For mythbuntu livefs builds, we don't have tasks yet. They will be coming in a future build of Soyuz, so for now just use the metapackages instead. -- Mario Limonciello Sat, 08 Nov 2008 09:49:56 -0600 livecd-rootfs (0.73) jaunty; urgency=low [ Colin Watson ] * Add ubuntu-umpc support (equivalent to previous ubuntu-mobile). [ Mario Limonciello ] * Add Mythbuntu support. * BuildLiveCD: default to jaunty. -- Mario Limonciello Tue, 04 Nov 2008 19:28:35 -0600 livecd-rootfs (0.72) intrepid; urgency=low * Fix source mirror for -updates in generated sources.list (it was incorrect for ports architectures). * Fix description of universe in generated sources.list: packages there are expected to be under a free licence. * Enable universe and multiverse for DVDs (there isn't generally enough space on CDs; see LP #105511). -- Colin Watson Thu, 09 Oct 2008 02:13:41 +0100 livecd-rootfs (0.71) intrepid; urgency=low * change mobile to use the mobile-mobile task instead of teh metapackage for building images -- Oliver Grawert Mon, 29 Sep 2008 23:24:15 +0200 livecd-rootfs (0.70) intrepid; urgency=low * linux-lpia-meta exists, change lpia's kernel back to linux-lpia. -- Steve Kowalik Fri, 26 Sep 2008 16:09:54 +1000 livecd-rootfs (0.69) intrepid; urgency=low * add ubuntu-mobile to build targets -- Oliver Grawert Tue, 23 Sep 2008 12:46:50 +0200 livecd-rootfs (0.68) intrepid; urgency=low * Unmount /proc/sys/fs/binfmt_misc, in case binfmt-support is installed and manages to mount it. * Move MOUNTS variable into cleanup function for clarity; it's used nowhere else. -- Colin Watson Mon, 22 Sep 2008 11:52:22 +0100 livecd-rootfs (0.67) intrepid; urgency=low * Bump linux-lpia to -3. -- Steve Kowalik Mon, 15 Sep 2008 16:41:34 +1000 livecd-rootfs (0.66) intrepid; urgency=low * Remove a bunch of seeded packages from ubuntu-mid's LIST. * Move casper from ubuntu-mid's LIST to LIVELIST. * Add ubiquity to ubuntu-mid's LIVELIST. -- Steve Kowalik Thu, 11 Sep 2008 19:02:52 +1000 livecd-rootfs (0.65) intrepid; urgency=low * Fiddle the kernel name for lpia. -- Steve Kowalik Tue, 09 Sep 2008 09:21:10 +1000 livecd-rootfs (0.64) intrepid; urgency=low * Add support for building Ubuntu MID images. - Includes changing the kernel name for lpia due to the lack of meta package for the time being. -- Steve Kowalik Fri, 22 Aug 2008 18:10:38 +1000 livecd-rootfs (0.63) intrepid; urgency=low * Do not install xresprobe, it is not necessary any more and in universe now. -- Martin Pitt Wed, 13 Aug 2008 09:45:15 +0200 livecd-rootfs (0.62) intrepid; urgency=low * Use 'set -eu' rather than putting -eu on the #! line, so that running 'sh -x /usr/sbin/livecd.sh' for testing doesn't invoke different error-handling behaviour. * Remove the kernel from the livefs; ubiquity >= 1.9.4 will copy it from the CD root if it needs to (LP: #80385). -- Colin Watson Fri, 18 Jul 2008 20:01:15 +0100 livecd-rootfs (0.61) intrepid; urgency=low * Use apt pinning to force use of the version of ssl-cert from the hardy release pocket, not the one from -updates, so we avoid pulling in the very large openssl-blacklist package that we don't need on live CDs -- Steve Langasek Fri, 20 Jun 2008 13:53:17 -0700 livecd-rootfs (0.60) intrepid; urgency=low * Employ hideous hack to ensure that when we're building against updates/proposed, we only get one version of kernel headers. * Move the cleanup() call to the end of the script, so we still have proc mounted for coreutils when update-initramfs is run. * Mount dev/pts immediately after debootstrap, as dpkg has begun whining pretty loudly (and occasionally exiting) if it's gone. -- Adam Conrad Tue, 10 Jun 2008 17:20:10 -0600 livecd-rootfs (0.59) intrepid; urgency=low [ Colin Watson ] * Remove /boot/initrd.img-*.bak (LP: #64887). [ Adam Conrad ] * Resurrect the proposed option for livecd.sh/BuildLiveCD, so we can build test images that include packages from proposed. * Build with updates and security by default, which is a no-op on development releases (where these suites are empty), but a necessity for point-release image building. * Copy bin/true from the chroot, not from the real root, so image builds for i386/lpia work on amd64, as intended. -- Adam Conrad Tue, 10 Jun 2008 13:23:18 -0600 livecd-rootfs (0.58) intrepid; urgency=low * Fix up BuildLiveCD to only pass -a$ARCH when building for intrepid, and to disallow multi-suite builds (does anyone use it for this) of suites >= intrepid and <= hardy in the same invocation. -- Adam Conrad Fri, 02 May 2008 15:44:17 -0600 livecd-rootfs (0.57) intrepid; urgency=low * Allow the user to specify the ARCH on the livecd.sh command line, overriding the use of the dpkg architecture for the livecd run. * Differentiate between ARCH (the local architecture) and TARGETARCH, so that builds of ubuntu-lpia continue to work on the i386 buildd. * Pass ARCH by default from BuildLiveCD to livecd.sh; this should be manually overridden on cross-arch buildds, instead of using dpkg. * Update default suite in BuildLiveCD to intrepid, gutsy's a bit old. -- Adam Conrad Fri, 02 May 2008 15:10:32 -0600 livecd-rootfs (0.56) hardy; urgency=low * Explicitly install language-support-en first for kubuntu-kde4 live, should stop apt wanting to install firefox for no good reason. -- Jonathan Riddell Thu, 13 Mar 2008 14:32:14 +0000 livecd-rootfs (0.55) hardy; urgency=low * All powerpc builds (including ps3) use the powerpc/powerpc64-smp kernels now. -- Colin Watson Wed, 27 Feb 2008 20:19:16 +0000 livecd-rootfs (0.54) hardy; urgency=low * Run /etc/cron.daily/mlocate rather than /etc/cron.daily/slocate. -- Colin Watson Wed, 27 Feb 2008 06:54:12 +0000 livecd-rootfs (0.53) hardy; urgency=low * Set kubuntu-kde4 to universe -- Jonathan Riddell Fri, 22 Feb 2008 09:42:15 +0000 livecd-rootfs (0.52) hardy; urgency=low * Enable *ubuntu-dvd and kubuntu-kde4 as known projects in BuildLiveCD -- Steve Langasek Thu, 14 Feb 2008 15:58:31 -0800 livecd-rootfs (0.51) hardy; urgency=low [ Jonathan Riddell ] * Add kubuntu-kde4 [ Steve Langasek ] * Add new targets for {k,ed,}ubuntu-dvd -- Steve Langasek Thu, 14 Feb 2008 10:15:33 -0800 livecd-rootfs (0.50) hardy; urgency=low * Switch Xubuntu to libgoffice-gtk-0-6. -- Colin Watson Thu, 31 Jan 2008 17:22:35 +0000 livecd-rootfs (0.49) hardy; urgency=low * Allow Xubuntu to build against universe and multiverse. -- Colin Watson Mon, 28 Jan 2008 16:33:06 +0000 livecd-rootfs (0.48) hardy; urgency=low * fix typo in getopts call so the -m and -S options are recognized * drop call to non-existent sanitize command (LP: #179130) -- Oliver Grawert Fri, 25 Jan 2008 17:40:57 +0100 livecd-rootfs (0.47) hardy; urgency=low * Fix versioned dependency to squashfs-tools. "." != "-", silly me. -- Martin Pitt Thu, 20 Dec 2007 14:17:47 +0100 livecd-rootfs (0.46) hardy; urgency=low * Use -nolzma option of mksquashfs, since our current kernel squashfs module does not support it yet (see LP #177634). Bump dependency to squashfs-tools to ensure availability of that option. -- Martin Pitt Thu, 20 Dec 2007 12:03:41 +0100 livecd-rootfs (0.45) hardy; urgency=low [ Colin Watson ] * Vcs-Bzr is now an official field. Use an unauthenticated URL for it. [ Bryce Harrington ] * livecd.sh: Leave a token empty xorg.conf in place to let xserver-xorg postinst know it needs to regenerate it. (LP: #174537) -- Timo Aaltonen Wed, 19 Dec 2007 01:23:32 +0200 livecd-rootfs (0.44) hardy; urgency=low * xubuntu seed change - libgoffice-gtk-0-4 --> libgoffice-gtk-0-5 -- Sarah Hobbs Fri, 30 Nov 2007 14:52:29 +1100 livecd-rootfs (0.43) hardy; urgency=low * Add Gobuntu support. -- Colin Watson Mon, 29 Oct 2007 17:57:17 -0400 livecd-rootfs (0.42) hardy; urgency=low * Create /spu directory and spu group for powerpc+ps3 builds. * Add XS-Vcs-Bzr field. -- Colin Watson Wed, 24 Oct 2007 23:20:58 +0100 livecd-rootfs (0.41) gutsy; urgency=low * Log the size of doc directories to stdout. -- Matthias Klose Sun, 07 Oct 2007 14:07:59 +0200 livecd-rootfs (0.40) gutsy; urgency=low * Set CASPER_GENERATE_UUID=1 to tell casper's initramfs hook to generate a UUID which will be checked against the discovered medium (LP: #144800). -- Colin Watson Thu, 04 Oct 2007 14:26:06 +0100 livecd-rootfs (0.39) gutsy; urgency=low * Print the file size in fdupes output as well. -- Matthias Klose Thu, 04 Oct 2007 12:28:27 +0200 livecd-rootfs (0.38) gutsy; urgency=low * Avoid the ${ROOT} prefix in fdupes output, compact and sort the output. -- Matthias Klose Thu, 04 Oct 2007 10:13:48 +0200 livecd-rootfs (0.37) gutsy; urgency=low * Run fdupes on ${ROOT}/usr. -- Matthias Klose Wed, 03 Oct 2007 16:46:14 +0200 livecd-rootfs (0.36) gutsy; urgency=low * Change the names of ia64 kernels to the right (non-SMP since they're merged) ones. -- LaMont Jones Wed, 26 Sep 2007 13:50:19 -0600 livecd-rootfs (0.35) gutsy; urgency=low * Use linux-cell rather than linux-ps3. -- Colin Watson Tue, 25 Sep 2007 12:36:20 +0100 livecd-rootfs (0.34) gutsy; urgency=low * Rearrange lpia mirror selection hacks to work properly; FS isn't set until a bit later on. -- Colin Watson Sat, 08 Sep 2007 22:56:32 +0100 livecd-rootfs (0.33) gutsy; urgency=low [ Adam Conrad ] * Implement hideous hacks to build lpia mixed-arch livecds for developers to test with. This should be reverted ASAP once LPIA main is built. * Add missing ${ROOT}sys to $MOUNTS; a bug exposed by a buggy debootstrap. [ Colin Watson ] * Add lupin-casper as well as casper, for installer-for-windows. * Revert most of the lpia hacks now that most of main is built, though we still need a few of them to make the ubuntu-lpia project work. * Move powerpc to ports.ubuntu.com. -- Colin Watson Fri, 07 Sep 2007 19:11:03 +0100 livecd-rootfs (0.32) gutsy; urgency=low * For Edubuntu images, include the intersection of edubuntu-ship-addon and edubuntu-live in manifest-desktop, so that packages also on the add-on CD aren't removed after installation by ubiquity. -- Colin Watson Sat, 21 Jul 2007 14:43:09 +0100 livecd-rootfs (0.31) gutsy; urgency=low * Remove a duplicate "copyright" from debian/copyright. Typing is hard. * Bump SOVER for libgoffice-gtk to make Xubuntu builds happy again. -- Adam Conrad Wed, 18 Jul 2007 10:39:08 +0100 livecd-rootfs (0.30) gutsy; urgency=low * Relicense livecd.sh under the terms of the GPLv2, in preparation for our first public release of this hideous mess of shell. * Merge in Colin Watson's subarch hacks from the production buildds. * Update copyright again, this time only seven months late! * Change the maintainer in debian/control to me; so long, LaMont. * Install the BuildLiveCD script to doc/examples, so we have a handy place to yank it from, and to provide an example of our SSH trigger. * Remove duplicate debconf cruft from the chroot before building. -- Adam Conrad Tue, 10 Jul 2007 10:48:04 +0100 livecd-rootfs (0.29) UNRELEASED; urgency=low * Update copyright to 2006, 9 months late is better than never, right? * Update kernels for i386 and amd64 to reflect recent renaming. * Remove all cloop-related code, we're now squashfs-only on all arches. * Add mirror information to make things work faster on my network. * Swap out more metapackages for tasks (ubuntu-minimal/ubuntu-standard) -- Adam Conrad Thu, 21 Sep 2006 10:37:09 +1000 livecd-rootfs (0.28) UNRELEASED; urgency=low * Welcome to Edgy... Switch the default i386 kernel to -686, yay! * And when I say "edgy", I really mean it (ie: change the suite too) * Add the use of a sortfile from Tollef to the squashfs invocation. * s/libgoffice-gtk-1-2/libgoffice-gtk-0-3/ for the xubuntu hint. * s/ubuntu-base/ubuntu-minimal ubuntu-standard/g for seed changes. -- Adam Conrad Mon, 28 Aug 2006 03:40:28 +1000 livecd-rootfs (0.27) UNRELEASED; urgency=low [ Adam Conrad ] * Copy the kernel out of the livefs as well, so we have one that matches. * Enable rudimentary support for squashfs filesystems, initially enabling it on the primary architectures only (powerpc, i386, amd64) * Split the package LIST into LIST and LIVELIST, and generate a manifest before installing LIVELIST, so espresso can calculate the difference. * Use --print-installation-architecture instead of --print-architecture * Special-case kubuntu cloops to be slightly larger, so we don't overflow. * Make sparc use archive.ubuntu.com, it's no longer a ports arch. * Add xubuntu support to livecd.sh, including hackish workarounds. * Reset the debconf frontend after we're all done with the chroot. [ LaMont Jones ] * umount /var/{run,lock} * changes for launchpad archive (ftpmaster.internal instead of jackass) -- LaMont Jones Wed, 8 Feb 2006 10:49:27 -0700 livecd-rootfs (0.26) hoary-cat; urgency=low [ Adam Conrad ] * Copy the initrd out of the livefs for us in the SimplifiedLiveCD setup [ LaMont Jones ] * linux-image-power{3,4} -> powerpc64-smp * casper needs to be in the livecd image (change base). -- LaMont Jones Fri, 23 Dec 2005 09:37:57 -0700 livecd-rootfs (0.25) hoary-cat; urgency=low [ LaMont Jones ] * Really use e2fs-zero.py: it needs -w. Comment out partimage. * edubuntu/kubuntu need to use ubuntu-base [ Adam Conrad ] * Make livecd.sh umount the lrm tmpfs during the cleanup process. * Make our sources.list use SECSRCMIRROR instead of SRCMIRROR for security sources, defaulting to SECMIRROR for release arches and SRCMIRROR for ports (since ports don't have security binaries and sources in one place) -- LaMont Jones Thu, 24 Nov 2005 10:13:33 -0700 livecd-rootfs (0.24) hoary-cat; urgency=low [ LaMont Jones ] * Incorporate e2fs-zero.py from Paul Sladen: http://www.paul.sladen.org/ubuntu/e2fszero/e2fs-zero.py And use it instead of partimage. Suggest: partimage instead of Recommends. * Print package version during script run. * some HPPA fixes, allow architectures to have more than just main. * add debian/compat * Add --resolve-deps to debootstrap command. [ Adam Conrad ] * Incorporate 'tocd' target, including hideous hack to get the germinate output from Colin's lists at people.ubuntu.com -- LaMont Jones Tue, 25 Oct 2005 12:00:45 -0600 livecd-rootfs (0.23) hoary-cat; urgency=low * use kubuntu-live in the kubuntu case, per cjwatson. -- LaMont Jones Thu, 8 Sep 2005 09:48:12 -0600 livecd-rootfs (0.22) hoary-cat; urgency=low * rm -f etc/X11/xorg.conf, per #13788 -- LaMont Jones Mon, 22 Aug 2005 22:07:10 -0600 livecd-rootfs (0.21) hoary-cat; urgency=low * a bit more ports.ubuntu.com cleanup: deb-src still needs to point at archive.ubuntu.com. * postfix isn't there anymore, make the postfix stripping stuff conditional. * nuke the update-notifier messages -- LaMont Jones Thu, 18 Aug 2005 12:09:49 -0600 livecd-rootfs (0.20) hoary-cat; urgency=low * incorporate ports.ubuntu.com repositories * make distro name a parameter. -- LaMont Jones Tue, 17 May 2005 21:39:24 -0600 livecd-rootfs (0.19) hoary; urgency=low * Add 'base' target -- LaMont Jones Wed, 13 Apr 2005 18:43:04 -0600 livecd-rootfs (0.18) hoary; urgency=low * set +e affects callers. -- LaMont Jones Tue, 5 Apr 2005 16:20:32 -0600 livecd-rootfs (0.17) hoary; urgency=low * locales cleanup. -- LaMont Jones Mon, 7 Mar 2005 09:53:54 -0700 livecd-rootfs (0.16) hoary; urgency=low * Bunch of cleanup for kubunut-live. -- LaMont Jones Thu, 3 Mar 2005 16:02:21 -0700 livecd-rootfs (0.15) hoary; urgency=low * Can't have arch-specific Depends. Poor partimage. -- LaMont Jones Sun, 27 Feb 2005 14:31:27 -0700 livecd-rootfs (0.14) hoary; urgency=low * Remove /etc/resolv.conf from the chroot. Closes: #6954 -- LaMont Jones Sat, 26 Feb 2005 18:39:22 -0700 livecd-rootfs (0.13) hoary; urgency=low * Add ubuntu-live -- LaMont Jones Fri, 11 Feb 2005 18:25:24 -0700 livecd-rootfs (0.12) hoary; urgency=low * partimage likes having TERM=vt100, better than a nonexistant one. -- LaMont Jones Fri, 21 Jan 2005 23:36:41 -0700 livecd-rootfs (0.11) hoary; urgency=low * apt-get update in the final chroot * Change partimage depend to be [ !64-bit ], use partimage conditionally -- LaMont Jones Fri, 21 Jan 2005 22:47:46 -0700 livecd-rootfs (0.10) hoary; urgency=low * Actually run /usr/sbin/locale-gen to generate the locales. * Try zero-filling the fsimage file -- LaMont Jones Thu, 20 Jan 2005 19:14:45 -0700 livecd-rootfs (0.9) hoary; urgency=low * Can't divert conffiles, nor do we need to anymore. -- LaMont Jones Wed, 19 Jan 2005 16:54:45 -0700 livecd-rootfs (0.8) hoary; urgency=low * Pre-generate some locales (en_{US,GB,ZA}.UTF-8) -- LaMont Jones Sat, 15 Jan 2005 07:55:12 -0700 livecd-rootfs (0.7) hoary; urgency=low * rsync does not love what we do in cloop. :( -- LaMont Jones Fri, 14 Jan 2005 22:13:03 -0700 livecd-rootfs (0.6) hoary; urgency=low * fix typos in livecd.sh. sigh. -- LaMont Jones Fri, 14 Jan 2005 21:18:57 -0700 livecd-rootfs (0.5) hoary; urgency=low * Buildd various .cloop filesystems, to see if rsync loves us -- LaMont Jones Thu, 13 Jan 2005 12:34:30 -0700 livecd-rootfs (0.4) hoary; urgency=low * Need to actually umount the fsimg before compressing it. -- LaMont Jones Tue, 11 Jan 2005 15:21:32 -0700 livecd-rootfs (0.3) hoary; urgency=low * add manifest file -- LaMont Jones Sun, 9 Jan 2005 13:27:07 -0700 livecd-rootfs (0.2) hoary; urgency=low * Better divertion setup, fix sources.list * copyright in file. * Flush postfix's queue of the install mail -- LaMont Jones Fri, 7 Jan 2005 13:00:37 -0700 livecd-rootfs (0.1) hoary; urgency=low * Initial revision -- LaMont Jones Thu, 6 Jan 2005 21:24:08 -0700 livecd-rootfs-2.408/debian/control0000664000000000000000000000142412706147572014040 0ustar Source: livecd-rootfs Section: devel Priority: optional Build-Depends: debhelper (>= 7) Maintainer: Ubuntu Developers Standards-Version: 3.9.6 Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-core-dev/livecd-rootfs/trunk Package: livecd-rootfs Architecture: any Depends: ${misc:Depends}, debootstrap, rsync, python-minimal | python, procps, squashfs-tools (>= 1:3.3-1), grep-dctrl, lsb-release, lzma, e2fsprogs, germinate (>= 1.25.1), apt-utils, gnupg, live-build (>= 3.0~a57-1ubuntu12~), android-tools-fsutils [armhf], python3-software-properties Suggests: partimage Breaks: ubuntu-defaults-builder (<< 0.32) Description: construction script for the livecd rootfs livecd-rootfs provides the script used to create the root filesystem on the livecd. livecd-rootfs-2.408/debian/compat0000664000000000000000000000000212706147572013632 0ustar 7 livecd-rootfs-2.408/debian/install0000664000000000000000000000011712706147572014024 0ustar live-build usr/share/livecd-rootfs get-ppa-fingerprint usr/share/livecd-rootfs livecd-rootfs-2.408/debian/rules0000775000000000000000000000062612706147572013520 0ustar #! /usr/bin/make -f %: dh $@ DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) override_dh_auto_test: dh_auto_test set -e; for x in live-build/auto/*; do \ sh -n "$$x"; \ done override_dh_install: dh_install find debian/livecd-rootfs -type f -print0 | \ xargs -0r grep -lZ '@DEB_HOST_MULTIARCH@' | \ xargs -0r \ sed -i 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/g'