Skip to content
Caleb Maclennan edited this page Apr 30, 2020 · 17 revisions
# setup vm
pacman -S lxc
lxc-start
lxc launch images:ubuntu/bionic sile-bionic

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

# enter vm
lxc exec sile-bionic 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