Correct unsupported deb Packages compression, and copy all config files in scripts
This commit is contained in:
parent
5bbf26be78
commit
e1e6792569
|
@ -5,7 +5,7 @@ set -e
|
|||
|
||||
ARCH=$(uname -m)
|
||||
|
||||
cp /config/* /etc/apt/
|
||||
cp -R /config/* /etc/apt/
|
||||
apt update -o Acquire::Check-Valid-Until=false
|
||||
|
||||
until apt-get install \
|
||||
|
@ -31,4 +31,4 @@ mkdir -p /fetch/apt
|
|||
|
||||
mv /var/cache/apt/archives/*.deb /fetch/apt/
|
||||
apt-get install -y dpkg-dev
|
||||
env -C /fetch dpkg-scanpackages apt | gzip > /fetch/apt/Packages.gz
|
||||
env -C /fetch dpkg-scanpackages apt | bzip2 > /fetch/apt/Packages.bz2
|
||||
|
|
|
@ -3,7 +3,7 @@ set -e;
|
|||
|
||||
ARCH=$(uname -m)
|
||||
|
||||
cp /config/* /etc/apt/
|
||||
cp -R /config/* /etc/apt/
|
||||
|
||||
cat <<-EOF > /etc/apt/sources.list
|
||||
deb [trusted=yes] file:///fetch apt/
|
||||
|
|
Reference in New Issue