Skip to content
Snippets Groups Projects
Commit 04ceef6b authored by Valentin Bruch's avatar Valentin Bruch
Browse files

offline repo: don't gzip package list

parent 449de572
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment