summaryrefslogtreecommitdiff
path: root/redo.sh
blob: 562759f6cdc852a0bd425b2656cb004ecc1051b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
skip_kiki_build=y

set -ex
instdir=/home/d/sami/iso/debootstrap/jess
sudo make install
(cd ~/sami && sudo make instdir=${instdir} install install-configuration)
(cd ~/src/kiki && ([ "$skip_kiki_build" ] || stack install) && sudo cp ~/.local/bin/*kiki ${instdir}/usr/local/bin/)
sudo touch /usr/local/lib/samizdat-rhizome/initramfs-tools/
sudo initrd.sh
sudo cp -a /usr/local/lib/samizdat-rhizome/isolinux/linux/* ~/sami/iso/debootstrap/jess/usr/local/lib/samizdat-rhizome/isolinux/linux/
sudo sh -c 'cd /home/d/sami/iso/debootstrap; btarfs --size 620 -zcf jess.sweden.btrfs -- jess/  --exclude var/cache/apt/archives'