Skip to content
Snippets Groups Projects
Commit ffe01d5c authored by Santiago Rodriguez's avatar Santiago Rodriguez
Browse files

Avoid special case for linux package

parent 6d5858c1
No related branches found
No related tags found
No related merge requests found
......@@ -92,6 +92,7 @@ cat << EOF > ${LOCAL_APT}/etc/apt.sources.list
deb-src $MIRROR $UPSTREAM main universe
deb-src $MIRROR $UPSTREAM-updates main universe
deb-src $MIRROR $UPSTREAM-security main universe
EOF
[ "1$EXTERNAL" != "1" ] && eval echo "$EXTERNAL" >> ${LOCAL_APT}/etc/apt.sources.list
......@@ -100,15 +101,9 @@ EOF
apt-get update -c $LOCAL_APT/etc/apt.conf
if [ $PACKAGE = linux ]
then
apt-get --force-yes -y build-dep linux-libc-dev
apt-get source linux-libc-dev --download-only
dpkg-source -x --skip-patches *.dsc source
else
apt-get source $PACKAGE --download-only -c ${LOCAL_APT}/etc/apt.conf
dpkg-source -x --skip-patches *.dsc source
fi
#Get package and uncompress it
apt-get source $PACKAGE --download-only -c ${LOCAL_APT}/etc/apt.conf
dpkg-source -x --skip-patches *.dsc source
find -maxdepth 1 -type f | xargs rm
cd source
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment