pika-debian-bleedingedge/debootstrap.sh

12 lines
741 B
Bash
Raw Normal View History

2024-08-07 20:28:40 +02:00
#! /bin/bash
set -e
DIST=sid ARCH=amd64 debootstrap --arch=amd64 sid base_chroot || true
rm -rf base_chroot/debootstrap
2024-08-07 20:40:50 +02:00
chroot ./base_chroot /bin/bash -c "DEBIAN_FRONTEND=noninteractive apt-get update -y"
chroot ./base_chroot /bin/bash -c "DEBIAN_FRONTEND=noninteractive apt-get install -y wget"
2024-08-07 20:28:40 +02:00
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"
2024-08-07 20:40:50 +02:00
chroot ./base_chroot /bin/bash -c "DEBIAN_FRONTEND=noninteractive apt-get install -y ./pika-pbuilder.deb "
2024-08-07 20:28:40 +02:00
chroot ./base_chroot /bin/bash -c "DEBIAN_FRONTEND=noninteractive pika-pbuilder-amd64-v3-lto-init"
cd ./base_chroot
tar -czvf ../base_chroot.tgz ./*