Update debootstrap.sh

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2024-08-07 21:41:10 +03:00 committed by GitHub
parent 9f135cc2be
commit 2a16423654
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,10 +2,10 @@
set -e set -e
DIST=sid ARCH=amd64 debootstrap --arch=amd64 sid base_chroot || true DIST=sid ARCH=amd64 debootstrap --arch=amd64 sid base_chroot || true
rm -rf base_chroot/debootstrap rm -rf base_chroot/debootstrap
chroot ./base_chroot /bin/bash -c "DEBIAN_FRONTEND=noninteractive apt-get update -y" chroot ./base_chroot /bin/bash -c "apt-get update -y"
chroot ./base_chroot /bin/bash -c "DEBIAN_FRONTEND=noninteractive apt-get install -y wget" chroot ./base_chroot /bin/bash -c "apt-get install -y wget"
chroot ./base_chroot /bin/bash -c "DEBIAN_FRONTEND=noninteractive wget https://ppa.pika-os.com/pool/cockatiel/p/pika-pbuilder/pika-pbuilder_0.2.37-101pika1_all.deb -O ./pika-pbuilder.deb" chroot ./base_chroot /bin/bash -c "wget https://ppa.pika-os.com/pool/cockatiel/p/pika-pbuilder/pika-pbuilder_0.2.37-101pika1_all.deb -O ./pika-pbuilder.deb"
chroot ./base_chroot /bin/bash -c "DEBIAN_FRONTEND=noninteractive apt-get install -y ./pika-pbuilder.deb " chroot ./base_chroot /bin/bash -c "apt-get install -y ./pika-pbuilder.deb "
chroot ./base_chroot /bin/bash -c "DEBIAN_FRONTEND=noninteractive pika-pbuilder-amd64-v3-lto-init" chroot ./base_chroot /bin/bash -c "pika-pbuilder-amd64-v3-lto-init"
cd ./base_chroot cd ./base_chroot
tar -czvf ../base_chroot.tgz ./* tar -czvf ../base_chroot.tgz ./*