mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-13 06:17:08 +00:00
ubuntu-cpc/060-ipv6.chroot: remove release comparison (LP: #1681548)
This commit is contained in:
parent
47a72d1c7d
commit
166b5eb4b3
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -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 <steve.langasek@ubuntu.com> Mon, 10 Apr 2017 16:35:03 -0700
|
||||
|
||||
livecd-rootfs (2.440) zesty; urgency=medium
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user