Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: live-installer

live-installer (51ubuntu3) yakkety; urgency=medium * Don't impose a prefix on places paths that are already URIs. (LP: #1575652) -- Mathieu Trudel-Lapierre <cyphermox@ubuntu.com> Wed, 25 May 2016 16:38:38 -0400 live-installer (51ubuntu2) xenial; urgency=medium * Validate signatures on components exported via a mirror, based on net-retriever code. LP: #1565889. -- Dimitri John Ledkov <xnox@ubuntu.com> Wed, 06 Apr 2016 21:54:15 +0100 live-installer (51ubuntu1) xenial; urgency=low * Merge from Debian unstable. Remaining changes: - live-installer.d/ubuntu-kernel: Try to copy the kernel from the top-level CD filesystem rather than the squashfs, in case it has been removed from the squashfs to save space. - debian/live-installer.postinst, debian/live-installer.templates: Support preseeding live-installer/net-image to download an image from the network. - Reconfigure popularity-contest to regenerate host ID. - support/*: Try to fetch filesystem from /cdrom/install/filesystem.*, used for images where only the base system is provided by a squashfs. - Install a kernel unless the squashfs contains one. - Strip /cdrom/ prefix from all places. - Iterate through places with /cdrom/ prefix, and then with a $mirror prefix, to fetch remotely, in case a cdrom is exported as a mirror. -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Wed, 23 Dec 2015 12:00:30 -0500

