Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
osak
TARDIS
Commits
04ceef6b
Commit
04ceef6b
authored
Oct 03, 2019
by
Valentin Bruch
Browse files
offline repo: don't gzip package list
parent
449de572
Changes
1
Show whitespace changes
Inline
Side-by-side
create_offlinerepo.sh
View file @
04ceef6b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment