pika-debian-bleedingedge/debootstrap.sh

12 lines
586 B
Bash
Raw Permalink 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:41:10 +02:00
chroot ./base_chroot /bin/bash -c "apt-get update -y"
chroot ./base_chroot /bin/bash -c "apt-get install -y wget"
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 "apt-get install -y ./pika-pbuilder.deb "
chroot ./base_chroot /bin/bash -c "pika-pbuilder-amd64-v3-lto-init"
2024-08-07 20:28:40 +02:00
cd ./base_chroot
tar -czvf ../base_chroot.tgz ./*