Append sources repository for any build-dep requirements
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
This commit is contained in:
parent
d2d131cefb
commit
9207ed49ba
1 changed files with 6 additions and 0 deletions
|
@ -148,12 +148,18 @@ write_sourceslist()
|
||||||
deb [arch=$2] $MIRROR ${release} main restricted universe multiverse
|
deb [arch=$2] $MIRROR ${release} main restricted universe multiverse
|
||||||
deb [arch=$2] $MIRROR ${release}-updates main restricted universe multiverse
|
deb [arch=$2] $MIRROR ${release}-updates main restricted universe multiverse
|
||||||
deb [arch=$2] $SECURITY_MIRROR ${release}-security main restricted universe multiverse
|
deb [arch=$2] $SECURITY_MIRROR ${release}-security main restricted universe multiverse
|
||||||
|
deb-src [arch=$2] $MIRROR ${release} main restricted universe multiverse
|
||||||
|
deb-src [arch=$2] $MIRROR ${release}-updates main restricted universe multiverse
|
||||||
|
deb-src [arch=$2] $SECURITY_MIRROR ${release}-security main restricted universe multiverse
|
||||||
EOF
|
EOF
|
||||||
else
|
else
|
||||||
cat >> "$1/etc/apt/sources.list" << EOF
|
cat >> "$1/etc/apt/sources.list" << EOF
|
||||||
deb $MIRROR ${release} main restricted universe multiverse
|
deb $MIRROR ${release} main restricted universe multiverse
|
||||||
deb $MIRROR ${release}-updates main restricted universe multiverse
|
deb $MIRROR ${release}-updates main restricted universe multiverse
|
||||||
deb $SECURITY_MIRROR ${release}-security main restricted universe multiverse
|
deb $SECURITY_MIRROR ${release}-security main restricted universe multiverse
|
||||||
|
deb-src $MIRROR ${release} main restricted universe multiverse
|
||||||
|
deb-src $MIRROR ${release}-updates main restricted universe multiverse
|
||||||
|
deb-src $SECURITY_MIRROR ${release}-security main restricted universe multiverse
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue