From 166b5eb4b319b860e3c978c67feb359bcda1fe0c Mon Sep 17 00:00:00 2001 From: Robert C Jennings Date: Tue, 11 Apr 2017 22:27:08 -0500 Subject: [PATCH] ubuntu-cpc/060-ipv6.chroot: remove release comparison (LP: #1681548) --- debian/changelog | 4 ++++ live-build/ubuntu-cpc/hooks/060-ipv6.chroot | 9 +-------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/debian/changelog b/debian/changelog index 09c12669..eef10ec9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,10 @@ livecd-rootfs (2.441) UNRELEASED; urgency=medium [ Balint Reczey ] * Add a basic but configurable autopkgtest. + [ Robert Jennings ] + * live-build/ubuntu-cpc/hooks/060-ipv6.chroot: remove faulty release + comparison prior to aa-series (LP: #1681548) + -- Steve Langasek Mon, 10 Apr 2017 16:35:03 -0700 livecd-rootfs (2.440) zesty; urgency=medium diff --git a/live-build/ubuntu-cpc/hooks/060-ipv6.chroot b/live-build/ubuntu-cpc/hooks/060-ipv6.chroot index 3d4a0be2..532b8473 100755 --- a/live-build/ubuntu-cpc/hooks/060-ipv6.chroot +++ b/live-build/ubuntu-cpc/hooks/060-ipv6.chroot @@ -1,15 +1,8 @@ #!/bin/bash # -# Disable IPv6 privacy extensions on Utopic and later +# Disable IPv6 privacy extensions # -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