Modifications :
  1. Download patch support/dir

    --- 51/support/dir 2011-10-29 01:01:22.000000000 +0000 +++ 51ubuntu3/support/dir 2015-12-17 00:13:41.000000000 +0000 @@ -1,9 +1,10 @@ #!/bin/sh -e # Debian (live-boot) -PLACES="$PLACES /cdrom/live/filesystem.dir" +PLACES="$PLACES /live/filesystem.dir" # Ubuntu (casper) -PLACES="$PLACES /cdrom/casper/filesystem.dir" +PLACES="$PLACES /casper/filesystem.dir" +PLACES="$PLACES /install/filesystem.dir" dir_prepare() { cd $place
  2. Download patch debian/live-installer.templates

    --- 51/debian/live-installer.templates 2011-01-19 04:45:08.000000000 +0000 +++ 51ubuntu3/debian/live-installer.templates 2015-12-17 00:13:41.000000000 +0000 @@ -55,3 +55,9 @@ Type: boolean Default: true Description: for internal use; can be preseeded If false, uses base-installer for installation + +Template: live-installer/net-image +Type: string +Description: for internal use; can be preseeded + If set, download an image from the network. Currently, the URL must end + with .btrfs, .ext2, .ext3, .ext4, or .squashfs.
  3. Download patch debian/control

    --- 51/debian/control 2015-02-13 04:01:20.000000000 +0000 +++ 51ubuntu3/debian/control 2015-12-17 00:13:41.000000000 +0000 @@ -1,7 +1,8 @@ Source: live-installer Section: debian-installer Priority: optional -Maintainer: Debian Install System Team <debian-boot@lists.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Install System Team <debian-boot@lists.debian.org> Uploaders: Otavio Salvador <otavio@debian.org>, Christian Perrier <bubulle@debian.org>
  4. Download patch support/btrfs

    --- 51/support/btrfs 2011-10-29 01:01:22.000000000 +0000 +++ 51ubuntu3/support/btrfs 2015-12-17 00:13:41.000000000 +0000 @@ -1,9 +1,10 @@ #!/bin/sh -e # Debian (live-boot) -PLACES="$PLACES /cdrom/live/filesystem.btrfs" +PLACES="$PLACES /live/filesystem.btrfs" # Ubuntu (casper) -PLACES="$PLACES /cdrom/casper/filesystem.btrfs" +PLACES="$PLACES /casper/filesystem.btrfs" +PLACES="$PLACES /install/filesystem.btrfs" btrfs_prepare() { ANNA_QUIET=1 anna-install btrfs-modules || true
  5. Download patch live-installer.d/ubuntu-kernel

    --- 51/live-installer.d/ubuntu-kernel 1970-01-01 00:00:00.000000000 +0000 +++ 51ubuntu3/live-installer.d/ubuntu-kernel 2012-09-11 09:26:50.000000000 +0000 @@ -0,0 +1,55 @@ +#!/bin/sh -e + +# If we've installed a kernel already, we're done. +if ls /target/boot/vmlinu* >/dev/null 2>&1; then + exit 0 +fi + +# If no kernel package is installed, we don't need to repair it. +if ! ls /target/boot/System.map* >/dev/null 2>&1; then + exit 0 +fi + +# Try some possible locations for the kernel we used to boot. This lets us +# save a couple of megabytes of CD space. + +find_cd_kernel () { + # Find the boot kernel on the CD, if possible. + local subarch prefix kernel + + subarch="$(uname -r | cut -d- -f3)" + for dir in casper install; do + for prefix in vmlinux vmlinuz; do + kernel="/cdrom/$dir/$prefix" + if [ -e "$kernel" ]; then + echo "$kernel" + return + fi + + if [ "$subarch" ]; then + kernel="/cdrom/$dir/$subarch/$prefix" + if [ -e "$kernel" ]; then + echo "$kernel" + return + fi + + kernel="/cdrom/$dir/$prefix-$subarch" + if [ -e "$kernel" ]; then + echo "$kernel" + return + fi + fi + done + done +} + +kernel="$(find_cd_kernel)" +if [ "$kernel" ]; then + prefix="$(basename "$kernel" | cut -d- -f1)" + release="$(uname -r)" + target_kernel="/target/boot/$prefix-$release" + rm -f "$target_kernel" + cp -a "$kernel" "$target_kernel" +fi + +exit 0
  6. Download patch live-installer.d/popularity-contest

    --- 51/live-installer.d/popularity-contest 1970-01-01 00:00:00.000000000 +0000 +++ 51ubuntu3/live-installer.d/popularity-contest 2012-07-22 00:27:40.000000000 +0000 @@ -0,0 +1,23 @@ +#!/bin/sh -e + +# Unfortunately, we can't use in-target here as this doesn't allow to set the +# debconf frontend to noninteractive. + +. /lib/chroot-setup.sh + +if ! chroot_setup; then + logger -t live-installer -- "Unexpected error; command not executed: '$@'" + exit 1 +fi + +DEBIAN_FRONTEND=noninteractive +export DEBIAN_FRONTEND + +# Reconfigure popularity-contest to regenerate host ID +if [ -e /target/etc/popularity-contest.conf ]; then + rm -f /target/etc/popularity-contest.conf + log-output -t live-installer chroot /target \ + dpkg-reconfigure --no-reload popularity-contest +fi + +chroot_cleanup
  7. Download patch support/extX

    --- 51/support/extX 2011-10-29 01:01:22.000000000 +0000 +++ 51ubuntu3/support/extX 2015-12-17 00:13:41.000000000 +0000 @@ -1,9 +1,10 @@ #!/bin/sh -e # Debian (live-boot) -PLACES="$PLACES /cdrom/live/filesystem.ext2 /cdrom/live/filesystem.ext3 /cdrom/live/filesystem.ext4" +PLACES="$PLACES /live/filesystem.ext2 /live/filesystem.ext3 /live/filesystem.ext4" # Ubuntu (casper) -PLACES="$PLACES /cdrom/casper/filesystem.ext2 /cdrom/casper/filesystem.ext3 /cdrom/casper/filesystem.ext4" +PLACES="$PLACES /casper/filesystem.ext2 /casper/filesystem.ext3 /casper/filesystem.ext4" +PLACES="$PLACES /install/filesystem.ext2 /install/filesystem.ext3 /install/filesystem.ext4" extX_prepare() { ANNA_QUIET=1 anna-install ${1}-modules || true
  8. Download patch debian/live-installer.postinst
  9. Download patch support/squashfs

    --- 51/support/squashfs 2011-10-29 01:01:22.000000000 +0000 +++ 51ubuntu3/support/squashfs 2015-12-17 00:13:41.000000000 +0000 @@ -1,9 +1,10 @@ #!/bin/sh -e # Debian (live-boot) -PLACES="$PLACES /cdrom/live/filesystem.squashfs" +PLACES="$PLACES /live/filesystem.squashfs" # Ubuntu (casper) -PLACES="$PLACES /cdrom/casper/filesystem.squashfs" +PLACES="$PLACES /casper/filesystem.squashfs" +PLACES="$PLACES /install/filesystem.squashfs" squashfs_prepare() { ANNA_QUIET=1 anna-install squashfs-modules || true
  1. live-installer