From 94d2cc42c631433a390c4bfd27197a45152bf682 Mon Sep 17 00:00:00 2001 From: Stephen Mulcahy Date: Fri, 18 Apr 2014 11:41:22 +0100 Subject: [PATCH] Remove dependency on /etc/lsb-release /etc/lsb-release doesn't always exist in cloud images and doesn't serve any significant purpose in this element so removing the dependency entirely. Change-Id: I4d972074e6e10fea09a875cbc4ed4e60248d46d9 --- .../apt-sources/extra-data.d/99-override-default-apt-sources | 4 ---- 1 file changed, 4 deletions(-) diff --git a/elements/apt-sources/extra-data.d/99-override-default-apt-sources b/elements/apt-sources/extra-data.d/99-override-default-apt-sources index fce7150b..e89cd5f9 100755 --- a/elements/apt-sources/extra-data.d/99-override-default-apt-sources +++ b/elements/apt-sources/extra-data.d/99-override-default-apt-sources @@ -3,10 +3,6 @@ set -e -# get the cloudimg version -source $TMP_MOUNT_PATH/etc/lsb-release -echo "Current cloudimg codename is: $DISTRIB_DESCRIPTION $DISTRIB_CODENAME" - # exit directly if DIB_APT_SOURCES is not defined properly if [ -z "$DIB_APT_SOURCES" ] ; then echo "DIB_APT_SOURCES must be set to the location of a sources.list file you wish to use"