Skip to content
Caleb Maclennan edited this page May 21, 2020 · 16 revisions
# setup vm
pacman -S lxd
lxd init
lxc launch images:ubuntu/focal sile-focal

# import ssh & gpg keys
lxc file push ~/.ssh/id_rsa sile-focal/root/.ssh/
gpg --export-secret-keys [email protected] | lxc-attach -n sile-focal -- gpg --import

# enter vm
lxc exec sile-focal bash

# get & extract source of the thing you'll build
wget https://github.com/sile-typesetter/sile/releases/download/v0.10.4/sile-0.10.4.tar.bz2

# move to debian source name
mv sile-0.10.4.tar.bz2 sile_0.10.4.orig.tar.bz2

# extract and enter
tar xfvj sile_0.10.4.orig.tar.bz2
cd sile-0.10.4

# clone bzr repo of debian build
bzr branch --use-existing-dir lp:sile .

# update debian changelog with new entry
dch -i
bzr commit -m "Update to v0.10.4"
bzr push

# rebuild source package
debuild -S -sA

# updload artifacts
cd ..
dput ppa:sile-typesetter/sile sile_0.10.4-0sile1_source.changes
Clone this wiki locally