Commit 04ceef6b authored by Valentin Bruch's avatar Valentin Bruch

offline repo: don't gzip package list

parent 449de572
......@@ -40,7 +40,9 @@ apt-get -o Dir="$workspace"/offlinerepo/squashfs-root update
apt-get -o Dir="$workspace"/offlinerepo/squashfs-root install --reinstall --print-uris -qq $packages
mkdir -p "$dest/dists/$DISTRIB_CODENAME/lip/binary-amd64"
( cd "$dest" && dpkg-scanpackages . | gzip > "dists/$DISTRIB_CODENAME/lip/binary-amd64/Packages.gz" )
# For some reason apt does not like the gziped package list in the installed system. Leaving the packages list uncompressed solves the problem.
#( cd "$dest" && dpkg-scanpackages . | gzip > "dists/$DISTRIB_CODENAME/lip/binary-amd64/Packages.gz" )
( cd "$dest" && dpkg-scanpackages . > "dists/$DISTRIB_CODENAME/lip/binary-amd64/Packages" )
cat <<EOF > "$dest/dists/$DISTRIB_CODENAME/lip/binary-amd64/Release"
Archive: $DISTRIB_CODENAME
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment