Update debootstrap.sh
This commit is contained in:
parent
9f135cc2be
commit
2a16423654
@ -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 ./*
|
||||||
|
Loading…
Reference in New Issue
Block a user